rubygem-nokogiri error: "\xE2" from ASCII-8BIT to UTF-8

Adam Strohl adams-freebsd at
Thu Jun 13 17:33:06 UTC 2013


I just attempted to upgrade Ruby & Redmine and one of the gems, 
nokogiri, (and a few others) die with the same "ASCII-8BIT to UTF-8" 
error durring the doc install phase which prevents the port from 
completing the install.

I've searched and search and cannot find anything that relates to this 
specifically, anyone have any ideas?

Let me know if I can provide more info, here is the error & lead up:

===>  Building for rubygem-nokogiri-1.5.0
   Successfully built RubyGem
   Name: nokogiri
   Version: 1.5.0
   File: nokogiri-1.5.0.gem
===>  Installing for rubygem-nokogiri-1.5.0
===>   rubygem-nokogiri-1.5.0 depends on file: /usr/local/bin/gem19 - found
===>   rubygem-nokogiri-1.5.0 depends on file: /usr/local/bin/ruby19 - found
===>   rubygem-nokogiri-1.5.0 depends on file: 
/usr/local/lib/ruby/1.9/amd64-freebsd9/ - found
===>   Generating temporary packing list
===>  Checking if textproc/rubygem-nokogiri already installed
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.5.0
1 gem installed
Installing RDoc documentation for nokogiri-1.5.0...
ERROR:  While generating documentation for nokogiri-1.5.0
... MESSAGE:   "\xE2" from ASCII-8BIT to UTF-8
... RDOC args: --op /usr/local/lib/ruby/gems/1.9/doc/nokogiri-1.5.0/rdoc 
--main README.rdoc lib Manifest.txt README.ja.rdoc CHANGELOG.rdoc 
CHANGELOG.ja.rdoc README.rdoc ext/nokogiri/xml_sax_push_parser.c 
ext/nokogiri/xml_relax_ng.c ext/nokogiri/html_sax_parser_context.c 
ext/nokogiri/html_entity_lookup.c ext/nokogiri/xml_text.c 
ext/nokogiri/nokogiri.c ext/nokogiri/xml_element_decl.c 
ext/nokogiri/xml_encoding_handler.c ext/nokogiri/html_document.c 
ext/nokogiri/xslt_stylesheet.c ext/nokogiri/xml_attribute_decl.c 
ext/nokogiri/xml_io.c ext/nokogiri/xml_document_fragment.c 
ext/nokogiri/xml_namespace.c ext/nokogiri/xml_libxml2_hacks.c 
ext/nokogiri/xml_sax_parser_context.c ext/nokogiri/xml_comment.c 
ext/nokogiri/xml_sax_parser.c ext/nokogiri/html_element_description.c 
ext/nokogiri/xml_xpath_context.c ext/nokogiri/xml_syntax_error.c 
ext/nokogiri/xml_document.c ext/nokogiri/xml_entity_decl.c 
ext/nokogiri/xml_node.c ext/nokogiri/xml_node_set.c 
ext/nokogiri/xml_reader.c ext/nokogiri/xml_processing_instruction.c 
ext/nokogiri/xml_element_content.c ext/nokogiri/xml_dtd.c 
ext/nokogiri/xml_attr.c ext/nokogiri/xml_schema.c 
ext/nokogiri/xml_cdata.c ext/nokogiri/xml_entity_reference.c --title 
nokogiri-1.5.0 Documentation --quiet
*** [do-install] Error code 1

Stop in /usr/ports/textproc/rubygem-nokogiri.
*** [run-depends] Error code 1

Stop in /usr/ports/devel/rubygem-capybara.
*** [run-depends] Error code 1

Stop in /usr/ports/www/redmine.
*** [install] Error code 1

Stop in /usr/ports/www/redmine.

Adam Strohl

More information about the freebsd-ports mailing list