Bug#897851: ros-rviz: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:23:27 BST 2018


Package: src:ros-rviz
Version: 1.12.4+dfsg-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/ros-rviz_1.12.4+dfsg-3_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3314:57: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_rviz_VisualizationFrame_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3315:56: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_rviz_VisualizationFrame_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3316:55: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_rviz_VisualizationFrame_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3317:57: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_rviz_VisualizationFrame_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3321:52: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_rviz_VisualizationFrame_sender, METH_VARARGS|METH_KEYWORDS, NULL},
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3322:63: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_rviz_VisualizationFrame_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3327:59: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_rviz_VisualizationFrame_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3328:55: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_rviz_VisualizationFrame_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3329:57: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_rviz_VisualizationFrame_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3330:56: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_rviz_VisualizationFrame_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3331:62: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_rviz_VisualizationFrame_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip/siplibrviz_siprvizVisualizationFrame.cpp:3332:56: warning: cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
     {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_rviz_VisualizationFrame_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -g -O2 -fdebug-prefix-map=/build/sip4-D09oTw/sip4-4.19.8+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/src -I/usr/include -I/usr/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -I/usr/include/eigen3 -I/usr/include/python2.7 -I/usr/share/qt5/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/X11R6/include -o siplibrviz_siprviz.o siplibrviz_siprviz.cpp
g++ -Wl,-z,relro -shared -Wl,-rpath,/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/lib/x86_64-linux-gnu -Wl,-rpath,/usr/lib/x86_64-linux-gnu -Wl,--version-script="/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/rviz/librviz_sip".exp -o "/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/rviz/librviz_sip".so siplibrviz_sipcmodule.o siplibrviz_siprvizYamlConfigReader.o siplibrviz_siprvizYamlConfigWriter.o siplibrviz_siprvizConfigMapIterator.o siplibrviz_siprvizConfig.o siplibrviz_siprvizOgreLogging.o siplibrviz_siprvizToolManager.o siplibrviz_siprvizTool.o siplibrviz_siprvizViewManager.o siplibrviz_siprvizViewController.o siplibrviz_siprvizPanelDockWidget.o siplibrviz_siprvizBoolProperty.o siplibrviz_siprvizDisplayGroup.o siplibrviz_siprvizDisplay.o siplibrviz_siprvizProperty.o siplibrviz_siprvizVisualizationManager.o siplibrviz_siprvizVisualizationFrame.o siplibrviz_siprviz.o -L/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -L/usr/X11R6/lib -lrviz -lQt5Core -lpthread -lQt5Gui -lQt5Core -lpthread -lQt5Widgets -lQt5PrintSupport -lXext -lX11 -lm -lpthread
make[4]: Leaving directory '/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu/devel/bin/sip/rviz_sip'
make[3]: Leaving directory '/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu'
[ 72%] Meta target for rviz_sip Python bindings...
make[3]: Leaving directory '/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu'
make[2]: Entering directory '/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu'
[ 72%] Built target librviz_sip
make[2]: Leaving directory '/<<BUILDDIR>>/ros-rviz-1.12.4+dfsg/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:144: all] Error 2
dh_auto_build: cd obj-x86_64-linux-gnu && make -j8 -Oline "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:6: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2



More information about the debian-science-maintainers mailing list