[Pkg-netmeasure-discuss] Bug#1037744: libtins: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:27:23 BST 2023
Package: src:libtins
Version: 4.0-1
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13
[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/libtins_4.0-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html
[...]
-- Checking C++ support for "functional"
-- Checking C++ support for "functional": works
-- Checking C++ support for "chrono"
-- Checking C++ support for "chrono": works
-- Checking C++ support for "noexcept"
-- Checking C++ support for "noexcept": works
-- Checking C++ support for "builtin-swap"
-- Checking C++ support for "builtin-swap": works
-- Enabling C++11 features
-- Enabling IEEE 802.11 support.
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.8")
-- Enabling WPA2 decryption support.
-- Enabling TCPIP classes
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:167 (MESSAGE):
Disabling ACK tracking support as boost.icl was not found
CMake Warning at CMakeLists.txt:183 (MESSAGE):
Disabling TCP stream custom data support as boost.any was not found
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR regex)
CMake Warning at examples/CMakeLists.txt:27 (MESSAGE):
Disabling HTTP requests example since boost.regex was not found
-- googletest git submodule is absent. Run `git submodule init && git submodule update` to get it
CMake Warning at CMakeLists.txt:317 (EXPORT):
Cannot create package registry file:
/sbuild-nonexistent/.cmake/packages/libtins/0c5284e2c84953d7359101036c3fe4ea
No such file or directory
-- Configuring done
-- Generating done
-- Build files have been written to: /<<PKGBUILDDIR>>/build
cd build && make
make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build'
[ 1%] Building CXX object src/CMakeFiles/tins.dir/address_range.cpp.o
In file included from /<<PKGBUILDDIR>>/src/address_range.cpp:31:
/<<PKGBUILDDIR>>/src/../include/tins/ip_address.h: In member function ‘std::size_t std::hash<Tins::IPv4Address>::operator()(const Tins::IPv4Address&) const’:
/<<PKGBUILDDIR>>/src/../include/tins/ip_address.h:220:31: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’?
220 | return std::hash<std::uint32_t>()(addr);
| ^~~~~~~~
| wint_t
/<<PKGBUILDDIR>>/src/../include/tins/ip_address.h:220:31: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’?
220 | return std::hash<std::uint32_t>()(addr);
| ^~~~~~~~
| wint_t
/<<PKGBUILDDIR>>/src/../include/tins/ip_address.h:220:39: error: template argument 1 is invalid
220 | return std::hash<std::uint32_t>()(addr);
| ^
make[4]: *** [src/CMakeFiles/tins.dir/build.make:76: src/CMakeFiles/tins.dir/address_range.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:158: src/CMakeFiles/tins.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:136: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-netmeasure-discuss
mailing list