Package Details: lief 0.14.1-1

Git Clone URL: https://aur.archlinux.org/lief.git (read-only, click to copy)
Package Base: lief
Description: Library to instrument executable formats
Upstream URL: https://github.com/lief-project/lief
Keywords: elf mach-o pe
Licenses: Apache-2.0
Provides: libLIEF.so
Submitter: dobo
Maintainer: Xeonacid (greyltc)
Last Packager: Xeonacid
Votes: 5
Popularity: 0.038257
First Submitted: 2018-11-14 22:00 (UTC)
Last Updated: 2024-04-11 05:18 (UTC)

Latest Comments

1 2 3 Next › Last »

Xeonacid commented on 2024-04-11 05:19 (UTC)

@bloeher Oops. Sorry for the mistake. Fixed, thanks!

bloeher commented on 2024-04-11 05:16 (UTC)

I had to add "/refs/tags" to the source URL to properly get the source.

greyltc commented on 2024-03-24 19:30 (UTC)

@Xeonacid yeah, sure, thanks!

Xeonacid commented on 2024-03-24 01:59 (UTC)

@greyltc Sure! Added. Thanks for your work on python-lief. Would you like to co-maintain this package?

greyltc commented on 2024-03-23 18:36 (UTC)

hey @Xeonacid, could you turn on python-lief here now?

meadow commented on 2023-08-02 12:21 (UTC)

Updating the version to 0.13.2 fixed the build for me.

meadow commented on 2023-08-02 12:19 (UTC)

I could compile/install/use python-lief by bumping the version number to 0.13.2 + adding ninja as dependency.

AkechiShiro commented on 2023-05-20 22:19 (UTC)

Building in a clean chroot, shows that ninja is a missing makedependency.

LukeLabrie commented on 2023-05-10 12:16 (UTC) (edited on 2023-05-10 12:17 (UTC) by LukeLabrie)

Build fails with:

In file included from /home/luke/.cache/yay/python-lief/src/lief-0.12.2/src/exception.cpp:19:
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:75:38: error: expected ‘)’ before ‘offset’
   75 |   explicit read_out_of_bound(uint64_t offset, uint64_t size);
      |                             ~        ^~~~~~~
      |                                      )
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:76:38: error: expected ‘)’ before ‘offset’
   76 |   explicit read_out_of_bound(uint64_t offset);
      |                             ~        ^~~~~~~
      |                                      )
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/src/exception.cpp:50:1: error: no declaration matches ‘LIEF::read_out_of_bound::read_out_of_bound(uint64_t, uint64_t)’
   50 | read_out_of_bound::read_out_of_bound(uint64_t offset, uint64_t size) : LIEF::exception("") {
      | ^~~~~~~~~~~~~~~~~
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:71:16: note: candidates are: ‘LIEF::read_out_of_bound::read_out_of_bound(LIEF::read_out_of_bound&&)’
   71 | class LIEF_API read_out_of_bound : public exception {
      |                ^~~~~~~~~~~~~~~~~
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:71:16: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound(const LIEF::read_out_of_bound&)’
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:71:16: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound()’
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:73:20: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound(const LIEF::exception&) [inherited from LIEF::exception]’
   73 |   using exception::exception;
      |                    ^~~~~~~~~
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:73:20: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound(std::string) [inherited from LIEF::exception]’
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:73:20: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound(const char*) [inherited from LIEF::exception]’
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:71:16: note: ‘class LIEF::read_out_of_bound’ defined here
   71 | class LIEF_API read_out_of_bound : public exception {
      |                ^~~~~~~~~~~~~~~~~
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/src/exception.cpp:58:1: error: no declaration matches ‘LIEF::read_out_of_bound::read_out_of_bound(uint64_t)’
   58 | read_out_of_bound::read_out_of_bound(uint64_t offset) : LIEF::exception("") {
      | ^~~~~~~~~~~~~~~~~
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:71:16: note: candidates are: ‘LIEF::read_out_of_bound::read_out_of_bound(LIEF::read_out_of_bound&&)’
   71 | class LIEF_API read_out_of_bound : public exception {
      |                ^~~~~~~~~~~~~~~~~
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:71:16: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound(const LIEF::read_out_of_bound&)’
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:71:16: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound()’
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:73:20: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound(const LIEF::exception&) [inherited from LIEF::exception]’
   73 |   using exception::exception;
      |                    ^~~~~~~~~
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:73:20: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound(std::string) [inherited from LIEF::exception]’
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:73:20: note:                 ‘LIEF::read_out_of_bound::read_out_of_bound(const char*) [inherited from LIEF::exception]’
/home/luke/.cache/yay/python-lief/src/lief-0.12.2/include/LIEF/exception.hpp:71:16: note: ‘class LIEF::read_out_of_bound’ defined here
   71 | class LIEF_API read_out_of_bound : public exception {
      |                ^~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/LIB_LIEF.dir/build.make:138: CMakeFiles/LIB_LIEF.dir/src/exception.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:411: CMakeFiles/LIB_LIEF.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:472: api/python/CMakeFiles/pyLIEF.dir/rule] Error 2
make: *** [Makefile:306: pyLIEF] Error 2

lsigma commented on 2022-11-07 23:14 (UTC)

Modifying the PKGBUILD to not use the external SPDLIB fixes the build errors for me:

diff --git a/PKGBUILD b/PKGBUILD
index 711bcb3..3b9e8c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ build() {
                -DLIEF_PYTHON_API=OFF \
                -DLIEF_OPT_EXTERNAL_LEAF=ON \
                -DLIEF_OPT_NLOHMANN_JSON_EXTERNAL=ON \
-               -DLIEF_EXTERNAL_SPDLOG=ON \
+               -DLIEF_EXTERNAL_SPDLOG=OFF \
                -DLIEF_OPT_UTFCPP_EXTERNAL=ON \
                -Wno-dev
   make -C build

But I wasn't able to verify that the package still works as the package I was trying to get running was also broken.