From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyyiz-0007GB-Hd for ptxdist@pengutronix.de; Fri, 24 Jul 2020 16:31:01 +0200 Received: from mol by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jyyiz-0004Qm-9X for ptxdist@pengutronix.de; Fri, 24 Jul 2020 16:31:01 +0200 Date: Fri, 24 Jul 2020 16:31:01 +0200 From: Michael Olbrich Message-ID: <20200724143101.GA30568@pengutronix.de> References: <20200724130238.6287-1-rhi@pengutronix.de> <20200724130238.6287-2-rhi@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200724130238.6287-2-rhi@pengutronix.de> Subject: Re: [ptxdist] [PATCH 2/2] nss: don't build in parallel List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Fri, Jul 24, 2020 at 03:02:38PM +0200, Roland Hieber wrote: > NSS has a custom-made build system, but on some systems, building in > parallel can lead to strange compile failures, like: > > ../../../coreconf/nsinstall/Linux5.1.21_arm_glibc_PTH_OPT.OBJ/nsinstall -R -m 444 nssckbi.h ../../../../dist/public/nss > symlink creation race: /srv/jenkins-data/.../platform-nnn/build-target/nss-3.54/dist/public/nss/nssckbi.h > nsinstall: symlink was attempted in working directory /srv/jenkins-data/.../platform-nnn/build-target/nss-3.54/nss/lib/ckfw/builtins from ../../../nss/lib/ckfw/builtins/nssckbi.h to /srv/jenkins-data/.../platform-nnn/build-target/nss-3.54/dist/public/nss/nssckbi.h. > : File exists > make[5]: *** [../../../coreconf/rules.mk:387: ../../../../dist/public/nss/nssckbi.h] Aborted (core dumped) > > Disable parallel building for now, which seems to solve the problem. Did you test this with the latest nss patches from master? I'm pretty sure I fixed this issue there. Michael > Signed-off-by: Roland Hieber > --- > rules/nss.make | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/rules/nss.make b/rules/nss.make > index 9364755f63c9..d3abe8a0b166 100644 > --- a/rules/nss.make > +++ b/rules/nss.make > @@ -44,6 +44,8 @@ ifeq ($(NSS_ARCH),i386) > NSS_ARCH := x86 > endif > > +NSS_MAKE_PAR := NO > + > NSS_MAKE_ENV := \ > $(CROSS_ENV) \ > CCC=$(CROSS_CXX) \ > -- > 2.27.0 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de