Bug#971125: ros-perception-pcl: FTBFS: moving_least_squares.h:69:18: error: ‘KdTree’ in namespace ‘pcl’ does not name a template type

Lucas Nussbaum lucas at debian.org
Sun Sep 27 19:32:18 BST 2020


Source: ros-perception-pcl
Version: 1.7.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/pcl_ros && /usr/bin/c++ -DCMAKE_LIBRARY_ARCHITECTURE=\"x86_64-linux-gnu\" -DDISABLE_LIBUSB_1_0 -DDISABLE_OPENNI -DDISABLE_OPENNI2 -DDISABLE_PCAP -DDISABLE_PNG -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"pcl_ros\" -Dpcl_ros_surface_EXPORTS -Dqh_QHpointer -DvtkRenderingContext2D_AUTOINIT="1(vtkRenderingContextOpenGL2)" -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2)" -I/<<PKGBUILDDIR>>/pcl_ros/include -I/usr/src/googletest/googlemock/include -isystem /usr/include/vtk-7.1 -isystem /usr/include/freetype2 -isystem /<<PKGBUILDDIR>>/pcl_conversions/include -isystem /usr/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -isystem /usr/include/eigen3 -isystem /usr/include/pcl-1.11 -isystem /<<PKGBUILDDIR>>/pcl_ros/BEFORE -isystem /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC -std=c++14 -o CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/moving_least_squares.cpp.o -c /<<PKGBUILDDIR>>/pcl_ros/src/pcl_ros/surface/moving_least_squares.cpp
> In file included from /<<PKGBUILDDIR>>/pcl_ros/src/pcl_ros/surface/moving_least_squares.cpp:39:
> /<<PKGBUILDDIR>>/pcl_ros/include/pcl_ros/surface/moving_least_squares.h:69:18: error: ‘KdTree’ in namespace ‘pcl’ does not name a template type
>    69 |     typedef pcl::KdTree<PointIn> KdTree;
>       |                  ^~~~~~
> /<<PKGBUILDDIR>>/pcl_ros/include/pcl_ros/surface/moving_least_squares.h:70:18: error: ‘KdTree’ in namespace ‘pcl’ does not name a template type
>    70 |     typedef pcl::KdTree<PointIn>::Ptr KdTreePtr;
>       |                  ^~~~~~
> /<<PKGBUILDDIR>>/pcl_ros/include/pcl_ros/surface/moving_least_squares.h:77:7: error: ‘KdTreePtr’ does not name a type
>    77 |       KdTreePtr tree_;
>       |       ^~~~~~~~~
> /<<PKGBUILDDIR>>/pcl_ros/src/pcl_ros/surface/moving_least_squares.cpp: In member function ‘void pcl_ros::MovingLeastSquares::config_callback(pcl_ros::MLSConfig&, uint32_t)’:
> /<<PKGBUILDDIR>>/pcl_ros/src/pcl_ros/surface/moving_least_squares.cpp:215:48: warning: ‘void pcl::MovingLeastSquares<PointInT, PointOutT>::setPolynomialFit(bool) [with PointInT = pcl::PointXYZ; PointOutT = pcl::PointNormal]’ is deprecated: use setPolynomialOrder() instead (It will be removed in PCL 1.12) [-Wdeprecated-declarations]
>   215 |     impl_.setPolynomialFit (use_polynomial_fit_);
>       |                                                ^
> In file included from /<<PKGBUILDDIR>>/pcl_ros/include/pcl_ros/surface/moving_least_squares.h:44,
>                  from /<<PKGBUILDDIR>>/pcl_ros/src/pcl_ros/surface/moving_least_squares.cpp:39:
> /usr/include/pcl-1.11/pcl/surface/mls.h:360:7: note: declared here
>   360 |       setPolynomialFit (bool polynomial_fit)
>       |       ^~~~~~~~~~~~~~~~
> make[3]: *** [pcl_ros/CMakeFiles/pcl_ros_surface.dir/build.make:111: pcl_ros/CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/moving_least_squares.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/09/26/ros-perception-pcl_1.7.1-2_unstable.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