Bug#812015: pcl: FTBFS with GCC 6: return-statement with a value

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:32:31 UTC 2016


Package: pcl
Version: 1.7.2-13
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/vtk-6.2 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/jsoncpp -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -I/usr/include/hdf5/serial -I/usr/include/libxml2 -I/usr/include/tcl -I/<<PKGBUILDDIR>>/build/include -I/<<PKGBUILDDIR>>/common/include -I/<<PKGBUILDDIR>>/geometry/include -I/<<PKGBUILDDIR>>/search/include -I/<<PKGBUILDDIR>>/sample_consensus/include -I/<<PKGBUILDDIR>>/kdtree/include -I/<<PKGBUILDDIR>>/octree/include -I/<<PKGBUILDDIR>>/features/include -I/<<PKGBUILDDIR>>/filters/include -I/<<PKGBUILDDIR>>/segmentation/include  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -pthread -fopenmp  -fPIC   -o CMakeFiles/pcl_segmentation.dir/src/grabcut_segmentation.cpp.o -c /<<PKGBUILDDIR>>/segmentation/src/grabcut_segmentation.cpp
> In file included from /<<PKGBUILDDIR>>/registration/src/correspondence_estimation_normal_shooting.cpp:40:0:
> /<<PKGBUILDDIR>>/registration/include/pcl/registration/correspondence_estimation_normal_shooting.h: In member function 'void pcl::registration::CorrespondenceEstimationNormalShooting<PointSource, PointTarget, NormalT, Scalar>::getKSearch() const':
> /<<PKGBUILDDIR>>/registration/include/pcl/registration/correspondence_estimation_normal_shooting.h:184:41: error: return-statement with a value, in function returning 'void' [-fpermissive]
>          getKSearch () const { return (k_); }
>                                          ^
> 

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the debian-science-maintainers mailing list