Debian Bug report logs -
#1020811
apache-upload-progress-module: reproducible-builds: Embedded build paths in mod_upload_progress.so
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Jérémy Bobbio <lunar@debian.org>:
Bug#1020811; Package src:apache-upload-progress-module.
(Tue, 27 Sep 2022 01: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, Jérémy Bobbio <lunar@debian.org>.
(Tue, 27 Sep 2022 01:03:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: apache-upload-progress-module
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/lib/apache2/modules/mod_upload_progress.so:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/apache-upload-progress-module.html
/build/1st/apache-upload-progress-module-0.2/mod_upload_progress.c:235
vs.
/build/2/apache-upload-progress-module-0.2/2nd/mod_upload_progress.c:235
The attached patch to the upstream Makefile fixes this by adding
-ffile-prefix-map to the call to apxs2.
According to my local tests, with this patch applied
apache-upload-progress-module should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining apache-upload-progress-module!
live well,
vagrant
[0001-Makefile-Pass-ffile-prefix-map-to-APXS-to-avoid-embe.patch (text/x-diff, inline)]
From 5d2027768bea1c8cc98818a323fe741dcdea1cc2 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 27 Sep 2022 00:52:33 +0000
Subject: [PATCH] Makefile: Pass -ffile-prefix-map to APXS 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 30844ab..92a245c 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ local-shared-build: module
module: .libs/mod_upload_progress.o
.libs/mod_upload_progress.o: mod_upload_progress.c
- $(APXS) -c $(CFLAGS) mod_upload_progress.c
+ $(APXS) -c -Wc,-ffile-prefix-map=$(CURDIR)=. $(CFLAGS) mod_upload_progress.c
# install the shared object file into Apache
install: local-shared-build
--
2.37.2
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:28:37 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
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.