Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Activesupport gems are corrupt, version 3.0.3 and 3.0.4

#6485

The 3.0.4 and 3.0.3 activesupport gems seem to have some sort of zlib encoding issue. I cannot install or unpack the gems in ubuntu 10.04 or 10.10

To reproduce:

$ gem install --version="3.0.3" activesupport ERROR: While executing gem ... (Zlib::DataError)

invalid stored block lengths

Using bundler:

$ bundle install
Fetching source index for http://rubygems.org/
Fetching source index for http://gems/
Using rake (0.8.7) 
Using abstract (1.0.0) 
/usr/local/lib/site_ruby/1.8/rubygems/package/tar_input.rb:222:in `finish': invalid stored block lengths (Zlib::DataError)
    from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_input.rb:222:in `zipped_stream'
    from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_input.rb:129:in `each'
    from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_reader.rb:64:in `each'
    from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_reader.rb:55:in `loop'
    from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_reader.rb:55:in `each'
    from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_input.rb:127:in `each'
    from /usr/local/lib/site_ruby/1.8/rubygems/format.rb:66:in `from_io'
    from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_input.rb:22:in `open'
    from /usr/local/lib/site_ruby/1.8/rubygems/package.rb:68:in `open'
    from /usr/local/lib/site_ruby/1.8/rubygems/format.rb:62:in `from_io'
    from /usr/local/lib/site_ruby/1.8/rubygems/format.rb:46:in `from_file_by_path'
    from /usr/lib/ruby/1.8/open-uri.rb:32:in `open_uri_original_open'
    from /usr/lib/ruby/1.8/open-uri.rb:32:in `open'
    from /usr/local/lib/site_ruby/1.8/rubygems/format.rb:45:in `from_file_by_path'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:73:in `fetch'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/installer.rb:45:in `run'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in `each'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in `each'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/installer.rb:44:in `run'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/installer.rb:8:in `install'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/cli.rb:226:in `install'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in `send'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in `run'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/vendor/thor.rb:246:in `dispatch'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/vendor/thor/base.rb:389:in `start'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/bin/bundle:13
    from /usr/bin/bundle:19:in `load'
    from /usr/bin/bundle:19

Also, when using tar:

$ wget --no-check-certificate https://rubygems.org/downloads/activesupport-3.0.3.gem
--2011-02-28 09:11:19--  https://rubygems.org/downloads/activesupport-3.0.3.gem
Resolving rubygems.org... 72.4.120.124
Connecting to rubygems.org|72.4.120.124|:443... connected.
WARNING: certificate common name `*.rubygems.org' doesn't match requested host name `rubygems.org'.
HTTP request sent, awaiting response... 302 Found
Location: /gems/activesupport-3.0.3.gem [following]
--2011-02-28 09:11:21--  https://rubygems.org/gems/activesupport-3.0.3.gem
Reusing existing connection to rubygems.org:443.
HTTP request sent, awaiting response... 302 Found
Location: http://production.cf.rubygems.org/gems/activesupport-3.0.3.gem [following]
--2011-02-28 09:11:21--  http://production.cf.rubygems.org/gems/activesupport-3.0.3.gem
Resolving production.cf.rubygems.org... 205.251.205.108, 205.251.205.137, 205.251.205.152, ...
Connecting to production.cf.rubygems.org|205.251.205.108|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 302592 (296K) [binary/octet-stream]
Saving to: `activesupport-3.0.3.gem'

100%[===================================================================================================================================================================================================>] 302,592     64.5K/s   in 4.6s    

2011-02-28 09:11:28 (64.5 KB/s) - `activesupport-3.0.3.gem' saved [302592/302592]

$ tar xf activesupport-3.0.3.gem 
tar: data.tar.gz: implausibly old time stamp 1970-01-01 02:00:00
tar: metadata.gz: implausibly old time stamp 1970-01-01 02:00:00

$ tar zxf data.tar.gz 
tar: CHANGELOG: implausibly old time stamp 1970-01-01 02:00:00
tar: README.rdoc: implausibly old time stamp 1970-01-01 02:00:00
tar: lib/active_support/all.rb: implausibly old time stamp 1970-01-01 02:00:00
tar: lib/active_support/backtrace_cleaner.rb: implausibly old time stamp 1970-01-01 02:00:00
tar: lib/active_support/base64.rb: implausibly old time stamp 1970-01-01 02:00:00
tar: lib/active_support/basic_object.rb: implausibly old time stamp 1970-01-01 02:00:00
tar: lib/active_support/benchmarkable.rb: implausibly old time stamp 1970-01-01 02:00:00
tar: lib/active_support/buffered_logger.rb: implausibly old time stamp 1970-01-01 02:00:00
tar: lib/active_support/builder.rb: implausibly old time stamp 1970-01-01 02:00:00
 
<snip/>

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Reported by Bob Jones · February 28th, 2011 @ 07:10 AM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Utkarsh Kukreti
    Utkarsh Kukreti

    What do you get if you run this after wget?

    gem install activesupport-3.0.3.gem --local
    

    February 28th, 2011 @ 11:06 AM

  2. Bob Jones
    Bob Jones
    $ gem install activesupport-3.0.3.gem --local
    ERROR:  While executing gem ... (Zlib::DataError)
        invalid stored block lengths
    

    February 28th, 2011 @ 11:35 AM