Backport #7217
closedRace condition in build process?
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
Updated by mame (Yusuke Endoh) about 12 years ago
- Status changed from Open to Assigned
- Assignee set to tenderlovemaking (Aaron Patterson)
Aaron, are you one of bcrypt-ruby developers?
Do you know anything about this issue?
Looks related to: https://github.com/codahale/bcrypt-ruby/issues/46
--
Yusuke Endoh mame@tsg.ne.jp
Updated by mame (Yusuke Endoh) about 12 years ago
- Status changed from Assigned to Open
- Assignee deleted (
tenderlovemaking (Aaron Patterson))
Oops, wrong ticket. Sorry.
Updated by mame (Yusuke Endoh) about 12 years ago
- Tracker changed from Bug to Backport
- Project changed from Ruby master to Backport193
- Status changed from Open to Assigned
- Assignee set to usa (Usaku NAKAMURA)
Nobu said this is already fixed at r36815, r37414, r37426, and r37427.
Usa-san, please review them and backport to 1.9.3 if needed.
--
Yusuke Endoh mame@tsg.ne.jp
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
Associated revisions are r36815, r36816, r36818, r37414, r37426, r37427.
Updated by usa (Usaku NAKAMURA) about 12 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r37553.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merge revision(s) 36815,36816,36818,37414,37426,37427: [Backport #7217]
Thu Nov 8 14:16:53 2012 Nobuyoshi Nakada nobu@ruby-lang.org
* lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a
special character of NMAKE and BSD make. [Bug #7265]
Thu Nov 8 14:16:53 2012 Nobuyoshi Nakada nobu@ruby-lang.org
* lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU
make special character.
Thu Nov 8 14:16:53 2012 Nobuyoshi Nakada nobu@ruby-lang.org
* lib/mkmf.rb (create_makefile): use timestamp for destination
directories to make them before making or copying files there.
[ruby-dev:46067] [Bug #6904]