Bug #6904

make -j all fails (sometimes)

Added by Shyouhei Urabe over 1 year ago. Updated over 1 year ago.

[ruby-dev:46067]
Status:Closed
Priority:Low
Assignee:Nobuyoshi Nakada
Category:build
Target version:2.0.0
ruby -v:bbb6b5e84e53b17c5c08072cae05aed6de6e3abe Backport:

Description

make -jは現在まともに動いていません。

http://travis-ci.org/#!/ruby/ruby/jobs/2194633

cp: cp: cp: cannot create regular file ../../.ext/common/openssl'cannot create regular file../../.ext/common/openssl': File exists: File existscannot create regular file `../../.ext/common/openssl': File existscp:

想像ですがGNU Makeが再帰的に動く場合の-jの挙動が理解されていないのではないかと思います(gmakeではサブディレクトリも並列で動く)。


Related issues

Related to ruby-trunk - Bug #7265: r37414 breaks building with BSD make and nmake. Closed 11/02/2012
Related to ruby-trunk - Bug #7260: make realclean でError Closed 11/02/2012
Related to ruby-trunk - Bug #7698: RubyGems 2.0 has an incompatibility about installation of... Closed 01/15/2013
Duplicated by Backport93 - Backport #7217: Race condition in build process? Closed 10/26/2012

Associated revisions

Revision 36815
Added by Nobuyoshi Nakada over 1 year ago

mkmf.rb: timestamp for directories

  • lib/mkmf.rb (create_makefile): use timestamp for destination directories. [Bug #6904]

Revision 36816
Added by Nobuyoshi Nakada over 1 year ago

ChangeLog: add description [Bug #6904]

Revision 36818
Added by Nobuyoshi Nakada over 1 year ago

mkmf.rb: fix r36815

  • lib/mkmf.rb (create_makefile): remove unnecessary rule and newline. [Bug #6904]

History

#1 Updated by Nobuyoshi Nakada over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r36815.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


mkmf.rb: timestamp for directories

  • lib/mkmf.rb (create_makefile): use timestamp for destination directories. [Bug #6904]

Also available in: Atom PDF