[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1011405: marked as done (autoclass: reproducible-builds: build path triggers differing buildid)



Your message dated Sun, 22 May 2022 02:49:28 +0000
with message-id <E1nsbeq-00007F-8t@fasolo.debian.org>
and subject line Bug#1011405: fixed in autoclass 3.3.6.dfsg.1-3
has caused the Debian Bug report #1011405,
regarding autoclass: reproducible-builds: build path triggers differing buildid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1011405: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011405
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: autoclass
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@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
From c0fc985e2f2d58efef2e89bd5d90bdf8f66e137b Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 22 May 2022 01:27:31 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map via CFLAGS to make.

Without this argument, the build path gets embedded in the binaries.

https://reproducible-builds.org/docs/build-path/
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9cb0546..ccf2f2e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@
 # Note: when changing the debhelper compatibility level, also update
 # the dependency in debian/control (e.g. "debhelper (>= 7)")
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -ffile-prefix-map=$(CURDIR)=.
 INSTALL = install
 INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
 INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
@@ -65,7 +65,7 @@ build-stamp:
 	dh_testdir
 
 	# Add here commands to compile the package.
-	(cd prog; $(MAKE) $(MAKEFLAGS))
+	(cd prog; $(MAKE) $(MAKEFLAGS) CFLAGS="$(CFLAGS)")
 
 	# assemble changelog in reverse chronological order
 	-rm changelog
-- 
2.36.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: autoclass
Source-Version: 3.3.6.dfsg.1-3
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
autoclass, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1011405@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated autoclass package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 21 May 2022 19:27:25 -0700
Source: autoclass
Architecture: source
Version: 3.3.6.dfsg.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 902164 1007467 1011405
Changes:
 autoclass (3.3.6.dfsg.1-3) unstable; urgency=medium
 .
   * QA upload.
   * Update to debhelper-compat 13 and dh. (Closes: #1011405, #902164)
   * Update to source format "3.0 (quilt)". (Closes: #1007467)
   * Rename debian/tests to debian/debian-tests.
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/control: Update Standards-Version to 4.6.1.
Checksums-Sha1:
 a846ddbc41f2553289e5b6364bb434d4117b37f7 1386 autoclass_3.3.6.dfsg.1-3.dsc
 5cc4c49423dbadb6eb643ebe8175854c2f103cc8 36224 autoclass_3.3.6.dfsg.1-3.debian.tar.xz
Checksums-Sha256:
 edde23fc1115cbc17cf23d1b8af271725b9c03ee2475a4a661734f86e9cfff08 1386 autoclass_3.3.6.dfsg.1-3.dsc
 11fed593ef7c948114b27992b371d2777c5557c7b56ecc8ec7dd12f2741609b6 36224 autoclass_3.3.6.dfsg.1-3.debian.tar.xz
Files:
 c086e7e2dcfdbca4e763a01b3a3e8061 1386 math optional autoclass_3.3.6.dfsg.1-3.dsc
 b741032003adf265f859e99ece4184c9 36224 math optional autoclass_3.3.6.dfsg.1-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYomhLSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqh0iAP9hePmgaaOv0Rgo
F+0yd1j7rO9yQfMdGzEl1NFjcBS5EAEAvZij/CuSsTqwpUHatZcg35CR3JsCMEWn
k0Nfo1Ks1wU=
=ItoW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: