Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2012 06:36:29 -0400
From:      Michael Scheidell <scheidell@FreeBSD.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Chris Rees <crees@freebsd.org>, perl <perl@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: 10-CURRENT r235646 && ports/mail/p5-Mail-SpamAssassin
Message-ID:  <4FC3552D.6030909@FreeBSD.org>
In-Reply-To: <20120528085710.GA2927@tinyCurrent>
References:  <20120527151404.GA3759@tinyCurrent> <CADLo83_WY9wPLO_e8C0cWUpW=NnN7GFwiEv_ToPEyfyHh0zsUw@mail.gmail.com> <20120528085710.GA2927@tinyCurrent>

next in thread | previous in thread | raw e-mail | index | archive | help


On 5/28/12 4:57 AM, Matthias Apitz wrote:
> Using perl-5.8.9 did not make p5-Mail-SpamAssassin building; I updated
> perl to 5.12 (following the guide in UPDATING), but this wasn't enough
> either; there was missing Perl/OSType.pm for building the port
> p5-Module-Build; I ended up with updating perl to 5.14 (and all
> depending p5-* ports with:
>
yes, updating perl never works for me.  never did.  not since my FreeBSD 
2.x days.
I always have to do something manually. it might have been missed with 
the perl5.8.9 ->5.12 upgrade, who knows.

You might want to open a pr [PATCH] devel/p5-Module-Build - conditional 
add BUILD_DEPENDS perl < 5.14.

in the makefile, check for perl_ver and conditionally add that depends.

(however, last time I build SA in a tinderbox with perl 5.12+, it worked 
just fine, )

anyone archiving this:

besides what it says in UPDATING, and I have said this a couple of times 
in the past:

once you are done, and do the perl-after-upgrade -f, do this and 
examiine the output:

rsync -avun ../(oldperllib)/  .../(newperllibs)
as in cd /usr/local/lib/perl5
rsync -avun 5.8.9/ 5.12/
cd site_perl
rsync -avun 5.8.9/ 5.12/

check the files you see listed (-un does a dry run, checks times for 
newer files)

some of these files that are left over are because they are not needed, 
ie: in the newer perl version.

delete them.

then run rsync without -n.

then delete the old crap
rm-rf /usr/local/lib/perl5/5.8.9 /usr/local/lib/perl5/site_perl/5.8.9

the above is NOT sanctioned by FreeBSD, perl@, The White House, #10 
Downing street, UNISCO or SECNAP.

I find you WILL always have problems with perl upgrades.

I usually just get a listing of depends, pkg_delete the whole lot (and 
rm leftovers) and reinstall from scratch when I have to.


-- 
Michael Scheidell, CTO
 >*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC3552D.6030909>