Backport #5366
closedbuilding v1_9_3_rc1 fails: error generating RI => 'marshal data too short'
Description
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