Bug#806620: grass: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

Santiago Vila sanvila at debian.org
Sun Nov 29 16:22:32 UTC 2015


Package: src:grass
Version: 7.0.2-1
User: sanvila at 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 --with autotools_dev,python2 --parallel
   dh_testdir -i -O--parallel
   dh_autotools-dev_updateconfig -i -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
for TEMPLATE in debian/grass-core.dirs.in debian/grass-core.install.in debian/grass-gui.install.in debian/grass-doc.install.in debian/grass-core.links.in debian/grass-gui.links.in debian/grass-doc.links.in debian/grass-dev.dirs.in debian/grass-dev.install.in debian/grass-core.manpages.in debian/control.in debian/grass-dev.links.in debian/grass-gui.dirs.in ; do \
    sed -e 's/@VERSION@/70/g' -e 's/@ABI@/702/g' $TEMPLATE > `echo $TEMPLATE | sed 's/.in$//'` ; \
done
dh_auto_configure -- \
                    --prefix=/usr/lib \
                    --enable-socket \

[... snipped ...]

Patching output file 1210/1222
Patching output file 1211/1222
Patching output file 1212/1222
Patching output file 1213/1222
Patching output file 1214/1222
Patching output file 1215/1222
Patching output file 1216/1222
Patching output file 1217/1222
Patching output file 1218/1222
Patching output file 1219/1222
Patching output file 1220/1222
Patching output file 1221/1222
Patching output file 1222/1222
lookup cache used 4396/65536 hits=36384 misses=4455
finished...
HTML reference in directory ./html/index.html
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
# save ~7mb of disk space by compressing PNG images (but takes a long time)
##for file in `find debian/tmp/programming-manual/ -iname \*.png` ; do \
##	optipng -o5 $file ; \
##done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -i -O--parallel
 fakeroot debian/rules binary-indep
dh binary-indep --with autotools_dev,python2 --parallel
   dh_testroot -i -O--parallel
   dh_prep -i -O--parallel
   dh_installdirs -i -O--parallel
   debian/rules override_dh_auto_install-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
install -m 644 -d debian/tmp
install -m 644 -d debian/tmp/programming-manual/html
cp -r debian/tmp/usr/lib/grass70/docs/html/* debian/tmp/programming-manual/html/
cp: cannot stat 'debian/tmp/usr/lib/grass70/docs/html/*': No such file or directory
debian/rules:227: recipe for target 'override_dh_auto_install-indep' failed
make[1]: *** [override_dh_auto_install-indep] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:23: 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.



More information about the Pkg-grass-devel mailing list