From owner-freebsd-ports@FreeBSD.ORG Mon May 28 10:36:38 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B72E0106566C; Mon, 28 May 2012 10:36:38 +0000 (UTC) (envelope-from scheidell@FreeBSD.org) Received: from mx2.secnap.com.ionspam.net (mx2.secnap.com.ionspam.net [216.134.223.54]) by mx1.freebsd.org (Postfix) with ESMTP id 811408FC14; Mon, 28 May 2012 10:36:38 +0000 (UTC) Received: from mx2.secnap.com.ionspam.net (unknown [10.71.0.54]) by mx2.secnap.com.ionspam.net (Postfix) with ESMTP id 9EDD6D23C04; Mon, 28 May 2012 06:36:37 -0400 (EDT) X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.18 at mx2.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (unknown [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx2.secnap.com.ionspam.net (Postfix) with ESMTPS id F39F1D23C03; Mon, 28 May 2012 06:36:30 -0400 (EDT) Message-ID: <4FC3552D.6030909@FreeBSD.org> Date: Mon, 28 May 2012 06:36:29 -0400 From: Michael Scheidell Organization: SECNAP Network Security Corp User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: Matthias Apitz References: <20120527151404.GA3759@tinyCurrent> <20120528085710.GA2927@tinyCurrent> In-Reply-To: <20120528085710.GA2927@tinyCurrent> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Chris Rees , perl , freebsd-ports@freebsd.org Subject: Re: 10-CURRENT r235646 && ports/mail/p5-Mail-SpamAssassin X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 10:36:38 -0000 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