This queue is for tickets about the ExtUtils-Install CPAN distribution.

Report information
The Basics
Id:
28672
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
altblue [...] n0i.net
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
1.43
Fixed in:
(no value)

Attachments
perl-ExtUtils-Install-1.43-uninst.patch



Subject: bogus UNINST=1 (installation *always* tries to uninstall)
$ perl Makefile.PL && make && make test && make pure_install DESTDIR=/tmp/E-I-test Writing Makefile for ExtUtils::Install Manifying blib/man3/ExtUtils::Installed.3pm Manifying blib/man3/ExtUtils::Install.3pm Manifying blib/man3/ExtUtils::Packlist.3pm PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-Ilib" "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic...........ok t/Install.........ok t/Installed.......ok t/Packlist........ok t/pod-coverage....skipped all skipped: Skipping author tests. Set AUTHOR_TESTING=1 to run them. t/pod.............ok All tests successful, 1 test skipped. Files=6, Tests=207, 24 wallclock secs (10.82 cusr + 12.17 csys = 22.99 CPU) Installing /tmp/E-I-test/usr/lib/perl5/5.8.8/ExtUtils/Install.pm !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: WARNING: Failed chmod(438, /usr/lib/perl5/5.8.8/ExtUtils/Install.pm): Operation not permitted !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Cannot unlink '/usr/lib/perl5/5.8.8/ExtUtils/Install.pm': Permission denied !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at -e line 1 make: *** [pure_perl_install] Error 13 The issue is the "defined" test in lib/ExtUtils/Install.pm at line 677.
Subject: perl-ExtUtils-Install-1.43-uninst.patch
diff -urw ExtUtils-Install-1.43.orig/lib/ExtUtils/Install.pm ExtUtils-Install-1.43/lib/ExtUtils/Install.pm --- ExtUtils-Install-1.43.orig/lib/ExtUtils/Install.pm 2007-07-21 01:08:52.000000000 +0300 +++ ExtUtils-Install-1.43/lib/ExtUtils/Install.pm 2007-08-05 02:22:39.000000000 +0300 @@ -674,7 +674,7 @@ print "Skipping $targetfile (unchanged)\n" if $verbose; } - if ( defined $inc_uninstall ) { + if ( $inc_uninstall ) { inc_uninstall($sourcefile,$ffd, $verbose, $nonono, $realtarget ne $targetfile ? $realtarget : "");
From: MSCHWERN@cpan.org
Seconded. I just ran into this problem while installing Smolder. It installs its own private copies of modules in a local directory and tried to uninstall my system versions!
Ping again. This is a really urgent bug!
Fixed in 1.44


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.