Skip to content

Instantly share code, notes, and snippets.

@obrie
Created June 27, 2018 16:15
Show Gist options
  • Save obrie/95cfa2aa1569f935b4cb58b46dbff527 to your computer and use it in GitHub Desktop.
Save obrie/95cfa2aa1569f935b4cb58b46dbff527 to your computer and use it in GitHub Desktop.
current directory: /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ext/nokogiri
/home/aaron/.rvm/rubies/truffleruby-1.0.0-rc2/bin/truffleruby -r ./siteconf20180627-20269-1369s86.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.3.0
checking for gzdopen() in -lz... yes
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:
Building Nokogiri with a packaged version of libxml2-2.9.8
with the following patches applied:
- 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:
gem install nokogiri -- --use-system-libraries
[--with-xml2-config=/path/to/xml2-config]
[--with-xslt-config=/path/to/xslt-config]
If you are using Bundler, tell it to use the option:
bundle config build.nokogiri --use-system-libraries
bundle install
Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.
************************************************************************
Extracting libxml2-2.9.8.tar.gz into tmp/x86_64-unknown-linux-gnu/ports/libxml2/2.9.8... OK
Running git apply with /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch... OK
Running 'configure' for libxml2 2.9.8... OK
Running 'compile' for libxml2 2.9.8... OK
Running 'install' for libxml2 2.9.8... OK
Activating libxml2 2.9.8 (from /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ports/x86_64-unknown-linux-gnu/libxml2/2.9.8)...
************************************************************************
IMPORTANT NOTICE:
Building Nokogiri with a packaged version of libxslt-1.1.32.
Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:
gem install nokogiri -- --use-system-libraries
[--with-xml2-config=/path/to/xml2-config]
[--with-xslt-config=/path/to/xslt-config]
If you are using Bundler, tell it to use the option:
bundle config build.nokogiri --use-system-libraries
bundle install
************************************************************************
Extracting libxslt-1.1.32.tar.gz into tmp/x86_64-unknown-linux-gnu/ports/libxslt/1.1.32... OK
Running 'configure' for libxslt 1.1.32... OK
Running 'compile' for libxslt 1.1.32... OK
Running 'install' for libxslt 1.1.32... OK
Activating libxslt 1.1.32 (from /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ports/x86_64-unknown-linux-gnu/libxslt/1.1.32)...
checking for -llzma... yes
checking for xmlParseDoc() in libxml/parser.h... yes
checking for xsltParseStylesheetDoc() in libxslt/xslt.h... yes
checking for exsltFuncRegister() in libexslt/exslt.h... yes
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
current directory: /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ext/nokogiri
make "DESTDIR=" clean
current directory: /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ext/nokogiri
make "DESTDIR="
compiling html_document.c
compiling html_element_description.c
compiling html_entity_lookup.c
compiling html_sax_parser_context.c
compiling html_sax_push_parser.c
compiling nokogiri.c
compiling xml_attr.c
compiling xml_attribute_decl.c
compiling xml_cdata.c
compiling xml_comment.c
compiling xml_document.c
compiling xml_document_fragment.c
compiling xml_dtd.c
compiling xml_element_content.c
compiling xml_element_decl.c
compiling xml_encoding_handler.c
compiling xml_entity_decl.c
compiling xml_entity_reference.c
compiling xml_io.c
compiling xml_libxml2_hacks.c
compiling xml_namespace.c
compiling xml_node.c
compiling xml_node_set.c
compiling xml_processing_instruction.c
compiling xml_reader.c
compiling xml_relax_ng.c
compiling xml_sax_parser.c
compiling xml_sax_parser_context.c
compiling xml_sax_push_parser.c
compiling xml_schema.c
compiling xml_syntax_error.c
compiling xml_text.c
compiling xml_xpath_context.c
xml_xpath_context.c:176:65: warning: function 'xpath_generic_exception_handler' declared 'noreturn' should not return [-Winvalid-noreturn]
va_list args; rb_raise(rb_eRuntimeError, "%s", "Exception:"); return;
^
1 warning generated.
compiling xslt_stylesheet.c
linking shared-object nokogiri/nokogiri.su
llvm-link: /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ports/x86_64-unknown-linux-gnu/libxslt/1.1.32/lib/libexslt.a:1:2: error: expected integer
!<arch>
^
0 libLLVM-3.8.so.1 0x00007fa57387ed38 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 56
1 libLLVM-3.8.so.1 0x00007fa57387cfc6 llvm::sys::RunSignalHandlers() + 54
2 libLLVM-3.8.so.1 0x00007fa57387d129
3 libc.so.6 0x00007fa572bcf4b0
4 libLLVM-3.8.so.1 0x00007fa5739d6804 llvm::Module::materializeMetadata() + 4
5 llvm-link 0x0000000000405399
6 llvm-link 0x0000000000405c6f
7 llvm-link 0x0000000000403c61
8 libc.so.6 0x00007fa572bba830 __libc_start_main + 240
9 llvm-link 0x0000000000404cd9
Stack dump:
0. Program arguments: llvm-link -o out.bc html_document.bc html_element_description.bc html_entity_lookup.bc html_sax_parser_context.bc html_sax_push_parser.bc nokogiri.bc xml_attr.bc xml_attribute_decl.bc xml_cdata.bc xml_comment.bc xml_document.bc xml_document_fragment.bc xml_dtd.bc xml_element_content.bc xml_element_decl.bc xml_encoding_handler.bc xml_entity_decl.bc xml_entity_reference.bc xml_io.bc xml_libxml2_hacks.bc xml_namespace.bc xml_node.bc xml_node_set.bc xml_processing_instruction.bc xml_reader.bc xml_relax_ng.bc xml_sax_parser.bc xml_sax_parser_context.bc xml_sax_push_parser.bc xml_schema.bc xml_syntax_error.bc xml_text.bc xml_xpath_context.bc xslt_stylesheet.bc /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ports/x86_64-unknown-linux-gnu/libxslt/1.1.32/lib/libexslt.a /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ports/x86_64-unknown-linux-gnu/libxml2/2.9.8/lib/libxml2.a /home/aaron/.rvm/gems/truffleruby-1.0.0-rc2/gems/nokogiri-1.8.3/ports/x86_64-unknown-linux-gnu/libxslt/1.1.32/lib/libxslt.a
/home/aaron/.rvm/rubies/truffleruby-1.0.0-rc2/lib/cext/linker.rb:54:in `link_bitcode': Linker failed (RuntimeError)
from /home/aaron/.rvm/rubies/truffleruby-1.0.0-rc2/lib/cext/linker.rb:48:in `main'
from /home/aaron/.rvm/rubies/truffleruby-1.0.0-rc2/lib/cext/linker.rb:108:in `<main>'
Makefile:226: recipe for target 'nokogiri.su' failed
make: *** [nokogiri.su] Error 1
make failed, exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment