Bug#834019: pcl: FTBFS when built with dpkg-buildpackage -A (file INSTALL cannot copy file)
Santiago Vila
sanvila at debian.org
Thu Aug 11 13:06:35 UTC 2016
Package: src:pcl
Version: 1.7.2-14
Severity: serious
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --parallel --builddirectory=build
dh_testdir -i -O--parallel -O--builddirectory=build
dh_update_autotools_config -i -O--parallel -O--builddirectory=build
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DLIB_INSTALL_DIR:STRING="lib/x86_64-linux-gnu" \
-DCMAKE_SKIP_RPATH=ON \
-DBUILD_TESTS=OFF -DBUILD_apps=ON -DBUILD_common=ON \
-DBUILD_examples=ON -DBUILD_features=ON -DBUILD_filters=ON \
-DBUILD_geometry=ON -DBUILD_global_tests=OFF -DBUILD_io=ON \
-DBUILD_kdtree=ON -DBUILD_keypoints=ON -DBUILD_octree=ON \
[... snipped ...]
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_ply2pcd
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_xyz2pcd
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_pclzf2pcd
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_pcd2vtk
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_vfh_estimation
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_spin_estimation
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_voxel_grid
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_passthrough_filter
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_radius_filter
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_extract_feature
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_compute_cloud_error
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_add_gaussian_noise
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_outlier_removal
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_mls_smoothing
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_marching_cubes_reconstruction
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_gp3_surface
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_icp
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_icp2d
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_elch
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_lum
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_ndt2d
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_ndt3d
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_pcd_change_viewpoint
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_concatenate_points_pcd
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_poisson_reconstruction
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_train_linemod_template
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_match_linemod_template
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_linemod_detection
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_fast_bilateral_filter
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_demean_cloud
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_compute_hausdorff
CMake Error at tools/cmake_install.cmake:416 (file):
file INSTALL cannot copy file
"/<<PKGBUILDDIR>>/build/bin/pcl_compute_hausdorff" to
"/<<PKGBUILDDIR>>/debian/tmp/usr/bin/pcl_compute_hausdorff".
Call Stack (most recent call first):
cmake_install.cmake:69 (include)
Makefile:129: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_install: make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
debian/rules:105: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------
I would try a second time but this package takes more than four hours
to build and now it would not work anyway because of the bug about
boost1.61.
So, after fixing #833778, please make sure that both
"dpkg-buildpackage -A" and "dpkg-buildpackage -B" work.
If you can upload the package in source-only form (dpkg-buildpackage -S),
even better.
Thanks.
More information about the debian-science-maintainers
mailing list