Project

General

Profile

Actions

Bug #1601

closed

json install fails on Ubuntu 11.10

Added by Neil M about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
Packaging
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

This is on the current nightly "foreman" package. See output below.


root@amargosa:~# apt-get install foreman
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libfcgi-ruby libvirt-bin
The following NEW packages will be installed:
foreman
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/940 kB of archives.
After this operation, 5652 kB of additional disk space will be used.
Selecting previously deselected package foreman.
(Reading database ... 61739 files and directories currently installed.)
Unpacking foreman (from .../foreman_0.5-~nightlybuild1336107916_all.deb) ...
Processing triggers for ureadahead ...
Setting up foreman (0.5-~nightlybuild1336107916) ...
Invalid gemspec in [/usr/share/foreman/vendor/ruby/1.8/specifications/mime-types-1.18.gemspec]: invalid date format in specification: "2012-03-21 00:00:00.000000000Z"
Invalid gemspec in [/usr/share/foreman/vendor/ruby/1.8/specifications/mime-types-1.18.gemspec]: invalid date format in specification: "2012-03-21 00:00:00.000000000Z"
Updating https://github.com/jystewart/has_many_polymorphs.git
Updating git://github.com/fog/fog.git
Fetching gem metadata from http://rubygems.org/......
Fetching gem metadata from http://rubygems.org/..
Using rake (0.9.2.2)
Using abstract (1.0.0)
Using activesupport (3.0.10)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.10)
Using erubis (2.6.6)
Using rack (1.2.5)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.33)
Using actionpack (3.0.10)
Installing mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.10)
Using arel (2.0.10)
Using activerecord (3.0.10)
Using activeresource (3.0.10)
Using bundler (1.1.3)
Installing json (1.7.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb

Gem files will remain installed in /usr/share/foreman/vendor/ruby/1.8/gems/json-1.7.0 for inspection.
Results logged to /usr/share/foreman/vendor/ruby/1.8/gems/json-1.7.0/ext/json/ext/parser/gem_make.out
An error occured while installing json (1.7.0), and Bundler cannot continue.
Make sure that `gem install json -v '1.7.0'` succeeds before bundling.
dpkg: error processing foreman (--configure):
subprocess installed post-installation script returned error exit status 5
E: Sub-process /usr/bin/dpkg returned an error code (1)

Actions

Also available in: Atom PDF