Issue #5366 has been updated by Stephen Bannasch.


The problem I was having seems to occur when I don't also run make clean

This worked:

git checkout v1_9_3_rc1
~/bin/autoconf
./configure --prefix=/home/deploy3/ruby/builds/1_9_3_rc1
make clean
make

This bug should be closed ... however the specific error reported when generating RI is confusing.
----------------------------------------
Backport #5366: building v1_9_3_rc1 fails: error generating RI => 'marshal data too short'
http://redmine.ruby-lang.org/issues/5366

Author: Stephen Bannasch
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


I initially described having this problem with ruby 1.9.2 p290 see: #5345

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

$ git fetch
$ git fetch --tags
$ git checkout v1_9_3_rc1
$ ~/bin/autoconf
$ ./configure --prefix=/home/deploy3/ruby/builds/ruby_1_9_3_rc1
$ make

...

Generating RDoc documentation
Parsing sources...
lib/irb/inspector.rb:36:36: Couldn't find INSPECTORS. Assuming it's a module    
lib/mkmf.rb:1117:29: Couldn't find STRING_OR_FAILED_FORMAT. Assuming it's a module
Enclosing class/module 'mDigest' for class MD5 not known                        
Enclosing class/module 'mDigest' for class RMD160 not known                     
Enclosing class/module 'mDigest' for class SHA1 not known                       
Enclosing class/module "cASN1ObjectId" for alias short_name sn not known        
Enclosing class/module "cASN1ObjectId" for alias long_name ln not known
Enclosing class/module 'mX509' for class AttributeError not known               
Enclosing class/module 'mX509' for class Attribute not known
100% [586/586]  ext/zlib/zlib.c                                                 

Generating RI format into /home/sbannasch/src/ruby-git/.ext/rdoc...
uh-oh! RDoc had a problem:
marshal data too short



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