user/elogind: FTBFS on aarch64
The Meson build system
Version: 0.59.0
Source dir: /root/packages/user/elogind/src/elogind-246.10
Build dir: /root/packages/user/elogind/src/elogind-246.10/build
Build type: native build
Project name: elogind
Project version: 246.10
meson.build:3:0: ERROR: Compiler gcc can not compile programs.
A full log can be found at /root/packages/user/elogind/src/elogind-246.10/build/meson-logs/meson-log.txt
>>> ERROR: elogind: build failed
Sanity check compile stderr:
/usr/lib/gcc/aarch64-foxkit-linux-musl/8.5.0/../../../../aarch64-foxkit-linux-musl/bin/ld: cannot find -l:libutmps.so
collect2: error: ld returned 1 exit status
20:55 <+skarnet> looks like a typo somewhere
20:55 <+skarnet> or, if it's not: a miscompilation because it should all be static and never need the .so library
This needs to be removed from APKBUILD
:
export LDFLAGS="-Wl,--no-as-needed -l:libutmps.so -Wl,--as-needed"