[Pkg-puppet-devel] Bug#1075134: leatherman: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:32:10 BST 2024
Package: src:leatherman
Version: 1.12.1+dfsg-1.3
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/leatherman_1.12.1+dfsg-1.3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
In file included from /usr/include/c++/14/string:49,
from /usr/include/c++/14/bits/locale_classes.h:40,
from /usr/include/c++/14/bits/ios_base.h:41,
from /usr/include/c++/14/streambuf:43,
from /usr/include/c++/14/bits/streambuf_iterator.h:35,
from /usr/include/c++/14/iterator:66,
from /usr/include/boost/algorithm/string/predicate.hpp:14,
from /<<PKGBUILDDIR>>/util/inc/leatherman/util/strings.hpp:9:
/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
[ 31%] Linking CXX shared library ../lib/libleatherman_util.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/util && /usr/bin/cmake -E cmake_link_script CMakeFiles/leatherman_util.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -Wno-maybe-uninitialized -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,-z,relro -Wl,-z,now -shared -Wl,-soname,libleatherman_util.so.1.12.1 -o ../lib/libleatherman_util.so.1.12.1 CMakeFiles/leatherman_util.dir/src/strings.cc.o CMakeFiles/leatherman_util.dir/src/time.cc.o CMakeFiles/leatherman_util.dir/src/environment.cc.o CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o CMakeFiles/leatherman_util.dir/src/scoped_env.cc.o CMakeFiles/leatherman_util.dir/src/uri.cc.o CMakeFiles/leatherman_util.dir/src/posix/time.cc.o CMakeFiles/leatherman_util.dir/src/posix/environment.cc.o CMakeFiles/leatherman_util.dir/src/posix/scoped_descriptor.cc.o /usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.83.0 -lboost_nowide
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/util && /usr/bin/cmake -E cmake_symlink_library ../lib/libleatherman_util.so.1.12.1 ../lib/libleatherman_util.so.1.12.1 ../lib/libleatherman_util.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 31%] Built target leatherman_util
make -f locale/CMakeFiles/leatherman_locale.dir/build.make locale/CMakeFiles/leatherman_locale.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/locale /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/locale /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/locale/CMakeFiles/leatherman_locale.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f locale/CMakeFiles/leatherman_locale.dir/build.make locale/CMakeFiles/leatherman_locale.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 32%] Building CXX object locale/CMakeFiles/leatherman_locale.dir/src/locale.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/locale && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_locale_EXPORTS -I/<<PKGBUILDDIR>>/util/inc -I/<<PKGBUILDDIR>>/locale/inc -Wno-maybe-uninitialized -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 -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -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 -nostdlib -nodefaultlibs -MD -MT locale/CMakeFiles/leatherman_locale.dir/src/locale.cc.o -MF CMakeFiles/leatherman_locale.dir/src/locale.cc.o.d -o CMakeFiles/leatherman_locale.dir/src/locale.cc.o -c /<<PKGBUILDDIR>>/locale/src/locale.cc
[ 34%] Linking CXX shared library ../lib/libleatherman_locale.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/locale && /usr/bin/cmake -E cmake_link_script CMakeFiles/leatherman_locale.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -Wno-maybe-uninitialized -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,-z,relro -Wl,-z,now -shared -Wl,-soname,libleatherman_locale.so.1.12.1 -o ../lib/libleatherman_locale.so.1.12.1 CMakeFiles/leatherman_locale.dir/src/locale.cc.o -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib: /usr/lib/x86_64-linux-gnu/libboost_locale.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.83.0 ../lib/libleatherman_util.so.1.12.1 /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.83.0
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/locale && /usr/bin/cmake -E cmake_symlink_library ../lib/libleatherman_locale.so.1.12.1 ../lib/libleatherman_locale.so.1.12.1 ../lib/libleatherman_locale.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 34%] Built target leatherman_locale
make -f logging/CMakeFiles/leatherman_logging.dir/build.make logging/CMakeFiles/leatherman_logging.dir/depend
make -f json_container/CMakeFiles/leatherman_json_container.dir/build.make json_container/CMakeFiles/leatherman_json_container.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/json_container /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/json_container /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/json_container/CMakeFiles/leatherman_json_container.dir/DependInfo.cmake "--color="
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/logging /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/logging /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/logging/CMakeFiles/leatherman_logging.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f json_container/CMakeFiles/leatherman_json_container.dir/build.make json_container/CMakeFiles/leatherman_json_container.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f logging/CMakeFiles/leatherman_logging.dir/build.make logging/CMakeFiles/leatherman_logging.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 35%] Building CXX object json_container/CMakeFiles/leatherman_json_container.dir/src/json_container.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/json_container && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_json_container_EXPORTS -I/<<PKGBUILDDIR>>/util/inc -I/<<PKGBUILDDIR>>/locale/inc -I/<<PKGBUILDDIR>>/json_container/inc -Wno-maybe-uninitialized -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 -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -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 -nostdlib -nodefaultlibs -MD -MT json_container/CMakeFiles/leatherman_json_container.dir/src/json_container.cc.o -MF CMakeFiles/leatherman_json_container.dir/src/json_container.cc.o.d -o CMakeFiles/leatherman_json_container.dir/src/json_container.cc.o -c /<<PKGBUILDDIR>>/json_container/src/json_container.cc
[ 36%] Building CXX object logging/CMakeFiles/leatherman_logging.dir/src/posix/logging.cc.o
[ 38%] Building CXX object logging/CMakeFiles/leatherman_logging.dir/src/logging.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/logging && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_LOGGING_LINE_NUMBERS -DLEATHERMAN_LOGGING_NAMESPACE=\"leatherman.logging\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_logging_EXPORTS -I/<<PKGBUILDDIR>>/util/inc -I/<<PKGBUILDDIR>>/locale/inc -I/<<PKGBUILDDIR>>/nowide/inc -I/<<PKGBUILDDIR>>/logging/inc -Wno-maybe-uninitialized -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 -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -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 -nostdlib -nodefaultlibs -MD -MT logging/CMakeFiles/leatherman_logging.dir/src/logging.cc.o -MF CMakeFiles/leatherman_logging.dir/src/logging.cc.o.d -o CMakeFiles/leatherman_logging.dir/src/logging.cc.o -c /<<PKGBUILDDIR>>/logging/src/logging.cc
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/logging && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_LOGGING_LINE_NUMBERS -DLEATHERMAN_LOGGING_NAMESPACE=\"leatherman.logging\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_logging_EXPORTS -I/<<PKGBUILDDIR>>/util/inc -I/<<PKGBUILDDIR>>/locale/inc -I/<<PKGBUILDDIR>>/nowide/inc -I/<<PKGBUILDDIR>>/logging/inc -Wno-maybe-uninitialized -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 -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -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 -nostdlib -nodefaultlibs -MD -MT logging/CMakeFiles/leatherman_logging.dir/src/posix/logging.cc.o -MF CMakeFiles/leatherman_logging.dir/src/posix/logging.cc.o.d -o CMakeFiles/leatherman_logging.dir/src/posix/logging.cc.o -c /<<PKGBUILDDIR>>/logging/src/posix/logging.cc
In file included from /<<PKGBUILDDIR>>/json_container/src/json_container.cc:4:
/usr/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
/usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~~^~~~~~~~~~~~
make[3]: *** [json_container/CMakeFiles/leatherman_json_container.dir/build.make:79: json_container/CMakeFiles/leatherman_json_container.dir/src/json_container.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:622: json_container/CMakeFiles/leatherman_json_container.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 39%] Linking CXX shared library ../lib/libleatherman_logging.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/logging && /usr/bin/cmake -E cmake_link_script CMakeFiles/leatherman_logging.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -Wno-maybe-uninitialized -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,-z,relro -Wl,-z,now -shared -Wl,-soname,libleatherman_logging.so.1.12.1 -o ../lib/libleatherman_logging.so.1.12.1 CMakeFiles/leatherman_logging.dir/src/logging.cc.o CMakeFiles/leatherman_logging.dir/src/posix/logging.cc.o -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib: /usr/lib/x86_64-linux-gnu/libboost_log_setup.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.83.0 ../lib/libleatherman_locale.so.1.12.1 -lrt /usr/lib/x86_64-linux-gnu/libboost_log.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.83.0 -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/logging && /usr/bin/cmake -E cmake_symlink_library ../lib/libleatherman_logging.so.1.12.1 ../lib/libleatherman_logging.so.1.12.1 ../lib/libleatherman_logging.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 39%] Built target leatherman_logging
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:12: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-puppet-devel
mailing list