rubygem-nokogiri error: \xE2 from ASCII-8BIT to UTF-8
Hello, 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/iconv.so - 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 http://www.ateamsystems.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: rubygem-nokogiri error: \xE2 from ASCII-8BIT to UTF-8
Hello, 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? I've seen errors like this, although not with this specific port. I haven't come up with a good solution yet, but often setting LC_LANG or LANG or LC_ALL to en_us.utf-8 (or whatever is appropriate for you) helps. FWIW, bsd.ruby.mk sets LC_CTYPE=UTF-8, but maybe it needs to set more. The problem is it's generating docs and needs this, but we don't set a LANG by default. Steve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: rubygem-nokogiri error: \xE2 from ASCII-8BIT to UTF-8
On 6/14/2013 1:10, Steve Wills wrote: Hello, 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? I've seen errors like this, although not with this specific port. I haven't come up with a good solution yet, but often setting LC_LANG or LANG or LC_ALL to en_us.utf-8 (or whatever is appropriate for you) helps. FWIW, bsd.ruby.mk sets LC_CTYPE=UTF-8, but maybe it needs to set more. The problem is it's generating docs and needs this, but we don't set a LANG by default. BINGO. Thank you both Michael Gmelin (who replied privately) and Steve. My defaults were C or blank when I ran locale, and per both of your suggestions setting this let nokogiri build: export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8; Awesomeness: 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... === Registering installation for rubygem-nokogiri-1.5.0 I also want to note (in case anyone else searches for this) that rubygem-net-ldap port also had the same issue for me and this fixed that port as well. Thanks again! -- Adam Strohl http://www.ateamsystems.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org