Date: Mon, 6 Jul 2015 22:42:43 +0200 From: Oliver Pinter <oliver.pinter@hardenedbsd.org> To: "Simon J. Gerraty" <sjg@juniper.net> Cc: FreeBSD-Current <freebsd-current@freebsd.org>, FreeBSD-Stable <freebsd-stable@freebsd.org> Subject: Re: Parallel release failed on pwd_mkdb Message-ID: <CAPQ4ffuoJfPV=vs0g_AbXzcTyJWFfaj5vudugjE667pV8mfpHg@mail.gmail.com> In-Reply-To: <29110.1436214362@chaos> References: <CAPQ4ffs%2BQXYdro8gP6S9V9ThMQG2htQXbAPBABwgHEa61R-HXw@mail.gmail.com> <29110.1436214362@chaos>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 6, 2015 at 10:26 PM, Simon J. Gerraty <sjg@juniper.net> wrote:
> Oliver Pinter <oliver.pinter@hardenedbsd.org> wrote:
>> We got this build failure, when two release make release running in parallel:
>
> Can you elaborate what you mean by "two release make release" ?
Two concurrent make release would be the previous statement.
> Do you mean two separate builds running in the same tree at the same
> time using the same DESTDIR?
We building from separated git repos. Every "target" has an it's own,
and we don't specify custom DESTDIR, just issue a simple make
real-release in the ${SRCTOP}/release directory.
>
>> >>> stage 4.4: building everything
>> --------------------------------------------------------------
>> pwd_mkdb: /var/tmp/temproot/etc/pwd.db.tmp to
>> /var/tmp/temproot/etc/pwd.db: No such file or directory
>> *** Error code 1
>
> The pwd_mkdb command in etc uses $DESTDIR/etc - it obviously assumes
> that is unique.
I tracked down the issue to the ${SRCTOP}/release/scripts/mm-mtree.sh
file, which called without release specific temproot argument.
https://reviews.freebsd.org/D3002
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPQ4ffuoJfPV=vs0g_AbXzcTyJWFfaj5vudugjE667pV8mfpHg>
