Package: src:libappimage Version: 1.0.4-5-1 Severity: normal Tags: sid trixie User: debian-...@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/libappimage_1.0.4-5-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 [...] 19 | std::vector<uint8_t> md5(std::istream& data); | ^~~~~~~ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:1:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? +++ |+#include <cstdint> 1 | #pragma once /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:19:32: error: template argument 1 is invalid 19 | std::vector<uint8_t> md5(std::istream& data); | ^ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:19:32: error: template argument 2 is invalid /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:26:25: error: ‘uint8_t’ was not declared in this scope 26 | std::vector<uint8_t> md5(const std::string& data); | ^~~~~~~ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:26:25: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:26:32: error: template argument 1 is invalid 26 | std::vector<uint8_t> md5(const std::string& data); | ^ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:26:32: error: template argument 2 is invalid /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:33:43: error: ‘uint8_t’ was not declared in this scope 33 | std::string toHex(std::vector<uint8_t> digest); | ^~~~~~~ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:33:43: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:33:50: error: template argument 1 is invalid 33 | std::string toHex(std::vector<uint8_t> digest); | ^ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:33:50: error: template argument 2 is invalid /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.cpp:19:34: error: ambiguating new declaration of ‘std::vector<unsigned char> appimage::utils::hashlib::md5(std::istream&)’ 19 | std::vector<uint8_t> md5(std::istream& data) { | ^~~ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:19:34: note: old declaration ‘int appimage::utils::hashlib::md5(std::istream&)’ 19 | std::vector<uint8_t> md5(std::istream& data); | ^~~ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.cpp:42:34: error: ambiguating new declaration of ‘std::vector<unsigned char> appimage::utils::hashlib::md5(const std::string&)’ 42 | std::vector<uint8_t> md5(const std::string& data) { | ^~~ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.h:26:34: note: old declaration ‘int appimage::utils::hashlib::md5(const std::string&)’ 26 | std::vector<uint8_t> md5(const std::string& data); | ^~~ /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.cpp: In function ‘std::vector<unsigned char> appimage::utils::hashlib::md5(const std::string&)’: /<<PKGBUILDDIR>>/src/libappimage/utils/hashlib.cpp:44:27: error: could not convert ‘appimage::utils::hashlib::md5(ss.std::__cxx11::basic_stringstream<char>::<anonymous>.std::basic_iostream<char>::<anonymous>)’ from ‘int’ to ‘std::vector<unsigned char>’ 44 | return md5(ss); | ~~~^~~~ | | | int make[3]: *** [src/libappimage/utils/CMakeFiles/appimage_utils.dir/build.make:107: src/libappimage/utils/CMakeFiles/appimage_utils.dir/hashlib.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 48%] Building CXX object src/libappimage/core/CMakeFiles/core.dir/Traversal.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libappimage/core && /usr/bin/c++ -DENABLE_BINRELOC -DGIT_COMMIT=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src/libappimage_hashlib/include -I/usr/include/squashfuse -I/<<PKGBUILDDIR>>/src/libappimage/core/.. -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/libappimage -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=../ -fmacro-prefix-map=/<<PKGBUILDDIR>>=../ -Os -DNDEBUG -Wl,--gc-sections -fPIC -std=gnu++11 -MD -MT src/libappimage/core/CMakeFiles/core.dir/Traversal.cpp.o -MF CMakeFiles/core.dir/Traversal.cpp.o.d -o CMakeFiles/core.dir/Traversal.cpp.o -c /<<PKGBUILDDIR>>/src/libappimage/core/Traversal.cpp [ 51%] Building CXX object src/libappimage/core/CMakeFiles/core.dir/PayloadIterator.cpp.o [ 54%] Building CXX object src/libappimage/core/CMakeFiles/core.dir/impl/TraversalType1.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libappimage/core && /usr/bin/c++ -DENABLE_BINRELOC -DGIT_COMMIT=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src/libappimage_hashlib/include -I/usr/include/squashfuse -I/<<PKGBUILDDIR>>/src/libappimage/core/.. -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/libappimage -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=../ -fmacro-prefix-map=/<<PKGBUILDDIR>>=../ -Os -DNDEBUG -Wl,--gc-sections -fPIC -std=gnu++11 -MD -MT src/libappimage/core/CMakeFiles/core.dir/PayloadIterator.cpp.o -MF CMakeFiles/core.dir/PayloadIterator.cpp.o.d -o CMakeFiles/core.dir/PayloadIterator.cpp.o -c /<<PKGBUILDDIR>>/src/libappimage/core/PayloadIterator.cpp cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libappimage/core && /usr/bin/c++ -DENABLE_BINRELOC -DGIT_COMMIT=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src/libappimage_hashlib/include -I/usr/include/squashfuse -I/<<PKGBUILDDIR>>/src/libappimage/core/.. -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/libappimage -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=../ -fmacro-prefix-map=/<<PKGBUILDDIR>>=../ -Os -DNDEBUG -Wl,--gc-sections -fPIC -std=gnu++11 -MD -MT src/libappimage/core/CMakeFiles/core.dir/impl/TraversalType1.cpp.o -MF CMakeFiles/core.dir/impl/TraversalType1.cpp.o.d -o CMakeFiles/core.dir/impl/TraversalType1.cpp.o -c /<<PKGBUILDDIR>>/src/libappimage/core/impl/TraversalType1.cpp [ 56%] Building CXX object src/libappimage/core/CMakeFiles/core.dir/impl/TraversalType2.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libappimage/core && /usr/bin/c++ -DENABLE_BINRELOC -DGIT_COMMIT=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src/libappimage_hashlib/include -I/usr/include/squashfuse -I/<<PKGBUILDDIR>>/src/libappimage/core/.. -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/libappimage -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=../ -fmacro-prefix-map=/<<PKGBUILDDIR>>=../ -Os -DNDEBUG -Wl,--gc-sections -fPIC -std=gnu++11 -MD -MT src/libappimage/core/CMakeFiles/core.dir/impl/TraversalType2.cpp.o -MF CMakeFiles/core.dir/impl/TraversalType2.cpp.o.d -o CMakeFiles/core.dir/impl/TraversalType2.cpp.o -c /<<PKGBUILDDIR>>/src/libappimage/core/impl/TraversalType2.cpp make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:409: src/libappimage/utils/CMakeFiles/appimage_utils.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 59%] Building CXX object src/libappimage/core/CMakeFiles/core.dir/impl/StreambufType1.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libappimage/core && /usr/bin/c++ -DENABLE_BINRELOC -DGIT_COMMIT=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src/libappimage_hashlib/include -I/usr/include/squashfuse -I/<<PKGBUILDDIR>>/src/libappimage/core/.. -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/libappimage -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=../ -fmacro-prefix-map=/<<PKGBUILDDIR>>=../ -Os -DNDEBUG -Wl,--gc-sections -fPIC -std=gnu++11 -MD -MT src/libappimage/core/CMakeFiles/core.dir/impl/StreambufType1.cpp.o -MF CMakeFiles/core.dir/impl/StreambufType1.cpp.o.d -o CMakeFiles/core.dir/impl/StreambufType1.cpp.o -c /<<PKGBUILDDIR>>/src/libappimage/core/impl/StreambufType1.cpp [ 62%] Building CXX object src/libappimage/core/CMakeFiles/core.dir/impl/StreambufType2.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libappimage/core && /usr/bin/c++ -DENABLE_BINRELOC -DGIT_COMMIT=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src/libappimage_hashlib/include -I/usr/include/squashfuse -I/<<PKGBUILDDIR>>/src/libappimage/core/.. -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/libappimage -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=../ -fmacro-prefix-map=/<<PKGBUILDDIR>>=../ -Os -DNDEBUG -Wl,--gc-sections -fPIC -std=gnu++11 -MD -MT src/libappimage/core/CMakeFiles/core.dir/impl/StreambufType2.cpp.o -MF CMakeFiles/core.dir/impl/StreambufType2.cpp.o.d -o CMakeFiles/core.dir/impl/StreambufType2.cpp.o -c /<<PKGBUILDDIR>>/src/libappimage/core/impl/StreambufType2.cpp make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 62%] Built target core make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 62%] Built target appimage_desktop_integration make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[1]: *** [Makefile:139: 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:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2