Project

General

Profile

Actions

Backport #7217

closed

Race condition in build process?

Added by vo.x (Vit Ondruch) about 12 years ago. Updated about 12 years ago.

Status:
Closed
[ruby-core:48301]

Description

=begin
Hi, I observer random build failures when building 'make -j16'. I am not sure if it might be either PowerPC issue or race condition in build process.

This is error I observe:

cp: cannot create regular file '../../.ext/common/date': File exists
gcc -shared -o ../../../.ext/powerpc-linux/-test-/string/string.so enc_associate.o modify.o init.o cstr.o set_len.o ellipsize.o -L. -L../../.. -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -m32 -lruby -lpthread -lrt -ldl -lcrypt -lm -lc
make[2]: Entering directory /builddir/build/BUILD/ruby-1.9.3-p286/ext/etc' make[2]: Entering directory /builddir/build/BUILD/ruby-1.9.3-p286/ext/fcntl'
make[2]: *** [../../.ext/common/date/format.rb] Error 1
make[2]: *** Waiting for unfinished jobs....

And here https://gist.github.com/3957425 is full build log.

Thank you

=end


Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #6904: make -j all fails (sometimes)Closednobu (Nobuyoshi Nakada)08/22/2012Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0