[Debian-med-packaging] Bug#883047: canu: Build-depend on mhap to avoid uninstallable binaries

Steve Langasek steve.langasek at canonical.com
Wed Nov 29 05:50:55 UTC 2017


Package: canu
Version: 1.6+dfsg-1
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear Afif,

In Ubuntu, we observed that the canu package was not releasable because it
generates per-architecture binary packages with a transitive dependency on
libssw-java, which is only available on amd64.

To work around this issue, I have added an "artificial" build dependency on
mhap to the canu package in Ubuntu, so that the package will not build on
architectures where mhap is not available.

This problem also affects canu in Debian, and is the reason that canu has
not migrated to Debian testing; so I would suggest applying this patch in
Debian as well.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru canu-1.6+dfsg/debian/control canu-1.6+dfsg/debian/control
--- canu-1.6+dfsg/debian/control	2017-09-02 06:59:58.000000000 -0700
+++ canu-1.6+dfsg/debian/control	2017-11-28 21:24:18.000000000 -0800
@@ -9,6 +9,7 @@
 	libmeryl-dev,
 # For File::Path
 	libfilesys-df-perl,
+	mhap (>= 2.1),
 Standards-Version: 4.1.0
 Homepage: http://canu.readthedocs.org/en/latest/
 Vcs-Git: https://anonscm.debian.org/git/debian-med/canu.git


More information about the Debian-med-packaging mailing list