Bug#831176: gazebo: FTBFS with GCC 6: physics/libgazebo_physics.so.7.0.0: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'

Lucas Nussbaum lucas at debian.org
Thu Jul 14 06:59:57 UTC 2016


Source: gazebo
Version: 7.0.0+dfsg-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> /usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wall -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -mfpmath=sse -msse -msse2 -msse3 -mssse3 -DSSE   -Wl,-z,relro CMakeFiles/gzserver.dir/server_main.cc.o  -o gzserver-7.0.0  -L/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/test -rdynamic libgazebo.so.7.0.0 sensors/libgazebo_sensors.so.7.0.0 rendering/libgazebo_rendering.so.7.0.0 -lfreeimage -ltbb -latomic -lpthread physics/libgazebo_physics.so.7.0.0 util/libgazebo_util.so.7.0.0 -ltinyxml2 ../deps/opende/libgazebo_ode.so.7.0.0 ../deps/opende/GIMPACT/libgazebo_gimpact.so.7.0.0 ../deps/opende/ou/libgazebo_opende_ou.so.7.0.0 ../deps/libccd/libgazebo_ccd.so.7.0.0 ../deps/opende/OPCODE/libgazebo_opcode.so.7.0.0 -lBulletSoftBody -lBulletDynamics -lBulletCollision -lLinearMath -lSimTKsimbody -lSimTKmath -lSimTKcommon -lblas -llapack -lblas -llapack -ldl -lOgreRTShaderSystem -lOgreMain -lpthread -lOgreTerrain -lOgrePaging -lOgreOverlay -lOgreMain -lpthread -lOgreTerrain -lOgrePaging -lOgreOverlay transport/libgazebo_transport.so.7.0.0 -lOgreRTShaderSystem -lOgreMain -lOgreTerrain -lOgrePaging -lOgreOverlay -lOgreMain -lOgreTerrain -lOgrePaging -lOgreOverlay -lGLU -lGL -lX11 msgs/libgazebo_msgs.so.7.0.0 common/libgazebo_common.so.7.0.0 -ldl -lfreeimage -ltinyxml -lavcodec -lavformat -lavutil -lcurl -lswscale -ltar -ltbb -latomic -lsdformat -lrt -lgts -lm -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lgdal -lprotobuf -lpthread math/libgazebo_math.so.7.0.0 /usr/lib/x86_64-linux-gnu/libignition-math2.so.2.3.0 -lboost_thread -lboost_signals -lboost_system -lboost_filesystem -lboost_program_options -lboost_regex -lboost_iostreams -lboost_date_time -lboost_chrono -lboost_atomic -lpthread -Wl,-rpath,/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/test:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo/sensors:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo/rendering:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo/physics:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo/util:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/deps/opende:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/deps/opende/GIMPACT:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/deps/opende/ou:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/deps/libccd:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/deps/opende/OPCODE:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo/transport:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo/msgs:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo/common:/«BUILDDIR»/gazebo-7.0.0+dfsg/obj-x86_64-linux-gnu/gazebo/math: 
> physics/libgazebo_physics.so.7.0.0: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'
> physics/libgazebo_physics.so.7.0.0: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const'
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/gazebo_7.0.0+dfsg-2_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list