Project

General

Profile

This project is closed and read-only.

Actions

Backport #7217

closed

Race condition in build process?

Backport #7217: Race condition in build process?

Added by vo.x (Vit Ondruch) almost 14 years ago. Updated almost 14 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 - Bug #6904: make -j all fails (sometimes)Closednobu (Nobuyoshi Nakada)Actions
Actions

Also available in: PDF Atom