Project

General

Profile

Actions

Backport #5366

closed

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

Added by stepheneb (Stephen Bannasch) about 13 years ago. Updated about 13 years ago.

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

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

Updated by stepheneb (Stephen Bannasch) about 13 years ago

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.

Updated by kosaki (Motohiro KOSAKI) about 13 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0