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


腱???????????医????с???篁ヤ????? patch ???????????ruby ??? top_srcdir ??? gem build ext/bigdecimal/bigdecimal.gemspec ???絎?茵?????????????????? gem ????????宴?若?吾??篏帥??篋???с??install/pristine/uninstall ??????????<???????????????腆肴????с????障????????

腱?????ャ?????????????????医???????????鴻??????????????????с??篁ヤ????????眼?у??????????????????????ャ?若?障????腆肴??????????????????????????с??????????????

diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec
index 362808c..f52ac22 100644
--- a/ext/bigdecimal/bigdecimal.gemspec
+++ b/ext/bigdecimal/bigdecimal.gemspec
@@ -10,21 +10,22 @@ Gem::Specification.new do |s|
   s.email = "mrkn / mrkn.jp"
   s.description = "This library provides arbitrary-precision decimal floating-point number class."
   s.authors = ["Kenta Murata", "Shigeo Kobayashi"]
-  s.require_path = %[.]
+  s.require_path = %[ext/bigdecimal/lib/]
   s.files = %w[
-    bigdecimal.gemspec
-    bigdecimal.c
-    bigdecimal.h
-    README
-    depend extconf.rb
-    lib/bigdecimal/jacobian.rb
-    lib/bigdecimal/ludcmp.rb
-    lib/bigdecimal/math.rb
-    lib/bigdecimal/newton.rb
-    lib/bigdecimal/util.rb
-    sample/linear.rb
-    sample/nlsolve.rb
-    sample/pi.rb
+    ext/bigdecimal/bigdecimal.gemspec
+    ext/bigdecimal/bigdecimal.c
+    ext/bigdecimal/bigdecimal.h
+    ext/bigdecimal/README
+    ext/bigdecimal/depend
+    ext/bigdecimal/extconf.rb
+    ext/bigdecimal/lib/bigdecimal/jacobian.rb
+    ext/bigdecimal/lib/bigdecimal/ludcmp.rb
+    ext/bigdecimal/lib/bigdecimal/math.rb
+    ext/bigdecimal/lib/bigdecimal/newton.rb
+    ext/bigdecimal/lib/bigdecimal/util.rb
+    ext/bigdecimal/sample/linear.rb
+    ext/bigdecimal/sample/nlsolve.rb
+    ext/bigdecimal/sample/pi.rb
   ]
-  s.extensions = %w[extconf.rb]
+  s.extensions = %w[ext/bigdecimal/extconf.rb]
 end
----------------------------------------
Bug #7344: gem pristine bigdecimal ???紊掩???????????障??
https://bugs.ruby-lang.org/issues/7344#change-34365

Author: hsbt (Hiroshi SHIBATA)
Status: Assigned
Priority: Normal
Assignee: mrkn (Kenta Murata)
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 ??у?????罩≪?障?c?????障?????у?違?c?????障?????


-- 
http://bugs.ruby-lang.org/