Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2021 09:31:26 +0200
From:      Michael Gmelin <freebsd@grem.de>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Michael Gmelin <freebsd@grem.de>, freebsd-ports@freebsd.org
Subject:   Re: Restarting poudriere
Message-ID:  <20210615093126.3480b304@bsd64.grem.de>
In-Reply-To: <20210615010233.GA89758@www.zefox.net>
References:  <20210614182956.GA88514@www.zefox.net> <44C5865F-394B-438C-B9A0-7FCF7E57FAA7@grem.de> <20210615010233.GA89758@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 14 Jun 2021 18:02:33 -0700
bob prohaska <fbsd@www.zefox.net> wrote:

> On Mon, Jun 14, 2021 at 09:52:22PM +0200, Michael Gmelin wrote:
> > 
> >   
> > > On 14. Jun 2021, at 20:30, bob prohaska <fbsd@www.zefox.net>
> > > wrote:
> > > 
> > > ???On Mon, Jun 14, 2021 at 06:46:52PM +0200, Michael Gmelin
> > > wrote:  
> > >> On Mon, 14 Jun 2021 09:28:39 -0700
> > >> What do you mean by "restarting"?
> > >> How do you invoke poudriere exactly?  
> > > As root,
> > > poudriere bulk -J 2 -j main x11-wm/lxqt www/chromium >
> > > testbuild.log  
> > 
> > Doesn???t ninja handle parallel builds on its own anyway? Does it
> > work okay if you comment out ALLOW_*_JOBS in poudriere.conf?  
> 
> The line ALLOW_MAKE_JOBS is already commented out in 
> /usr/local/etc/poudriere.conf  but it's active in
> /etc/make.conf
> 
> I remain a bit confused about how poudriere and make coordinate their
> parallel job spawning activity. In the latest case the -J 2 on the
> poudriere command line put two packages under construction, but the
> ALLOW_MAKE_JOBS line in /etc/make.conf didn't result in parallel
> threads building LLVM10. Clearly I don't understand the relationship
> between builders, jobs, threads and (much!) more. 

/etc/make.conf from the host system is not used by poudriere, as it aims
to provide clean-room builds and therefore doesn't use configurations
that also serve a purpose on the host system.

All configurations come from /usr/local/etc/poudriere.conf and
various files in /usr/local/etc/poudriere.d/. See also the
CUSTOMISATION section in poudriere(8) (reading that man pages is useful
in general).

So if you want to use this feature, you need to enable it in
poudriere.conf (but I would still recommend using
ALLOW_MAKE_JOBS_PACKAGES instead and also only if you don't use
multiple builders, given the limited resources of your machine).

> 
> Perhaps I've complicated matters by using testport on earlier,
> successful, tries. Is there a significant difference if one just
> wants to make  packages? I merely wanted to see how the
> attempt would fail and hoped for more diagnostics. But it worked.
> So, I tried bulk and that doesn't seem to work so well.

As someone pointed out earlier in this thread, looking at the
poudriere build log of a failed build (and maybe sharing it) could help
to find a solution.

Best
Michael

> 
> Thanks for reading!
> 
> bob prohaska
> 
> > 
> > Cheers 
> > Michael
> > 
> >   
> > > bob prohaska  
> > 
> >   



-- 
Michael Gmelin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210615093126.3480b304>