Re: [nokogiri-talk] Error vendoring Nokogiri if path contains a space character

54 views
Skip to first unread message

Mike Dalessio

unread,
May 8, 2013, 7:31:08 AM5/8/13
to nokogiri-talk

Hi,

What versions of ruby, bundler and rubygems are you using? I don't believe this is a Nokogiri issue, but would like to try to reproduce it.

-mike

On May 8, 2013 7:27 AM, "Alfonso Muñoz-Pomer Fuentes" <a.munozpom...@gmail.com> wrote:
If I have a Rails project in a directory with a blank in it and try to vendor the gems with bundle --deployment, Nokogiri fails with the following error:
make install
/usr/bin/install -c -m 0755 nokogiri.so /home/johndoe/git/Project directory/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.5.9/lib/nokogiri
/usr/bin/install: target ‘directory/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.5.9/lib/nokogiri’ is not a directory
make: *** [install-so] Error 1
I don’t know if this is a known issue. If it’s not I can report it on Github. All other gems install correctly.

--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-tal...@googlegroups.com.
To post to this group, send email to nokogi...@googlegroups.com.
Visit this group at http://groups.google.com/group/nokogiri-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Alfonso Muñoz-Pomer Fuentes

unread,
May 10, 2013, 5:35:01 PM5/10/13
to nokogi...@googlegroups.com
I won’t be able to get to the computer with the environment until Monday, but I can tell you that Ruby is 2.0.0 and both bundler and gems are all fairly recent.

Alfonso Muñoz-Pomer Fuentes

unread,
May 10, 2013, 5:37:13 PM5/10/13
to nokogi...@googlegroups.com
I failed to mention that, in the process, Nokogiri (or bundle vendoring Nokogiri) would create a directory with the first word until the blank (in this case it would be ”Project”) with the bundle/vendor directory in it. Again, this only happens with Nokogiri.
Message has been deleted
Message has been deleted

Alfonso Muñoz-Pomer Fuentes

unread,
May 13, 2013, 4:46:29 AM5/13/13
to nokogi...@googlegroups.com
See my full environment below. I’m also pasting the full error output.

$ pwd
/home/amunozpomer/git/Test path/sampletracker


$ rvm --version
rvm 1.19.0 (stable) by Wayne E. Seguin <waynee...@gmail.com>, Michal Papis <mpa...@gmail.com> [https://rvm.io/]

$ ruby --version
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]

$ gem --version
2.0.0.rc.2


$ bundle --version
Bundler version 1.3.4


$ bundle
...

Runs without problems.

$ bundle --deployment
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Installing rake (10.0.4)
Installing i18n (0.6.1)
Installing multi_json (1.7.2)
Installing activesupport (3.2.13)
Installing builder (3.0.4)
Installing activemodel (3.2.13)
...
Installing nokogiri (1.5.9)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... yes
checking for xmlParseDoc()... -lxml2
checking for xsltParseStylesheetDoc()... -lxslt
checking for exsltFuncRegister()... -lexslt
checking for xmlHasFeature()... yes
checking for xmlFirstElementChild()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetValidStructuredErrors()... yes
checking for xmlSchemaSetValidStructuredErrors()... yes
checking for xmlSchemaSetParserStructuredErrors()... yes
creating Makefile

make
compiling xml_reader.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_reader.h:4,
                 from xml_reader.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_syntax_error.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_syntax_error.h:4,
                 from xml_syntax_error.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_relax_ng.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_relax_ng.h:4,
                 from xml_relax_ng.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_schema.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_schema.h:4,
                 from xml_schema.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling html_element_description.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_element_description.h:4,
                 from html_element_description.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
html_element_description.c: In function ‘get_description’:
html_element_description.c:249:10: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
compiling html_entity_lookup.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_entity_lookup.h:4,
                 from html_entity_lookup.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_element_content.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_element_content.h:4,
                 from xml_element_content.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_io.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_io.h:4,
                 from xml_io.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xslt_stylesheet.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xslt_stylesheet.h:4,
                 from xslt_stylesheet.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_document_fragment.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_document_fragment.h:4,
                 from xml_document_fragment.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_encoding_handler.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_encoding_handler.h:4,
                 from xml_encoding_handler.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_comment.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_comment.h:4,
                 from xml_comment.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling html_sax_push_parser.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_sax_push_parser.h:4,
                 from html_sax_push_parser.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_sax_parser_context.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_sax_parser_context.h:4,
                 from xml_sax_parser_context.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_xpath_context.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_xpath_context.h:4,
                 from xml_xpath_context.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_attr.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_attr.h:4,
                 from xml_attr.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_sax_push_parser.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_sax_push_parser.h:4,
                 from xml_sax_push_parser.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_text.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_text.h:4,
                 from xml_text.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling html_document.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_document.h:4,
                 from html_document.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_entity_decl.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_entity_decl.h:4,
                 from xml_entity_decl.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_element_decl.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_element_decl.h:4,
                 from xml_element_decl.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_libxml2_hacks.c
compiling xml_node_set.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_node_set.h:4,
                 from xml_node_set.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
xml_node_set.c: In function ‘dealloc_namespace’:
xml_node_set.c:9:13: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
xml_node_set.c:11:13: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
compiling xml_processing_instruction.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_processing_instruction.h:4,
                 from xml_processing_instruction.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling nokogiri.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from nokogiri.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_node.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_node.h:4,
                 from xml_node.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling html_sax_parser_context.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_sax_parser_context.h:4,
                 from html_sax_parser_context.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_document.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_document.h:4,
                 from xml_document.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
xml_document.c: In function ‘set_encoding’:
xml_document.c:159:12: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
xml_document.c: In function ‘canonicalize’:
xml_document.c:505:15: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
compiling xml_cdata.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_cdata.h:4,
                 from xml_cdata.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_entity_reference.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_entity_reference.h:4,
                 from xml_entity_reference.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_namespace.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_namespace.h:4,
                 from xml_namespace.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_sax_parser.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_sax_parser.h:4,
                 from xml_sax_parser.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_attribute_decl.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_attribute_decl.h:4,
                 from xml_attribute_decl.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_dtd.c
In file included from /home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_dtd.h:4,
                 from xml_dtd.c:1:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
/home/amunozpomer/.rvm/rubies/ruby-2.0.0-p0/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
linking shared-object nokogiri/nokogiri.so

make install
/usr/bin/install -c -m 0755 nokogiri.so /home/amunozpomer/git/Test path/sampletracker/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.5.9/lib/nokogiri
/usr/bin/install: target ‘path/sampletracker/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.5.9/lib/nokogiri’ is not a directory

make: *** [install-so] Error 1


Gem files will remain installed in /home/amunozpomer/git/Test path/sampletracker/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.5.9 for inspection.
Results logged to /home/amunozpomer/git/Test path/sampletracker/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.5.9/ext/nokogiri/gem_make.out
An error occurred while installing nokogiri (1.5.9), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.5.9'` succeeds before bundling.

Mike Dalessio

unread,
May 13, 2013, 2:13:58 PM5/13/13
to nokogiri-talk
I can reproduce this issue if I use another gem with a C extension: for example, "sqlite3".

This leads me to believe it is not a Nokogiri issue, but a bundler issue. Please try the bundler mailing list?



Alfonso Muñoz-Pomer Fuentes

unread,
May 14, 2013, 4:34:46 AM5/14/13
to nokogi...@googlegroups.com
Thanks, I will contact them to report the issue if it’s not known.

Alfonso Muñoz-Pomer Fuentes

unread,
May 14, 2013, 5:02:49 AM5/14/13
to nokogi...@googlegroups.com
From the look of it it is a marginally known issue. There was some activity concerning it two months ago but attention faded from it:
https://github.com/carlhuda/bundler/issues/2336
Reply all
Reply to author
Forward
0 new messages