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

Bug#1020800: marked as done (libapache-mod-evasive: reproducible-builds: Embedded build paths in mod_evasive20.so)



Your message dated Sat, 02 Dec 2023 06:19:12 +0000
with message-id <E1r9JLM-0013hT-3O@fasolo.debian.org>
and subject line Bug#1020800: fixed in libapache-mod-evasive 1.10.1-6
has caused the Debian Bug report #1020800,
regarding libapache-mod-evasive: reproducible-builds: Embedded build paths in mod_evasive20.so
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.)


-- 
1020800: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020800
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libapache-mod-evasive
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_evasive20.so:

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

  /build/1st/libapache-mod-evasive-1.10.1/mod_evasive20.c:713
  vs.
  /build/2/libapache-mod-evasive-1.10.1/2nd/mod_evasive20.c:713

The attached patch to debian/rules fixes this by adding
-ffile-prefix-map to the call to apxs2.

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

Thanks for maintaining libapache-mod-evasive!

live well,
  vagrant
From 028d05262df50953740df4bb87f5704c78eae8af Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 26 Sep 2022 21:53:48 +0000
Subject: [PATCH] debian/rules: Add -ffile-prefix-map to apxs2 call to avoid
 embedding the build path.

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 086a195..1b898a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ build-indep: build-stamp
 build-stamp:
 	dh_testdir
 
-	apxs2 -c mod_evasive20.c
+	apxs2 -Wc,-ffile-prefix-map=$(CURDIR)=. -c mod_evasive20.c
 
 	touch build-stamp
 
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: libapache-mod-evasive
Source-Version: 1.10.1-6
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
libapache-mod-evasive, 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 1020800@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 libapache-mod-evasive 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: Fri, 01 Dec 2023 21:52:22 -0800
Source: libapache-mod-evasive
Architecture: source
Version: 1.10.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 1020800
Changes:
 libapache-mod-evasive (1.10.1-6) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Add -ffile-prefix-map to apxs2 call to avoid embedding
     the build path. (Closes: #1020800)
   * debian/rules: Switch to dh.
   * debian/control: Set Rules-Requires-Root to "no".
   * Switch to debhelper-compat 13.
Checksums-Sha1:
 ca309bec16b98ac74ce8c18b280d7e5ac871596a 1442 libapache-mod-evasive_1.10.1-6.dsc
 b9b42712f767d702d12cb2ff878e3ed3275defb2 5360 libapache-mod-evasive_1.10.1-6.debian.tar.xz
Checksums-Sha256:
 7edbc22b93310539d3cf0efb62753306015e665a7d459341fb9e28afad7a45fd 1442 libapache-mod-evasive_1.10.1-6.dsc
 7acbc41a0eef539b096b344218886f2f33d77f3424ce800f7bbd4f491b250c17 5360 libapache-mod-evasive_1.10.1-6.debian.tar.xz
Files:
 da8785ff8188399ff27e80e875cb0011 1442 web optional libapache-mod-evasive_1.10.1-6.dsc
 0417faa54670af55aee7783864aece44 5360 web optional libapache-mod-evasive_1.10.1-6.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZWrGsyAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqimOAQCw4dr1ESGxsrMm
XZ9z/rNjIzvl8MwG9P24KsIN/NmEogD/dNfG/scLpdZrIyHRgM5DfUO1ers9VF9+
C2zjeBd8FwE=
=ugWB
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: