Package: src:elinks Version: 0.12~pre6-5 User: [email protected] 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_testdir rm -f debian/elinks.conf cat debian/elinks.config | sed "s/%v/`dpkg-parsechangelog -ldebian/changelog | grep 'Version: ' | sed 's/Version: //g'`/g" > debian/elinks.conf # Add here commands to configure the package. [ ! -f config/config.sub ] || mv -f config/config.sub config/config.sub.ups cp -f /usr/share/misc/config.sub config/config.sub [ ! -f config/config.guess ] || mv -f config/config.guess config/config.guess.ups cp -f /usr/share/misc/config.guess config/config.guess [ ! -f config.h ] || mv -f config.h config.h.ups [ ! -f Makefile.config ] || mv -f Makefile.config Makefile.config.ups [ ! -f doc/man/man1/elinks.1.in ] || cp -af doc/man/man1/elinks.1.in doc/man/man1/elinks.1.in.ups [ ! -f doc/man/man5/elinks.conf.5 ] || cp -af doc/man/man5/elinks.conf.5 doc/man/man5/elinks.conf.5.ups [ ! -f doc/man/man5/elinkskeys.5 ] || cp -af doc/man/man5/elinkskeys.5 doc/man/man5/elinkskeys.5.ups touch save-stamp /usr/bin/make -C /<<PKGBUILDDIR>>/build-main/doc all-docs make[1]: *** /<<PKGBUILDDIR>>/build-main/doc: No such file or directory. Stop. debian/rules:89: recipe for target 'build-indep-stamp' failed make: *** [build-indep-stamp] Error 2 dpkg-buildpackage: error: debian/rules build-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.

