From: "nagachika (Tomoyuki Chikanaga)" Date: 2013-11-11T23:29:59+09:00 Subject: [ruby-core:58280] [Backport 200 - Backport #9085] contents of io-console.gemspec not reproducible Issue #9085 has been updated by nagachika (Tomoyuki Chikanaga). On my environment, make install failed. ./miniruby -I../ruby_2_0_0/lib -I. -I.ext/common ../ruby_2_0_0/tool/rbinstall.rb --make="/Applications/Xcode.app/Contents/Developer/usr/bin/make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc" /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/time.rb:1:in `require': cannot load such file -- date (LoadError) from /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/time.rb:1:in `' from /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/tool/vcs.rb:3:in `require' from /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/tool/vcs.rb:3:in `' from ../ruby_2_0_0/tool/rbinstall.rb:25:in `require_relative' from ../ruby_2_0_0/tool/rbinstall.rb:25:in `
' make: *** [do-install-nodoc] Error 1 I've found that $: (LOAD_PATH) is replaced with [srcdir+"/lib", Dir.pwd] even though CROSS_COMPILING == nil. I doubt that the conditions of following lines are wrong. nobu, how about it? 13 unless defined?(CROSS_COMPILING) and CROSS_COMPILING 14 $:.replace([srcdir+"/lib", Dir.pwd]) 15 end ---------------------------------------- Backport #9085: contents of io-console.gemspec not reproducible https://bugs.ruby-lang.org/issues/9085#change-42868 Author: terceiro (Antonio Terceiro) Status: Assigned Priority: Normal Assignee: nagachika (Tomoyuki Chikanaga) Category: Target version: The contents of io-console.gemspec varies dependending on the date it was built. To be able to support multiarch on Debian, all architecture-independent files must have the same contents on all architectures, which mostly requires them to have a predictable contents regardless of when they were built. The attached patch fixes the issue. -- http://bugs.ruby-lang.org/