From owner-freebsd-ports@freebsd.org Fri Oct 2 17:12:52 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AC2CA0E553 for ; Fri, 2 Oct 2015 17:12:52 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from slim.berklix.org (slim.berklix.org [94.185.90.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9630B17D2 for ; Fri, 2 Oct 2015 17:12:49 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p5B2260AB.dip0.t-ipconnect.de [91.34.96.171]) (authenticated bits=128) by slim.berklix.org (8.14.5/8.14.5) with ESMTP id t92HCobP026932; Fri, 2 Oct 2015 19:12:50 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id t92HCHUG047663; Fri, 2 Oct 2015 19:12:17 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id t92HBklZ048810; Fri, 2 Oct 2015 19:11:58 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201510021711.t92HBklZ048810@fire.js.berklix.net> To: Mattia Rossi cc: Chris H , freebsd-ports@freebsd.org Subject: Re: Ports are requesting perl 5.20.2 even if perl 5.22 is installed and set as default From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Fri, 02 Oct 2015 10:38:58 +0200." <560E42A2.5070504@gmail.com> Date: Fri, 02 Oct 2015 19:11:46 +0200 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 17:12:52 -0000 Hi, Reference: > From: Mattia Rossi > Date: Fri, 2 Oct 2015 10:38:58 +0200 Mattia Rossi wrote: > > > Am 01.10.2015 um 18:23 schrieb Chris H: > > On Thu, 1 Oct 2015 15:00:55 +0200 Mattia Rossi > > wrote > > > >> Problem seems solved now. > >> I've found a leftover file in /usr/local/etc: perl5_version > >> Have no idea which program put it there > > Perl did. > > > > Ironic, isn't it. :) > It is.. :-) > > I guess it's something that has been fixed in the meantime, and it was > an artefact of an older perl version, which I didn't clean out properly, > when I deleted and reinstalled all ports... Glad you mentioned that as on nearly current ports I had just failed to grep 5.20.2 ports/Mk/* , after ===> Patching for curl-7.44.0 ===> Applying FreeBSD patches for curl-7.44.0 ===> curl-7.44.0 depends on file: /usr/local/bin/perl5.20.2 - not found ===> curl-7.44.0 depends on file: /usr/local/bin/perl5.20.2 - not found *** Error code 1 Stop. make[1]: stopped in /data/release/11.0-CURRENT/usr/ports/ftp/curl & from /usr/ports/lang/perl5.20 I have /usr/local/bin/perl5.20.3 so cd /usr/ports ; svn up Updating '.': At revision 398429. ls -l /usr/local/etc/perl5_version -rw-r--r-- 1 root wheel 96 May 29 14:33 /usr/local/etc/perl5_version cat /usr/local/etc/perl5_version # Do not modify PERL_VERSION here, instead use DEFAULT_VERSIONS= perl5=5.20 PERL_VERSION=5.20.2 mv /usr/local/etc/perl5_version /usr/local/etc/perl5_version.mv cd /usr/ports/ftp/curl ; make install So this thread saved me, Thanks. Cheers, Julian -- Julian Stacey, BSD Linux Unix Sys. Eng. Consultant Munich http://berklix.com Reply After previous text to preserve context, as in a play script. Indent previous text with > Insert new lines before 80 chars. Use plain text, Not quoted-printable, Not HTML, Not base64, Not MS.doc.