Bug#831135: ros-rviz: FTBFS with GCC 6: effort_display.h:39:37: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments

Lucas Nussbaum lucas at debian.org
Thu Jul 14 07:25:22 UTC 2016


Source: ros-rviz
Version: 1.11.10+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):
> make[3]: Entering directory '/«BUILDDIR»/ros-rviz-1.11.10+dfsg/obj-x86_64-linux-gnu'
> [ 67%] Building CXX object src/rviz/default_plugin/CMakeFiles/default_plugin.dir/axes_display.cpp.o
> cd /«BUILDDIR»/ros-rviz-1.11.10+dfsg/obj-x86_64-linux-gnu/src/rviz/default_plugin && /usr/bin/c++   -DASSIMP_UNIFIED_HEADER_NAMES -DCMAKE_LIBRARY_ARCHITECTURE=\"x86_64-linux-gnu\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"rviz\" -Ddefault_plugin_EXPORTS -I/usr/lib/include -isystem /usr/include/eigen3 -isystem /usr/include/OGRE/Overlay -isystem /usr/include/OGRE -isystem /usr/include/python2.7 -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src -I/usr/include/opencv -I/usr/include/xmlrpcpp -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/.  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   -o CMakeFiles/default_plugin.dir/axes_display.cpp.o -c /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/axes_display.cpp
> [ 67%] Building CXX object src/rviz/default_plugin/CMakeFiles/default_plugin.dir/camera_display.cpp.o
> cd /«BUILDDIR»/ros-rviz-1.11.10+dfsg/obj-x86_64-linux-gnu/src/rviz/default_plugin && /usr/bin/c++   -DASSIMP_UNIFIED_HEADER_NAMES -DCMAKE_LIBRARY_ARCHITECTURE=\"x86_64-linux-gnu\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"rviz\" -Ddefault_plugin_EXPORTS -I/usr/lib/include -isystem /usr/include/eigen3 -isystem /usr/include/OGRE/Overlay -isystem /usr/include/OGRE -isystem /usr/include/python2.7 -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src -I/usr/include/opencv -I/usr/include/xmlrpcpp -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/.  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   -o CMakeFiles/default_plugin.dir/camera_display.cpp.o -c /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/camera_display.cpp
> [ 67%] Building CXX object src/rviz/default_plugin/CMakeFiles/default_plugin.dir/depth_cloud_display.cpp.o
> cd /«BUILDDIR»/ros-rviz-1.11.10+dfsg/obj-x86_64-linux-gnu/src/rviz/default_plugin && /usr/bin/c++   -DASSIMP_UNIFIED_HEADER_NAMES -DCMAKE_LIBRARY_ARCHITECTURE=\"x86_64-linux-gnu\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"rviz\" -Ddefault_plugin_EXPORTS -I/usr/lib/include -isystem /usr/include/eigen3 -isystem /usr/include/OGRE/Overlay -isystem /usr/include/OGRE -isystem /usr/include/python2.7 -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src -I/usr/include/opencv -I/usr/include/xmlrpcpp -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/.  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   -o CMakeFiles/default_plugin.dir/depth_cloud_display.cpp.o -c /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/depth_cloud_display.cpp
> [ 68%] Building CXX object src/rviz/default_plugin/CMakeFiles/default_plugin.dir/depth_cloud_mld.cpp.o
> cd /«BUILDDIR»/ros-rviz-1.11.10+dfsg/obj-x86_64-linux-gnu/src/rviz/default_plugin && /usr/bin/c++   -DASSIMP_UNIFIED_HEADER_NAMES -DCMAKE_LIBRARY_ARCHITECTURE=\"x86_64-linux-gnu\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"rviz\" -Ddefault_plugin_EXPORTS -I/usr/lib/include -isystem /usr/include/eigen3 -isystem /usr/include/OGRE/Overlay -isystem /usr/include/OGRE -isystem /usr/include/python2.7 -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src -I/usr/include/opencv -I/usr/include/xmlrpcpp -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/.  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   -o CMakeFiles/default_plugin.dir/depth_cloud_mld.cpp.o -c /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/depth_cloud_mld.cpp
> [ 68%] Building CXX object src/rviz/default_plugin/CMakeFiles/default_plugin.dir/effort_display.cpp.o
> cd /«BUILDDIR»/ros-rviz-1.11.10+dfsg/obj-x86_64-linux-gnu/src/rviz/default_plugin && /usr/bin/c++   -DASSIMP_UNIFIED_HEADER_NAMES -DCMAKE_LIBRARY_ARCHITECTURE=\"x86_64-linux-gnu\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"rviz\" -Ddefault_plugin_EXPORTS -I/usr/lib/include -isystem /usr/include/eigen3 -isystem /usr/include/OGRE/Overlay -isystem /usr/include/OGRE -isystem /usr/include/python2.7 -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src -I/usr/include/opencv -I/usr/include/xmlrpcpp -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/.  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   -o CMakeFiles/default_plugin.dir/effort_display.cpp.o -c /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.cpp
> In file included from /usr/include/tf/transform_datatypes.h:44:0,
>                  from /usr/include/tf/time_cache.h:38,
>                  from /usr/include/tf/tf.h:43,
>                  from /usr/include/tf/transform_listener.h:38,
>                  from /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.cpp:4:
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h: In destructor 'virtual tf::MessageFilterJointState::~MessageFilterJointState()':
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:39:37: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_DEBUG_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                      ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:129:3: note: in expansion of macro 'TF_MESSAGEFILTER_DEBUG'
>    TF_MESSAGEFILTER_DEBUG("Successful Transforms: %llu, Failed Transforms: %llu, Discarded due to age: %llu, Transform messages received: %llu, Messages received: %llu, Total dropped: %llu",
>    ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h: In member function 'virtual void tf::MessageFilterJointState::clear()':
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:39:37: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_DEBUG_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                      ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:188:3: note: in expansion of macro 'TF_MESSAGEFILTER_DEBUG'
>    TF_MESSAGEFILTER_DEBUG("%s", "Cleared");
>    ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h: In member function 'void tf::MessageFilterJointState::add(const MEvent&)':
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:39:37: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_DEBUG_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                      ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:210:4: note: in expansion of macro 'TF_MESSAGEFILTER_DEBUG'
>     TF_MESSAGEFILTER_DEBUG("Removed oldest message because buffer is full, count now %d (frame_id=%s, stamp=%f)", message_count_, front.getMessage()->header.frame_id.c_str(), front.getMessage()->header.stamp.toSec());
>     ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:39:37: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_DEBUG_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                      ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:222:3: note: in expansion of macro 'TF_MESSAGEFILTER_DEBUG'
>    TF_MESSAGEFILTER_DEBUG("Added message in frame %s at time %.3f, count now %d", evt.getMessage()->header.frame_id.c_str(), evt.getMessage()->header.stamp.toSec(), message_count_);
>    ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h: In member function 'bool tf::MessageFilterJointState::testMessage(const MEvent&)':
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:45:36: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_WARN_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                     ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:297:4: note: in expansion of macro 'TF_MESSAGEFILTER_WARN'
>     TF_MESSAGEFILTER_WARN("Discarding message from [%s] due to empty frame_id.  This message will only print once.", callerid.c_str());
>     ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:39:37: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_DEBUG_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                      ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:330:8: note: in expansion of macro 'TF_MESSAGEFILTER_DEBUG'
>         TF_MESSAGEFILTER_DEBUG("Discarding Message, in frame %s, Out of the back of Cache Time(stamp: %.3f + cache_length: %.3f < latest_transform_time %.3f.  Message Count now: %d", message->header.frame_id.c_str(), message->header.stamp.toSec(),  tf_.getCacheLength().toSec(), latest_transform_time.toSec(), message_count_);
>         ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:39:37: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_DEBUG_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                      ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:359:7: note: in expansion of macro 'TF_MESSAGEFILTER_DEBUG'
>        TF_MESSAGEFILTER_DEBUG("Message ready in frame %s at time %.3f, count now %d", frame_id.c_str(), stamp.toSec(), message_count_);
>        ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h: In member function 'void tf::MessageFilterJointState::checkFailures()':
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:45:36: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_WARN_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                     ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:443:4: note: in expansion of macro 'TF_MESSAGEFILTER_WARN'
>     TF_MESSAGEFILTER_WARN("Dropped %.2f%% of messages so far. Please turn the [%s.message_notifier] rosconsole logger to DEBUG for more information.", dropped_pct*100, ROSCONSOLE_DEFAULT_NAME);
>     ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:45:36: error: unable to find string literal operator 'operator""fmt' with 'const char [28]', 'long unsigned int' arguments
>    ROS_WARN_NAMED("message_filter", "MessageFilter [target=%s]: "fmt, getTargetFramesString().c_str(), __VA_ARGS__)
>                                     ^
> /«BUILDDIR»/ros-rviz-1.11.10+dfsg/src/rviz/default_plugin/effort_display.h:448:8: note: in expansion of macro 'TF_MESSAGEFILTER_WARN'
>         TF_MESSAGEFILTER_WARN("  The majority of dropped messages were due to messages growing older than the TF cache time.  The last message's timestamp was: %f, and the last frame_id was: %s", last_out_the_back_stamp_.toSec(), last_out_the_back_frame_.c_str());
>         ^
> make[3]: *** [src/rviz/default_plugin/CMakeFiles/default_plugin.dir/effort_display.cpp.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/ros-rviz_1.11.10+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