[pkg-lynx-maint] Bug#814436: lynx: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Santiago Vila
sanvila at debian.org
Thu Feb 11 14:52:48 UTC 2016
Package: src:lynx
Version: 2.8.9dev8-4
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 --parallel --with autotools_dev
dh_testdir -i -O--parallel
dh_update_autotools_config -i -O--parallel
dh_autotools-dev_updateconfig -i -O--parallel
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
sed -i -e s/libssl-dev/libgnutls28-dev/g debian/control
env cf_cv_SYSTEM_MAIL=/usr/sbin/sendmail \
COMPRESS=/usr/bin/compress BZIP2=/bin/bzip2 UNZIP=/usr/bin/unzip \
ZIP=/usr/bin/zip \
LIBS="-lbsd" \
[... snipped ...]
removed 'test/c1.html'
removed 'test/cp-1252a.html'
removed 'test/ALT88592.html'
removed 'test/tabtest.html'
removed 'test/iso-8859-1.html'
removed 'test/tags.html'
removed 'test/iso-8859-1a.html'
removed 'test/spaces.html'
removed 'test/iso-8859-2.html'
removed 'test/README.txt'
removed 'test/quickbrown.html'
removed 'test/raw8bit.html'
removed 'test/triangle.html'
removed 'test/circle.html'
removed 'test/unicode.html'
removed 'test/square.html'
removed 'test/nobody'
removed 'test/bad-html.html'
removed 'test/ISO_LATIN1_test.html'
removed 'test/special_urls.html'
removed 'test/cp-1252.html'
removed 'test/utf-8-demo.html'
removed 'test/koi8-r.html'
removed directory: 'test'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_install -i -O--parallel
dh_installdocs -i -O--parallel
dh_installchangelogs -i -O--parallel
dh_installman -i -O--parallel
dh_installmime -i -O--parallel
dh_perl -i -O--parallel
debian/rules override_dh_link
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -v debian/lynx/usr/share/doc/lynx/changelog
rm: cannot remove 'debian/lynx/usr/share/doc/lynx/changelog': No such file or directory
debian/rules:49: recipe for target 'override_dh_link' failed
make[1]: *** [override_dh_link] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:53: 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-lynx-maint
mailing list