Package: src:mlpack Version: 1.0.12-5 User: sanv...@debian.org Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --parallel dh_testdir -i -O--parallel dh_auto_configure -i -O--parallel cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -- The C compiler identification is GNU 5.2.1 -- The CXX compiler identification is GNU 5.2.1 -- 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 [... snipped ...] -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/nca -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/nca" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/allknn -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/allknn" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/allkfn -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/allkfn" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/nmf -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/nmf" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/pca -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/pca" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/perceptron -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/perceptron" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/radical -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/radical" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/range_search -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/range_search" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/allkrann -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/allkrann" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/sparse_coding -- Removed runtime path from "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/sparse_coding" make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' debian/rules override_dh_install make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_install for d in \ debian/mlpack-bin/usr/bin \ debian/mlpack-bin/usr/share/man/man1; \ do \ (cd $d && \ for f in *; do \ mv --verbose ${f} mlpack_${f}; \ done); \ done /bin/sh: 5: cd: can't cd to debian/mlpack-bin/usr/bin /bin/sh: 5: cd: can't cd to debian/mlpack-bin/usr/share/man/man1 debian/rules:23: recipe for target 'override_dh_install' failed make[1]: *** [override_dh_install] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:10: recipe for target 'binary-indep' failed make: *** [binary-indep] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.