Project

General

Profile

Actions

Bug #13424

closed

Solaris10上で make update-rubyspec が bad substitution で失敗

Added by ngoto (Naohisa Goto) almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-dev:50069]

Description

おそらく r58217 以降、Solaris 10 上にて、 make update-rubyspec が以下のように失敗します。

$ make update-rubyspec V=1
./tool/git-refresh -C ./spec  \
        git://github.com/ruby/mspec.git mspec 
./tool/git-refresh: bad substitution
make: *** [update-mspec] Error 1

"${dir#*/}" がSolarisの/bin/shでは事実上使いものにならないのが原因のようです。

$ dir=/this/is/example
$ echo ${dir#*/}
bad substitution

Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #13433: Solaris10上で make update-rubyspec が失敗ClosedActions
Related to Ruby master - Bug #13522: Solaris10上で make update-rubyspec が bad substitution で失敗ClosedActions
Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 7 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r58325.


git-refresh: for old sh

Updated by ngoto (Naohisa Goto) almost 7 years ago

  • Status changed from Closed to Open

r58327 で確認しましたが失敗したので再オープンします。

$ make update-rubyspec V=1                                    
./tool/git-refresh -C ./spec  \                                                 
        git://github.com/ruby/mspec.git mspec                                   
make: *** [update-mspec] Error 1                                                

以下のように expr が exit code 1 を返しており、set -e しているため即座に終了となっているように見えます。

$ dir=mspec; expr "$dir" : '*/\(.*\)'; echo $?

1

なお、上記は SolarisでもLinuxでも1を返します。

Actions #3

Updated by nobu (Nobuyoshi Nakada) almost 7 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r58335.


git-refresh: fix expr

Actions #4

Updated by ngoto (Naohisa Goto) almost 7 years ago

  • Related to Bug #13433: Solaris10上で make update-rubyspec が失敗 added
Actions #5

Updated by ngoto (Naohisa Goto) almost 7 years ago

  • Related to Bug #13522: Solaris10上で make update-rubyspec が bad substitution で失敗 added
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0