Bug#1143439: wf-config: FTBFS: collect2: error: ld returned 1 exit status
Santiago Vila <[email protected]> Sat, 01 Aug 2026 22:40:03 +0000
| Newsgroups | gmane.linux.debian.qa-packages |
|---|---|
| Message-ID | <E1wqIN9-00DZdf-0s__23049.0625648358$1785624422$gmane$org@paradis.debian.org> |
Package: src:wf-config
Version: 0.10.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:wf-config, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1
The Meson build system
Version: 1.11.1
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: wf-config
Project version: 0.10.0
C++ compiler for the host machine: c++ (gcc 16.1.0 "c++ (Debian 16.1.0-3) 16.1.0")
C++ linker for the host machine: c++ ld.bfd 2.47
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Run-time dependency glm found: YES 1.0.1
Run-time dependency libevdev found: YES 1.13.6
Run-time dependency libxml-2.0 found: YES 2.15.3
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Run-time dependency doctest found: YES 2.5.0
Build targets in project: 12
wf-config 0.10.0
User defined options
buildtype : plain
libdir : lib/x86_64-linux-gnu
localstatedir : /var
prefix : /usr
python.bytecompile: -1
sysconfdir : /etc
wrap_mode : nodownload
Found ninja-1.13.2 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
[1/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_option.cpp.o -MF libwf-config.so.0.10.0.p/src_option.cpp.o.d -o libwf-config.so.0.10.0.p/src_option.cpp.o -c ../src/option.cpp
[2/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_section.cpp.o -MF libwf-config.so.0.10.0.p/src_section.cpp.o.d -o libwf-config.so.0.10.0.p/src_section.cpp.o -c ../src/section.cpp
[3/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_log.cpp.o -MF libwf-config.so.0.10.0.p/src_log.cpp.o.d -o libwf-config.so.0.10.0.p/src_log.cpp.o -c ../src/log.cpp
[4/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_types.cpp.o -MF libwf-config.so.0.10.0.p/src_types.cpp.o.d -o libwf-config.so.0.10.0.p/src_types.cpp.o -c ../src/types.cpp
[5/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_config-manager.cpp.o -MF libwf-config.so.0.10.0.p/src_config-manager.cpp.o.d -o libwf-config.so.0.10.0.p/src_config-manager.cpp.o -c ../src/config-manager.cpp
[6/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_xml.cpp.o -MF libwf-config.so.0.10.0.p/src_xml.cpp.o.d -o libwf-config.so.0.10.0.p/src_xml.cpp.o -c ../src/xml.cpp
[7/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_file.cpp.o -MF libwf-config.so.0.10.0.p/src_file.cpp.o.d -o libwf-config.so.0.10.0.p/src_file.cpp.o -c ../src/file.cpp
[8/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_duration.cpp.o -MF libwf-config.so.0.10.0.p/src_duration.cpp.o.d -o libwf-config.so.0.10.0.p/src_duration.cpp.o -c ../src/duration.cpp
[9/33] c++ -Ilibwf-config.so.0.10.0.p -I. -I.. -Iinclude -I../include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libwf-config.so.0.10.0.p/src_compound-option.cpp.o -MF libwf-config.so.0.10.0.p/src_compound-option.cpp.o.d -o libwf-config.so.0.10.0.p/src_compound-option.cpp.o -c ../src/compound-option.cpp
[10/33] c++ -o libwf-config.so.0.10.0 libwf-config.so.0.10.0.p/src_types.cpp.o libwf-config.so.0.10.0.p/src_option.cpp.o libwf-config.so.0.10.0.p/src_section.cpp.o libwf-config.so.0.10.0.p/src_log.cpp.o libwf-config.so.0.10.0.p/src_xml.cpp.o libwf-config.so.0.10.0.p/src_config-manager.cpp.o libwf-config.so.0.10.0.p/src_file.cpp.o libwf-config.so.0.10.0.p/src_duration.cpp.o libwf-config.so.0.10.0.p/src_compound-option.cpp.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libwf-config.so.1 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group /usr/lib/x86_64-linux-gnu/libevdev.so /usr/lib/x86_64-linux-gnu/libxml2.so -
Wl,--end-group
[11/33] /usr/bin/meson --internal symbolextractor /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu libwf-config.so.0.10.0 libwf-config.so.0.10.0 libwf-config.so.0.10.0.p/libwf-config.so.0.10.0.symbols
[12/33] c++ -Itest/option_base_test.p -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/option_base_test.p/option_base_test.cpp.o -MF test/option_base_test.p/option_base_test.cpp.o.d -o test/option_base_test.p/option_base_test.cpp.o -c ../test/option_base_test.cpp
[13/33] c++ -Itest/types_test.p -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/types_test.p/types_test.cpp.o -MF test/types_test.p/types_test.cpp.o.d -o test/types_test.p/types_test.cpp.o -c ../test/types_test.cpp
[14/33] c++ -Itest/option_wrapper_test.p -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/option_wrapper_test.p/option_wrapper_test.cpp.o -MF test/option_wrapper_test.p/option_wrapper_test.cpp.o.d -o test/option_wrapper_test.p/option_wrapper_test.cpp.o -c ../test/option_wrapper_test.cpp
[15/33] c++ -Itest/option_test.p -Itest -I../test -Iinclude -I../include -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/option_test.p/option_test.cpp.o -MF test/option_test.p/option_test.cpp.o.d -o test/option_test.p/option_test.cpp.o -c ../test/option_test.cpp
[16/33] c++ -Itest/section_test.p -Itest -I../test -Iinclude -I../include -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/section_test.p/section_test.cpp.o -MF test/section_test.p/section_test.cpp.o.d -o test/section_test.p/section_test.cpp.o -c ../test/section_test.cpp
[17/33] c++ -Itest/xml_test.p -Itest -I../test -Iinclude -I../include -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/xml_test.p/xml_test.cpp.o -MF test/xml_test.p/xml_test.cpp.o.d -o test/xml_test.p/xml_test.cpp.o -c ../test/xml_test.cpp
[18/33] c++ -Itest/config_manager_test.p -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/config_manager_test.p/config_manager_test.cpp.o -MF test/config_manager_test.p/config_manager_test.cpp.o.d -o test/config_manager_test.p/config_manager_test.cpp.o -c ../test/config_manager_test.cpp
[19/33] c++ -Itest/file_test.p -Itest -I../test -Iinclude -I../include -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 '-DTEST_SOURCE="/<<PKGBUILDDIR>>/test"' -MD -MQ test/file_test.p/file_test.cpp.o -MF test/file_test.p/file_test.cpp.o.d -o test/file_test.p/file_test.cpp.o -c ../test/file_test.cpp
[20/33] c++ -Itest/log_test.p -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/log_test.p/log_test.cpp.o -MF test/log_test.p/log_test.cpp.o.d -o test/log_test.p/log_test.cpp.o -c ../test/log_test.cpp
[21/33] c++ -Itest/number_locale_test.p -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/number_locale_test.p/number_locale_test.cpp.o -MF test/number_locale_test.p/number_locale_test.cpp.o.d -o test/number_locale_test.p/number_locale_test.cpp.o -c ../test/number_locale_test.cpp
[22/33] c++ -o test/types_test test/types_test.p/types_test.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,--start-group libwf-config.so.0.10.0 -ldoctest -Wl,--end-group
FAILED: [code=1] test/types_test
c++ -o test/types_test test/types_test.p/types_test.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,--start-group libwf-config.so.0.10.0 -ldoctest -Wl,--end-group
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -ldoctest: No such file or directory
collect2: error: ld returned 1 exit status
[23/33] c++ -Itest/duration_test.p -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/duration_test.p/duration_test.cpp.o -MF test/duration_test.p/duration_test.cpp.o.d -o test/duration_test.p/duration_test.cpp.o -c ../test/duration_test.cpp
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------