Happens on all my musl-llvm systems: [...] make[2]: Entering directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' /bin/sh ./libtool --tag=CC --mode=link clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script="./linker-script-binary.ver" -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -o src/nm-openvpn-service-openvpn-helper src/nm_openvpn_service_openvpn_helper-nm-openvpn-service-openvpn-helper.o src/libnm-utils.la -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 libtool: link: clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script=./linker-script-binary.ver -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -o src/nm-openvpn-service-openvpn-helper src/nm_openvpn_service_openvpn_helper-nm-openvpn-service-openvpn-helper.o -Wl,--export-dynamic -Wl,--as-needed src/.libs/libnm-utils.a -lgmodule-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread ld.lld: error: version script assignment of 'global' to symbol '_IO_stdin_used' failed: symbol not defined clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:1375: src/nm-openvpn-service-openvpn-helper] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' /bin/sh ./libtool --tag=CC --mode=link clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script="./linker-script-binary.ver" -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -o src/nm-openvpn-service src/nm_openvpn_service-nm-openvpn-service.o src/libnm-utils.la -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 libtool: link: clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script=./linker-script-binary.ver -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -o src/nm-openvpn-service src/nm_openvpn_service-nm-openvpn-service.o -Wl,--export-dynamic -Wl,--as-needed src/.libs/libnm-utils.a -lgmodule-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread ld.lld: error: version script assignment of 'global' to symbol '_IO_stdin_used' failed: symbol not defined clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:1369: src/nm-openvpn-service] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' make[2]: Entering directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' /bin/sh ./libtool --tag=CC --mode=link clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -avoid-version -Wl,--version-script=./properties/libnm-vpn-plugin-openvpn.ver -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -o properties/libnm-vpn-plugin-openvpn.la -rpath /usr/lib/NetworkManager properties/libnm-vpn-plugin-openvpn-core.la libtool: link: clang -shared -fPIC -DPIC -Wl,--whole-archive properties/.libs/libnm-vpn-plugin-openvpn-core.a -Wl,--no-whole-archive -Wl,--as-needed -lgmodule-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,--gc-sections -O2 -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script=./properties/libnm-vpn-plugin-openvpn.ver -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -pthread -Wl,-soname -Wl,libnm-vpn-plugin-openvpn.so -o properties/.libs/libnm-vpn-plugin-openvpn.so libtool: link: ( cd "properties/.libs" && rm -f "libnm-vpn-plugin-openvpn.la" && ln -s "../libnm-vpn-plugin-openvpn.la" "libnm-vpn-plugin-openvpn.la" ) make[2]: Leaving directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' make[2]: Entering directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' /bin/sh ./libtool --tag=CC --mode=link clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -o properties/tests/test-import-export properties/tests/test_import_export-test-import-export.o properties/libnm-vpn-plugin-openvpn-core.la -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 libtool: link: clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -o properties/tests/test-import-export properties/tests/test_import_export-test-import-export.o -Wl,--export-dynamic -Wl,--as-needed properties/.libs/libnm-vpn-plugin-openvpn-core.a -lgmodule-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread make[2]: Leaving directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' make[1]: *** [Makefile:1710: all-recursive] Error 1 make: *** [Makefile:1099: all] Error 2 * ERROR: net-vpn/networkmanager-openvpn-1.12.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-vpn/networkmanager-openvpn-1.12.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-vpn/networkmanager-openvpn-1.12.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/temp/environment'. * Working directory: '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0' * S: '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0 Reproducible: Always
for the record, could you comment with the output from 'emerge --info'
Created attachment 915432 [details] emerge --info