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

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



Your message dated Sun, 15 May 2022 22:49:21 +0000
with message-id <E1nqN3B-0006Eg-MQ@fasolo.debian.org>
and subject line Bug#1011036: fixed in mailfront 2.12-2
has caused the Debian Bug report #1011036,
regarding mailfront: 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.)


-- 
1011036: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011036
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: mailfront
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/lib/mailfront/*.so:

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

  ./usr/lib/mailfront/backend-echo.so

  ...NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»...Build·ID:·018da3a354a5af384c85c7ec0a93f96d596038bc
  vs.
  ...NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»...Build·ID:·9e821d0b9661312dde9181fc7619275241606d73

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

Alternately, updating to "dh" build system and updating debhelper compat
level might also fix the issue.


There is another outstanding reproducibility issue(sort order of md5sum
files), but applying this patch should significantly reduce the
differences when tested on tests.reproducible-builds.org.


live well,
  vagrant
From d54ca93264cde955a9b60646a0b796936c0813cb Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 15 May 2022 20:05:44 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map via CFLAGS to avoid
 embedding build path.

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

diff --git a/debian/rules b/debian/rules
index 0662d3f..b9257ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 CC =gcc
-CFLAGS =-W -Wall -Wshadow -O2 -g
+CFLAGS =-W -Wall -Wshadow -O2 -g -ffile-prefix-map=$(CURDIR)=.
 STRIP =strip
 
 ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-- 
2.36.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: mailfront
Source-Version: 2.12-2
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
mailfront, 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 1011036@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 mailfront 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: Sun, 15 May 2022 15:26:58 -0700
Source: mailfront
Architecture: source
Version: 2.12-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 1011036
Changes:
 mailfront (2.12-2) unstable; urgency=medium
 .
   * QA upload.
   * Switch to "dh" and debhelper compat 13. (Closes: #1011036)
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/control: Update to Standards-Version 4.6.1.
Checksums-Sha1:
 bcece43842a2501d7baccd5f5fc4278315303f9d 1536 mailfront_2.12-2.dsc
 a8464462456c152055a876edbc9c48b841431ed3 30168 mailfront_2.12-2.debian.tar.xz
Checksums-Sha256:
 dc052dcff2e9485c3a4e947005de639d93e3532e32c6242615094d1431e79404 1536 mailfront_2.12-2.dsc
 7d1f2ab86b613fc4b9f8f64625ccdbb1175036eebe0bd8820bc3d845adae7bcf 30168 mailfront_2.12-2.debian.tar.xz
Files:
 c1d85deb4cadf7a9031b8d88b8c6d740 1536 mail optional mailfront_2.12-2.dsc
 4f00f260563002af01cbdb9ca4bc1dd1 30168 mail optional mailfront_2.12-2.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYoF//yAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqs1NAQCPERobhMJqu/HU
qcjVWg168xCO+MGtCYsAQEgyqcIETwD/Q4lo7wpm9qGEE3nxzKT5fmTcE/oLRU3t
eNeYsUn7iAw=
=IgrS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: