From owner-freebsd-ports@FreeBSD.ORG Mon Mar 3 20:47:23 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51B3326C for ; Mon, 3 Mar 2014 20:47:23 +0000 (UTC) Received: from mail.egr.msu.edu (gribble.egr.msu.edu [35.9.37.169]) by mx1.freebsd.org (Postfix) with ESMTP id 27127B7D for ; Mon, 3 Mar 2014 20:47:22 +0000 (UTC) Received: from gribble (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id 27CD92BD92 for ; Mon, 3 Mar 2014 15:39:11 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by gribble (gribble.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LlTMtU_kRnD5 for ; Mon, 3 Mar 2014 15:39:11 -0500 (EST) Received: from EGR authenticated sender Message-ID: <5314E86E.3010006@egr.msu.edu> Date: Mon, 03 Mar 2014 15:39:10 -0500 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Issues with Poudriere builing packages depending on Perl References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 20:47:23 -0000 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.