From owner-freebsd-ports@freebsd.org Wed Oct 4 20:30:59 2017 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 61082E41D86 for ; Wed, 4 Oct 2017 20:30:59 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E5FCB70502 for ; Wed, 4 Oct 2017 20:30:58 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from ultrabook.yoonka.com (x527162a6.dyn.telefonica.de [82.113.98.166]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id v94KUtNq036056 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 4 Oct 2017 20:30:56 GMT (envelope-from list1@gjunka.com) X-Authentication-Warning: msa1.earth.yoonka.com: Host x527162a6.dyn.telefonica.de [82.113.98.166] claimed to be ultrabook.yoonka.com Subject: Re: portmaster, portupgrade, etc To: freebsd-ports@freebsd.org References: <20171004161649.GA51883@mail.michaelwlucas.com> <20171004171518.GA22519@troutmask.apl.washington.edu> <20171004181413.GA51148@troutmask.apl.washington.edu> <81df6e05-136a-0037-9dba-a7499b7820da@m5p.com> <20171004194025.GA10412@troutmask.apl.washington.edu> From: Grzegorz Junka Message-ID: Date: Wed, 4 Oct 2017 20:30:49 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171004194025.GA10412@troutmask.apl.washington.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB-large X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 20:30:59 -0000 On 04/10/2017 19:40, Steve Kargl wrote: > On Wed, Oct 04, 2017 at 02:57:08PM -0400, George Mitchell wrote: >> On 10/04/17 14:14, Steve Kargl wrote: >>> On Wed, Oct 04, 2017 at 10:21:26AM -0700, Freddie Cash wrote: >>>> On Wed, Oct 4, 2017 at 10:15 AM, Steve Kargl < >>>> sgk@troutmask.apl.washington.edu> wrote: >>>> >>>>> On Wed, Oct 04, 2017 at 12:16:49PM -0400, Michael W. Lucas wrote: >>>>>> Poudriere really needs its own small book. Yes, you can do simple >>>>>> poudriere installs, but once you start covering it properly the docs >>>>>> quickly expand. My notes alone are longer than my af3e chapter >>>>>> limits. (I'll probably publish "FreeBSD Packaging Misery^WMastery" in >>>>>> 2018). >>>>> Please include a discussion on how to use poudriere on >>>>> a system with limited resouces [...] >>>> ​Pretty sure the standard response will be along the lines of:​ [...] >>> Some users cannot afford a 16-core, 32 GB ram, 2TB diskspace box >>> to simply build ports with custom options. [...] >> While I agree with you, allow me to insert a gentle reminder that the >> OP was asking only about whether to include portmaster in his book. >> I suggest that he should. -- George > Ahem, yeah, so I'm not allowed to request a short description > on how to use poudiere in a resource constrained environment? > The environment isn't constrained by poudriere but by the ports you want to compile. When compiling libreoffice or chromium or firefox I don't think there is anything else that can be done than setting poudriere to run no more than 1 job at a time. Poudriere itself doesn't take any additional resources, it's just a dedicated jail and a bunch of scripts. I would rather say that the amount of resources poudriere takes to compile stuff is normal, the baseline. Portmaster or portupgrade make a compromise - unstable compilation environment for some additional memory to compile especially resource hungry ports. What I am trying to say is that there isn't probably much to discuss. However, explaining the difference between portmaster/portupgrade and poudriere and how to plan computer resources for compiling various sizes of ports may be more useful? GrzegorzJ