Date: Sat, 1 Mar 2008 20:12:13 -0000 From: "Steven Hartland" <killing@multiplay.co.uk> To: "Kris Kennaway" <kris@FreeBSD.org> Cc: ports@freebsd.org, stable@FreeBSD.org Subject: Re: portupgrade, recommended by 7 release notes, breaks perl Message-ID: <018b01c87bd8$8a555660$b6db87d4@multiplay.co.uk> References: <00ab01c87b64$29c7b8c0$b6db87d4@multiplay.co.uk> <47C95FBC.1030907@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Kris Kennaway" <kris@FreeBSD.org> > I think something is not quite right in your analysis, because perl does > not depend on any external perl modules (it cannot, by definition). I know what your saying there Kris, this shouldn't happen. So I've spent some time digging through the info I had here from the upgrade, luckily I saved a list of installed ports before starting. The issue appears to down to the fact ExtUtils::MakeMaker when installed via CPAN installs to: /usr/local/lib/perl5/5.8.8 So obviously when portupgrade finds it and attempts to upgrade it, it first deletes it which trashes the base perl install as it now has no MakeMaker to fall back to. Usually I would expect CPAN modules to install to: /usr/local/lib/perl5/site_perl/5.8.8/ Which would ensure that there are still base files left to fall back on when upgrading. Of note here is that port p5-ExtUtils-MakeMaker correctly installs under site_perl its only the CPAN module which has this problem. Now I don't know if there are any other modules which suffer from this or if its just a "feature of MakeMaker". The underlying cause of this is in the MakeMaker Makefile.PL Makefile.PL: INSTALLDIRS => 'perl', changing this to: Makefile.PL: INSTALLDIRS => 'site', Would fix this particular package but again: how many others do this? Maybe this is something that BSDPAN could / should override? Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018b01c87bd8$8a555660$b6db87d4>