Package Details: radare2-git 3.1.3.r18.gb9651f764-1

Git Clone URL: https://aur.archlinux.org/radare2-git.git (read-only)
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: 35
Popularity: 0.000092
First Submitted: 2012-07-16 18:10
Last Updated: 2018-12-07 19:13

Required by (6)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Manouchehri commented on 2015-08-29 07:07

My bad, I accidentally slipped and hit "Flag package out-of-date" instead of "Vote for this package".

It definitely builds, you can ignore me.

l0gic commented on 2015-07-15 15:50

Can't reproduce.
$ rasm2 -L | grep 6502
_d__ 8 16 6502 LGPL3 6502/NES/C64/T-1000 CPU

bitwave commented on 2015-07-15 08:38

I've got this mysterious bug here: https://github.com/radare/radare2/issues/2929
In my opinion, something with the package is wrong.
The build process is good documented in this dockerfile: https://github.com/radare/radare2/blob/master/doc/Dockerfile

l0gic commented on 2014-11-07 15:30

0xAA: Thank you! I honestly couldn't care less about yaourt, hence no efforts from my side to fix the build.

0xAA commented on 2014-11-07 10:16

Okay, I'm back (s/few days/few months/).
Root cause here is yaourt env variables - it exports BUILDDIR var, which also is used by capstone buildscripts (kinda tricky part, libcapstone.a target name is dependent on this var, and r2 explicitly uses default value which is valid only if BUILDDIR is not set).

Not sure, if upstream needs fixes on this one, because yaourt downloads into BUILDDIR all sources and pkgbuild - I don't see any point to build libcapstone here.
As workaround we can undef this var before executing buildscript, and restore it after.

@l0gic: can you check out my patch for PKGBUILD?
http://dmg.sx/dl/radare2-git/r2pkgbuild.patch

bitwave commented on 2014-09-23 17:58

here's the same maybe it's something with multithreaded make or so?

farwayer commented on 2014-07-21 12:13

>>Can someone confirm?
Yep, build fail with yaourt.

0xAA commented on 2014-07-12 11:41

> The build issue is upstream with either r2, or capstone.
Looks more like issue with ABS or yaourt - if you try to build it manually (clone git and execute ./sys/build.sh) it will complete correctly. Phew, even if you just download PKGBUILD and execute `makepkg` manually, it will compile w/o errors. But if you'll try to do this via yaourt - compilation will fail with 'No rule to make target libcapstone.a'. Can someone confirm? My setup is ArchLinux x86-64, yaourt 1.5, makepkg 4.1.2, gcc 4.9.0.

The issue seems tricky, will try to came up with something in a few days.

l0gic commented on 2014-07-11 15:52

Thanks for the heads-up. I actually just copied the pkgver() from the metasploit-git package.
With the new git::url it's not an issue anymore.

The build issue is upstream with either r2, or capstone.

0xAA commented on 2014-07-11 13:49

Actually, I was the one who flagged package out of date (sorry, if it wasn't right action), because it fails to build:

remote: Total 9358 (delta 80), reused 11 (delta 10)
Receiving objects: 100% (9358/9358), 12.42 MiB | 272.00 KiB/s, done.
Resolving deltas: 100% (6676/6676), done.
Checking connectivity... done.
Branch next set up to track remote branch next from origin.
Switched to a new branch 'next'
HEAD is now at b3dea56 python: fix test_skipdata.py after the change in the core on SKIPDATA's callback prototype
make[2]: *** No rule to make target 'libcapstone.a'. Stop.
Makefile:165: recipe for target 'capstone-build' failed
make[1]: *** [capstone-build] Error 2
Makefile:28: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Also, is there any need in libewf dependency? It isn't listed by upstream, and r2 builds (and seems like works) without it - in case you're using build script from sys/build.sh, PKGBUILD still fails.
You can see my up-to-date PKGBUILD, if you want: http://0xaa.so/dl/radare2-git/PKGBUILD

P.S: pkgver() is executed before build() (where you get the sources), so now it can't really update the version. You will get something like this:
/tmp/yaourt-tmp-reinar/aur-radare2-git/./PKGBUILD: line 17: cd: /tmp/yaourt-tmp-reinar/aur-radare2-git/src/radare2: No such file or directory