carlhuda/bundler — Issue #1665: Installing system_timer from bundler caused a fatal error
Author: igorsantos07
Created: 2012-02-16 11:59:00+00:00
State: open

Part of the output:

Installing sinatra-flash (0.3.0)
Installing system_timer (1.2.4) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/local/bin/ruby extconf.rb
creating Makefile
make
gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -o system_timer_native.o -c system_timer_native.c
In file included from system_timer_native.c:8:
/usr/local/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete
system_timer_native.c: In function ‘install_first_timer_and_save_original_configuration’:
system_timer_native.c:46: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:37: note: expected ‘char *’ but argument is of type ‘const char *’
system_timer_native.c:53: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type

And go on with lines like that... if you want all the output, tell me.
This happened when I was deploying to Heroku, but on my machine, it worked flawlessly.

As I can see, they have bundler 1.1.rc.7 and I'm using 1.0.21.