Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2022 08:37:25 +0200
From:      FreeBSD User <freebsd@walstatt-de.de>
To:        Felix Palmen <zirias@FreeBSD.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: non-parallel building of a specific port (or parts of it)
Message-ID:  <20220902083605.6fa64ef9@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <20220902055520.ezy5xezvhwcltvur@nexus.home.palmen-it.de>
References:  <20220902063806.1fb5e659@thor.intern.walstatt.dynvpn.de> <20220902055520.ezy5xezvhwcltvur@nexus.home.palmen-it.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Fri, 2 Sep 2022 07:55:20 +0200
Felix Palmen <zirias@FreeBSD.org> schrieb:

> * FreeBSD User <freebsd@walstatt-de.de> [20220902 06:37]:
> > For debugging purposes I already disabled parallel builds in our test
> > environment in make.conf or the appropriate counterpart located in
> > poudriere's LOCALBASE folder
> > (/usr/local/etc/poudriere.d/make.conf[.some_special_jail]), then
> > building the port works flawless. Enabling parallel builds the let
> > approx 8 out of 10 buildruns fail.  
> 
> Then you should probably file a PR on bugzilla regarding this port, it
> should set MAKE_JOBS_UNSAFE itself.
> 
> > I'd like do disable parallel builds preferrably only for the DOCS
> > part, but it would also be all right for the port itself (build time
> > is bearable), but I won't disable parallel builds in general,
> > especially not for poudriere.  
> 
> .if {.CURDIR:M*/category/port}
> MAKE_JOBS_UNSAFE=	yes
> .endif
> 

Thanks for the hint.
I did so while debugging the misbehaviour of the port.

Since the port uses gmake, I found that there is also an optional tag named 

.NOTPARALLEL:

which I have declared within the specific subtree of the port - and this leaves the rest being
built parallel and the documentation portion serialised. That works, too.

Tahnk you very much.

Kind regards,

Oliver

-- 
O. Hartmann



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