Vicious Pugs :(

Ovid on 2005-07-12T19:02:49

Out of habit, when I finished make test with Pugs, I typed sudo make install. I happily watched a list of modules scroll by. Looks like Pugs is getting bigger and better all the time.

Installing /usr/local/lib/perl5/site_perl/5.8.6/HTML/Entities.pm
Installing /usr/local/lib/perl5/site_perl/5.8.6/HTTP/Cookies.pm
Installing /usr/local/lib/perl5/site_perl/5.8.6/HTTP/Date.pm
Installing /usr/local/lib/perl5/site_perl/5.8.6/HTTP/Headers.pm
Installing /usr/local/lib/perl5/site_perl/5.8.6/HTTP/Message.pm
Installing /usr/local/lib/perl5/site_perl/5.8.6/HTTP/Request.pm
Installing /usr/local/lib/perl5/site_perl/5.8.6/HTTP/Response.pm

Hey look! There's HTML::Entities, a Perl 6 module I started porting a while back. Cool!

Hey look! It's installing it right over the Perl 5 version. Not Cool!

My Perl installation is hosed. I was going to try and automate the restoration, but core modules that CPAN and CPANPLUS use were overwritten. I'm now installing 5.8.7 and will spend much of the day rebuilding my setup from scratch :(

I hopped on IRC and whined. They're looking into a fix now.

Update: that was the latest from SVN. That is not what is on the CPAN now, so I "assume" the CPAN version is safe.


Ouch!

HollyKing on 2005-07-12T20:07:43

I'll keep that in mind.

Unwanted overwriting

nicholas on 2005-07-12T20:50:52

Someone, who might prefer to remain nameless, hosed his perl install by running make install with ponie. The problem here is that the FreeBSD perl uses a mass of Configure arguments to set each library install directory independently, and ponie's Configure.pl was passing on every argument it didn't recognise to configure ponie. The upshot is that ponie would install all over the (say) 5.8.7 directories. This prompted 2 changes. Firstly removing all the explicit prefix setting and secondly stopping people installing as root without thinking about it first.

The CPAN version is safe.

autrijus on 2005-07-13T01:20:12

Sorry for the incident, and thanks for catching this before we release.

It seems it's caused by last night's huge refactoring of Makefile.PL in lib/ after I went to sleep, so the bug only stayed around for a few hours.

And yes, ironically it was me who hosed my Perl by installing ponie. Karmic cycle and all that. :-)

Re:The CPAN version is safe.

Ovid on 2005-07-13T01:33:34

Heh :) No offense, but that's hilarious.

I have everything up and running again, so no long-term harm done.

It's now fixed.

autrijus on 2005-07-13T02:48:47

As title. :)