portmaster, portupgrade, etc

Grzegorz Junka list1 at gjunka.com
Wed Oct 4 20:30:59 UTC 2017

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 at 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?


More information about the freebsd-ports mailing list