{"action":"opened","issue":{"url":"https://api.github.com/repos/sparklemotion/nokogiri/issues/1485","repository_url":"https://api.github.com/repos/sparklemotion/nokogiri","labels_url":"https://api.github.com/repos/sparklemotion/nokogiri/issues/1485/labels{/name}","comments_url":"https://api.github.com/repos/sparklemotion/nokogiri/issues/1485/comments","events_url":"https://api.github.com/repos/sparklemotion/nokogiri/issues/1485/events","html_url":"https://github.com/sparklemotion/nokogiri/issues/1485","id":159553903,"number":1485,"title":"gem install nokogiri -v 1.6.8 failed on ubuntu","user":{"login":"roroco","id":2714293,"avatar_url":"https://avatars.githubusercontent.com/u/2714293?v=3","gravatar_id":"","url":"https://api.github.com/users/roroco","html_url":"https://github.com/roroco","followers_url":"https://api.github.com/users/roroco/followers","following_url":"https://api.github.com/users/roroco/following{/other_user}","gists_url":"https://api.github.com/users/roroco/gists{/gist_id}","starred_url":"https://api.github.com/users/roroco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roroco/subscriptions","organizations_url":"https://api.github.com/users/roroco/orgs","repos_url":"https://api.github.com/users/roroco/repos","events_url":"https://api.github.com/users/roroco/events{/privacy}","received_events_url":"https://api.github.com/users/roroco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-10T03:48:46Z","updated_at":"2016-06-10T03:48:46Z","closed_at":null,"body":"my os:\r\n```\r\nroroco@roroco ~/Dropbox/jvs/ro-adr $ lsb_release  -a\r\nNo LSB modules are available.\r\nDistributor ID:\tLinuxMint\r\nDescription:\tLinux Mint 17.3 Rosa\r\nRelease:\t17.3\r\nCodename:\trosa\r\n```\r\nmy ruby version:\r\n\r\n```\r\nroroco@roroco ~/Dropbox/jvs/ro-adr $ ruby -v\r\nruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]\r\n```\r\n\r\nfull log:\r\n\r\n```\r\nmake  all-recursive\r\nmake[1]: Entering directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4'\r\nMaking all in include\r\nmake[2]: Entering directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4/include'\r\nMaking all in libxml\r\nmake[3]: Entering directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4/include/libxml'\r\nmake[3]: Nothing to be done for `all'.\r\nmake[3]: Leaving directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4/include/libxml'\r\nmake[3]: Entering directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4/include'\r\nmake[3]: Nothing to be done for `all-am'.\r\nmake[3]: Leaving directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4/include'\r\nmake[2]: Leaving directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4/include'\r\nMaking all in .\r\nmake[2]: Entering directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4'\r\n  CC       SAX.lo\r\n  CC       entities.lo\r\n  CC       encoding.lo\r\n  CC       error.lo\r\n  CC       parserInternals.lo\r\n  CC       parser.lo\r\n  CC       tree.lo\r\n  CC       hash.lo\r\n  CC       list.lo\r\n  CC       xmlIO.lo\r\nxmlIO.c: In function ‘xmlGzfileOpen_real’:\r\nxmlIO.c:1166:28: warning: implicit declaration of function ‘fileno’ [-Wimplicit-function-declaration]\r\n         int duped_fd = dup(fileno(stdin));\r\n                            ^\r\nxmlIO.c:1166:9: warning: nested extern declaration of ‘fileno’ [-Wnested-externs]\r\n         int duped_fd = dup(fileno(stdin));\r\n         ^\r\n  CC       xmlmemory.lo\r\n  CC       uri.lo\r\n  CC       valid.lo\r\n  CC       xlink.lo\r\n  CC       HTMLparser.lo\r\n  CC       HTMLtree.lo\r\n  CC       debugXML.lo\r\n  CC       xpath.lo\r\nIn file included from xpath.c:462:0:\r\ntimsort.h: In function ‘libxml_domnode_tim_sort_collapse’:\r\ntimsort.h:405:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]\r\n     if ((stack_curr == 2) && (stack[0].length + stack[1].length == size)) {\r\n                                                                 ^\r\ntimsort.h:397:19: warning: variable ‘BD’ set but not used [-Wunused-but-set-variable]\r\n     int ABC, BCD, BD, CD;\r\n                   ^\r\nIn file included from ./include/libxml/parser.h:18:0,\r\n                 from ./include/libxml/globals.h:18,\r\n                 from ./include/libxml/threads.h:35,\r\n                 from ./include/libxml/xmlmemory.h:218,\r\n                 from xpath.c:38:\r\nxpath.c: In function ‘xmlXPathRegisterFuncNS’:\r\nxpath.c:4875:73: warning: ISO C forbids passing argument 4 of ‘xmlHashAddEntry2’ between function pointer and ‘void *’ [-Wpedantic]\r\n     return(xmlHashAddEntry2(ctxt->funcHash, name, ns_uri, XML_CAST_FPTR(f)));\r\n                                                                         ^\r\n./include/libxml/hash.h:56:29: note: in definition of macro ‘XML_CAST_FPTR’\r\n #define XML_CAST_FPTR(fptr) fptr\r\n                             ^\r\n./include/libxml/hash.h:128:4: note: expected ‘void *’ but argument is of type ‘xmlXPathFunction {aka void (*)(struct _xmlXPathParserContext *, int)}’\r\n    xmlHashAddEntry2(xmlHashTablePtr table,\r\n    ^\r\nxpath.c: In function ‘xmlXPathFunctionLookupNS’:\r\nxpath.c:4956:24: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]\r\n     XML_CAST_FPTR(ret) = xmlHashLookup2(ctxt->funcHash, name, ns_uri);\r\n                        ^\r\nxpath.c: In function ‘xmlXPathCompOpEval’:\r\nxpath.c:13563:41: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]\r\n                     XML_CAST_FPTR(func) = op->cache;\r\n                                         ^\r\nxpath.c:13590:31: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]\r\n                     op->cache = XML_CAST_FPTR(func);\r\n                               ^\r\nIn file included from xpath.c:476:0:\r\nxpath.c: At top level:\r\ntrionan.c:194:1: warning: ‘trio_is_special_quantity’ defined but not used [-Wunused-function]\r\n trio_is_special_quantity\r\n ^\r\ntrionan.c:218:1: warning: ‘trio_is_negative’ defined but not used [-Wunused-function]\r\n trio_is_negative\r\n ^\r\n  CC       xpointer.lo\r\n  CC       xinclude.lo\r\n  CC       nanohttp.lo\r\nnanohttp.c: In function ‘xmlNanoHTTPConnectHost’:\r\nnanohttp.c:1073:18: error: storage size of ‘hints’ isn’t known\r\n  struct addrinfo hints, *res, *result;\r\n                  ^\r\nnanohttp.c:1079:11: warning: implicit declaration of function ‘getaddrinfo’ [-Wimplicit-function-declaration]\r\n  status = getaddrinfo (host, NULL, &hints, &result);\r\n           ^\r\nnanohttp.c:1079:2: warning: nested extern declaration of ‘getaddrinfo’ [-Wnested-externs]\r\n  status = getaddrinfo (host, NULL, &hints, &result);\r\n  ^\r\nnanohttp.c:1085:35: error: dereferencing pointer to incomplete type ‘struct addrinfo’\r\n  for (res = result; res; res = res->ai_next) {\r\n                                   ^\r\nnanohttp.c:1089:7: warning: implicit declaration of function ‘freeaddrinfo’ [-Wimplicit-function-declaration]\r\n       freeaddrinfo (result);\r\n       ^\r\nnanohttp.c:1089:7: warning: nested extern declaration of ‘freeaddrinfo’ [-Wnested-externs]\r\nnanohttp.c:1073:18: warning: unused variable ‘hints’ [-Wunused-variable]\r\n  struct addrinfo hints, *res, *result;\r\n                  ^\r\nmake[2]: *** [nanohttp.lo] Error 1\r\nmake[2]: Leaving directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/home/roroco/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.8/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4'\r\nmake: *** [all] Error 2\r\n\r\n```"}}
{"actor":{"display_login":"roroco"}}