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

Bug#1011479: marked as done (fstrcmp: reproducible-builds: embedded build paths)



Your message dated Mon, 11 Jul 2022 00:49:00 +0000
with message-id <E1oAhbg-000D4V-1x@fasolo.debian.org>
and subject line Bug#1011479: fixed in fstrcmp 0.7.D001-3
has caused the Debian Bug report #1011479,
regarding fstrcmp: reproducible-builds: embedded build paths
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.)


-- 
1011479: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011479
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: fstrcmp
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 debug symbols:

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

  ./usr/lib/debug/usr/bin/fstrcmp

  0»      (line_strp)»   (offset:·0x0):·/build/1st/fstrcmp-0.7.D001
  vs.
  0»      (line_strp)»   (offset:·0xf):·/build/2/fstrcmp-0.7.D001/2nd

The attached patch fixes this by setting -ffile-prefix-map in CFLAGS in
debian/rules, which avoids embedding the absolute build path.


Alternately, switching to use a newer debhelper compat level and the dh
build system would likely also fix this, as it includes -ffile-prefix-map
by default.


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


live well,
  vagrant
From 2427b3099e9ab739f9a9e6e1395fb978fd394e62 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 23 May 2022 19:36:47 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map via CFLAGS.

---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 9c76c56..9ffe622 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,9 @@ else
 CFLAGS += -O2
 endif
 
+# Avoid embedding the build path
+CFLAGS += -ffile-prefix-map=$(CURDIR)=.
+
 config.status: configure
 	dh_testdir
 	dh_autotools-dev_updateconfig
-- 
2.36.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: fstrcmp
Source-Version: 0.7.D001-3
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
fstrcmp, 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 1011479@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 fstrcmp 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, 10 Jul 2022 17:23:23 -0700
Source: fstrcmp
Architecture: source
Version: 0.7.D001-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 1007519 1011479
Changes:
 fstrcmp (0.7.D001-3) unstable; urgency=medium
 .
   * QA upload.
   * Switch to source format "3.0 (quilt)". (Closes: #1007519)
   * debian/control: Remove obsolete "DM-Upload-Allowed" field.
   * Remove obsolete libfstrcmp0-dbg package.
   * Convert to "dh" and debhelper-compat 13. (Closes: #1011479)
   * Install pkgconfig file in multi-arch dir.
   * debian/control: Set Rules-Requires-Root to "no".
Checksums-Sha1:
 bb2f67341d64e5f86a4cdbe13bfa72c11638e897 1500 fstrcmp_0.7.D001-3.dsc
 013c965b28a5d4a27f67838a35e5fff341c71206 4568 fstrcmp_0.7.D001-3.debian.tar.xz
Checksums-Sha256:
 81c6a721599f9075e6b2bb367672ed17bd072c4180e7af287051121446e5a99d 1500 fstrcmp_0.7.D001-3.dsc
 c6a175d070c23b51672b88fb87d2bcfbfa66e1278fee82d8e5355fda9df06cbe 4568 fstrcmp_0.7.D001-3.debian.tar.xz
Files:
 ab2a8f9a8ff104f0af54468f6a38b682 1500 devel optional fstrcmp_0.7.D001-3.dsc
 70e8a478c975a94d6da146693a0c6260 4568 devel optional fstrcmp_0.7.D001-3.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYstvUCAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqk/QAPsFieXMakUxEGRv
oUzbawUGFa2fw8tv31uzUzEHN/Xb/wD7BFA0O2T/GiFpAtvRhI5tg/nQSGP05aRj
jkTtbAKsrQE=
=Vi4v
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: