Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 2014 15:39:10 -0500
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        freebsd-ports@freebsd.org
Subject:   Re: Issues with Poudriere builing packages depending on Perl
Message-ID:  <5314E86E.3010006@egr.msu.edu>
In-Reply-To: <CAHcXP%2BebPrgAjDrq=t-9P-nfHR5G0F_GwBTaYRpr=SBNnZTp3w@mail.gmail.com>
References:  <CAHcXP%2BebPrgAjDrq=t-9P-nfHR5G0F_GwBTaYRpr=SBNnZTp3w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/03/2014 07:44, Big Lebowski wrote:
> Hi,
> 
> I am trying to build bunch on packages in Poudriere on 10-R for 10-R and
> 9.2-R. The packages are building fine, but for some reason at least one of
> them builds with two different perl versions, 5.16 and 5.18. I would like
> to get all my packages built with 5.18, so in my make.conf for Poudriere
> jails I've the following:
> 
> WITH_PKGNG=yes
> WITHOUT_X11=yes
> WITHOUT_X=yes
> PERL5_DEFAULT=5.18
> PERL_PORT=perl5.18
> DEFAULT_VERSIONS= perl5=5.18
> 
> However, when trying to install it, I am getting the following result:
> 
> root@machine:~ # pkg install nrpe
> Updating repository catalogue
> The following 4 packages will be installed:
> 
>         Installing perl5: 5.16.3_7 [FreeBSD]
>         Installing perl5.18: 5.18.2_1 [FreeBSD]
>         Installing nagios-plugins: 1.5_1,1 [localrepo]
>         Installing nrpe: 2.15 [localrepo]
> 
> The installation will require 97 MB more space
> 
> and then the installation of course fails due to the perl dependency
> config. Has anyone a clue how to untangle that Poudriere/Perl mess?
> 
> Also, any advices on the make.conf settings to absolutely avoid anything
> related to x11/examples/docs?
> 
> Thanks in advance!

You can run poudriere bulk -vv and it will show the dependency tree.
However since there are only two packages listed above that aren't perl,
I would inspect each port manually to see if you can find out why it is
trying to pull in a non-default version.  You could even try installing
just nagios-plugins and see which perl it tries to pull in.

I only use:
DEFAULT_VERSIONS=       perl5=5.16
in my poudriere make.conf and everything uses 5.16, including nrpe and
nagios-plugins.

For the x11/examples/docs I am guessing something like:
OPTIONS_UNSET+=DOCS EXAMPLES X11
however many things like to pull in X11 anyway and it will probably take
a lot of work.



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