Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

MKUPDATE=yes release failures with multiple jobs in parallel


Since quite some time now, i'm seeing MKUPDATE=yes build failures when
multiples jops are run in parallel with -j option. On my -current
amd64 machine, with 2 CPUs, i never see a successful release build for
`./build -u -j 4' command.

In the mean time, there seems to be no problem for MKUPDATE=no builds.

Not sure where it comes from, but it looks like library installation
triggers a rebuild of the same library in parallel.

By example (i do see it with other random libraries as well) :

--- install-libukfs ---
install ===> compat/amd64/i386/../../../lib/libukfs
--- /local/src/NetBSD/dest/amd64/usr/lib/i386/ ---
--- ---
--- /local/src/NetBSD/dest/amd64/usr/lib/i386/ ---
#   install  /local/src/NetBSD/dest/amd64/usr/lib/i386/
/local/src/NetBSD/tool/bin/x86_64--netbsd-install -U -M 
/local/src/NetBSD/dest/amd64/METALOG -D /local/src/NetBSD/dest/amd64 -h sha256 
-N /local/src/NetBSD/src/etc -c -p -r -o root -g wheel -m 444 
--- ---
#     build  libukfs/
rm -f
/local/src/NetBSD/tool/bin/x86_64--netbsd-gcc  -Wl,-nostdlib 
-B/local/src/NetBSD/dest/amd64/usr/lib/i386/  -Wl,-x -shared 
-Wl,-soname, -Wl,--warn-shared-textrel -o  
-Wl,--whole-archive libukfs_pic.a  -Wl,--no-whole-archive -m32 
 -lrumpvfs -m32    
  -R/usr/lib/i386  -L/local/src/NetBSD/dest/amd64/usr/lib/i386  -m32 
-Wl,--fatal-warnings -m32   -L/local/src/NetBSD/dest/amd64/usr/lib/i386
--- /local/src/NetBSD/dest/amd64/usr/lib/i386/ ---
x86_64--netbsd-install: stat: No such file or directory
*** [/local/src/NetBSD/dest/amd64/usr/lib/i386/] Error code 1

Any idea ?


Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.

Home | Main Index | Thread Index | Old Index