[buildd-tools-devel] Bug#820882: Bug#820882: Bug#820882: sbuild: --extra-package= broken

Johannes Schauer josch at debian.org
Thu Apr 14 08:05:48 UTC 2016


Control: severity -1 wishlist
Control: retitle -1 please error out if packages of unknown architecture are added with --extra-package

Hi,

Quoting Raphael Hertzog (2016-04-13 17:15:29)
> On Wed, 13 Apr 2016, Brian May wrote:
> > Actually just realized this was partly my fault.
> > 
> > The debs being supplied via --extra-package were i386, but the chroot
> > being used was amd64. So the debs were being silently ignored.
> > 
> > Have to wonder about this, maybe an error should be displayed in this
> > situation?
> 
> With multi-arch there might be legitimate cases where you want to supply
> packages from other architectures. So I'm not sure an error is appropriate,
> maybe a warning could help though.

even a warning would me misplaced if the packages were legitimately added due
to multiarch.

What we *can* do though is to add a warning if packages were added with an
architecture that dpkg does not know about. So if the chroot is amd64 and
sbuild did not `dpkg --add-architecture i386` then adding packages of
architecture i386 should be an error as they can never be installed.

Thus, making this feature a wishlist bug.

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160414/a27b1d5a/attachment.sig>


More information about the Buildd-tools-devel mailing list