Created attachment 113158 [details] Build script I'm trying to package kdeconnect (the Plasma Mobile version) for postmarketOS (https://postmarketos.org), which is based on Alpine Linux. Although all dependencies are installed, it fails to compile with the following: [ 13%] Linking CXX shared library ../bin/libkdeconnectcore.so CMakeFiles/kdeconnectcore.dir/core_debug.cpp.o: In function `logBacktrace()': core_debug.cpp:(.text+0xa7): undefined reference to `backtrace' core_debug.cpp:(.text+0xb3): undefined reference to `backtrace_symbols' core_debug.cpp:(.text+0xc5): undefined reference to `backtrace_symbols_fd' collect2: error: ld returned 1 exit status make[2]: *** [core/CMakeFiles/kdeconnectcore.dir/build.make:429: bin/libkdeconnectcore.so.1.3.1] Error 1 make[1]: *** [CMakeFiles/Makefile2:902: core/CMakeFiles/kdeconnectcore.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 Attached is the APKBUILD I'm using to build it. It should explain itself. What could cause this?
I think it fails because Alpine is using musl instead of glibc and those functions are specific to glibc. Not sure about it though