1020807">

Debian Bug report logs - #1020807
poster: reproducible-builds: build path embedded in /usr/bin/poster

version graph

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

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

Date: Tue, 27 Sep 2022 00:12:15 UTC

Severity: normal

Tags: patch

Fixed in version poster/1:20050907-3

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, Peter S Galbraith <psg@debian.org>:
Bug#1020807; Package src:poster. (Tue, 27 Sep 2022 00:12:17 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, Peter S Galbraith <psg@debian.org>. (Tue, 27 Sep 2022 00:12:17 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: poster: reproducible-builds: build path embedded in /usr/bin/poster
Date: Mon, 26 Sep 2022 17:11:12 -0700
[Message part 1 (text/plain, inline)]
Source: poster
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/pbyacc:

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

  /build/1st/poster-20050907/poster.c:181
  vs.
  /build/2/poster-20050907/2nd/poster.c:181

The attached patch fixes this in the upstream Makefile by adding
-ffile-prefix-map to CFLAGS.

According to my local tests, with this patch applied poster should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining poster!

live well,
  vagrant
[0001-Makefile-Add-ffile-prefix-map-to-CFLAGS-to-avoid-emb.patch (text/x-diff, inline)]
From 28f86f2e8f5624a9086176fc4c270437c141c351 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 27 Sep 2022 00:06:02 +0000
Subject: [PATCH] Makefile: Add -ffile-prefix-map to CFLAGS to avoid embedding
 build path.

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

diff --git a/Makefile b/Makefile
index 633f45d..f9bcd05 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # on Debian:
 DEFINES  = -DHAVE_LIBPAPER
-CFLAGS = -O2 -g -Wall
+CFLAGS = -O2 -g -Wall -ffile-prefix-map=$(CURDIR)=.
 LIBS = -lm -lpaper
 # elsewhere
 #DEFINES = # nothing
-- 
2.37.2

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

Reply sent to Bastian Germann <bage@debian.org>:
You have taken responsibility. (Tue, 05 Sep 2023 19:09:07 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Tue, 05 Sep 2023 19:09:07 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1020807-close@bugs.debian.org
Subject: Bug#1020807: fixed in poster 1:20050907-3
Date: Tue, 05 Sep 2023 19:04:55 +0000
Source: poster
Source-Version: 1:20050907-3
Done: Bastian Germann <bage@debian.org>

We believe that the bug you reported is fixed in the latest version of
poster, 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 1020807@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 poster 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: Tue, 05 Sep 2023 17:57:39 +0000
Source: poster
Architecture: source
Version: 1:20050907-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1007528 1020807
Changes:
 poster (1:20050907-3) unstable; urgency=medium
 .
   * QA upload.
   * Add the debian/source/format file to end the half-way 3.0 conversion.
     (Closes: #1007528)
   * Makefile: Add -ffile-prefix-map to CFLAGS to avoid embedding.
     (Closes: #1020807)
Checksums-Sha1:
 1b0f18455156208f64e20284cf749971c9b5c31e 1535 poster_20050907-3.dsc
 14e31457fa1003a70ff42e5362b717a25f54582c 6140 poster_20050907-3.debian.tar.xz
 f8576423741f416b3f242427b0b38efffa1da3f6 5363 poster_20050907-3_source.buildinfo
Checksums-Sha256:
 2b3fc4141ca3fef9fb4b9343a2ea55b898d58ba977e899518c5376f8ce36429b 1535 poster_20050907-3.dsc
 acd1e6b80a4bbdb0c8d9fc0a1ad9fc751a61ed53a6e0bb7c45a14c801901f6fd 6140 poster_20050907-3.debian.tar.xz
 229123f2b661caacbe298abd2f03cb2cc5fa3216bde0f623393d951e16878b1b 5363 poster_20050907-3_source.buildinfo
Files:
 6720da0d07353ec4ec14e1afba5e4e56 1535 text optional poster_20050907-3.dsc
 44298d4a4e524e66685638bc663f4d9b 6140 text optional poster_20050907-3.debian.tar.xz
 67eb3611f8ccc5648bff88a427bcb312 5363 text optional poster_20050907-3_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmT3egsQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFAowC/0ajaDiSl6IUHOGSLy7xpswiBEK9nJb/5qY
eYPDuZaqNkpGs+5eVOkjXx5j1yrN6VGBIkMW03AfekmYxjRdlR61Ks3c42HSrLCu
BsH3S2w5VSVGli6RS5j5yjU4bAuMMioJRkRtj0RKmY3e9lgepQIJ0XIIzZirnsyU
2zS5d4Q76PkS+6IOEzV+ZJc5gzVLZggN81ymp7DatbkHZBDbV92A7n7/mbg1i4Y9
S57MZtc91Rt+daoJx3OksNAQO8mmUZZz5qEFsvWKhK8QGlMJIO8wuM79GdGHtw8f
+yQ25WebbaHMKbqeKvt35JHwSc1AfP6WMYuoVlQMUjjUWFz0xqUvmWQo8Odpu1PF
OjSlZAzPqci3+BIIBVmJDVkcN/qL8So6Nfd99U2wBABFcPdrln7oU5JGr/m9miwL
/kt6G4MIDT9FeQvOrfs29VN0IJnk1eUnKbWMYtXaKlz7r2zLJffMIBcwFpceht/m
x5+vg4BC56hvnkzbw/DuOpGGFQdsdWg=
=DXXK
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 09 Oct 2023 07:25:10 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:27 2025; Machine Name: buxtehude

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.