Skip to content

Instantly share code, notes, and snippets.

@elhu
Created June 18, 2013 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elhu/5806022 to your computer and use it in GitHub Desktop.
Save elhu/5806022 to your computer and use it in GitHub Desktop.
Ferret with ruby 2.0.0p195
jenkins@ci [ideas_feature_remove-iconv] > gem install ferret
Building native extensions. This could take a while...
ERROR: Error installing ferret:
ERROR: Failed to build gem native extension.
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/bin/ruby extconf.rb
creating Makefile
make
compiling STEMMER_stem_ISO_8859_1_dutch.c
compiling index.c
In file included from /var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/ruby.h:1567,
from /var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby.h:33,
from lang.h:7,
from global.h:10,
from index.h:8,
from index.c:1:
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:323: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_fdset_t’
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:412: error: expected declaration specifiers or ‘...’ before ‘fd_set’
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:412: error: expected declaration specifiers or ‘...’ before ‘fd_set’
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:412: error: expected declaration specifiers or ‘...’ before ‘fd_set’
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:412: warning: ‘struct timeval’ declared inside parameter list
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:412: warning: its scope is only this definition or declaration, which is probably not what you want
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:413: error: expected declaration specifiers or ‘...’ before ‘rb_fdset_t’
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:413: error: expected declaration specifiers or ‘...’ before ‘rb_fdset_t’
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:413: error: expected declaration specifiers or ‘...’ before ‘rb_fdset_t’
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:413: warning: ‘struct timeval’ declared inside parameter list
/var/lib/jenkins/.rbenv/versions/2.0.0-p195/include/ruby-2.0.0/ruby/intern.h:414: warning: ‘struct timeval’ declared inside parameter list
index.c: In function ‘si_delete_files’:
index.c:704: warning: passing argument 3 of ‘frt_fn_for_generation’ discards qualifiers from pointer target type
index.c:108: note: expected ‘char *’ but argument is of type ‘const char *’
index.c: In function ‘deleter_find_deletable_files_i’:
index.c:3786: warning: passing argument 3 of ‘frt_fn_for_generation’ discards qualifiers from pointer target type
index.c:108: note: expected ‘char *’ but argument is of type ‘const char *’
index.c: In function ‘sr_commit_i’:
index.c:4398: warning: passing argument 3 of ‘frt_fn_for_generation’ discards qualifiers from pointer target type
index.c:108: note: expected ‘char *’ but argument is of type ‘const char *’
index.c:4408: warning: passing argument 3 of ‘frt_fn_for_generation’ discards qualifiers from pointer target type
index.c:108: note: expected ‘char *’ but argument is of type ‘const char *’
index.c: In function ‘sr_setup_i’:
index.c:4652: warning: passing argument 3 of ‘frt_fn_for_generation’ discards qualifiers from pointer target type
index.c:108: note: expected ‘char *’ but argument is of type ‘const char *’
index.c: In function ‘smi_new’:
index.c:5759: warning: passing argument 3 of ‘frt_fn_for_generation’ discards qualifiers from pointer target type
index.c:108: note: expected ‘char *’ but argument is of type ‘const char *’
make: *** [index.o] Error 1
Gem files will remain installed in /var/lib/jenkins/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/ferret-0.11.8.5 for inspection.
Results logged to /var/lib/jenkins/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/ferret-0.11.8.5/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment