4806341 [rkeene@sledge /home/rkeene/tmp]$ cat ruby-gem-crosscompile.txt
rkeene@build01:~/devel/aurae/node/root/packages/installed/pkgs$ $(pwd)/native-ruby-2.2.0/native-bin/ruby $(pwd)/ruby-2.2.0/bin/gem env  
RubyGems Environment:
  - RUBYGEMS VERSION: 2.4.5
  - RUBY VERSION: 2.2.0 (2014-12-25 patchlevel 0) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/native-ruby-install/lib/ruby/gems/2.2.0
  - RUBY EXECUTABLE: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/ruby
  - EXECUTABLE DIRECTORY: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin
  - SPEC CACHE DIRECTORY: /home/rkeene/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/native-ruby-install/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/native-ruby-install/lib/ruby/gems/2.2.0
     - /home/rkeene/.gem/ruby/2.2.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/games
rkeene@build01:~/devel/aurae/node/root/packages/installed/pkgs$ $(pwd)/native-ruby-2.2.0/native-bin/ruby $(pwd)/native-ruby-2.2.0/native-bin/gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.4.5
  - RUBY VERSION: 2.2.0 (2014-12-25 patchlevel 0) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/native-ruby-install/lib/ruby/gems/2.2.0
  - RUBY EXECUTABLE: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/ruby
  - EXECUTABLE DIRECTORY: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin
  - SPEC CACHE DIRECTORY: /home/rkeene/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/native-ruby-install/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/native-ruby-install/lib/ruby/gems/2.2.0
     - /home/rkeene/.gem/ruby/2.2.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/games
rkeene@build01:~/devel/aurae/node/root/packages/installed/pkgs$ 



+ GEM_PATH=/home/rkeene/devel/aurae/node/root/packages/rubygem-json/workdir-571322327285642555116402/.fakeroot/native-bin/native-ruby-install/lib/ruby/gems/2.2.0
+ export GEM_PATH
+ gem install rubygem-json-1.8.2.gem --ignore-dependencies --no-document --build-root /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp --no-update-sources --local --platform x86_64-linux --install-dir /lib/ruby/gems/2.2.0
WARNING:  You build with buildroot.
  Build root: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp
  Bin dir: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp/lib/ruby/gems/2.2.0/bin
  Gem home: /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp/lib/ruby/gems/2.2.0
Building native extensions.  This could take a while...
ERROR:  Error installing rubygem-json-1.8.2.gem:
        ERROR: Failed to build gem native extension.

    /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/native-ruby-2.2.0/native-bin/ruby -r ./siteconf20150311-6008-qrxy5r.rb extconf.rb
creating Makefile

make "DESTDIR=" clean
make[2]: Entering directory `/home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp/lib/ruby/gems/2.2.0/gems/json-1.8.2/ext/json/ext/generator'
make[2]: Leaving directory `/home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp/lib/ruby/gems/2.2.0/gems/json-1.8.2/ext/json/ext/generator'

make "DESTDIR="
make[2]: Entering directory `/home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp/lib/ruby/gems/2.2.0/gems/json-1.8.2/ext/json/ext/generator'
compiling generator.c
linking shared-object json/ext/generator.so
/home/rkeene/devel/aurae/common/compiler/online/x86_64-generic-linux-gnu/bin/x86_64-generic-linux-gnu-ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
make[2]: *** [generator.so] Error 1
make[2]: Leaving directory `/home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp/lib/ruby/gems/2.2.0/gems/json-1.8.2/ext/json/ext/generator'

make failed, exit code 2

Gem files will remain installed in /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp/lib/ruby/gems/2.2.0/gems/json-1.8.2 for inspection.
Results logged to /home/rkeene/devel/aurae/node/root/packages/installed/pkgs/workdir-57133049627009215778349.tmp/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/json-1.8.2/gem_make.out
+ die 'install failed'
+ local message
+ message='install failed'
+ '[' -n 'install failed' ']'
+ echo 'error: install failed'
error: install failed
+ exit 1
make[1]: *** [../installed/pkgs/rubygem-json-1.8.2] Error 1

4806342 [rkeene@sledge /home/rkeene/tmp]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2015-03-11 01:24:43