Project

General

Profile

Bug #7265

r37414 breaks building with BSD make and nmake.

Added by usa (Usaku NAKAMURA) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
r37414
[ruby-dev:46358]

Description

IRCでなかださんにも伝えましたけど、直さないで寝たっぽいので

チケット化しておきます。

表題の通りですが、例えばBSD makeで普通にビルドしようとすると
...
compiling bigdecimal.c
linking shared-object bigdecimal.so
make: don't know how to make ./.@RUBYLIBDIR@!bigdecimal.time. Stop

make: stopped in /home/usa/tmp/trunk/ext/bigdecimal
*** Error code 2
...
といった感じでエラーが出てビルドできません。
nmakeでも同じところでエラーが出ます。

要するに ! が悪いので - あたりに変えれば通りますが、そもそも、
この生成されている文字列を見て何がしたいのか理解できる人が
なかださん以外に存在するとも思えないので、r36815 のあたりから
ちょっと考え直していただきたく思います。


Related issues

Related to Ruby trunk - Bug #6904: make -j all fails (sometimes)Closed08/22/2012

Associated revisions

Revision e627955d
Added by nobu (Nobuyoshi Nakada) about 6 years ago

mkmf.rb: timestamp_file

  • lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 37426
Added by nobu (Nobuyoshi Nakada) about 6 years ago

mkmf.rb: timestamp_file

  • lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265]

Revision 37426
Added by nobu (Nobuyoshi Nakada) about 6 years ago

mkmf.rb: timestamp_file

  • lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265]

Revision 37426
Added by nobu (Nobuyoshi Nakada) about 6 years ago

mkmf.rb: timestamp_file

  • lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265]

Revision 37426
Added by nobu (Nobuyoshi Nakada) about 6 years ago

mkmf.rb: timestamp_file

  • lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265]

Revision 37426
Added by nobu (Nobuyoshi Nakada) about 6 years ago

mkmf.rb: timestamp_file

  • lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265]

Revision 58396030
Added by usa (Usaku NAKAMURA) about 6 years ago

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.
   [Bug #6904]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

#1 Updated by nobu (Nobuyoshi Nakada) about 6 years ago

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

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


mkmf.rb: timestamp_file

  • lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265]

Also available in: Atom PDF