Project

General

Profile

Actions

Bug #2357

closed

make install fails due recent Tempfile modifications

Added by luislavena (Luis Lavena) over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32]
Backport:
[ruby-core:26681]

Description

=begin
Hello,

Changes introduced in revision 25720 broke the install process of trunk:


 ./miniruby.exe -I../ruby_1_9/lib -I.ext/common -I./- -r../ruby_1_9/ext/purelib.rb  ../ruby_1_9/tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="man"
 installing binary commands:   C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_mingw/bin
 installing base libraries:    C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_mingw/lib
 installing arch files:        C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_mingw/lib/ruby/1.9.1/i386-mingw32
 installing command scripts:   C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_mingw/bin
 installing library scripts:   C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_mingw/lib/ruby/1.9.1
 installing common headers:    C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_mingw/include/ruby-1.9.1
 installing manpages:          C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby19_mingw/share/man/man1
 C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby_1_9/lib/tempfile.rb:136:in `block in initialize': undefined method `delete' for nil:NilClass (NoMethodError)
         from C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby_1_9/lib/tmpdir.rb:155:in `create'
         from C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby_1_9/lib/tempfile.rb:134:in `initialize'
         from C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby_1_9/lib/tempfile.rb:298:in `new'
         from C:/Users/Luis/Projects/oss/oci/rubyinstaller/sandbox/ruby_1_9/lib/tempfile.rb:298:in `open'
         from ../ruby_1_9/tool/rbinstall.rb:490:in `block (2 levels) in '
         from ../ruby_1_9/tool/rbinstall.rb:475:in `each'
         from ../ruby_1_9/tool/rbinstall.rb:475:in `block in '
         from ../ruby_1_9/tool/rbinstall.rb:549:in `call'
         from ../ruby_1_9/tool/rbinstall.rb:549:in `block (2 levels) in '
         from ../ruby_1_9/tool/rbinstall.rb:546:in `each'
         from ../ruby_1_9/tool/rbinstall.rb:546:in `block in '
         from ../ruby_1_9/tool/rbinstall.rb:542:in `each'
         from ../ruby_1_9/tool/rbinstall.rb:542:in `'
 make: *** [do-install-nodoc] Error 1
 

Subversion information:


 ------------------------------------------------------------------------
 r25720 | nobu | 2009-11-11 07:17:36 -0300 (miƩ, 11 nov 2009) | 4 lines
 
 * lib/tempfile.rb (Tempfile#initialize): merge mode option.
 
 * lib/tmpdir.rb (Dir::Tmpname#create): splat options.
 

Reverting to previous revision works.
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 14 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r25723.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0