Bug#1075332: octomap: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:38:25 BST 2024
Package: src:octomap
Version: 1.9.7+dfsg-3.1
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[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-14/g++-14, but succeeds to build with gcc-13/g++-13. 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/2024/07/01/octomap_1.9.7+dfsg-3.1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html
[...]
[ 9%] Building CXX object octomap/src/CMakeFiles/octomap.dir/OcTreeNode.cpp.o
[ 10%] Building CXX object octomap/src/CMakeFiles/octomap.dir/OcTree.cpp.o
[ 11%] Building CXX object octomap/src/CMakeFiles/octomap.dir/AbstractOccupancyOcTree.cpp.o
[ 11%] Building CXX object octomap/src/CMakeFiles/octomap.dir/AbstractOcTree.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -Doctomap_EXPORTS -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap.dir/OcTreeNode.cpp.o -MF CMakeFiles/octomap.dir/OcTreeNode.cpp.o.d -o CMakeFiles/octomap.dir/OcTreeNode.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/OcTreeNode.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -Doctomap_EXPORTS -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap.dir/OcTree.cpp.o -MF CMakeFiles/octomap.dir/OcTree.cpp.o.d -o CMakeFiles/octomap.dir/OcTree.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/OcTree.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -Doctomap_EXPORTS -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap.dir/AbstractOcTree.cpp.o -MF CMakeFiles/octomap.dir/AbstractOcTree.cpp.o.d -o CMakeFiles/octomap.dir/AbstractOcTree.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/AbstractOcTree.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -Doctomap_EXPORTS -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap.dir/AbstractOccupancyOcTree.cpp.o -MF CMakeFiles/octomap.dir/AbstractOccupancyOcTree.cpp.o.d -o CMakeFiles/octomap.dir/AbstractOccupancyOcTree.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/AbstractOccupancyOcTree.cpp
[ 12%] Linking CXX static library /<<PKGBUILDDIR>>/lib/liboctomath.a
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src/math && /usr/bin/cmake -P CMakeFiles/octomath-static.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src/math && /usr/bin/cmake -E cmake_link_script CMakeFiles/octomath-static.dir/link.txt --verbose=1
/usr/bin/ar qc /<<PKGBUILDDIR>>/lib/liboctomath.a "CMakeFiles/octomath-static.dir/Vector3.cpp.o" "CMakeFiles/octomath-static.dir/Quaternion.cpp.o" "CMakeFiles/octomath-static.dir/Pose6D.cpp.o"
/usr/bin/ranlib /<<PKGBUILDDIR>>/lib/liboctomath.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 12%] Built target octomath-static
make -f octomap/src/CMakeFiles/octomap-static.dir/build.make octomap/src/CMakeFiles/octomap-static.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>>/octomap/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src/CMakeFiles/octomap-static.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f octomap/src/CMakeFiles/octomap-static.dir/build.make octomap/src/CMakeFiles/octomap-static.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 13%] Building CXX object octomap/src/CMakeFiles/octomap-static.dir/AbstractOcTree.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap-static.dir/AbstractOcTree.cpp.o -MF CMakeFiles/octomap-static.dir/AbstractOcTree.cpp.o.d -o CMakeFiles/octomap-static.dir/AbstractOcTree.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/AbstractOcTree.cpp
[ 14%] Building CXX object octomap/src/CMakeFiles/octomap.dir/OcTreeStamped.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -Doctomap_EXPORTS -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap.dir/OcTreeStamped.cpp.o -MF CMakeFiles/octomap.dir/OcTreeStamped.cpp.o.d -o CMakeFiles/octomap.dir/OcTreeStamped.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/OcTreeStamped.cpp
In file included from /<<PKGBUILDDIR>>/octomap/include/octomap/CountingOcTree.h:39,
from /<<PKGBUILDDIR>>/octomap/src/CountingOcTree.cpp:35:
/<<PKGBUILDDIR>>/octomap/include/octomap/OcTreeBase.h:46:21: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
46 | OcTreeBase<NODE>(double res) : OcTreeBaseImpl<NODE,AbstractOcTree>(res) {};
| ^
/<<PKGBUILDDIR>>/octomap/include/octomap/OcTreeBase.h:46:21: note: remove the ‘< >’
In file included from /<<PKGBUILDDIR>>/octomap/include/octomap/CountingOcTree.h:39,
from /<<PKGBUILDDIR>>/octomap/src/AbstractOcTree.cpp:37:
/<<PKGBUILDDIR>>/octomap/include/octomap/OcTreeBase.h:46:21: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
46 | OcTreeBase<NODE>(double res) : OcTreeBaseImpl<NODE,AbstractOcTree>(res) {};
| ^
/<<PKGBUILDDIR>>/octomap/include/octomap/OcTreeBase.h:46:21: note: remove the ‘< >’
In file included from /<<PKGBUILDDIR>>/octomap/include/octomap/CountingOcTree.h:39,
from /<<PKGBUILDDIR>>/octomap/src/AbstractOcTree.cpp:37:
/<<PKGBUILDDIR>>/octomap/include/octomap/OcTreeBase.h:46:21: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
46 | OcTreeBase<NODE>(double res) : OcTreeBaseImpl<NODE,AbstractOcTree>(res) {};
| ^
/<<PKGBUILDDIR>>/octomap/include/octomap/OcTreeBase.h:46:21: note: remove the ‘< >’
[ 15%] Building CXX object octomap/src/CMakeFiles/octomap.dir/ColorOcTree.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -Doctomap_EXPORTS -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap.dir/ColorOcTree.cpp.o -MF CMakeFiles/octomap.dir/ColorOcTree.cpp.o.d -o CMakeFiles/octomap.dir/ColorOcTree.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/ColorOcTree.cpp
[ 16%] Building CXX object octomap/src/CMakeFiles/octomap-static.dir/AbstractOccupancyOcTree.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap-static.dir/AbstractOccupancyOcTree.cpp.o -MF CMakeFiles/octomap-static.dir/AbstractOccupancyOcTree.cpp.o.d -o CMakeFiles/octomap-static.dir/AbstractOccupancyOcTree.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/AbstractOccupancyOcTree.cpp
cc1plus: all warnings being treated as errors
make[3]: *** [octomap/src/CMakeFiles/octomap.dir/build.make:79: octomap/src/CMakeFiles/octomap.dir/AbstractOcTree.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 16%] Building CXX object octomap/src/CMakeFiles/octomap-static.dir/Pointcloud.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap-static.dir/Pointcloud.cpp.o -MF CMakeFiles/octomap-static.dir/Pointcloud.cpp.o.d -o CMakeFiles/octomap-static.dir/Pointcloud.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/Pointcloud.cpp
[ 17%] Building CXX object octomap/src/CMakeFiles/octomap-static.dir/ScanGraph.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/octomap/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/octomap/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wpedantic -std=gnu++11 -fPIC -fPIC -MD -MT octomap/src/CMakeFiles/octomap-static.dir/ScanGraph.cpp.o -MF CMakeFiles/octomap-static.dir/ScanGraph.cpp.o.d -o CMakeFiles/octomap-static.dir/ScanGraph.cpp.o -c /<<PKGBUILDDIR>>/octomap/src/ScanGraph.cpp
cc1plus: all warnings being treated as errors
make[3]: *** [octomap/src/CMakeFiles/octomap-static.dir/build.make:79: octomap/src/CMakeFiles/octomap-static.dir/AbstractOcTree.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[3]: *** [octomap/src/CMakeFiles/octomap.dir/build.make:135: octomap/src/CMakeFiles/octomap.dir/CountingOcTree.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1136: octomap/src/CMakeFiles/octomap-static.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1110: octomap/src/CMakeFiles/octomap.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:169: 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:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list