Date: Fri, 22 Nov 2013 04:17:12 -0800 (PST) From: Jeffrey Bouquet <jeffreybouquet@yahoo.com> To: ports list <freebsd-ports@freebsd.org> Subject: Re: Upgrading Perl... Somebody just shoot me and put me out of my misery! Message-ID: <1385122632.81680.YahooMailNeo@web163901.mail.gq1.yahoo.com> In-Reply-To: <0FC91D46CDC4B54132D12167@atuin.in.mat.cc> References: <97331.1385108726@server1.tristatelogic.com> <0FC91D46CDC4B54132D12167@atuin.in.mat.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
I *was* equally setback by this upgrade, but am slowly mostly fixing it on = a build machine to maybe package over to the usual one:=0A=0A(My quicker pi= pes have not been working ...)=0A=0A..................................=0A= =0Acd /var/db/pkg=0A=0Agnuls -oSr | grep p5 | head [.... increment each tim= e... 10, 20...] | awk '{print $8 }' xargs -J % find % -type f=0A=0A-name +M= TREE_DIRS =A0-exec /bin/ls -lac {} \;=A0=0A=0A.............................= .......=0A=0A[ more to the pipe maybe automates the next ...]=0A=0A........= ...............................=0A=0AYou'll see ports *since* last upgradin= g perl and *not since*. =A0Simply type the older ones into=0A=0Aportmaster = -d -B -i -g p5-...... p5-........... p5-.....=0A=0A........................= .............=0A=0AI am in a rush on some aspects of this update, so on one= s which don't install=0A=0Ause something like...=0A=0Acd /usr/ports/net/p5-= Socket=0A=0A/bin/rm -rf work=0A=0Amake -DNO_STAGE -DMAKE_JOBS_UNSAFE -DNO_P= ACKAGE reinstall=0A=0A....................=0A=0AYMMV. =A0[ It is quite obvi= ously piecemeal, this method...]=0A=0A..................=0A=0AAnother glitc= h with this upgrade, every Nth port seemingly wants to revert perl 5.16 > 5= .14 in the process of=0A=0Ainstall from a package, so I've often=0A=0A/bin/= rm -v /usr/bin/perl=0A=0A/bin/rm -v /usr/bin/perl5=0A=0A/bin/rm -v /usr/loc= al/bin/perl=0A=0Aln -s /usr/local/bin/perl5.16.3 /usr/local/bin/perl=0A=0Al= n -s /usr/local/bin/perl5.16.3 /usr/bin/perl=0A=0Aln -s /usr/local/bin/perl= 5.16.3 /usr/bin/perl5=0A=0AAfter cntl-c the new failing install-older-perl = package *BEFORE* it installs the older perl *ALSO*....=A0=0A=0A............= .................=0A=0AIf I am wiser next time, and maybe even on this olde= r-perl machine, I'll simply delete all p5-s after printing them out,=0A=0Aa= nd awk / gtr /xargs the file into portmaster. =A0 I expect the workarounds = to still be maybe necc. though.=0A=0A.............................=0A=0A=0A= =0AJ. Bouquet=A0=0A=0ASorry for typos=A0=0A=0A=0A=0A=0AOn Friday, November = 22, 2013 3:52 AM, Mathieu Arnold <mat@mat.cc> wrote:=0A =0A+--On 22 novembr= e 2013 00:25:26 -0800 "Ronald F. Guilmette"=0A<rfg@tristatelogic.com> wrote= :=0A|=A0 AUTHOR: mat@FreeBSD.org=0A=0ACough, cough, yeah, I mostly wrote t= hat.=0A=0A|=A0 =A0 =A0 =A0 portupgrade -o lang/perl5.16 -f perl-5.14.\*=0A= =0AAt that time, that line was right. Now, after that, the perl packages na= me=0Awhich had the same name (all named perl) and were conflicting and were= =0Arenamed to perl5 for the default perl, that is, 5.16, and perl5.xx for t= he=0Anon default ones, that are 5.12, 5.14 and 5.18.=0A=0A| pkg_info says t= hat at present I have perl5.14-5.14.4_3 installed.=A0 So=0A| excuse my fren= ch, but why the fuck didn't the command:=0A| =0A|=A0 =A0 portupgrade -o lan= g/perl5.16 -f perl-5.14.\*=0A=0ANow, as you can see, your perl is not named= perl-5.14 but=0Aperl5.14-5.14.4_3, so, you should change that line to :=0A= portupgrade -o lang/perl5.16 -f perl5.14-5.14.4_3=0A=0AI'll commit an updat= e to that right now.=0A=0A-- =0AMathieu Arnold=0A__________________________= _____________________=0Afreebsd-ports@freebsd.org mailing list=0Ahttp://lis= ts.freebsd.org/mailman/listinfo/freebsd-ports=0ATo unsubscribe, send any ma= il to "freebsd-ports-unsubscribe@freebsd.org" From owner-freebsd-ports@FreeBSD.ORG Fri Nov 22 13:02:37 2013 Return-Path: <owner-freebsd-ports@FreeBSD.ORG> Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B91F6AF2 for <ports@freebsd.org>; Fri, 22 Nov 2013 13:02:37 +0000 (UTC) Received: from mail.server1.bsdforen.de (bsdforen.de [82.193.243.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7CE7A2353 for <ports@freebsd.org>; Fri, 22 Nov 2013 13:02:37 +0000 (UTC) Received: from mobileKamikaze.norad (MN-VPN2.HS-Karlsruhe.DE [193.196.117.63]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.server1.bsdforen.de (Postfix) with ESMTPSA id 920C785FBC; Fri, 22 Nov 2013 14:02:28 +0100 (CET) Message-ID: <528F55E4.3040602@bsdforen.de> Date: Fri, 22 Nov 2013 14:02:28 +0100 From: Dominic Fandrey <kamikaze@bsdforen.de> MIME-Version: 1.0 To: Kimmo Paasiala <kpaasial@gmail.com> Subject: Re: DESTDIR support broken? References: <52850FBA.9010308@bsdforen.de> <CAF6rxgnALxXkxLMdGkOwDwpXArCg4XMUYUEMAzU=dZS-3CGS6Q@mail.gmail.com> <5289CA5E.3010103@bsdforen.de> <CA+7WWSc4SRHBg6mqLOV_AHCeqZgoCzHNtqQ2W6+LAsSnB8i8hg@mail.gmail.com> <528BA37E.4030308@bsdforen.de> In-Reply-To: <528BA37E.4030308@bsdforen.de> Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports <ports@freebsd.org>, Eitan Adler <lists@eitanadler.com> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 22 Nov 2013 13:02:37 -0000 On 19/11/2013 18:44, Dominic Fandrey wrote: > On 18/11/2013 20:28, Kimmo Paasiala wrote: >> On Mon, Nov 18, 2013 at 10:05 AM, Dominic Fandrey <kamikaze@bsdforen.de> wrote: >>> On 18/11/2013 04:10, Eitan Adler wrote: >>>> On Thu, Nov 14, 2013 at 1:00 PM, Dominic Fandrey <kamikaze@bsdforen.de> wrote: >>>>> # make DESTDIR=/root/tmpdest install >>>>> ===> Creating some important subdirectories >>>> >>>> Are you sure you don't mean "make PREFIX=/root/tmpdest/" ? >>> >>> Yes. >>> >>> -- >> >> I would expect DESTDIR=/some/path just work for any port. Last commit >> to bsd.destdir was over a year ago so either it has been broken for a >> long time or some other more recent commit has broken it. > > /root/tmpdest is a complete FreeBSD chroot (I did a > "make installworld distribution DESTDIR=/root/tmpdest" right beforehand). > > I tried several ports, they all exhibit the same failure. The issue is that BSD make (in stable/10) passes "set -e" to the shell by default. I submitted the details and a fix: http://www.freebsd.org/cgi/query-pr.cgi?pr=184170 -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1385122632.81680.YahooMailNeo>