Source: libhtml-parser-perl Version: 3.72-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@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 ]]]