891435">

Debian Bug report logs - #891435
dpkg-genbuildinfo: Does not arch qualify Installed-Build-Depends

version graph

Package: dpkg-dev; Maintainer for dpkg-dev is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg-dev is src:dpkg (PTS, buildd, popcon).

Reported by: Helmut Grohne <helmut@subdivi.de>

Date: Sun, 25 Feb 2018 15:21:01 UTC

Severity: normal

Tags: patch

Merged with 873138

Found in versions dpkg/1.18.24, 1.18.11

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#891435; Package dpkg-dev. (Sun, 25 Feb 2018 15:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Helmut Grohne <helmut@subdivi.de>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>. (Sun, 25 Feb 2018 15:21:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Helmut Grohne <helmut@subdivi.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg-genbuildinfo: does not arch qualify Installed-Build-Depends
Date: Sun, 25 Feb 2018 16:18:25 +0100
Package: dpkg-dev
Version: 1.18.11
File: /usr/bin/dpkg-genbuildinfo
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

When building packages with foreign architecture packages installed, the
recorded Installed-Build-Depends are imprecise. dpkg-genbuildinfo only
records which packages are installed, not for which architecture. For
native builds, one can install M-A:foreign packages from foreign
architectures (unusual), but for cross builds this is very relevant. In
fact, the produced .buildinfo files are unsuitable for reproducing a
cross build environment. dpkg-genbuildinfo should add an architecture
qualification whenever a binary package is not from the native
architecture.

Helmut



Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#891435; Package dpkg-dev. (Thu, 01 Mar 2018 23:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Thu, 01 Mar 2018 23:48:03 GMT) (full text, mbox, link).


Message #10 received at 891435@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: Helmut Grohne <helmut@subdivi.de>, 891435@bugs.debian.org
Subject: Re: Bug#891435: dpkg-genbuildinfo: does not arch qualify Installed-Build-Depends
Date: Fri, 2 Mar 2018 00:46:07 +0100
Control: forcemerge -1 873138

On Sun, 2018-02-25 at 16:18:25 +0100, Helmut Grohne wrote:
> Package: dpkg-dev
> Version: 1.18.11
> File: /usr/bin/dpkg-genbuildinfo
> User: reproducible-builds@lists.alioth.debian.org
> Usertags: toolchain
> X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

> When building packages with foreign architecture packages installed, the
> recorded Installed-Build-Depends are imprecise. dpkg-genbuildinfo only
> records which packages are installed, not for which architecture. For
> native builds, one can install M-A:foreign packages from foreign
> architectures (unusual), but for cross builds this is very relevant. In
> fact, the produced .buildinfo files are unsuitable for reproducing a
> cross build environment. dpkg-genbuildinfo should add an architecture
> qualification whenever a binary package is not from the native
> architecture.

As mentioned at the time on IRC, this needs some rework of the
Dpkg::Deps modules and surrounding code, at the time that was too
intrusive, but now is a good time for this kind of change. I'll start
flushing out the changes I've got, plus some from josch I think?

In any casem merging the dupes. :)

Thanks,
Guillem



Marked as found in versions dpkg/1.18.24. Request was from Guillem Jover <guillem@debian.org> to 891435-submit@bugs.debian.org. (Thu, 01 Mar 2018 23:48:03 GMT) (full text, mbox, link).


Merged 873138 891435 Request was from Guillem Jover <guillem@debian.org> to 891435-submit@bugs.debian.org. (Thu, 01 Mar 2018 23:48:05 GMT) (full text, mbox, link).


Changed Bug title to 'dpkg-genbuildinfo: Does not arch qualify Installed-Build-Depends' from 'dpkg-genbuildinfo: does not arch qualify Installed-Build-Depends'. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sat, 02 Mar 2019 14:33:20 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Helmut Grohne <helmut@subdivi.de> to 873138-submit@bugs.debian.org. (Sat, 24 Sep 2022 22:03:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Feb 3 06:01:01 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.