On an up-to-date Arch system with testing repos enabled I receive the build error:
[ 73%] Building CXX object lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/CMakeFiles/cpr.dir/digest.cpp.o [ 75%] Building CXX object lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/CMakeFiles/cpr.dir/error.cpp.o /home/fusion809/.cache/yay/appimagelauncher-git/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/error.cpp: In static member function ‘static cpr::ErrorCode cpr::Error::getErrorCodeForCurlError(int32_t)’: /home/fusion809/.cache/yay/appimagelauncher-git/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/error.cpp:41:9: error: duplicate case value case CURLE_SSL_CACERT: ^~~~ /home/fusion809/.cache/yay/appimagelauncher-git/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/error.cpp:25:9: note: previously used here case CURLE_PEER_FAILED_VERIFICATION: ^~~~ make[2]: [lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/CMakeFiles/cpr.dir/build.make:115: lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/CMakeFiles/cpr.dir/error.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:2459: lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/CMakeFiles/cpr.dir/all] Error 2 make: *** [Makefile:152: all] Error 2
Pinned Comments
FabioLolix commented on 2024-09-15 14:55 (UTC)
Build fine with devtools but not with makepkg for me See https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot extra-x86_64-build
FabioLolix commented on 2023-11-29 22:43 (UTC)
There is an issue open since June https://github.com/TheAssassin/AppImageLauncher/issues/574
We have devtools for building in a clean chroot https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot, typically I do both a clean build and a dirty build but the program is broken now