Package: src:magics++
Version: 2.29.6-2
Severity: serious

Dear maintainer:

I tried to build this package in stretch 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 --with python2,python3 --with-buildsystem=cmake
   dh_testdir -i -O--parallel -O--with-buildsystem=cmake
   dh_update_autotools_config -i -O--parallel -O--with-buildsystem=cmake
   dh_autoreconf -i -O--parallel -O--with-buildsystem=cmake
        rm -f debian/*.debhelper.log
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/magics++-LRqz0g/magics++-2.29.6'
# link for font for tesing.
mkdir -p share/fonts/truetype/ttf-dejavu/
ln -sf /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf 
share/fonts/truetype/ttf-dejavu/
# Link terralib
[ -e src/terralib ] || ln -sf  /usr/include/terralib src/terralib

[... snipped ...]

dh_numpy -p python-magics++
dh_numpy: No packages to build.
dh_numpy3 -p python3-magics++
dh_numpy3: No packages to build.
find debian/tmp debian/python*-magics++   -name '*.so*' -exec chrpath -d {} \;
find: 'debian/python*-magics++': No such file or directory
debian/rules:120: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/build/magics++-LRqz0g/magics++-2.29.6'
debian/rules:22: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2
--------------------------------------------------------------------------------

None of debian/python*-magics++ exist because we are creating
arch-independent packages only.

Maybe putting "-" before the find command (as it's already done with
the next find command) would make it to work again, but I would recommend
to split override_dh_auto_install into override_dh_auto_install-arch
and override_dh_auto_install-indep as a more elegant solution.

Please also note that we could prevent this kind of bugs from
propagating to testing by always uploading the package in source-only
form. Just do "dpkg-buildpackage -S" and upload as usual.

As a bonus, we would get official build logs here for the Arch:all
architecture, which as of now you can see it's missing:

https://buildd.debian.org/status/package.php?p=magics%2b%2b

Thanks.

Reply via email to