1020653">

Debian Bug report logs - #1020653
pal: reproducible-builds: Embedded build path in /usr/bin/pal

version graph

Package: src:pal; Maintainer for src:pal is Debian QA Group <packages@qa.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Sat, 24 Sep 2022 21:03:02 UTC

Severity: normal

Tags: patch

Fixed in version pal/0.4.3-9

Done: Bastian Germann <bage@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Carsten Hey <carsten@debian.org>:
Bug#1020653; Package src:pal. (Sat, 24 Sep 2022 21:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Carsten Hey <carsten@debian.org>. (Sat, 24 Sep 2022 21:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: pal: reproducible-builds: Embedded build path in /usr/bin/pal
Date: Sat, 24 Sep 2022 13:59:41 -0700
[Message part 1 (text/plain, inline)]
Source: pal
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 /usr/bin/pal:

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

  /build/1st/pal-0.4.3/src/main.c:704
  vs.
  /build/2/pal-0.4.3/2nd/src/main.c:704

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

Another option that *might* fix this and other issues would be to switch
to dh and a recent debhelper compat level.

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

Thanks for maintaining pal!

live well,
  vagrant
[0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS.patch (text/x-diff, inline)]
From 521957ae75c17b5be7a97ecf78f1a8528e097a53 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 24 Sep 2022 20:55:50 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map via CFLAGS.

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 1d8260c..311ac0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@
 
 include /usr/share/quilt/quilt.make
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -ffile-prefix-map=$(CURDIR)=.
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
-- 
2.37.2

[signature.asc (application/pgp-signature, inline)]

Reply sent to Bastian Germann <bage@debian.org>:
You have taken responsibility. (Thu, 10 Aug 2023 00:12:07 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 10 Aug 2023 00:12:07 GMT) (full text, mbox, link).


Message #10 received at 1020653-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1020653-close@bugs.debian.org
Subject: Bug#1020653: fixed in pal 0.4.3-9
Date: Thu, 10 Aug 2023 00:08:19 +0000
Source: pal
Source-Version: 0.4.3-9
Done: Bastian Germann <bage@debian.org>

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

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated pal 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: Thu, 10 Aug 2023 01:15:22 +0200
Source: pal
Architecture: source
Version: 0.4.3-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 566843 923426 1007399 1020653
Changes:
 pal (0.4.3-9) unstable; urgency=medium
 .
   * QA upload
   * Convert to source format 3.0 (Closes: #1007399)
   * d/copyright: Convert to machine-readable format
 .
   [ Vagrant Cascadian ]
   * debian/rules: Pass -ffile-prefix-map via CFLAGS (Closes: #1020653)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #923426)
     + cross.patch: Make pkg-config substitutable
     + Let dh_auto_build pass cross tools to make
 .
   [ Uli Martens ]
   * make pal wake up less often in manage mode (Closes: #566843)
Checksums-Sha1:
 c0cbaa8a9da717097626e01d033629e7a25be470 1576 pal_0.4.3-9.dsc
 2482c07868c8b26987617148b9636a33d37c46f7 12064 pal_0.4.3-9.debian.tar.xz
 524cc06375d58aeb996ddec8f17afde9dd935126 6540 pal_0.4.3-9_source.buildinfo
Checksums-Sha256:
 34c1ab9aa28c45cb5d706305c6f4d2b7885fa5bd86e203c2ab1099dd4900556e 1576 pal_0.4.3-9.dsc
 b7125b903b8b2f35734b73ecfb9f5b8adee7a4e97df864d71de968f8b16721d1 12064 pal_0.4.3-9.debian.tar.xz
 2837010ba22607c2a20790479eac78b9f590c7ac666ab8ef051f5e0d2da73669 6540 pal_0.4.3-9_source.buildinfo
Files:
 99f2a7fb630ee45d477c9a83bdc07fb3 1576 utils optional pal_0.4.3-9.dsc
 30f7dbdef03774bf154417485aa5f21f 12064 utils optional pal_0.4.3-9.debian.tar.xz
 d8d79aeaeab0dee70447efb8ccd0c469 6540 utils optional pal_0.4.3-9_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmTUJWwQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFCE0C/911okhlzzla3iclWEoRBd/hoDO0eyfs5cG
S9msHwmXx0VmexciwkMIijYTXS91OcVoqgDnzH5oKrmdYFhyP/RcsBw6AzV5O5gd
SaPb42r7xTDnSQD6PNWPdNSVhdsgYSoSP5cNPPLkh1EMCG+JDaHDQDzIvo5tG+ts
1FmN2qMqtUc1wU9FLK8h4aTaadRUyZDi4XN5h95EUgdf9erv5PiNvr07kTWSy5/K
ztZIJaUJ5R8Vq642OeS0o9VC5ixi3VXMS20ExP5X1aSgEJJRQyA4yeF5Ses3CM/6
artoykXgzRz09Vi0LqWdJezy6V0/5MRA82WtmptTZF/OpJbBIv+47vfoR6FJbKBn
/LNWz79RvRo+avaI6f780lUNfJuO89hI5eq8fzP6UZjCVCFxGlsB7QTOJsYYLmCC
Wvwr16AK/f9MY9v2+pvk1PUcCLl8W1No8pVbyYv0zOMc2Wdqj5VIDp1NGLxFZFlf
42xz911d0uX7/VxrCrtigTucMTSneNg=
=ATPa
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 12 Sep 2023 07:26:32 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 31 00:52:24 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.