This project is closed and read-only.
Backport #9085
closedcontents of io-console.gemspec not reproducible
Added by terceiro (Antonio Terceiro) almost 13 years ago. Updated almost 13 years ago.
Description
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.
Files
| 0001-Make-date-for-io-console-gemspec-predictable.patch (891 Bytes) 0001-Make-date-for-io-console-gemspec-predictable.patch | terceiro (Antonio Terceiro), 11/08/2013 04:57 AM |
Updated by vo.x (Vit Ondruch) almost 13 years ago
Actions
#1
[ruby-core:58221]
Seems that you forgot to attach the patch ...
Updated by vo.x (Vit Ondruch) almost 13 years ago
Actions
#2
[ruby-core:58222]
BTW you might be interested in #8623
Updated by terceiro (Antonio Terceiro) almost 13 years ago
Actions
#3
[ruby-core:58227]
Updated by nobu (Nobuyoshi Nakada) almost 13 years ago
Actions
#4
[ruby-core:58236]
- Status changed from Open to Feedback
It should default to RUBY_RELEASE_DATE already, and the dates in snapshots are expanded.
In what case it is not set?
Updated by nobu (Nobuyoshi Nakada) almost 13 years ago
Actions
#5
- % Done changed from 0 to 100
- Status changed from Feedback to Closed
This issue was solved with changeset r43617.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
rbinstall.rb: spec date from VCS
- tool/rbinstall.rb (Gem::Specification.load): obtain spec date from
VCS for the case using git, RUBY_RELEASE_DATE is the last resort.
probably fixes [Bug #9085].
Updated by nagachika (Tomoyuki Chikanaga) almost 13 years ago
Actions
#6
- Tracker changed from Bug to Backport
- Project changed from Ruby to 15
- Category deleted (
build) - Status changed from Closed to Assigned
- Assignee changed from nobu (Nobuyoshi Nakada) to nagachika (Tomoyuki Chikanaga)
- Target version deleted (
2.1.0)
Updated by nagachika (Tomoyuki Chikanaga) almost 13 years ago
Actions
#7
[ruby-core:58280]
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 <top (required)>'
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 <top (required)>'
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
Updated by nagachika (Tomoyuki Chikanaga) almost 13 years ago
Actions
#8
[ruby-core:58281]
I'm sorry, my presumption in the previous comment are (maybe) wrong.
In trunk tool/rbinstall.rb is invoked via tool/runruby.rb and require (platform)-fake.rb but in 2.0.0 tool/rbinstall.rb is invoked directly.
Maybe r42862 and r42910 are related. I'll investigate them...
Updated by nagachika (Tomoyuki Chikanaga) almost 13 years ago
Actions
#9
- Status changed from Assigned to Closed
This issue was solved with changeset r43654.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merge revision(s) 42862(partially),42910,43093: [Backport #8878] [Backport #9085]
* common.mk: use RUNRUBY instead of MINIRUBY because MINIRUBY can't
require extension libraries. The patch is from nobu
(Nobuyoshi Nakada).
* configure.in (RUNRUBY): append -- only after runruby.rb, not
cross-compiling baseruby, so that $(RUN_OPT) can be command line
options. [ruby-dev:47703] [Bug #8893]
Updated by nagachika (Tomoyuki Chikanaga) almost 13 years ago
Actions
#10
[ruby-core:58291]
- Status changed from Closed to Assigned
Updated by nagachika (Tomoyuki Chikanaga) almost 13 years ago
Actions
#11
- Status changed from Assigned to Closed
This issue was solved with changeset r43655.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merge revision(s) 43609,43617: [Backport #8878] [Backport #9085]