[Debian-med-packaging] Bug#864026: seqan2: FTBFS when built with dpkg-buildpackage -A
Santiago Vila
sanvila at debian.org
Sat Jun 3 11:33:24 UTC 2017
Package: src:seqan2
Version: 2.3.1+dfsg-3.1
Severity: serious
Tags: patch
Hello Chris.
I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:
--------------------------------------------------------------------------------
[...]
dh_link
# Some binaries (eg. splazer) are not built in 32-bit architectures so
# remove their (broken) symlinks.
find /<<BUILDDIR>>/seqan2-2.3.1+dfsg/debian/seqan-apps/usr/bin -type l -xtype l -delete
find: '/<<BUILDDIR>>/seqan2-2.3.1+dfsg/debian/seqan-apps/usr/bin': No such file or directory
debian/rules:100: recipe for target 'override_dh_link' failed
make[1]: *** [override_dh_link] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/seqan2-2.3.1+dfsg'
debian/rules:45: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------
The patch below should fix this.
Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -96,7 +96,7 @@ override_dh_installman:
# we generate only those manpages where binaries are linked to /usr/bin
dh_installman
-override_dh_link:
+override_dh_link-arch:
dh_link
# Some binaries (eg. splazer) are not built in 32-bit architectures so
# remove their (broken) symlinks.
More information about the Debian-med-packaging
mailing list