From owner-freebsd-ports@freebsd.org Wed Nov 14 18:58:06 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D737C11318F9 for ; Wed, 14 Nov 2018 18:58:05 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from cerebro.liukuma.net (cerebro.liukuma.net [IPv6:2a00:dd80:20::47f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3A3F853DE for ; Wed, 14 Nov 2018 18:58:04 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from cerebro.liukuma.net (localhost [127.0.0.1]) by cerebro.liukuma.net (Postfix) with ESMTP id CA1931029FEA for ; Wed, 14 Nov 2018 20:57:58 +0200 (EET) X-Virus-Scanned: amavisd-new at liukuma.net Received: from cerebro.liukuma.net ([127.0.0.1]) by cerebro.liukuma.net (cerebro.liukuma.net [127.0.0.1]) (amavisd-new, port 10027) with LMTP id V8P-F4JCnZNh for ; Wed, 14 Nov 2018 20:57:58 +0200 (EET) Received: from RIVENDELL (dsl-olubng11-54f81b-200.dhcp.inet.fi [84.248.27.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ignatz@cerebro.liukuma.net) by cerebro.liukuma.net (Postfix) with ESMTPSA id 066111029FCA for ; Wed, 14 Nov 2018 20:57:57 +0200 (EET) DKIM-Filter: OpenDKIM Filter v2.10.3 cerebro.liukuma.net 066111029FCA Message-ID: <6A6585E03E754B0B860F64D2A5AA160E@RIVENDELL> From: "Reko Turja" To: References: <7B44FD5ED75B4BCB8E53B611BE045D11@RIVENDELL> <20181114175544.GA3692@wstan> In-Reply-To: <20181114175544.GA3692@wstan> Subject: Re: Poudriere building far more ports than it should Date: Wed, 14 Nov 2018 20:57:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 X-Rspamd-Queue-Id: D3A3F853DE X-Spamd-Result: default: False [-4.69 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[liukuma.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:dd80:20::47f/128]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-1.31)[ip: (-1.70), ipnet: 2a00:dd80:20::/48(-0.85), asn: 36236(-3.91), country: US(-0.10)]; MX_GOOD(-0.01)[cached: cerebro.liukuma.net]; DKIM_TRACE(0.00)[liukuma.net:+]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.87)[-0.872,0]; DMARC_POLICY_ALLOW(-0.50)[liukuma.net,quarantine]; RECEIVED_SPAMHAUS_PBL(0.00)[200.27.248.84.zen.spamhaus.org : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:36236, ipnet:2a00:dd80:20::/48, country:US]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 18:58:06 -0000 Hello! -----Original Message----- From: Dmytro Bilokha On Wed, Nov 14, 2018 at 03:33:38AM +0200, reko.turja--- via freebsd-ports wrote: >> I finally took the hurdle and made a poudriere VM for building my ports >> instead of building them on target system. At first I did however build >> every single port I will need on the VM resulting on 240 or so ports. >> >> Then I copied over my options, and the list of installed ports etc. and >> started the build. For some reason poudriere wants to build a ton of >> extra >> baggage (360+ ports instead of 240.) >Hello, Reko! >Poudriere builds different kinds of ports: > 1. Ports from your list. > 2. Run-time dependencies of ports from your list. 3. Build-time > dependecies of ports from your list. < 4. Run-time and build-time dependencies of your ports dependencies, as well That all I know - Ive been using ports and only ports since early 2000's. So the problem is that I made a dry run from ports, linking only to stuff that I wanted on the final package receiver. Then I copied the list of ports over to poudriere using portversion -oQ. When I started the run, there was suddenly every single dependency I previously dropped brought in. (I know about automake, autoconf and similar build dependencies.) I guess one option would be blacklisting in poudriere those unneeded dependencies which shouldn't be linked with my packages, if my options are honoured by poudriere. -Reko