From owner-freebsd-ports@freebsd.org Thu Oct 1 13:00:58 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 A87A0A0DBA2; Thu, 1 Oct 2015 13:00:58 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5017F1C2F; Thu, 1 Oct 2015 13:00:58 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by wicfx3 with SMTP id fx3so27340974wic.0; Thu, 01 Oct 2015 06:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=BBdoskEIMn6E6PFUTVlNP3R/Coy+/CE44wSaRqjsOCE=; b=O3X54dMLCJnPJ3/Y8F12fXk1RVDmwsgZKEPOgzDUvlDQKHgHIIB7Fn83ULUKdv+T0I 4Th0x3/IkF4gt5H7+cDM2Ucdo+uzhCmwzydRnjz2ra8msFFz1K60rNHB/dwVYLr5RitQ 7La+Awr747Bf2+fTPM22hwYlr5K2zD07I1da06WbGb7iokxgRGkaIKmZPmRKLw8Kz8Ac 12imMWoovNjyyxuU2WhWkTt/DYgUAZrfg5YkZ2KYLy2YWaHqrkXZ+8KYG2w/UtrG0LF7 mxmQuTz58LmqPs4zQ20ohFQ84fznu2tVVqHlgRkMR0zM1gJPX1jdRKiEeItUNIL9EeUk 2ZTw== X-Received: by 10.194.190.75 with SMTP id go11mr10021961wjc.80.1443704456616; Thu, 01 Oct 2015 06:00:56 -0700 (PDT) Received: from [192.168.0.113] (82.50.202.62.static.wline.lns.sme.cust.swisscom.ch. [62.202.50.82]) by smtp.googlemail.com with ESMTPSA id m9sm3095596wib.13.2015.10.01.06.00.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 06:00:55 -0700 (PDT) Subject: Re: Ports are requesting perl 5.20.2 even if perl 5.22 is installed and set as default To: ports@freebsd.org, freebsd-ports@freebsd.org References: <560D2BB1.8050000@gmail.com> From: Mattia Rossi Message-ID: <560D2E87.4050904@gmail.com> Date: Thu, 1 Oct 2015 15:00:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <560D2BB1.8050000@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 13:00:58 -0000 Problem seems solved now. I've found a leftover file in /usr/local/etc: perl5_version Have no idea which program put it there, but it screwed up everything. Deleting it fixed the issue. 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. >