[pkg-tasktools] Bug#1037606: clog: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:22:31 BST 2023
Package: src:clog
Version: 1.3.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/clog_1.3.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
[...]
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/CMakeFiles/clog.dir/build.make src/CMakeFiles/clog.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 3%] Building CXX object src/CMakeFiles/clog.dir/clog.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/clog.dir/clog.cpp.o -MF CMakeFiles/clog.dir/clog.cpp.o.d -o CMakeFiles/clog.dir/clog.cpp.o -c /<<PKGBUILDDIR>>/src/clog.cpp
[ 7%] Building CXX object src/CMakeFiles/clog.dir/Rule.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/clog.dir/Rule.cpp.o -MF CMakeFiles/clog.dir/Rule.cpp.o.d -o CMakeFiles/clog.dir/Rule.cpp.o -c /<<PKGBUILDDIR>>/src/Rule.cpp
/<<PKGBUILDDIR>>/src/Rule.cpp: In constructor ‘Rule::Rule(const std::string&)’:
/<<PKGBUILDDIR>>/src/Rule.cpp:79:33: warning: implicitly-declared ‘Color& Color::operator=(const Color&)’ is deprecated [-Wdeprecated-copy]
79 | _color = Color (color_name);
| ^
In file included from /<<PKGBUILDDIR>>/src/Rule.h:31,
from /<<PKGBUILDDIR>>/src/Rule.cpp:28:
/<<PKGBUILDDIR>>/src/libshared/src/Color.h:48:3: note: because ‘Color’ has user-provided ‘Color::Color(const Color&)’
48 | Color (const Color&);
| ^~~~~
/<<PKGBUILDDIR>>/src/Rule.cpp:122:33: warning: implicitly-declared ‘Color& Color::operator=(const Color&)’ is deprecated [-Wdeprecated-copy]
122 | _color = Color (color_name);
| ^
/<<PKGBUILDDIR>>/src/libshared/src/Color.h:48:3: note: because ‘Color’ has user-provided ‘Color::Color(const Color&)’
48 | Color (const Color&);
| ^~~~~
[ 11%] Linking CXX static library libclog.a
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -P CMakeFiles/clog.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/clog.dir/link.txt --verbose=1
/usr/bin/ar qc libclog.a CMakeFiles/clog.dir/clog.cpp.o CMakeFiles/clog.dir/Rule.cpp.o
/usr/bin/ranlib libclog.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 11%] Built target clog
make -f src/CMakeFiles/libshared.dir/build.make src/CMakeFiles/libshared.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>>/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/libshared.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/CMakeFiles/libshared.dir/build.make src/CMakeFiles/libshared.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 15%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Args.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/Args.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/Args.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/Args.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/Args.cpp
[ 19%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Color.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/Color.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/Color.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/Color.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/Color.cpp
[ 23%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Composite.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/Composite.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/Composite.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/Composite.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/Composite.cpp
[ 26%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Configuration.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/Configuration.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/Configuration.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/Configuration.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/Configuration.cpp
[ 30%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Datetime.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/Datetime.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/Datetime.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/Datetime.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/Datetime.cpp
[ 34%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/Duration.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/Duration.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/Duration.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/Duration.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/Duration.cpp
[ 38%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/FS.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/FS.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/FS.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/FS.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/FS.cpp
/<<PKGBUILDDIR>>/src/libshared/src/FS.cpp: In static member function ‘static std::string Directory::cwd()’:
/<<PKGBUILDDIR>>/src/libshared/src/FS.cpp:899:10: warning: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
899 | getcwd (buf, PATH_MAX - 1);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~
[ 42%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/JSON.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/JSON.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/JSON.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/JSON.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/JSON.cpp
[ 46%] Building CXX object src/CMakeFiles/libshared.dir/libshared/src/JSON2.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/CMakeFiles/libshared.dir/libshared/src/JSON2.cpp.o -MF CMakeFiles/libshared.dir/libshared/src/JSON2.cpp.o.d -o CMakeFiles/libshared.dir/libshared/src/JSON2.cpp.o -c /<<PKGBUILDDIR>>/src/libshared/src/JSON2.cpp
In file included from /<<PKGBUILDDIR>>/src/libshared/src/JSON2.cpp:28:
/<<PKGBUILDDIR>>/src/libshared/src/JSON2.h:48:34: error: ‘uint64_t’ has not been declared
48 | virtual void eventValueUint (uint64_t) {}
| ^~~~~~~~
make[3]: *** [src/CMakeFiles/libshared.dir/build.make:191: src/CMakeFiles/libshared.dir/libshared/src/JSON2.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:149: src/CMakeFiles/libshared.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the pkg-tasktools-discuss
mailing list