Skip to content

Instantly share code, notes, and snippets.

@argent-smith
Created September 9, 2011 06:48
Show Gist options
  • Save argent-smith/1205634 to your computer and use it in GitHub Desktop.
Save argent-smith/1205634 to your computer and use it in GitHub Desktop.
rcov build failure on rbx-head
rbx-head [paul@paul rsh]$ bundle update
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Using ZenTest (4.6.2)
Using bundler (1.0.17)
Using diff-lcs (1.1.3)
Using git (1.2.5)
Using jeweler (1.6.4)
Installing rcov (0.9.10) with native extensions An exception occurred running /home/paul/.rvm/gems/rbx-head/bin/bundle
ERROR: Failed to build gem native extension.
/home/paul/.rvm/rubies/rbx-head/bin/rbx extconf.rb
creating Makefile
make
gcc -I. -I/home/paul/.rvm/rubies/rbx-head/include -I/home/paul/.rvm/rubies/rbx-head/include -I1.8/ -fPIC -ggdb3 -O2 -fPIC -c 1.8//rcovrt.c
1.8//rcovrt.c:2:17: error: env.h: No such file or directory
1.8//rcovrt.c:3:18: error: node.h: No such file or directory
1.8//rcovrt.c: In function 'coverage_mark_caller':
1.8//rcovrt.c:73: error: 'ruby_frame' undeclared (first use in this function)
1.8//rcovrt.c:73: error: (Each undeclared identifier is reported only once
1.8//rcovrt.c:73: error: for each function it appears in.)
1.8//rcovrt.c:74: error: 'NODE' undeclared (first use in this function)
1.8//rcovrt.c:74: error: 'n' undeclared (first use in this function)
1.8//rcovrt.c:76: error: dereferencing pointer to incomplete type
1.8//rcovrt.c:76: error: 'ID_ALLOCATOR' undeclared (first use in this function)
1.8//rcovrt.c:77: error: dereferencing pointer to incomplete type
1.8//rcovrt.c:79: error: dereferencing pointer to incomplete type
1.8//rcovrt.c:79: error: dereferencing pointer to incomplete type
1.8//rcovrt.c:80: error: dereferencing pointer to incomplete type
1.8//rcovrt.c:80: error: dereferencing pointer to incomplete type
1.8//rcovrt.c:81: error: dereferencing pointer to incomplete type
1.8//rcovrt.c:82: error: dereferencing pointer to incomplete type
1.8//rcovrt.c:82: error: dereferencing pointer to incomplete type
1.8//rcovrt.c: At top level:
1.8//rcovrt.c:102: error: expected ')' before 'event'
1.8//rcovrt.c: In function 'cov_install_coverage_hook':
1.8//rcovrt.c:168: error: 'coverage_event_coverage_hook' undeclared (first use in this function)
1.8//rcovrt.c:168: error: 'RUBY_EVENT_ALL' undeclared (first use in this function)
1.8//rcovrt.c:168: error: 'RUBY_EVENT_C_CALL' undeclared (first use in this function)
1.8//rcovrt.c:168: error: 'RUBY_EVENT_C_RETURN' undeclared (first use in this function)
1.8//rcovrt.c:168: error: 'RUBY_EVENT_CLASS' undeclared (first use in this function)
1.8//rcovrt.c: In function 'cov_remove_coverage_hook':
1.8//rcovrt.c:212: error: 'coverage_event_coverage_hook' undeclared (first use in this function)
*** Error code 1
Stop in /usr/home/paul/.rvm/gems/rbx-head/gems/rcov-0.9.10/ext/rcovrt.
Gem files will remain installed in /home/paul/.rvm/gems/rbx-head/gems/rcov-0.9.10 for inspection.
Results logged to /home/paul/.rvm/gems/rbx-head/gems/rcov-0.9.10/ext/rcovrt/gem_make.out
(Gem::Installer::ExtensionBuildError)
Backtrace:
{ } in Gem::Installer#build_extensions at /home/paul/.rvm/rubies/rbx-head/lib
/rubygems/installer.rb:552
Array#each at kernel/bootstrap/array.rb:76
Gem::Installer#build_extensions at /home/paul/.rvm/rubies/rbx-head/lib
/rubygems/installer.rb:505
Gem::Installer#install at /home/paul/.rvm/rubies/rbx-head/lib
/rubygems/installer.rb:180
{ } in Bundler::Source::Rubygems#install at /home/paul/.rvm/gems
/rbx-head@global/gems
/bundler-1.0.17/lib/bundler
/source.rb:101
Bundler::RubygemsIntegration(Bundler::RubygemsIntegration::Modern)#preserve_paths at \
/home/paul/.rvm/gems/rbx-head@global/gems/bundler-1.0.17/lib/bundler/rubygems_integration.rb:78
Bundler::Source::Rubygems#install at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler
/source.rb:91
{ } in Bundler::Installer#run at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler
/installer.rb:58
Bundler::RubygemsIntegration(Bundler::RubygemsIntegration::Modern)#with_build_args at \
/home/paul/.rvm/gems/rbx-head@global/gems/bundler-1.0.17/lib/bundler/rubygems_integration.rb:93
{ } in Bundler::Installer#run at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler
/installer.rb:57
Array#each at kernel/bootstrap/array.rb:76
Bundler::SpecSet#each at (__FORWARDABLE__):3
Bundler::Installer#run at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler
/installer.rb:49
Bundler::Installer.install at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler
/installer.rb:8
Bundler::CLI#update at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler
/cli.rb:268
Thor::Task#run at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler/vendor
/thor/task.rb:22
Thor::Invocation(Bundler::CLI)#invoke_task at /home/paul/.rvm/gems
/rbx-head@global/gems
/bundler-1.0.17/lib/bundler
/vendor/thor/invocation.rb:118
Thor.dispatch at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler/vendor
/thor.rb:263
Thor::Base::ClassMethods(Class)#start at /home/paul/.rvm/gems/rbx-head@global
/gems/bundler-1.0.17/lib/bundler
/vendor/thor/base.rb:386
Object#__script__ at /home/paul/.rvm/gems
/rbx-head@global/gems
/bundler-1.0.17/bin/bundle:13
Kernel(Object)#load at kernel/common/kernel.rb:732
Object#__script__ at /home/paul/.rvm/gems/rbx-head
/bin/bundle:19
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:65
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:90
Rubinius::Loader#script at kernel/loader.rb:618
Rubinius::Loader#main at kernel/loader.rb:762
rbx-head [paul@paul rsh]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment