Bug#901749: mlpack: FTBFS when built with dpkg-buildpackage -A

Santiago Vila sanvila at debian.org
Sun Jun 17 22:52:06 BST 2018


Package: src:mlpack
Version: 2.2.5-1
Severity: serious

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep 
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
	cd obj-x86_64-linux-gnu && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done

[... snipped ...]

-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/mlpack_sparse_coding
-- Set runtime path of "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/mlpack_sparse_coding" to ""
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install --list-missing
dh_install: Please use dh_missing --list-missing/--fail-missing instead
dh_install: This feature will be removed in compat 12.
dh_missing: usr/share/doc/mlpack/html/graph_legend.md5 exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/searchdata.js exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/nomatches.html exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/search.js exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/search_m.png exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/search_l.png exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/close.png exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/mag_sel.png exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/search.css exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/doc/mlpack/html/search/search_r.png exists in debian/tmp but is not installed to anywhere
	The following debhelper tools have reported what they installed (with files per package)
	 * dh_install: libmlpack-dev (4), libmlpack2 (2), mlpack-bin (2), mlpack-doc (28)
	If the missing files are installed by another tool, please file a bug against it.
	When filing the report, if the tool is not part of debhelper itself, please reference the
	"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
	  (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
	Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
	For a short-term work-around: Add the files to debian/not-installed
use shared jquery.js javascript library
for f in $(find debian/mlpack-doc -name jquery.js); do \
  ln --verbose --symbolic --force /usr/share/javascript/jquery/jquery.js $f; \
done
'debian/mlpack-doc/usr/share/doc/mlpack-doc/html/jquery.js' -> '/usr/share/javascript/jquery/jquery.js'
for f in debian/mlpack-bin/usr/bin/*; do \
  chrpath --list $f; \
  chrpath --delete $f; \
done
open: No such file or directory
elf_open: Invalid argument
open: No such file or directory
elf_open: Invalid argument
debian/rules:57: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:44: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

Hint: Try splitting override_dh_install into override_dh_install-arch
and override_dh_install-indep.

Thanks.



More information about the debian-science-maintainers mailing list