Package Details: radare2-git 4.6.0.r24570.3c88900134-1

Git Clone URL: https://aur.archlinux.org/radare2-git.git (read-only, click to copy)
Package Base: radare2-git
Description: Open-source tools to disasm, debug, analyze and manipulate binary files
Upstream URL: http://radare.org
Licenses: GPL3, LGPL3
Conflicts: radare2
Provides: radare2
Submitter: l0gic
Maintainer: l0gic
Last Packager: l0gic
Votes: 36
Popularity: 0.000209
First Submitted: 2012-07-16 18:10
Last Updated: 2020-08-31 15:05

Required by (8)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

bartus commented on 2020-08-20 13:32

radare2 now creates /usr/bin/r2 symlink by itself https://github.com/radareorg/radare2/commit/fb1190d248b09849fd29c9c5854bb32919d83929

ln -s /usr/bin/r2 in package() is redundant and cause beforementioned error.

patch

#merge with:
git am -s < <(curl -s http://ix.io/2uII)

bartus commented on 2020-08-18 16:33

Build failed in package() when creating symlik to r2

radare2-git-...-package.log

Installing /build/radare2-git/src/radare2-git/doc/hud to /build/radare2-git/pkg/radare2-git/usr/share/radare2/4.6.0-git/hudln: failed to create symbolic link 'r2': Permission denied

Ferdi265 commented on 2020-05-18 17:38

@mcd1992: this "fixes" the issue by not using OpenSSL.

radare seems to have 3 implementations of r_big (the biginteger library part of radare):

  • libr/util/big.c: an own implementation based on tiny-bignum-c
  • libr/util/big-gmp.c: an implementation based on gmp (GNU MP bignum library)
  • libr/util/big-ssl.c: an implementation based on OpenSSL

It seems by removing the --with-openssl configure option you have defaulted radare to use the tiny-bignum-based implementation instead of the OpenSSL implementation, where linking fails.

Switching to that is definitely a workaround for this issue, though.

mcd1992 commented on 2020-05-15 01:49

Seems to be an issue linking against openssl. I get a bunch of missing symbols when linking libr.

Removing the export 'patches' and the --with-capstone --with-openssl configure flags seems to fix the issue though.

bartus commented on 2019-08-03 11:09

After static build refactor for android --with-syscapsotne doesn't work anymore. You need to revert this commit.

I've made a patch resolving it, just run this in radare2-git clone

git remote add bartus https://github.com/bartoszek/AUR-radare2-git.git
git fetch bartus
git cherry-pick FETCH_HEAD

Review and git push :) AUR should get PR feature!

Ferdi265 commented on 2019-04-12 17:57

radare2-git fails to build correctly when MAKEFLAGS is set to -j8 or something similar. This seems to be a bug in the radare2 Makefiles.

to work around this issue, it's possible to change to PKGBUILD to call

MAKEFLAGS= make

instead of

make

This should really be fixed upstream though

TheAifam5 commented on 2018-11-07 15:00

@l0gic can you please make an update what @neven says in the comment below?

neven commented on 2018-08-27 22:51

For the love of radare, stop removing the sources directory at the end of 'package'! Somebody else already gave some other reason, but here is an even better one: it prevents debugging radare (with, eg., GDB)!

Anyway, if you want to delete the sources you can do it separately from makepkg or with 'makepkg -C', no need to force me to modify the PKGBUILD.

Also, you forgot to quote some of your variable expansions, that will go wrong if somebody has IFS chars in srcdir path.

bartus commented on 2018-08-20 06:53

Since tags get delayed after release, in compare to code version. I propose this pkgver function instead:

pkgver () {
  cd ${pkgname}
  sed -nE '/^VERSION\ [0-9.]*(-git|)$/p' configure.acr|grep -o [0-9.]*|tr -d '\n'
  printf ".r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

pkgver=2.9.0.r19095.b6acfabd3 radare2@github.com#after_release_version_bump

bartus commented on 2018-03-24 09:53

@l0gic: Can we have a normal version number, please!

pkgver () {
  cd ${pkgname}
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

pkgver=2.4.0.r217.g7d64545a3