From owner-freebsd-ports@freebsd.org Thu Oct 29 16:03:27 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 75125A21677 for ; Thu, 29 Oct 2015 16:03:27 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6133D1088; Thu, 29 Oct 2015 16:03:27 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 5A7B6123A; Thu, 29 Oct 2015 16:03:27 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 091281739A; Thu, 29 Oct 2015 16:03:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id a1rXFX8mrZGs; Thu, 29 Oct 2015 16:03:20 +0000 (UTC) Subject: Re: FreeBSD Port: ports-mgmt/poudriere - unneeded dependencies for options command DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 0B84517394 To: Miroslav Lachman <000.fbsd@quip.cz> References: <56321ECD.2020303@quip.cz> <56323AC7.8010301@FreeBSD.org> <56324230.1060901@quip.cz> Cc: "freebsd-ports@FreeBSD.org" From: Bryan Drewery Organization: FreeBSD Message-ID: <56324348.1000109@FreeBSD.org> Date: Thu, 29 Oct 2015 09:03:20 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56324230.1060901@quip.cz> Content-Type: text/plain; charset=utf-8 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, 29 Oct 2015 16:03:27 -0000 On 10/29/15 8:58 AM, Miroslav Lachman wrote: > Bryan Drewery wrote on 10/29/2015 16:27: >> On 10/29/15 6:27 AM, Miroslav Lachman wrote: >>> I usually use poudriere for larger set of packages (about 500) so this >>> problem was hidden to me but now I needed just minimal set with 2 >>> packages. >>> `poudriere options` gives me 26 options dialogs for things which are not >>> dependencies and for wrong versions. >>> It gives me options for Git, bzr and more strange - for perl5-5.16 even >>> if I have perl5=5.20 set as default version in make.conf >> >> It's likely due to things like perl.conf and php.conf leaking in from >> the host. The options command isn't jailed so it sees these things. It's >> a known issue at least. > > OK, this can explain perl5-5.16 issue, because I have this in host's > make.conf > > DEFAULT_VERSIONS= perl=5.16 mysql=5.5m php=55 python=2.7 apache=2.4 > > ## https://wiki.freebsd.org/Ports/Options/OptionsNG > ## OptionsNG sets DOCS, EXAMPLES and NLS as default - we do not need them > OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS > > But what about other silly dependecies like Git, Bzr, Subversion - it > seems unrelated to me. > I've only just realized this but it is probably due to '.if exists()' checks in Ports. There's so much logic in /usr/ports/Mk that I am not sure what other 'perl.conf'-like things there are besides the php one. There may be others as well. As for the perl one, I thought a hack went into Poudriere or ports to avoid it. > If it is known unfixable problem, shouldn't it be documentet i manpage > BUGS section? We have a lot of known bugs. I think we just need to fix the 'options' subcommand to do the right thing though. It's been a constant surprise for people, myself included. I'm tagging it for the next release. > > > Anyway thanks for your work on this great tool. > Sure. We have a big update that has been waiting for a while that I've been slacking on getting out. I've been trying to balance my time with other projects. -- Regards, Bryan Drewery