Your message dated Wed, 13 Nov 2024 15:35:59 +0000
with message-id <e1tbfpt-00bgr9...@fasolo.debian.org>
and subject line Bug#1023960: fixed in libcgicc 3.2.19-2
has caused the Debian Bug report #1023960,
regarding libcgicc: reproducible-builds: build path embedded in 
/usr/bin/cgicc-config
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 ow...@bugs.debian.org
immediately.)


-- 
1023960: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023960
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libcgicc
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The build path is embedded in /usr/bin/cgicc-config:

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

  
cxxflags="-Wall·-W·-pedantic·-g·-O2·-ffile-prefix-map=/build/1st/libcgicc-3.2.19=.
 ...
  vs.
  
cxxflags="-Wall·-W·-pedantic·-g·-O2·-ffile-prefix-map=/build/2/libcgicc-3.2.19/2nd=.
 ...

The attached patch to debian/rules fixes this by updating the
dh_auto_install override to strip the recorded -ffile-prefix-map
compiler flag from "cgicc-config", as this embeds the build path (it
previously already also stripped the related -fdebug-prefix-map
argument).

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

Thanks for maintaining libcgicc!

live well,
  vagrant
From 1b023b3643959f914dd0d307dfb1c0a374fdb9fe Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sun, 13 Nov 2022 08:01:54 +0000
Subject: [PATCH] debian/rules: Strip -ffile-prefix-map from cgicc-config too.

There was already support stripping -fdebug-prefix-map, extend to also
support -ffile-prefix-map.
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 43f37e7..d176345 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,8 +25,10 @@ override_dh_auto_install:
 	dh_auto_install
 	# work around doxygen bug - embeds copy of jquery unnecessarily
 	rm -f $(CURDIR)/debian/tmp/usr/share/doc/libcgicc-doc/html/jquery.js
-	# Remove the debug-prefix-map compiler option, as it conflicts with mutli-arch
-	sed -i -e 's/ *-fdebug-prefix-map=[^ "]*//' $(CURDIR)/debian/tmp/usr/bin/cgicc-config
+	# Remove the debug-prefix-map and file-prefix-map compiler
+	# options, as they conflict with mutli-arch and breaks
+	# reproducible builds
+	sed -i -e 's/ *-fdebug-prefix-map=[^ "]*//' -e 's/ *-ffile-prefix-map=[^ "]*//' $(CURDIR)/debian/tmp/usr/bin/cgicc-config
 
 override_dh_installexamples:
 	dh_installexamples -XMakefile
-- 
2.38.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: libcgicc
Source-Version: 3.2.19-2
Done: Petter Reinholdtsen <p...@debian.org>

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

Debian distribution maintenance software
pp.
Petter Reinholdtsen <p...@debian.org> (supplier of updated libcgicc 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 13 Nov 2024 15:48:40 +0100
Source: libcgicc
Architecture: source
Version: 3.2.19-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Petter Reinholdtsen <p...@debian.org>
Closes: 1023960
Changes:
 libcgicc (3.2.19-2) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Petter Reinholdtsen ]
   * Added d/gbp.conf to describe branch layout.
   * Updated d/gbp.conf to enforce the use of pristine-tar.
   * Updated vcs in d/control to Salsa.
   * Updated Standards-Version from 4.1.0 to 4.7.0.
   * Use wrap-and-sort -at for debian control files.
   * Trim trailing whitespace.
   * Use secure URI in debian/watch.
   * Bump debhelper from old 10 to 13.
   * Set debhelper-compat version in Build-Depends.
   * Adjusted d/rules to avoid build error about libtool .la file.
 .
   [ Vagrant Cascadian ]
   * debian/rules: Strip -ffile-prefix-map from cgicc-config too
     (Closes: #1023960).
Checksums-Sha1:
 368ce045bdd61ae6d93b62f6e45e44776d5f0dce 1986 libcgicc_3.2.19-2.dsc
 78cc40b5817f038784454355a20bbc76bdf657d5 6812 libcgicc_3.2.19-2.debian.tar.xz
 2ece3a5e69e5b8ae5ebd5aae977f0e67d8c0f2b5 6379 
libcgicc_3.2.19-2_source.buildinfo
Checksums-Sha256:
 62d69ae2b052642c82042bb2c9bf1cf0fdab21dc2d0d5a608a9ccf82cd9a8eda 1986 
libcgicc_3.2.19-2.dsc
 b0c9ce11ed165274b260de0bca7a7a308ad274ba0abcb14ae1d47fb47fe574e5 6812 
libcgicc_3.2.19-2.debian.tar.xz
 078be425f598badc734eff2c24009558afd7e9952972d00721e082ebf3926585 6379 
libcgicc_3.2.19-2_source.buildinfo
Files:
 41d808eeea51886109412b15c50cfa01 1986 libs optional libcgicc_3.2.19-2.dsc
 ba4bb7b2a510767801c843b60e98cb64 6812 libs optional 
libcgicc_3.2.19-2.debian.tar.xz
 6c3c4c3ec77ce13455542a59f399fd9e 6379 libs optional 
libcgicc_3.2.19-2_source.buildinfo

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

iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmc0vLoACgkQgSgKoIe6
+w7npBAAvcmDOv1MRhZfzO5JRTFcVm+HupNUy1nZhFNu1vDMfrS664pTBNwQhb8c
ZKs/5FYymR2RCyf79S/X1DBO6e5SzMD0bhdYPjVZCqq0PbJMeOrfa/OIrkAlN8+y
CbrZJcngsN8qo/5rYdGUlmbqlAjsPPPwb/njbWQhoa63f0yyqj1BzwZvjyE6+iE1
aUqTYwuRLOPbxdIyBl4pZwkJEyF4zxTiFgpmKVSdDhYWIciQz/M3w/FAZJIOPCsv
QxT0xthRoj5yQZjKt81vUr1VZPR+gNm19cSsfkPIFNa9JEUQHzt6HWUSfNhJpciT
PbwddcoqyWcalpfm+iVEiX+h7rAYCnLBrsM1cUEDLR3LsbtcNttbbsiRnBoMbiPV
rvtCa8WjEYE5sopHC0eoxAl3KkvvGZciSXuMblq0UErEmWZ9F4VZIrtoQveF4DF7
zkezTNnRL0h+5zbiKzSPZXdbvZjbjfcRfYAfa2d2VYTTjBJJukZQSF3fWHfmjCZx
LrzrcRQ+OAB7moA6P/UqECYpbgkz/f+egb3D6pM09WlB7wUjNPZs6WrtsarrXKfF
irZmrUyCREoZLXoh6RJzuAriR+ECZNkzhenQJcnNMTcolf7a9/85guqMLdSm4ATx
Aq9btWPVFk7slHs6WPOIF3Pj0aMC7hlsF2Yig85ERdOd3Io41FY=
=gSnO
-----END PGP SIGNATURE-----

Attachment: pgpK0U3dqk38N.pgp
Description: PGP signature


--- End Message ---

Reply via email to