Bug#585678: perl: Performing a binNMU of perl causes a silently broken build
Ansgar Burchardt
ansgar at 43-1.org
Mon Jul 19 12:04:59 UTC 2010
package perl
found 585678 5.10.0-19
found 585678 5.12.1-1
tags 585678 + patch
thanks
Hi,
I can reproduce this. After an binNMU the "install*" variables in
Config_heavy.pm include the build directory. The attached patch
disables pattern meta-characters in the substitution. It should be safe
as long as neither ! nor \E are included in the build directory.
Regards,
Ansgar
diff -Nru perl-5.10.1/debian/rules perl-5.10.1/debian/rules
--- perl-5.10.1/debian/rules 2010-05-29 01:26:18.000000000 +0900
+++ perl-5.10.1/debian/rules 2010-07-19 19:21:32.000000000 +0900
@@ -99,7 +99,7 @@
$(MAKE) install
# remove temporary prefix on install vars and switch man
# extensions to 1p and 3pm for vendor module installs
- ./perl.static -i -pe 's!$(srcdir)/$(tmp)/!/! if /install/;' \
+ ./perl.static -i -pe 's!\Q$(srcdir)/$(tmp)/!/! if /install/;' \
-e 's/^(man1ext=).*/$$1'\''1p'\''/;' \
-e 's/^(man3ext=).*/$$1'\''3pm'\''/;' \
$(lib)/Config.pm $(lib)/Config_heavy.pl
More information about the Perl-maintainers
mailing list