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

Bug#983902: marked as done (sendmail: reproducible builds: embeds build path in site.config.m4 documentation files)



Your message dated Wed, 03 Mar 2021 11:50:13 +0000
with message-id <E1lHQ17-0009QE-Rw@fasolo.debian.org>
and subject line Bug#983902: fixed in sendmail 8.15.2-21
has caused the Debian Bug report #983902,
regarding sendmail: reproducible builds: embeds build path in site.config.m4 documentation files
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.)


-- 
983902: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983902
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: sendmail
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 embedded in the site.config.m4 files shipped in the
documentation of sendmail-doc and sendmail-base packages:

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

  /usr/share/doc/sendmail-base/site.config.m4.gz

  define(`confOPTIMIZE',··`-g·-O2·-ffile-prefix-map=/build/1st/sendmail-8.15.2=.·-fstack-pro..
  vs.
  define(`confOPTIMIZE',··`-g·-O2·-ffile-prefix-map=/build/2/sendmail-8.15.2/2nd=.·-fstack-pro...


The attached patch fixes this by replacing the build path with
"BUILDPATH" in debian/rules before installing the documentation.

With this patch applied, sendmail should become reproducible.


Thanks for maintaining sendmail!


live well,
  vagrant
From 3d28d581a7b6de3be07e13b75b093f535bb71a41 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 3 Mar 2021 02:17:36 +0000
Subject: [PATCH] debian/rules: Avoid embedding the build path in
 site.config.m4.

The site.config.m4 file is shipped in sendmail-doc and sendmail-base,
but should have the build path removed in the shipped file.

https://tests.reproducible-builds.org/debian/issues/unstable/records_build_flags_issue.html
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0c4fe82..f7b2405 100755
--- a/debian/rules
+++ b/debian/rules
@@ -203,6 +203,8 @@ override_dh_auto_install-arch:
 	#--------------------------------------------------------------------
 
 override_dh_installdocs-indep:
+	# Avoid recording the build path in the documentation
+	sed -i -e "s,prefix-map=$(CURDIR),prefix-map=BUILDPATH,g" debian/build/site.config.m4
 	dh_installdocs -p${DEB_SOURCE_PACKAGE}-doc --doc-main-package=${DEB_SOURCE_PACKAGE}-doc -A $(DEB_SRCDIR)/README
 	dh_installdocs -N${DEB_SOURCE_PACKAGE}-doc -A $(DEB_SRCDIR)/README
 
-- 
2.30.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: sendmail
Source-Version: 8.15.2-21
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
sendmail, 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 983902@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated sendmail 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: SHA256

Format: 1.8
Date: Wed, 03 Mar 2021 12:03:42 +0100
Source: sendmail
Architecture: source
Version: 8.15.2-21
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 983902
Changes:
 sendmail (8.15.2-21) unstable; urgency=medium
 .
   * QA upload.
   * Make the build reproducible, thanks to Vagrant Cascadian.
     (Closes: #983902)
   * Move amavis documentation to /usr/share/doc/sendmail.
   * Bump watch version to 4. No changes needed.
   * Update to Standards-Version: 4.5.1.
   * Fix more typos found by Lintian.
   * Update Lintian overrides.
Checksums-Sha1:
 463a6339e123201d8ed2b749a5a1ba39ab5444ba 2801 sendmail_8.15.2-21.dsc
 ef51db9653169646f3f7bde67ab30408b40f53a9 227392 sendmail_8.15.2-21.debian.tar.xz
 4fac3c3e020a71d11baa4a8acf00bdeb2c885f14 6127 sendmail_8.15.2-21_source.buildinfo
Checksums-Sha256:
 0298a6ca54ba8808e028c6523272c7d9543072d90ff827b266254265df40be12 2801 sendmail_8.15.2-21.dsc
 1456533eda0d396acb7df380d2b07260b0cabb8bcd912a28b467ca4353d9d4d0 227392 sendmail_8.15.2-21.debian.tar.xz
 3cdd77637ea89b430d4a0265fd608ab9d3c8b49a38f886974ba1c345ded437df 6127 sendmail_8.15.2-21_source.buildinfo
Files:
 21a665db50bef4a3946ec1edd7508dbc 2801 mail optional sendmail_8.15.2-21.dsc
 4f85d5e0e5e05b1d6208e994e9e08957 227392 mail optional sendmail_8.15.2-21.debian.tar.xz
 ad112fade058b3419eda57859bbf1ba8 6127 mail optional sendmail_8.15.2-21_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmA/c64QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCFmLD/9c4xXl6lM3T6hjAcu2+Yh5klEOlLSTZ8Xn
RPNm4iVcuLbkkVFV/+qisB5GmDkD8yU9jAza5NVYaHdQFk/WpLlfRP2lCUtJlzqs
SuSjZuRZsaTHURqdkXwwQTuxpREvL0LJ2InYcVKeq4B7lhJLWarZQsUTCNhIXIEi
qKJgRTZFASvEWYzAVazq0B3Y+zbsuGut28BRVP7GSNYGqvVu4fYR+AMpDMgZp921
avc6GHi3b3tEaDFsmjFKRvwI0sKnzRmLNNeGlogskDILusQ4Ctp4q7T47Ynnt+Ev
X5fIhgwLqtdE8GxugLlT62R6DaHnFQs+WRJ22pCOg9CYMqL2qMMjN/pdlu1dK++w
4UNKnWwej5JiNhifYZn/fKoduS/3sYhqNGfZNz1F1B0hDO1ajhvDgJTZnRtTaSpE
cT2xGcyK//QHZdoQO94Fxv9MNfHOv8LJTw7YI3V50a/DHII0pCl+YXEqvYxcKP9B
hCRupgcr5O85j6aEHOfpbNNMTCwosKjQ2yO7hsB1ZwmH7giRNbYSOzdRXfeUXRqy
QbyneM5cyck5Shkq9V6cwv8Oyt/0P71phUBNIlEgaSfTsejmcc/xf7PzsCw3rXay
cysI4sU6iKmEkAx98ilDv/xbWeGo94hImXjInvhSwRELFwMUVavTNoY7av7dpNn5
5hQl6t/fHw==
=EGTg
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: