Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Oct 2015 09:23:02 -0700
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        <freebsd-ports@freebsd.org>
Subject:   Re: Ports are requesting perl 5.20.2 even if perl 5.22 is installed and set as default
Message-ID:  <7b8ea7eb415eb7c75c8638e99709364e@ultimatedns.net>
In-Reply-To: <560D2E87.4050904@gmail.com>
References:  <560D2BB1.8050000@gmail.com>, <560D2E87.4050904@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Oct 2015 15:00:55 +0200 Mattia Rossi
<mattia.rossi.mailinglists@gmail.com> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7b8ea7eb415eb7c75c8638e99709364e>