chenxiaolong / DualBootPatcher

Patches Android ROMs for dual boot support
https://dbp.noobdev.io
Other
524 stars 470 forks source link

compile error #1454

Closed moham96 closed 4 years ago

moham96 commented 4 years ago

is anyone able to compile the master branch successfully ?I'm getting compile errors

Scanning dependencies of target sign_prebuilt_exfat_arm64-v8a [ 9%] File signing target 'sign_prebuilt_exfat_arm64-v8a' -- Signing: /home/ubuntu/repos/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat /home/ubuntu/repos/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat: Failed to open input file 139759957052288:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:72:fopen('/home/ubuntu/repos/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat','rb') 139759957052288:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:79: CMake Error at /home/ubuntu/repos/DualBootPatcher/build/cmake/SignFiles.cmake:22 (message): Failed to sign: /home/ubuntu/repos/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat

thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a.dir/build.make:57: recipe for target 'thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a' failed make[2]: [thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a] Error 1 CMakeFiles/Makefile2:91: recipe for target 'thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a.dir/all' failed make[1]: [thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make: *** [all] Error 2

moham96 commented 4 years ago

Ok apparently this is caused by an old version of libarchive, using archlinux with updated packages rather than ubuntu solved this issue.