[Debian-on-mobile-maintainers] Bug#1037774: mfgtools: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:28:28 BST 2023
Package: src:mfgtools
Version: 1.4.193-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/mfgtools_1.4.193-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
[...]
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/libuuu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/CMakeFiles/uuc_s.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f libuuu/CMakeFiles/uuc_s.dir/build.make libuuu/CMakeFiles/uuc_s.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 6%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/buffer.cpp.o
[ 9%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/config.cpp.o
[ 15%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/error.cpp.o
[ 15%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/cmd.cpp.o
[ 18%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/notify.cpp.o
[ 21%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/usbhotplug.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/buffer.cpp.o -MF CMakeFiles/uuc_s.dir/buffer.cpp.o.d -o CMakeFiles/uuc_s.dir/buffer.cpp.o -c /<<PKGBUILDDIR>>/libuuu/buffer.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/error.cpp.o -MF CMakeFiles/uuc_s.dir/error.cpp.o.d -o CMakeFiles/uuc_s.dir/error.cpp.o -c /<<PKGBUILDDIR>>/libuuu/error.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/cmd.cpp.o -MF CMakeFiles/uuc_s.dir/cmd.cpp.o.d -o CMakeFiles/uuc_s.dir/cmd.cpp.o -c /<<PKGBUILDDIR>>/libuuu/cmd.cpp
[ 24%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/sdps.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/config.cpp.o -MF CMakeFiles/uuc_s.dir/config.cpp.o.d -o CMakeFiles/uuc_s.dir/config.cpp.o -c /<<PKGBUILDDIR>>/libuuu/config.cpp
[ 27%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/trans.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/notify.cpp.o -MF CMakeFiles/uuc_s.dir/notify.cpp.o.d -o CMakeFiles/uuc_s.dir/notify.cpp.o -c /<<PKGBUILDDIR>>/libuuu/notify.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/usbhotplug.cpp.o -MF CMakeFiles/uuc_s.dir/usbhotplug.cpp.o.d -o CMakeFiles/uuc_s.dir/usbhotplug.cpp.o -c /<<PKGBUILDDIR>>/libuuu/usbhotplug.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/sdps.cpp.o -MF CMakeFiles/uuc_s.dir/sdps.cpp.o.d -o CMakeFiles/uuc_s.dir/sdps.cpp.o -c /<<PKGBUILDDIR>>/libuuu/sdps.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/trans.cpp.o -MF CMakeFiles/uuc_s.dir/trans.cpp.o.d -o CMakeFiles/uuc_s.dir/trans.cpp.o -c /<<PKGBUILDDIR>>/libuuu/trans.cpp
[ 30%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/version.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/version.cpp.o -MF CMakeFiles/uuc_s.dir/version.cpp.o.d -o CMakeFiles/uuc_s.dir/version.cpp.o -c /<<PKGBUILDDIR>>/libuuu/version.cpp
[ 33%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/sdp.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/sdp.cpp.o -MF CMakeFiles/uuc_s.dir/sdp.cpp.o.d -o CMakeFiles/uuc_s.dir/sdp.cpp.o -c /<<PKGBUILDDIR>>/libuuu/sdp.cpp
[ 36%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/fastboot.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/fastboot.cpp.o -MF CMakeFiles/uuc_s.dir/fastboot.cpp.o.d -o CMakeFiles/uuc_s.dir/fastboot.cpp.o -c /<<PKGBUILDDIR>>/libuuu/fastboot.cpp
[ 39%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/zip.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/zip.cpp.o -MF CMakeFiles/uuc_s.dir/zip.cpp.o.d -o CMakeFiles/uuc_s.dir/zip.cpp.o -c /<<PKGBUILDDIR>>/libuuu/zip.cpp
[ 42%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/fat.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/fat.cpp.o -MF CMakeFiles/uuc_s.dir/fat.cpp.o.d -o CMakeFiles/uuc_s.dir/fat.cpp.o -c /<<PKGBUILDDIR>>/libuuu/fat.cpp
In file included from /<<PKGBUILDDIR>>/libuuu/fat.cpp:35:
/<<PKGBUILDDIR>>/libuuu/libcomm.h:88:8: error: ‘uint64_t’ does not name a type
88 | inline uint64_t EndianSwap(uint64_t x) {
| ^~~~~~~~
/<<PKGBUILDDIR>>/libuuu/libcomm.h:36:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
35 | #include <algorithm>
+++ |+#include <cstdint>
36 | #pragma once
/<<PKGBUILDDIR>>/libuuu/libcomm.h:99:8: error: ‘uint32_t’ does not name a type
99 | inline uint32_t EndianSwap(uint32_t x)
| ^~~~~~~~
/<<PKGBUILDDIR>>/libuuu/libcomm.h:99:8: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/libuuu/libcomm.h:106:8: error: ‘uint16_t’ does not name a type
106 | inline uint16_t EndianSwap(uint16_t x)
| ^~~~~~~~
/<<PKGBUILDDIR>>/libuuu/libcomm.h:106:8: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/libuuu/libcomm.h:145:1: error: ‘uint16_t’ does not name a type
145 | uint16_t str_to_uint16(const string &str, bool * conversion_suceeded = nullptr);
| ^~~~~~~~
/<<PKGBUILDDIR>>/libuuu/libcomm.h:145:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/libuuu/libcomm.h:146:1: error: ‘uint32_t’ does not name a type
146 | uint32_t str_to_uint32(const string &str, bool * conversion_suceeded = nullptr);
| ^~~~~~~~
/<<PKGBUILDDIR>>/libuuu/libcomm.h:146:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/libuuu/libcomm.h:147:1: error: ‘uint64_t’ does not name a type
147 | uint64_t str_to_uint64(const string &str, bool * conversion_suceeded = nullptr);
| ^~~~~~~~
/<<PKGBUILDDIR>>/libuuu/libcomm.h:147:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
[ 45%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/tar.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu && /usr/bin/c++ -I/usr/include/libusb-1.0 -I/<<PKGBUILDDIR>>/libuuu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libuuu/gen -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DUUUSSL -std=gnu++14 -MD -MT libuuu/CMakeFiles/uuc_s.dir/tar.cpp.o -MF CMakeFiles/uuc_s.dir/tar.cpp.o.d -o CMakeFiles/uuc_s.dir/tar.cpp.o -c /<<PKGBUILDDIR>>/libuuu/tar.cpp
make[3]: *** [libuuu/CMakeFiles/uuc_s.dir/build.make:252: libuuu/CMakeFiles/uuc_s.dir/fat.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:119: libuuu/CMakeFiles/uuc_s.dir/all] Error 2
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:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-on-mobile-maintainers
mailing list