Backport #5366

building v1_9_3_rc1 fails: error generating RI => 'marshal data too short'

Added by Stephen Bannasch over 2 years ago. Updated over 2 years ago.

[ruby-core:39713]
Status:Closed
Priority:Normal
Assignee:-

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 v193rc1
$ ~/bin/autoconf
$ ./configure --prefix=/home/deploy3/ruby/builds/ruby
193_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 STRINGORFAILEDFORMAT. 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

History

#1 Updated by Stephen Bannasch over 2 years ago

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

This worked:

git checkout v193rc1
~/bin/autoconf
./configure --prefix=/home/deploy3/ruby/builds/1
93rc1
make clean
make

This bug should be closed ... however the specific error reported when generating RI is confusing.

#2 Updated by Motohiro KOSAKI over 2 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF