From owner-freebsd-perl@FreeBSD.ORG Sun Jul 13 09:14:19 2008 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BE3B106567A; Sun, 13 Jul 2008 09:14:19 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id ADF0C8FC0A; Sun, 13 Jul 2008 09:14:18 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (localhost [127.0.0.1]) by dns1.vizion2000.net (Postfix) with ESMTP id B1FF11CC7B; Sun, 13 Jul 2008 02:35:58 -0700 (PDT) Received: from localhost (localhost [[UNIX: localhost]]) by dns1.vizion2000.net (8.14.2/8.14.2/Submit) id m6D9Zwpm037083; Sun, 13 Jul 2008 02:35:58 -0700 (PDT) (envelope-from david@vizion2000.net) X-Authentication-Warning: dns1.vizion2000.net: david set sender to david@vizion2000.net using -f From: David Southwell Organization: Voice and Vision To: freebsd-perl@freebsd.org Date: Sun, 13 Jul 2008 02:35:58 -0700 User-Agent: KMail/1.9.7 References: <200807120840.38991.david@vizion2000.net> <4878E72C.5050705@FreeBSD.org> <200807121050.46213.david@vizion2000.net> In-Reply-To: <200807121050.46213.david@vizion2000.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807130235.58465.david@vizion2000.net> Cc: Remko Lodder Subject: Re: Adjusting Cpan on upgrade from 6.1 to 6.3_SOLVED X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2008 09:14:19 -0000 On Saturday 12 July 2008 10:50:45 David Southwell wrote: > On Saturday 12 July 2008 10:17:32 Remko Lodder wrote: > > David Southwell wrote: > > > On Saturday 12 July 2008 08:28:53 Remko Lodder wrote: > > >> David Southwell wrote: > > >> > > >> Have you wiped your $HOME/.cpan and recreated it? > > > > > > On Saturday 12 July 2008 08:28:53 Remko Lodder wrote: > > >> David Southwell wrote: > > >> > > >> Have you wiped your $HOME/.cpan and recreated it? > > > > > > I removed all .cpan from the system > > > That does not seem to be the problem. > > > > > > This error line from cpan shell may provide a clue: > > > > > > > > > cpan > r > > > ___________________________ > > > LWP failed with code[500] message[Errno architecture > > > (amd64-freebsd-6.1-release) does not match executable architecture > > > (amd64-freebsd-6.3-stable) at > > > /usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11. > > > _______________________________ > > > > > > Checking the file: > > > Errno.pm has the following header: > > > > > > # > > > # This file is auto-generated. ***ANY*** changes here will be lost > > > # > > > > > > package Errno; > > > our (@EXPORT_OK,%EXPORT_TAGS,@ISA,$VERSION,%errno,$AUTOLOAD); > > > use Exporter (); > > > use Config; > > > use strict; > > > > > > "$Config{'archname'}-$Config{'osvers'}" eq > > > "amd64-freebsd-6.1-release" or > > > die "Errno architecture (amd64-freebsd-6.1-release) does not match > > > executable architecture ($Config{'archname'}-$Config{'osvers'})"; > > > > > > $VERSION = "1.10"; > > > $VERSION = eval $VERSION; > > > @ISA = qw(Exporter); > > > > > > It looks as though Errno.pm does not get updated even with > > > # Portupgrade -Rf perl5.8. > > > > > > What creates this file? > > > > > > David > > > > It gets installed as part of perl 5.8.8 install > > (at my end): > > > > nakur# pkg_info -W /usr/local/lib/perl5/5.8.8/mach/Errno.pm > > /usr/local/lib/perl5/5.8.8/mach/Errno.pm was installed by package > > perl-5.8.8_1 > > > > are you using a package? is your ports tree up to date and did you > > entirely reinstall it from there? (because it seems that a reinstall > > will update the freebsd version as well).. > > I am not using a package but compiling. > > The interesting thing is that the date on Errno.prn predates the the > upgrade I am tempted to conclude that a new file is not being written by > the port makefile on upgrade. That suggests the port is not checking to see > whether the system has been upgraded. > > I have a lot of cpan modules installed so maybe I should delete everything > and start again unless someone can come up with a simple solution > > > david > _______________________________________________ I eventually solved this but only after deleting the perl5.8 library after deinstalling and doing a complete install from scratch. The problem seems to stem from an omission in the port's Makefile to check whether therer has been an upgrade of the OS and take appropriate action. I will email the maintainer and let him know about the problem. David