Package: src:urdfdom
Version: 4.0.0-3
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/urdfdom_4.0.0-3_unstable_gccexp.log.gz
The 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

[...]
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:102:3:
 error: ‘uint32_t’ does not name a type
  102 |   uint32_t getMajor() const
      |   ^~~~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:102:3:
 note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:107:3:
 error: ‘uint32_t’ does not name a type
  107 |   uint32_t getMinor() const
      |   ^~~~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:107:3:
 note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:113:3:
 error: ‘uint32_t’ does not name a type
  113 |   uint32_t strToUnsigned(const char *str)
      |   ^~~~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:113:3:
 note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:142:3:
 error: ‘uint32_t’ does not name a type
  142 |   uint32_t major_;
      |   ^~~~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:142:3:
 note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:143:3:
 error: ‘uint32_t’ does not name a type
  143 |   uint32_t minor_;
      |   ^~~~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:143:3:
 note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:
 In constructor ‘urdf_export_helpers::URDFVersion::URDFVersion(const char*)’:
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:78:7:
 error: ‘major_’ was not declared in this scope
   78 |       major_ = 1;
      |       ^~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:79:7:
 error: ‘minor_’ was not declared in this scope
   79 |       minor_ = 0;
      |       ^~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:88:7:
 error: ‘major_’ was not declared in this scope
   88 |       major_ = strToUnsigned(split[0].c_str());
      |       ^~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:88:16:
 error: ‘strToUnsigned’ was not declared in this scope
   88 |       major_ = strToUnsigned(split[0].c_str());
      |                ^~~~~~~~~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:89:7:
 error: ‘minor_’ was not declared in this scope
   89 |       minor_ = strToUnsigned(split[1].c_str());
      |       ^~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:
 In member function ‘bool urdf_export_helpers::URDFVersion::equal(int, int)’:
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:99:18:
 error: ‘class urdf_export_helpers::URDFVersion’ has no member named ‘major_’
   99 |     return this->major_ == maj && this->minor_ == min;
      |                  ^~~~~~
/build/reproducible-path/urdfdom-4.0.0/urdf_parser/include/urdf_parser/urdf_parser.h:99:41:
 error: ‘class urdf_export_helpers::URDFVersion’ has no member named ‘minor_’
   99 |     return this->major_ == maj && this->minor_ == min;
      |                                         ^~~~~~
make[3]: *** [urdf_parser/CMakeFiles/urdfdom_model.dir/build.make:96: 
urdf_parser/CMakeFiles/urdfdom_model.dir/src/model.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [urdf_parser/CMakeFiles/urdfdom_model.dir/build.make:110: 
urdf_parser/CMakeFiles/urdfdom_model.dir/src/link.cpp.o] Error 1
make[3]: Leaving directory 
'/build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:225: 
urdf_parser/CMakeFiles/urdfdom_world.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 38%] Linking CXX shared library 
../lib/x86_64-linux-gnu/liburdfdom_model_state.so
cd /build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu/urdf_parser && 
/usr/bin/cmake -E cmake_link_script CMakeFiles/urdfdom_model_state.dir/link.txt 
--verbose=1
/usr/bin/c++ -fPIC -g -O2 
-ffile-prefix-map=/build/reproducible-path/urdfdom-4.0.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-fvisibility=hidden 
-Wl,--dependency-file=CMakeFiles/urdfdom_model_state.dir/link.d -Wl,-z,relro 
-Wl,-z,now -shared -Wl,-soname,liburdfdom_model_state.so.4.0 -o 
../lib/x86_64-linux-gnu/liburdfdom_model_state.so.4.0 
CMakeFiles/urdfdom_model_state.dir/src/urdf_model_state.cpp.o 
CMakeFiles/urdfdom_model_state.dir/src/twist.cpp.o  
/usr/lib/x86_64-linux-gnu/libconsole_bridge.so.1.0 
/usr/lib/x86_64-linux-gnu/libtinyxml2.so.10.0.0
cd /build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu/urdf_parser && 
/usr/bin/cmake -E cmake_symlink_library 
../lib/x86_64-linux-gnu/liburdfdom_model_state.so.4.0 
../lib/x86_64-linux-gnu/liburdfdom_model_state.so.4.0 
../lib/x86_64-linux-gnu/liburdfdom_model_state.so
make[3]: Leaving directory 
'/build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu'
[ 38%] Built target urdfdom_model_state
make[3]: Leaving directory 
'/build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:257: 
urdf_parser/CMakeFiles/urdfdom_model.dir/all] Error 2
[ 41%] Linking CXX static library ../../lib/x86_64-linux-gnu/libgtest.a
cd /build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu/urdf_parser/test 
&& /usr/bin/cmake -P CMakeFiles/gtest.dir/cmake_clean_target.cmake
cd /build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu/urdf_parser/test 
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1
/usr/bin/ar qc ../../lib/x86_64-linux-gnu/libgtest.a 
"CMakeFiles/gtest.dir/usr/src/googletest/googletest/src/gtest-all.cc.o"
/usr/bin/ranlib ../../lib/x86_64-linux-gnu/libgtest.a
make[3]: Leaving directory 
'/build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu'
[ 41%] Built target gtest
make[2]: Leaving directory 
'/build/reproducible-path/urdfdom-4.0.0/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/urdfdom-4.0.0/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:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to