bartoszek / AUR-radare2-bindings-git

0 stars 0 forks source link

error: libr/lang/p/Makefile: No such file or directory #1

Open karlek opened 3 years ago

karlek commented 3 years ago

Hi!

When installing radare2-pipe-git from AUR I encountered this error:

$ yay -S radare2-pipe-git
[...]
==> Making package: radare2-bindings-git 4.0.0.r0.ge258a53-1 (Wed 21 Oct 2020 03:50:27 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating radare2-bindings-git git repo...
Fetching origin
  -> Updating radare2-pipe-git git repo...
Fetching origin
  -> Found plugin.path.patch
==> Validating source files with md5sums...
    radare2-bindings-git ... Skipped
    radare2-pipe-git ... Skipped
    plugin.path.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of radare2-bindings-git git repo...
Cloning into 'radare2-bindings-git'...
done.
  -> Creating working copy of radare2-pipe-git git repo...
Cloning into 'radare2-pipe-git'...
done.
==> Starting prepare()...
error: libr/lang/p/Makefile: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
error making: radare2-bindings-git (radare2-pipe-git)

I tried looking at the PKGBUILD and the plugin.path.patch that it references, and I guess the error comes from the R2_LIBR_PLUGINS variable. But, I don't know for sure.

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=radare2-bindings-git https://aur.archlinux.org/cgit/aur.git/tree/plugin.path.patch?h=radare2-bindings-git

bartoszek commented 3 years ago

Nope, the error is due to rlang getting extracted to it's own repository: https://github.com/radareorg/radare2-bindings/commit/79e1535804df0912c57b519956d4fc533563da5e So the patch is not needed anymore, but there's still some error with valabind, will look into it and let you know how it's going.