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.

Signed-off-by: Roland Hieber <[email protected]>
---
 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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to