Bug#1011405: autoclass: reproducible-builds: build path triggers differing buildid

Vagrant Cascadian vagrant at reproducible-builds.org
Sun May 22 02:34:52 BST 2022


Source: autoclass
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The build path is triggers different buildid in /usr/bin/autoclass:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/autoclass.html

  ... Build·ID:·f5e1b2ff65fbb0f313e8226b27292971816a02ad
  vs.
  ... Build·ID:·22e32d5a1dcc2e0b76bf97d7607bc09be61dbbd1

The attached patch fixes this by passing -ffile-prefix-map to CFLAGS in
debian/rules, and passing CFLAGS to make.

Alternately (maybe even preferably), updating to "dh" build system and
updating debhelper compat level might also fix the issue.

With this patch applied, autoclass should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-to-mak.patch
Type: text/x-diff
Size: 1171 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220521/2e9db033/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220521/2e9db033/attachment.sig>


More information about the Reproducible-bugs mailing list