Bug#873138: Installed-Build-Depends lack architecture qualification

Guillem Jover guillem at debian.org
Sat Oct 8 11:42:46 BST 2022


Hi!

On Sat, 2022-09-24 at 23:58:28 +0200, Helmut Grohne wrote:
> On Thu, Aug 24, 2017 at 09:45:39PM +0200, Helmut Grohne wrote:
> > while looking into a .buildinfo file, I noticed that
> > Installed-Build-Depends are useless beyond #871494: They lack
> > architecture qualification. Thus there is no way to figure out for which
> > architecture to install which package. The installation set cannot be
> > reproduced.
> > 
> > I believe that a good solution here would be to simply arch qualify
> > every package and then drop all :$DEB_BUILD_ARCH qualifications. For
> > native builds there won't be a difference. For cross builds, the field
> > becomes useful. I am proposing DEB_BUILD_ARCH rather than DEB_HOST_ARCH
> > here, because essential will always be installed for the build
> > architecture and thus poses significant chunk of packages.
> 
> I've implemented the proposed solution and seek review from both cross
> and reproducible folks. You'll find a patch attached.

I recalled that we had discussed dpkg-genbuildinfo having broken
dependency handling some time ago on IRC, and that Johannes (CCed) had
provided a patch, initially thought on the mailing list or a bug, and
it looks like that was provided over a paste on IRC (around 2017-01),
but that was during the freeze, so it seems like I only merged/fixes
the most impactful and non-invasive fixes at the time, and I guess then
I lost track of the rest, as I only saved it in a file and not a branch
or report, sorry about that. :/

In any case I'm attaching it here, I've started to split it into atomic
pieces and update on top of git HEAD, and once the obvious stuff has been
merged will then compare any remaining part against the one provided by
Helmut.

Thanks,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genbuildinfo-fix.patch
Type: text/x-diff
Size: 22992 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20221008/374b2b5e/attachment.patch>


More information about the Reproducible-builds mailing list