Bug#845191: libhtml-parser-perl: please make the build reproducible (buildpath)

Daniel Shahaf danielsh at apache.org
Mon Nov 21 10:40:40 UTC 2016


Source: libhtml-parser-perl
Version: 3.72-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that libhtml-parser-perl could not be built reproducibly.

Specifically, for some values of the path to the root of the source tree
(such as '/tmp/tmp.tnegvZNHVC/foobar'), the HTML::Entities man page had
the following header:

.TH libhtml-parser-perl-3.72::blib::lib::HTML::Entities 3pm "2016-07-06" "perl v5.24.1" "User Contributed Perl Documentation"

Patch attached; it results in:

.TH HTML::Entities 3pm "2016-07-06" "perl v5.24.1" "User Contributed Perl Documentation"

Cheers,

Daniel

 [1]: https://wiki.debian.org/ReproducibleBuilds

[[[
diff --git a/debian/rules b/debian/rules
index 6861f47..0549a40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,8 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 override_dh_auto_build:
 	dh_auto_build
-	pod2man --utf8 --section 3pm $(CURDIR)/blib/lib/HTML/Entities.pm > $(CURDIR)/blib/man3/HTML::Entities.3pm
+	pod2man --utf8 --section 3pm --name=HTML::Entities \
+		$(CURDIR)/blib/lib/HTML/Entities.pm > $(CURDIR)/blib/man3/HTML::Entities.3pm
 
 override_dh_fixperms:
 	dh_fixperms
]]]



More information about the pkg-perl-maintainers mailing list