Front page | perl.perl5.porters |
Postings from October 2008
[PATCH] Module/Build/t/compat.t failure
Thread Next
From:
Robin Barker
Date:
October 29, 2008 06:19
Subject:
[PATCH] Module/Build/t/compat.t failure
Message ID:
46A0F33545E63740BC7563DE59CA9C6D4E2FD8@exchsvr2.npl.ad.local
Module/Build/t/compat.t fails the fakeinstall test when PREFIX is set.
lib/Module/Build/t/compat....# Failed test 'Should have installdirs=vendor'
# at ../lib/Module/Build/t/compat.t line 221.
# '# make fakeinstall INSTALLDIRS=vendor INSTALLVENDORLIB=/home/rmb1/misc/src/perl/build-g/t/_tmp8003/lbiidr
# # /home/rmb1/misc/src/perl/build-g/perl Build --makefile_env_macros 1 fakeinstall
# # prefixify /usr/local/share/man/man3 from to /opt
# # cannot prefixify, falling back to default.
# # Manifying blib/lib/Simple.pm -> blib/libdoc/Simple.3
# # no path to prefixify, falling back to default.
# # no path to prefixify, falling back to default.
# # prefixify /home/rmb1/misc/src/perl/build-g/t/_tmp8003/lbiidr from to /opt
# # cannot prefixify, falling back to default.
# # prefixify /usr/local/share/man/man3 from to /opt
# # cannot prefixify, falling back to default.
# # no path to prefixify, falling back to default.
# # Installing /opt/lib/perl5/Simple.pm
# # Installing /opt/man/man3/Simple.3
# # Writing /opt/lib/perl5/5.11.0/i686-linux-64int/auto/Simple/.packlist
# '
# doesn't match '(?x-ism:\/home\/rmb1\/misc\/src\/perl\/build\-g\/t\/_tmp8003\/lbiidr .* Simple\.pm)'
Here is a patch
Robin Barker
diff -ur ../perl-current/lib/Module/Build/t/compat.t ./lib/Module/Build/t/compat.t
--- ../perl-current/lib/Module/Build/t/compat.t 2008-09-30 12:29:35.000000000 +0100
+++ ./lib/Module/Build/t/compat.t 2008-10-28 18:26:18.000000000 +0000
@@ -205,6 +205,7 @@
(my $libdir2 = $libdir) =~ s/libdir/lbiidr/;
my @make_args = ('INSTALLDIRS=vendor', "INSTALLVENDORLIB=$libdir2");
+ local $ENV{PREFIX} if $ENV{PREFIX}; # ignore environment PREFIX
if ($is_vms_mms) { # VMS MMK/MMS macros use different syntax.
$make_args[0] = '/macro=("' . join('","',@make_args) . '")';
End of patch
-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.
NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.
NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
Hook, Hampshire, United Kingdom RG27 9UY
-------------------------------------------------------------------
Thread Next
-
[PATCH] Module/Build/t/compat.t failure
by Robin Barker