Your message dated Thu, 26 May 2022 14:28:48 +0200
with message-id <Yo9ygN7WAz1h/zW0@charbon>
and subject line bugs triage
has caused the Debian Bug report #841701,
regarding libtext-charwidth-perl: please make the build reproducible
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.)


-- 
841701: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841701
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libtext-charwidth-perl
Version: 0.04-7
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that libtext-charwidth-perl could not be built reproducibly.
For compilation of a C file the dpkg-buildflags are not used, which
causes build path differences, as -fdebug-prefix-map won't be used.

The attached patch fixes this.
There also was a call to "dh $@" in the install target, which caused a
second build (that ignored the steps from the build target), which is
also removed.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index ed73c95..a59ecdc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
-CFLAGS = -Wall -g
+CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -Wall
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
@@ -59,7 +59,6 @@ ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 	exit 1	;\
 	fi
 endif
-	dh $@
 	dh_testdir
 	dh_testroot
 	dh_prep

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 0.04-8

Good day,

The conversion of the libtext-charwidth-perl to dh which occured
some time ago seems to have fixed the reproducibility issue
described in that bug entry.

Cheers,  :)
-- 
Étienne Mollier <[email protected]>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from my alarm clock.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to