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

Steve Langasek steve.langasek at canonical.com
Sat Dec 2 02:12:19 UTC 2017


On Fri, Dec 01, 2017 at 03:37:47AM -0500, Afif Elghraoui wrote:
> Hi, Steve,

> On November 29, 2017 12:50:55 AM EST, Steve Langasek <steve.langasek at canonical.com> wrote:
> >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;

> Yes, as I saw in https://lists.debian.org/debian-release/2017/10/msg00239.html

> > so I would suggest applying this patch in Debian as well.

> Thanks for your concern.  I did not see much interest on this package and
> so was not really interested in a workaround.  I believe this is primarily
> an issue with wanna-build queuing the package for building on those
> architectures to begin with [1].

The behavior of wanna-build is by design and I don't believe it will ever
(or should ever) change.  You are asking that the buildds avoid queuing the
package for build based on the availability of dependencies for the binary
packages /that have not yet been built/.  For wanna-build to introspect
debian/control and parse the Depends: fields of the binary package stanzas
would be an abstraction violation, given that the vast majority of binary
packages in the archive have dependency fields that are at least partly
generated at package build time.

-- 
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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20171201/776b1ef1/attachment.sig>


More information about the Debian-med-packaging mailing list