From owner-freebsd-ports@freebsd.org Thu Oct 1 16:22:28 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 1ADD3A0D115 for ; Thu, 1 Oct 2015 16:22:28 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (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 D96911B6A for ; Thu, 1 Oct 2015 16:22:27 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t91GMupS008809 for ; Thu, 1 Oct 2015 09:23:02 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: <560D2E87.4050904@gmail.com> References: <560D2BB1.8050000@gmail.com>, <560D2E87.4050904@gmail.com> From: "Chris H" Subject: Re: Ports are requesting perl 5.20.2 even if perl 5.22 is installed and set as default Date: Thu, 01 Oct 2015 09:23:02 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <7b8ea7eb415eb7c75c8638e99709364e@ultimatedns.net> Content-Transfer-Encoding: 8bit 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: Thu, 01 Oct 2015 16:22:28 -0000 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. :) > > Cheers, > > Mat > > Am 01.10.2015 um 14:48 schrieb Mattia Rossi: > > Hi all, > > > > I can't seem to get the following issue fixed: > > > > I've installed perl5.22 as default with the following in /etc/make.conf > > > > WITH_OPENSSL_PORT="YES" > > DEFAULT_VERSIONS+=perl5=5.22 > > > > If I try to install OpenSSL (or any other port depending on perl5) > > they always want to install perl5.20, and, even more interesting perl > > 5.20.2, which is not in ports anymore (it's 5.20.3). The following > > error shows up: > > > > openssl-1.0.2_4 depends on file: /usr/local/bin/perl5.20.2 - not found > > ################################################## > > > > This is *NOT* the DEFAULT perl version > > > > It will *NOT* install /usr/local/bin/perl > > > > It will *ONLY* install /usr/local/bin/perl5.20.3 > > > > The default Perl version currently is 5.22. > > > > If you want to use this version as the default, > > stop the build now, add this line to your > > /etc/make.conf, and then restart the build. > > > > DEFAULT_VERSIONS+=perl5=5.20 > > > > ################################################## > > > > This tells me, that the DEFAULT_VERSIONS variable works well. So why > > are my ports looking for perl 5.20.2? > > Obviously installing perl 5.20 doesn't help eitehr, as it installs > > 5.20.3... so I'm locked in a loop, with the port failing after the > > perl install and on a rerun installing perl again. > > > > Help? > > > > Mat > > > > Btw. I'm on HEAD, r288210, and I've deleted all installed packages and > > was trying to rebuild everything. I've recreated the ports tree > > (portsnap fetch extract), but the error persists. > > > --Chris