Control: close -1 Control: fixed -1 3.0.2-2 On Di 02 Sep 2025 08:28:56 CEST, Matthias Klose wrote:
On 01.09.25 16:33, Mike Gabriel wrote:Hi Matthias, On Mo 17 Feb 2025 18:45:59 CET, Matthias Klose wrote:Package: src:process-cpp Version: 3.0.2-1 Severity: important Tags: sid forky User: [email protected] Usertags: ftbfs-gcc-15 [This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at:http://qa-logs.debian.net/2025/02/16/amd64exp/process- cpp_3.0.2-1_unstable_gccexp.log.gzThe last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other 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-15/porting_to.html [...] Patching output file 127/175 Patching output file 128/175 Patching output file 129/175 Patching output file 130/175 Patching output file 131/175 Patching output file 132/175 Patching output file 133/175 Patching output file 134/175 Patching output file 135/175 Patching output file 136/175 Patching output file 137/175 Patching output file 138/175 Patching output file 139/175 Patching output file 140/175 Patching output file 141/175 Patching output file 142/175 Patching output file 143/175 Patching output file 144/175 Patching output file 145/175 Patching output file 146/175 Patching output file 147/175 Patching output file 148/175 Patching output file 149/175 Patching output file 150/175 Patching output file 151/175 Patching output file 152/175 Patching output file 153/175 Patching output file 154/175 Patching output file 155/175 Patching output file 156/175 Patching output file 157/175 Patching output file 158/175 Patching output file 159/175 Patching output file 160/175 Patching output file 161/175 Patching output file 162/175 Patching output file 163/175 Patching output file 164/175 Patching output file 165/175 Patching output file 166/175 Patching output file 167/175 Patching output file 168/175 Patching output file 169/175 Patching output file 170/175 Patching output file 171/175 Patching output file 172/175 Patching output file 173/175 Patching output file 174/175 Patching output file 175/175 type lookup cache used 1756/65536 hits=9305 misses=2133 symbol lookup cache used 1898/65536 hits=8696 misses=1898 finished...make[3]: Leaving directory '/build/reproducible-path/process- cpp-3.0.2/obj-x86_64-linux-gnu'[ 65%] Built target doc cc1plus: all warnings being treated as errorsmake[6]: *** [/build/reproducible-path/process-cpp-3.0.2/obj-x86_64- linux-gnu/tests/googletest/CMakeFiles/gtest.dir/build.make:79: /build/ reproducible-path/process-cpp-3.0.2/obj-x86_64-linux-gnu/tests/ googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 1 make[6]: Leaving directory '/build/reproducible-path/process- cpp-3.0.2/obj-x86_64-linux-gnu/tests/gmock' make[5]: *** [CMakeFiles/Makefile2:180: /build/reproducible-path/ process-cpp-3.0.2/obj-x86_64-linux-gnu/tests/googletest/CMakeFiles/ gtest.dir/all] Error 2 make[5]: Leaving directory '/build/reproducible-path/process- cpp-3.0.2/obj-x86_64-linux-gnu/tests/gmock'make[4]: *** [Makefile:91: all] Error 2make[4]: Leaving directory '/build/reproducible-path/process- cpp-3.0.2/obj-x86_64-linux-gnu/tests/gmock' make[3]: *** [tests/CMakeFiles/GMock.dir/build.make:89: tests/GMock- prefix/src/GMock-stamp/GMock-build] Error 2 make[3]: Leaving directory '/build/reproducible-path/process- cpp-3.0.2/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:1204: tests/CMakeFiles/GMock.dir/ all] Error 2 make[2]: Leaving directory '/build/reproducible-path/process- cpp-3.0.2/obj-x86_64-linux-gnu'make[1]: *** [Makefile:149: all] Error 2make[1]: Leaving directory '/build/reproducible-path/process- cpp-3.0.2/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 2make: *** [debian/rules:8: binary] Error 25dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2Please note that parallel builds mostly hide the underlying error message further up in the build log, so your quote is irrelevant for this bug report.The problem is here, as found in the full build log: ```cd /build/reproducible-path/process-cpp-3.0.2/obj-x86_64-linux-gnu/ tests/googletest && /usr/bin/c++ -I/usr/src/googletest/googletest/ include -I/usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/ build/reproducible-path/process-cpp-3.0.2=. -fstack-protector-strong - fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fno-strict-aliasing - fvisibility=hidden -fvisibility-inlines-hidden -pedantic -Wextra -Werror -Wno-error=format -g -Wno-old-style-cast -Wno-missing-field-initializers -Wno-ctor-dtor-privacy -Wno-switch-default -Wall -Wshadow -Wundef -Wno- error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno- unused-parameter -Wno-missing-field-initializers -MD -MT /build/ reproducible-path/process-cpp-3.0.2/obj-x86_64-linux-gnu/tests/ googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -MF CMakeFiles/ gtest.dir/src/gtest-all.cc.o.d -o CMakeFiles/gtest.dir/src/gtest- all.cc.o -c /usr/src/googletest/googletest/src/gtest-all.cc In file included from /usr/src/googletest/googletest/include/gtest/ internal/gtest-port.h:295, from /usr/src/googletest/googletest/include/gtest/ gtest-message.h:57, from /usr/src/googletest/googletest/include/gtest/ gtest-assertion-result.h:46, from /usr/src/googletest/googletest/include/gtest/ gtest.h:63,from /usr/src/googletest/googletest/src/gtest-all.cc:38:/usr/include/c++/15/ciso646:46:4: error: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror=cpp] 46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"| ^~~~~~~ ```As you can see, the '# warning' macro comes from GTest. I checked process-cpp, it does not use that macro, at all.So, how to proceed? Close this bug here? Or merge it to the corresponding gcc-15 bug?I have checked that it builds with GCC 15 in Ubuntu, see https://launchpad.net/ubuntu/+source/process-cpp/3.0.2-2 please recheck in unstable, once GCC 15 becomes the default later this month.
Tested compiling with GCC-15 by rebuilding against recent Debian unstable and it works nicely now.
So, closing... Mike -- mike gabriel aka sunweaver (Debian Developer) mobile: +49 (1520) 1976 148 landline: +49 (4351) 486 14 27 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: [email protected], http://sunweavers.net
pgpzpclrkLiiK.pgp
Description: Digitale PGP-Signatur

