Package Details: radare2-git 5.6.7.r27627.7821ddb04b-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: 37
Popularity: 0.000001
First Submitted: 2012-07-16 18:10 (UTC)
Last Updated: 2022-04-08 22:29 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

l0gic commented on 2022-10-28 13:10 (UTC)

Please don't flag the package out-of-date if the build fails, and it's an upstream issue.

jjguti commented on 2022-04-08 07:15 (UTC) (edited on 2022-04-08 07:16 (UTC) by jjguti)

This patch fixes the source URL, github doesn't allow cloning on git:// urls

diff --git a/PKGBUILD b/PKGBUILD
index 100dbdd..6594cb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: bratus <szczepaniak.bartek plus github at gmail dot com>
 # Contributor: jjguti
 pkgname=radare2-git
-pkgver=5.5.5.r27233.d812a78e2a
+pkgver=5.6.7.r27620.2b77b277d6
 pkgrel=1
 pkgdesc="Open-source tools to disasm, debug, analyze and manipulate binary files"
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ depends=('capstone' 'lz4' 'file' 'libzip' 'xxhash' 'libuv')
 provides=("radare2=${pkgver%.r*}")
 conflicts=('radare2')

-source=("$pkgname"::"git://github.com/radare/radare2.git")
+source=("$pkgname"::"git+https://github.com/radare/radare2.git")
 md5sums=('SKIP')

 pkgver () {

jjguti commented on 2021-12-01 15:08 (UTC) (edited on 2021-12-01 15:09 (UTC) by jjguti)

This patch fixes building with ccache enabled. It is failing now because the build itself is happening in the "package" stage which is run with fakeroot. This patch forces building in the build stage.

diff --git a/PKGBUILD b/PKGBUILD
index 6699613..5ee2c8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: 0xAA <0xaa at dmg dot sx>
 # Contributor: bratus <szczepaniak.bartek plus github at gmail dot com>
 pkgname=radare2-git
-pkgver=5.4.0.r26148.86f8c9dce6
+pkgver=5.5.1.r26985.977c9f1524
 pkgrel=1
 pkgdesc="Open-source tools to disasm, debug, analyze and manipulate binary files"
 arch=('i686' 'x86_64')
@@ -41,6 +41,7 @@ build() {
     -D use_sys_openssl=true \
     -D use_libuv=true \
     -D use_webui=true
+  ninja -C build
 }

 package() {

bartus commented on 2021-02-01 15:15 (UTC) (edited on 2021-02-01 15:19 (UTC) by bartus)

Could we have pkgver in provide var?

patch

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

l0gic commented on 2020-12-26 18:18 (UTC) (edited on 2020-12-26 18:19 (UTC) by l0gic)

The first ln has already been removed in https://aur.archlinux.org/cgit/aur.git/commit/?h=radare2-git&id=fa76e05cd16a632d74a2e4c594adfa3b3b01a446. The ln for the manpage is still necessary, though.

Is this package even maintained at all?

Yes, albeit only if someone complains about a failed build. (I try to find time, and spoons within two weeks.)

Submitter/Maintainer doesn't have public visible email

And I will never add one :)

I don't know how much to trust comments in PKGBUILD

There is only one comment, and it's still relevant https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=radare2-git#n26. Unless you mean the contributor comments, which are accurate.

ratijas commented on 2020-12-24 00:04 (UTC)

Is this package even maintained at all? Submitter/Maintainer doesn't have public visible email, and I don't know how much to trust comments in PKGBUILD.

Anyway, the error is pretty annoying:

ln: failed to create symbolic link '~/projects/radare2/../radare2-pkgdir/usr/bin/r2': File exists
ln: failed to create symbolic link '~/projects/radare2/../radare2-pkgdir/usr/share/man/man1/r2.1.gz': File exists

Please fix it. Remove redundant ln commands. Radare2 already symlinks itself.

bartus commented on 2020-08-20 13:32 (UTC) (edited on 2020-08-20 13:36 (UTC) by bartus)

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 (UTC) (edited on 2020-08-18 16:34 (UTC) by bartus)

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

yrlf commented on 2020-05-18 17:38 (UTC)

@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 (UTC)

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.