[ruby-trunk - Bug #7344][Open] gem pristine bigdecimal が失敗してしまう

Issue #7344 has been updated by kou (Kouhei S.).

Thanks.

It seems that the following commands show a difference:

% touch a
% install a ./
% echo $?

“$?” is 1 on my Debian GNU/Linux. “$?” will be 0 with Mac OS X’s native
install.

Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Feedback
Priority: Normal
Assignee: drbrain (Eric H.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。

Issue #7344 has been updated by kou (Kouhei S.).

Assignee changed from drbrain (Eric H.) to mrkn (Kenta M.)


Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta M.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。

Issue #7344 has been updated by hsbt (Hiroshi SHIBATA).

mrkn へ(担当者の変更ができない…)

RC1 も出てしまいましたし、以下の変更を trunk に入れて、bigdecimal のバージョンナンバーを更新したのち、gem push
をしてもらえないでしょうか。

現状だと、GNU coreutils の環境、だいたいの Linux で gem install bigdecimal
を実行すると失敗します。1.9 でも pristine
コマンドで失敗します。標準添付ライブラリがインストールできないというのは格好悪いのでこれだけでも修正できないでしょうか。

Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Feedback
Priority: Normal
Assignee: drbrain (Eric H.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。

Issue #7344 has been updated by hsbt (Hiroshi SHIBATA).

io-console も同じなのにエラーが出ないのは何故と調べてみると、io-console は LOAD_PATH の下でビルドした後に、io
というディレクトリを作成して、io/console.so と移動しているため、gnu install でエラーがでないようでした。

Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta M.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。

Issue #7344 has been updated by mrkn (Kenta M.).

hsbt (Hiroshi SHIBATA) wrote:

RC1 も出てしまいましたし、以下の変更を trunk に入れて、bigdecimal のバージョンナンバーを更新したのち、gem push
をしてもらえないでしょうか。

bigdecimal の修正については了解しました。やります。

io-console も bigdecimal と同じ gemspec の構成になっていますが、こっちは修正しなくても良いのですか?


Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta M.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。

$B:XF#$H?=$7$^$9!#2#$+$i<:Ni$7$^$9!#(B

gem install
bigdecimal$B$,<:GT$9$kLdBj$O!“(BBigDecimal$B$N(Bgem$B$K8B$i$:!“8=>u$NB>$N(B
gem$B$K$bGH5Z$9$kLdBj$G$”$k!”$H$$$&;v$rCN$C$F$$$?$@$-$?$$$G$9!#(B

$B$?$H$($P@[:n%i%$%V%i%j$N(Bgem$B$O!“(B1.9.3$B$G$O2?$NLdBj$b$J$/(Bgem
install$B$G$-$^$9$,!”(B
$B:G?7$N(B2.0.0$B$KF1:-$5$l$F$$$k(Bgem$B$G;n$7$?$H$3$m!“0J2<$N$h$&$K!”(Bbigdecimal$B$N(B
$B%1!<%9$K9s;w$7$?%(%i!<%a%C%;!<%8$H6&$K!"(Binstall$B$,<:GT$7$^$9!#(B

$ ruby-2.0.0 -v
ruby 2.0.0dev (2013-01-14 trunk 38812) [x86_64-linux]

$ gem-2.0.0 -v
2.0.0.preview3.1

$ gem-2.0.0 install decimal # gem$B$NL>A0$,;w$F$$$k$N$O$?$^$?$^$G$9(B :wink:
Building native extensions. This could take a while…
ERROR: Error installing decimal:
ERROR: Failed to build gem native extension.

/home/tadashi/rubies/2.0.0/bin/ruby-2.0.0 extconf.rb

checking for RUBY_VERSION in version.h… no
checking for rb_big_div()… yes
checking for rb_big_modulo()… yes
checking for rb_bigzero_p()… yes
checking for rb_usascii_str_new()… yes
creating Makefile

make
compiling decimal.c
decimal.c: In function $B!F(Bdivmod$B!G(B:
decimal.c:1030:8: warning: unused variable $B!F(Bdiv_inum$B!G(B
[-Wunused-variable]
decimal.c: In function $B!F(Bdo_round$B!G(B:
decimal.c:855:47: warning: $B!F(Binum$B!G(B may be used uninitialized in
this
function [-Wmaybe-uninitialized]
linking shared-object decimal.so

make install
/usr/bin/install -c -m 0755 decimal.so
/home/tadashi/rubies/2.0.0/lib/ruby/gems/2.0.0/gems/decimal-0.1.0/lib
installing default decimal libraries
/usr/bin/install: ./lib/decimal.rb' and /home/tadashi/rubies/2.0.0/lib/ruby/gems/2.0.0/gems/decimal-0.1.0/lib/decimal.rb’
are the same file
make: ***
[/home/tadashi/rubies/2.0.0/lib/ruby/gems/2.0.0/gems/decimal-0.1.0/lib/decimal.rb]
Error 1

Gem files will remain installed in
/home/tadashi/rubies/2.0.0/lib/ruby/gems/2.0.0/gems/decimal-0.1.0 for
inspection.
Results logged to
/home/tadashi/rubies/2.0.0/lib/ruby/gems/2.0.0/gems/decimal-0.1.0/./gem_make.out

$B%m%0$+$i$O!“(Bmake$B$K$h$k%S%k%I$O(B(warning$B$,=P$k$b$N$N(B)[email protected]$7$F$$$^$9$,!”(Bmake
install$B$G(B
$B<:GT$7$F$$$k$N$,$*J,$+$j$$$?$@$1$k$H;W$$$^$9!#(B

$B$3$l$O$?$7$+$K(Bgem$B:n<T$,%G%#%l%/%H%j9=@.$rJQ$($l$P2sHr$G$-$^$9$,!“5U$K?=$7(B
$B>e$2$k$H!“8=:_(Binstall$B$G$-$k(Bgem$B$G$b9=@.$rJQ$($J$$8B$j!”(B2.0.0$B$K$J$C$?ESC<$K(B(API$B!&(B
$B%3!<%I$K8_49@-$O$”$C$F$b(B)install$B$G$-$J$/$J$k2DG=@-$,$"$k$H$$$&$3$H$K$J$j$^$9!#(B
$B$3$l$,%P%0$+$I$&$+<+J,$K$O$O$C$-$j$7$^$;$s$,!“Bg$-$JHs8_49$G$”$k$N$OL@$i$+(B
$B$G$O$J$$$G$7$g$&$+!#(B

$B$3$N$h$&$K%$%s%9%H!<%k$K<:GT$9$k(Bgem$B$,$$$/$D$“$k$N$+$b!”<B:]$K%$%s%9%H!<%k(B
$B$9$k$+!“9=@.$r%A%'%C%/$7$F$_$J$1$l$PJ,$+$j$^$;$s!#(B2.0$B%j%j!<%98e$K0$I!6+4-$9$k(B
$BFCDj$N(Bgem$BMxMQ<T$,=P$k$N$O4V0c$$$J$$$G$7$g$&!#$^$?$3$N%G%#%l%/%H%j$N;EMMJQ99$K(B
$B$h$C$F!”$I$s$J%a%j%C%H$,$"$k$N$+$b<+J,$OJ,$+$j$^$;$s$G$7$?!#(B

$B$H$$$&$o$1$G$$$A(Bgem$B:n<T$N$*4j$$$H$7$F!"(B

2.0.0$B$N%j%j!<%9$+!“$;$a$FD>8e$N%Q%C%A%j%j!<%9$^$G$K$O!”>e5-$N?6$kIq$$$r85$K(B
$BLa$7$F%$%s%9%H!<%k$G$-$k$h$&$K$7$F$[$7$$(B
2.
$BLa$;$J$$$N$G$"$l$P!“8=9T$NA4(Bgem$B$K$D$$$F5!3#E*$K(B2.0.0ready$B$G$”$k$+%A%'%C%/$7(B
gem$B:n<T$KDLCN$7$F$[$7$$(B
($B$H$$$&$N$O(Brubygems.org$B$N;E;v$K$J$j$=$&$G$9$M(B)

$B$H$$$&$b$N$rMWK>$5$;$F$$$?$@$-$?$$$G$9!#!J$?$@(B2$B$O!"$+$J$j%3%9%H$,9b$/46$8$^$9!K(B

$B$=$NB>$K$b!"(B

gem$B:n<T$K!“%$%s%9%H!<%kITG=$K$J$kHs8_49$,H/@8$9$k;]$r%”%J%&%s%9$9$k(B

$B$H$$$&A*Br;h$b$“$k$+$b$7$l$^$;$s$,!”:#$^$G$O%“%J%&%s%9$r8+$?$3$H$,$J$$$G$9$7!”(B
$B$3$N;~4|$+$i?7$7$/=P$9$N$G$O!"$9$G$KCY$9$.$k$N$G$O$J$$$+$H$$$&5$$,$7$F$$$^$9!#(B

$B$48!F$$r$h$m$7$/$*4j$$$$$?$7$^$9!#(B

2013/1/14 hsbt (Hiroshi SHIBATA) [email protected]:

Issue #7344 has been updated by hsbt (Hiroshi SHIBATA).

tad さんのご報告にある 1.9 でインストール出来ていた gem が 2.0 ではインストールできない
という問題は bigdecimal に限らないと思いますので、改めて issue を立てて報告した方が良いと思います。

Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta M.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。

sora_h $B$G$9!#(B

2013/1/15 Tadashi S. [email protected]:

2.0.0$B$N%j%j!<%9$+!“$;$a$FD>8e$N%Q%C%A%j%j!<%9$^$G$K$O!”>e5-$N?6$kIq$$$r85$K(B

$BLa$7$F%$%s%9%H!<%k$G$-$k$h$&$K$7$F$[$7$$(B
2.
$BLa$;$J$$$N$G$"$l$P!“8=9T$NA4(Bgem$B$K$D$$$F5!3#E*$K(B2.0.0ready$B$G$”$k$+%A%'%C%/$7(B
gem$B:n<T$KDLCN$7$F$[$7$$(B
($B$H$$$&$N$O(Brubygems.org$B$N;E;v$K$J$j$=$&$G$9$M(B)

$B$H$$$&$b$N$rMWK>$5$;$F$$$?$@$-$?$$$G$9!#!J$?$@(B2$B$O!"$+$J$j%3%9%H$,9b$/46$8$^$9!K(B

$B$3$NOCBj$O(B ruby-core $B$NJ}$,NI$5$=$&$@$H;W$$$^$7$?!#(B
$BJL%A%1%C%H$H$7$F(B ruby-core $B$K1Q8l$GEj$2$k;v$O2DG=$G$7$g$&$+(B?

Issue #7344 has been updated by mrkn (Kenta M.).

続きは #7698 で。

Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta M.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。

Issue #7344 has been updated by tad (Tadashi S.).

sorahさん、mrknさん、hsbtさん、アドバイスありがとうございます。
(特にチケットの完璧な英訳、ありがとうございました!)

#7698 で須藤さんがそれらしいパッチを投げてくださっているので、
期待したり動作テストしたりしながら待とうと思います。

Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta M.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。

Issue #7344 has been updated by kou (Kouhei S.).

Status changed from Feedback to Closed
% Done changed from 0 to 100

#7698 を閉じたのでこっちも閉じますね。

Bug #7344: gem pristine bigdecimal が失敗してしまう

Author: hsbt (Hiroshi SHIBATA)
Status: Closed
Priority: Normal
Assignee: mrkn (Kenta M.)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-13) [x86_64-darwin12.2.1]

gem pristine bigdecimal を実行すると以下のエラーが発生して落ちてしまいます。

% gem pristine bigdecimal
Restoring gems to pristine condition…
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/Users/hsbt/.rbenv/versions/2.0.0-dev/bin/ruby extconf.rb
checking for labs() in stdlib.h… yes
checking for llabs() in stdlib.h… yes
creating Makefile

make
compiling bigdecimal.c
linking shared-object bigdecimal.bundle

make install
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install -c -m 0755
bigdecimal.bundle
/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/.
/usr/local/Cellar/coreutils/8.19/libexec/gnubin/install:
‘bigdecimal.bundle’ and
‘/Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/bigdecimal-1.1.0/./bigdecimal.bundle’
are the same file
make: *** [install-so] Error 1

単独で実行している時は影響がないのですが、 OS アップデート時などに gem pristine --all を実行した時は b
で必ず止まってしまうので困っています。