Bug#1037842: ring: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:30:52 BST 2023
Package: src:ring
Version: 20230206.0~ds2-1.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/ring_20230206.0~ds2-1.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
[...]
147 | nbChannels = f->channels;
| ^~~~~~~~
/usr/include/x86_64-linux-gnu/libavutil/frame.h:643:9: note: declared here
643 | int channels;
| ^~~~~~~~
fileutils.cpp: In function ‘std::vector<std::__cxx11::basic_string<char> > jami::fileutils::readDirectory(const std::string&)’:
fileutils.cpp:541:22: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
541 | while (!readdir_r(dp, reinterpret_cast<dirent*>(buf.data()), &entry) && entry) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:489,
from /usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:679,
from /usr/include/c++/13/cstddef:49,
from /usr/include/fmt/core.h:11,
from logger.h:27,
from fileutils.cpp:25:
/usr/include/dirent.h:191:12: note: declared here
191 | extern int __REDIRECT (readdir_r,
| ^~~~~~~~~~
depbase=`echo threadloop.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DLIBJAMI_BUILD -DASIO_STANDALONE -I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include -DPJ_AUTOCONF=1 -I/usr/include/jsoncpp -I/<<PKGBUILDDIR>>/daemon/src -I/<<PKGBUILDDIR>>/daemon/src/config -I/<<PKGBUILDDIR>>/daemon/src/media -I/<<PKGBUILDDIR>>/daemon/test -I/<<PKGBUILDDIR>>/daemon/src/jami -DPREFIX=\"/usr\" -DJAMI_DATADIR=\"/usr/share/jami\" -DENABLE_TRACE -DJAMI_REVISION=\"\" -DJAMI_DIRTY_REPO=\"dirty\" -DPJSIP_MAX_PKT_LEN=8000 -DPJ_AUTOCONF=1 -I../src/jamidht/eth -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG=1 -O3 -Wno-deprecated -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT threadloop.lo -MD -MP -MF $depbase.Tpo -c -o threadloop.lo threadloop.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DLIBJAMI_BUILD -DASIO_STANDALONE "-I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include" -DPJ_AUTOCONF=1 -I/usr/include/jsoncpp "-I/<<PKGBUILDDIR>>/daemon/src" "-I/<<PKGBUILDDIR>>/daemon/src/config" "-I/<<PKGBUILDDIR>>/daemon/src/media" "-I/<<PKGBUILDDIR>>/daemon/test" "-I/<<PKGBUILDDIR>>/daemon/src/jami" -DPREFIX=\"/usr\" -DJAMI_DATADIR=\"/usr/share/jami\" -DENABLE_TRACE -DJAMI_REVISION=\"\" -DJAMI_DIRTY_REPO=\"dirty\" -DPJSIP_MAX_PKT_LEN=8000 -DPJ_AUTOCONF=1 -I../src/jamidht/eth -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG=1 -O3 -Wno-deprecated -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT threadloop.lo -MD -MP -MF .deps/threadloop.Tpo -c threadloop.cpp -o threadloop.o
depbase=`echo vcard.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DLIBJAMI_BUILD -DASIO_STANDALONE -I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include -DPJ_AUTOCONF=1 -I/usr/include/jsoncpp -I/<<PKGBUILDDIR>>/daemon/src -I/<<PKGBUILDDIR>>/daemon/src/config -I/<<PKGBUILDDIR>>/daemon/src/media -I/<<PKGBUILDDIR>>/daemon/test -I/<<PKGBUILDDIR>>/daemon/src/jami -DPREFIX=\"/usr\" -DJAMI_DATADIR=\"/usr/share/jami\" -DENABLE_TRACE -DJAMI_REVISION=\"\" -DJAMI_DIRTY_REPO=\"dirty\" -DPJSIP_MAX_PKT_LEN=8000 -DPJ_AUTOCONF=1 -I../src/jamidht/eth -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG=1 -O3 -Wno-deprecated -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT vcard.lo -MD -MP -MF $depbase.Tpo -c -o vcard.lo vcard.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DLIBJAMI_BUILD -DASIO_STANDALONE "-I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include" -DPJ_AUTOCONF=1 -I/usr/include/jsoncpp "-I/<<PKGBUILDDIR>>/daemon/src" "-I/<<PKGBUILDDIR>>/daemon/src/config" "-I/<<PKGBUILDDIR>>/daemon/src/media" "-I/<<PKGBUILDDIR>>/daemon/test" "-I/<<PKGBUILDDIR>>/daemon/src/jami" -DPREFIX=\"/usr\" -DJAMI_DATADIR=\"/usr/share/jami\" -DENABLE_TRACE -DJAMI_REVISION=\"\" -DJAMI_DIRTY_REPO=\"dirty\" -DPJSIP_MAX_PKT_LEN=8000 -DPJ_AUTOCONF=1 -I../src/jamidht/eth -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG=1 -O3 -Wno-deprecated -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT vcard.lo -MD -MP -MF .deps/vcard.Tpo -c vcard.cpp -o vcard.o
archiver.cpp: At global scope:
archiver.cpp:120:1: error: ambiguating new declaration of ‘std::vector<unsigned char> jami::archiver::compress(const std::string&)’
120 | compress(const std::string& str)
| ^~~~~~~~
archiver.h:49:22: note: old declaration ‘int jami::archiver::compress(const std::string&)’
49 | std::vector<uint8_t> compress(const std::string& str);
| ^~~~~~~~
archiver.cpp:156:1: error: ambiguating new declaration of ‘std::vector<unsigned char> jami::archiver::decompressGzip(const std::string&)’
156 | decompressGzip(const std::string& path)
| ^~~~~~~~~~~~~~
archiver.h:65:22: note: old declaration ‘int jami::archiver::decompressGzip(const std::string&)’
65 | std::vector<uint8_t> decompressGzip(const std::string& path);
| ^~~~~~~~~~~~~~
archiver.cpp:414:1: error: ambiguating new declaration of ‘std::vector<unsigned char> jami::archiver::readFileFromArchive(const std::string&, const std::string&)’
414 | readFileFromArchive(const std::string& archivePath, const std::string& fileRelativePathName)
| ^~~~~~~~~~~~~~~~~~~
archiver.h:94:22: note: old declaration ‘int jami::archiver::readFileFromArchive(const std::string&, const std::string&)’
94 | std::vector<uint8_t> readFileFromArchive(const std::string& path,
| ^~~~~~~~~~~~~~~~~~~
In file included from vcard.cpp:21:
string_utils.h:54:27: error: ‘uint64_t’ was not declared in this scope
54 | std::string to_hex_string(uint64_t id);
| ^~~~~~~~
string_utils.h:31:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
30 | #include <charconv>
+++ |+#include <cstdint>
31 |
string_utils.h:55:1: error: ‘uint64_t’ does not name a type
55 | uint64_t from_hex_string(const std::string& str);
| ^~~~~~~~
string_utils.h:55:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
make[4]: *** [Makefile:2669: vcard.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:2669: archiver.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/daemon/src'
make[3]: *** [Makefile:594: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/daemon'
make[2]: *** [Makefile:500: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/daemon'
make[1]: *** [debian/rules:90: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:23: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-voip-maintainers
mailing list