Your message dated Tue, 12 Jul 2022 13:03:55 +0000
with message-id <[email protected]>
and subject line Bug#1003997: fixed in libksba 1.6.0-3
has caused the Debian Bug report #1003997,
regarding libksba: reproducible-builds: build path embedded in w64/ming32 build
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 [email protected]
immediately.)


-- 
1003997: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003997
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libksba
Severity: normal
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

The build path of is embedded in libksba:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libksba.html
  
                 vs.
l.c./build/1st/l     l.c./build/2/lib
ibksba-1.6.0/bui         ksba-1.6.0/2nd/b
ld-i686-w64-ming         uild-i686-w64-mi

This is because the default CFLAGS from dpkg-buildpackage are not
applied to the w64-ming32 builds.

The attached patch to debian/rules adds
"CFLAGS=... -ffile-prefix-map=$(CURDIR)=." to the WIN_FLAGS variable.


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


Thanks for maintaining libksba!


live well,
  vagrant
 
From 78df538fa2877502c3381496ac82acb595217fa1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Wed, 19 Jan 2022 03:36:50 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map via CFLAGS in WIN_FLAGS.

WIN_FLAGS does not include the standard CFLAGS from dpkg-buildflags,
which includes -ffile-prefix-map to avoid embedding the build paths in
the binaries. Adding it makes the package build reproducibly
regardless of build path.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 21ed9a5..f7f311f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ override_dh_auto_configure:
 
 ### "arch-independent" Windows builds: ###
 
-WIN_FLAGS=LDFLAGS="-Xlinker --no-insert-timestamp" CFLAGS="-g -Os" CPPFLAGS=
+WIN_FLAGS=LDFLAGS="-Xlinker --no-insert-timestamp" CFLAGS="-g -Os -ffile-prefix-map=$(CURDIR)=." CPPFLAGS=
 
 override_dh_auto_build-indep:
 	for cpu in i686 x86_64; do \
-- 
2.34.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: libksba
Source-Version: 1.6.0-3
Done: Andreas Metzler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libksba, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <[email protected]> (supplier of updated libksba 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 12 Jul 2022 14:42:35 +0200
Source: libksba
Architecture: source
Version: 1.6.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GnuTLS Maintainers <[email protected]>
Changed-By: Andreas Metzler <[email protected]>
Closes: 1003997 1014149
Changes:
 libksba (1.6.0-3) unstable; urgency=medium
 .
   * Also build mingw with -ffile-prefix-map=$(CURDIR)=. for reproducibility.
     (Thanks, Vagrant Cascadian!) Closes: #1003997
   * Run "wrap-and-sort -ast".
   * 25_norevisionfromgit.diff: Stop trying to pull version info from GIT when
     autoconf is run, resulting in a "-unknown" version suffix.
     Closes: #1014149
   * Update lintian override.
Checksums-Sha1: 
 40049671b40ab3955cb0f9df76426d5041e5b659 2472 libksba_1.6.0-3.dsc
 faab60f4dc94440718a1118f646001672eaf8bea 15004 libksba_1.6.0-3.debian.tar.xz
Checksums-Sha256: 
 de87d32fced6fe9593815552043eec226aafc7e6a7f6b258c0f1dcf96adb0da5 2472 
libksba_1.6.0-3.dsc
 17f8f9679d0dcaaa46d9f4974d2090e23d538206c37014177146b6a5201cf414 15004 
libksba_1.6.0-3.debian.tar.xz
Files: 
 98768284b8d33260dd794c4f998b22d2 2472 libs optional libksba_1.6.0-3.dsc
 e47d39f0b84aa7a77626861445a7c023 15004 libs optional 
libksba_1.6.0-3.debian.tar.xz

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

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAmLNbQMACgkQpU8BhUOC
FITE2Q/+Nt+Gsh9hS7YZDKowyQcrsQUXQeeySj2nobnOsevcrz5C0If6YZTL56s9
4qcJD1bU7o2sOE+JYrSEWgD7C6nXBkm06PyRgFPKgvBmH/SYJSwaDkvBwrEgLbJk
QFhhi4mnGaUEmOZM+fnXcHuaKrUpDV6Et+gUfxd5YggSrNEXEne/TAJJFawf3Qjl
9hbwyOu3ZOOyCjlNzAicCFXCZzJmmPCe3cIDX+RDxOlqzdbmetyuEsrzk8T4bqsL
kWdGQSbZMU3cQdW0Qv10ms+T96XUftFdP8hEINA45nztpY2TapaLb+wj2SV5Yvus
+OMka6YNEV9CxJM4NSrPhRJVRacjubqNlPeRrv0sMM/0lB4IzFVq54b1rgqoOfV5
HSvzexUge2w9r6EaiYdtghZK3Mhitd8nhXMCrXj5Gqa6J3TFBroq+kF1n1bBelyf
aartYAsRlSu5V/VNaDoa2NAUmTPqjFs8Otoc/gYAshxgYgH2SN0jIrC2JTiUgyAT
9uoNu3B9YeNY5FLmq1brPMzAb2JagdlcY5FxTpkX7BjtiSHTFbeXYE7tv5tX1d0d
ov3HuqcQ8MY1bj8ysYCwHZb2q0yXFNtDu8dpoc9L/WurJnYTlaCILA8/55lbBGcA
l0ffHrtA3TUIMU9kEgSBTeSrS98TNCuU2ELTZl7N1WRdSNdXyeE=
=kT6P
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to