Bug#984146: gazebo: ftbfs with GCC-11
Matthias Klose
doko at debian.org
Wed Mar 3 16:12:39 GMT 2021
Package: src:gazebo
Version: 11.1.0+dfsg-4
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/gazebo_11.1.0+dfsg-4_unstable_gcc11.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
from /usr/include/boost/thread/mutex.hpp:16,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/detail/locking_ptr.hpp:25,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/detail/future.hpp:21,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/future.hpp:21,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool.hpp:20,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/../objects.h:35,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/joint.h:28,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/gearbox.h:26,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/gearbox.cpp:27:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/lock_types.hpp:18,
from /usr/include/boost/thread/pthread/mutex.hpp:16,
from /usr/include/boost/thread/mutex.hpp:16,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/detail/locking_ptr.hpp:25,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/detail/future.hpp:21,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/future.hpp:21,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool.hpp:20,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/../objects.h:35,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/joint.h:28,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/slider.h:26,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/slider.cpp:25:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/lock_types.hpp:18,
from /usr/include/boost/thread/pthread/mutex.hpp:16,
from /usr/include/boost/thread/mutex.hpp:16,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/detail/locking_ptr.hpp:25,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/detail/future.hpp:21,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool/future.hpp:21,
from /<<PKGBUILDDIR>>/deps/threadpool/boost/threadpool.hpp:20,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/../objects.h:35,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/joint.h:28,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/universal.h:26,
from /<<PKGBUILDDIR>>/deps/opende/src/joints/universal.cpp:26:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
[ 14%] Linking CXX shared library libgazebo_ode.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/deps/opende && /usr/bin/cmake -E cmake_link_script CMakeFiles/gazebo_ode.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-long-long -Wno-unused-value -Wfloat-equal -Wshadow -Wswitch-default -Wmissing-include-dirs -pedantic -fvisibility=hidden -fvisibility-inlines-hidden -std=c++14 -DNDEBUG -DdNODEBUG -DdDOUBLE -DHAVE_CONFIG_H -DPIC -Wl,-z,relro -Wl,-z,now -MF -MT -fno-strict-aliasing -DPIC -shared -Wl,-soname,libgazebo_ode.so.11 -o libgazebo_ode.so.11.1.0 CMakeFiles/gazebo_ode.dir/src/array.cpp.o CMakeFiles/gazebo_ode.dir/src/box.cpp.o CMakeFiles/gazebo_ode.dir/src/capsule.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_cylinder_box.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_cylinder_plane.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_cylinder_sphere.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_cylinder_trimesh.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_kernel.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_libccd.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_quadtreespace.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_sapspace.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_space.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_transform.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_box.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_ccylinder.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_disabled.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_distance.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_gimpact.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_opcode.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_plane.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_ray.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_sphere.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_trimesh.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_trimesh_trimesh_new.cpp.o CMakeFiles/gazebo_ode.dir/src/collision_util.cpp.o CMakeFiles/gazebo_ode.dir/src/convex.cpp.o CMakeFiles/gazebo_ode.dir/src/cylinder.cpp.o CMakeFiles/gazebo_ode.dir/src/error.cpp.o CMakeFiles/gazebo_ode.dir/src/export-dif.cpp.o CMakeFiles/gazebo_ode.dir/src/heightfield.cpp.o CMakeFiles/gazebo_ode.dir/src/io.cpp.o CMakeFiles/gazebo_ode.dir/src/ioh5.cpp.o CMakeFiles/gazebo_ode.dir/src/lcp.cpp.o CMakeFiles/gazebo_ode.dir/src/mass.cpp.o CMakeFiles/gazebo_ode.dir/src/mat.cpp.o CMakeFiles/gazebo_ode.dir/src/matrix.cpp.o CMakeFiles/gazebo_ode.dir/src/memory.cpp.o CMakeFiles/gazebo_ode.dir/src/misc.cpp.o CMakeFiles/gazebo_ode.dir/src/obstack.cpp.o CMakeFiles/gazebo_ode.dir/src/ode.cpp.o CMakeFiles/gazebo_ode.dir/src/odeinit.cpp.o CMakeFiles/gazebo_ode.dir/src/odemath.cpp.o CMakeFiles/gazebo_ode.dir/src/odeou.cpp.o CMakeFiles/gazebo_ode.dir/src/odetls.cpp.o CMakeFiles/gazebo_ode.dir/src/optimize.cpp.o CMakeFiles/gazebo_ode.dir/src/plane.cpp.o CMakeFiles/gazebo_ode.dir/src/quickstep.cpp.o CMakeFiles/gazebo_ode.dir/src/quickstep_cg_lcp.cpp.o CMakeFiles/gazebo_ode.dir/src/quickstep_pgs_lcp.cpp.o CMakeFiles/gazebo_ode.dir/src/quickstep_update_bodies.cpp.o CMakeFiles/gazebo_ode.dir/src/quickstep_util.cpp.o CMakeFiles/gazebo_ode.dir/src/ray.cpp.o CMakeFiles/gazebo_ode.dir/src/robuststep.cpp.o CMakeFiles/gazebo_ode.dir/src/rotation.cpp.o CMakeFiles/gazebo_ode.dir/src/sphere.cpp.o CMakeFiles/gazebo_ode.dir/src/step.cpp.o CMakeFiles/gazebo_ode.dir/src/step_bullet_lemke_wrapper.cpp.o CMakeFiles/gazebo_ode.dir/src/step_bullet_pgs_wrapper.cpp.o CMakeFiles/gazebo_ode.dir/src/step_dart_pgs_wrapper.cpp.o CMakeFiles/gazebo_ode.dir/src/symm.c.o CMakeFiles/gazebo_ode.dir/src/timer.cpp.o CMakeFiles/gazebo_ode.dir/src/util.cpp.o CMakeFiles/gazebo_ode.dir/src/fastdot.c.o CMakeFiles/gazebo_ode.dir/src/fastldlt.c.o CMakeFiles/gazebo_ode.dir/src/fastlsolve.c.o CMakeFiles/gazebo_ode.dir/src/fastltsolve.c.o CMakeFiles/gazebo_ode.dir/src/nextafterf.c.o CMakeFiles/gazebo_ode.dir/src/joints/amotor.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/ball.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/contact.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/fixed.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/hinge2.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/hinge.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/joint.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/lmotor.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/null.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/piston.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/plane2d.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/pr.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/pu.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/screw.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/dhinge.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/dball.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/gearbox.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/slider.cpp.o CMakeFiles/gazebo_ode.dir/src/joints/universal.cpp.o -L/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/deps/opende/OPCODE:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/deps/opende/GIMPACT:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/deps/opende/ou: OPCODE/libgazebo_opcode.so.11.1.0 GIMPACT/libgazebo_gimpact.so.11.1.0 ou/libgazebo_opende_ou.so.11.1.0 -lm /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.74.0 -lBulletSoftBody -lBulletDynamics -lBulletCollision -lLinearMath /usr/lib/x86_64-linux-gnu/libdart-collision-bullet.so.6.9.5 /usr/lib/x86_64-linux-gnu/libdart-collision-ode.so.6.9.5 /usr/lib/x86_64-linux-gnu/libdart-utils-urdf.so.6.9.5 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.74.0 -lpthread /usr/lib/x86_64-linux-gnu/libBulletDynamics.so /usr/lib/x86_64-linux-gnu/libBulletCollision.so /usr/lib/x86_64-linux-gnu/libLinearMath.so /usr/lib/x86_64-linux-gnu/libBulletSoftBody.so /usr/lib/x86_64-linux-gnu/libode.so /usr/lib/x86_64-linux-gnu/libdart-utils.so.6.9.5 /usr/lib/x86_64-linux-gnu/libdart.so.6.9.5 /usr/lib/x86_64-linux-gnu/libccd.so /usr/lib/x86_64-linux-gnu/libboost_system.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.74.0 -ldl /usr/lib/x86_64-linux-gnu/libdart-external-odelcpsolver.so.6.9.5 /usr/lib/x86_64-linux-gnu/libfcl.so /usr/lib/x86_64-linux-gnu/libassimp.so /usr/lib/x86_64-linux-gnu/liboctomap.so.1.9.5 /usr/lib/x86_64-linux-gnu/liboctomath.so.1.9.5 /usr/lib/x86_64-linux-gnu/libtinyxml2.so /usr/lib/x86_64-linux-gnu/liburdfdom_sensor.so /usr/lib/x86_64-linux-gnu/liburdfdom_model_state.so /usr/lib/x86_64-linux-gnu/liburdfdom_model.so /usr/lib/x86_64-linux-gnu/liburdfdom_world.so /usr/lib/x86_64-linux-gnu/libconsole_bridge.so.0.4
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/deps/opende && /usr/bin/cmake -E cmake_symlink_library libgazebo_ode.so.11.1.0 libgazebo_ode.so.11 libgazebo_ode.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 14%] Built target gazebo_ode
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:185: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:25: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list