current directory: /tmp/bundler20180328-8995-1xg7fv9commonmarker-0.17.9/gems/commonmarker-0.17.9/ext/commonmarker /home/sho/.rbenv/versions/2.5.0/bin/ruby -r ./siteconf20180328-8995-1xx902x.rb extconf.rb creating Makefile current directory: /tmp/bundler20180328-8995-1xg7fv9commonmarker-0.17.9/gems/commonmarker-0.17.9/ext/commonmarker make "DESTDIR=" clean current directory: /tmp/bundler20180328-8995-1xg7fv9commonmarker-0.17.9/gems/commonmarker-0.17.9/ext/commonmarker make "DESTDIR=" compiling arena.c arena.c: In function ‘cmark_arena_pop’: arena.c:38:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct arena_chunk *n = A->prev; ^ arena.c: In function ‘cmark_arena_reset’: arena.c:54:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct arena_chunk *n = A->prev; ^ arena.c: In function ‘arena_calloc’: arena.c:64:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] size_t sz = nmem * size + sizeof(size_t); ^ arena.c:78:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] void *ptr = (uint8_t *) A->ptr + A->used; ^ arena.c: In function ‘arena_realloc’: arena.c:88:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] void *new_ptr = arena_calloc(1, size); ^ arena.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling autolink.c autolink.c: In function ‘www_match’: autolink.c:178:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *node = cmark_node_new_with_mem(CMARK_NODE_LINK, parser->mem); ^ autolink.c:186:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *text = cmark_node_new_with_mem(CMARK_NODE_TEXT, parser->mem); ^ autolink.c: In function ‘url_match’: autolink.c:239:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *node = cmark_node_new_with_mem(CMARK_NODE_LINK, parser->mem); ^ autolink.c:245:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *text = cmark_node_new_with_mem(CMARK_NODE_TEXT, parser->mem); ^ autolink.c: In function ‘postprocess_text’: autolink.c:343:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *link_node = cmark_node_new_with_mem(CMARK_NODE_LINK, parser->mem); ^ autolink.c:350:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *link_text = cmark_node_new_with_mem(CMARK_NODE_TEXT, parser->mem); ^ autolink.c:361:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *post = cmark_node_new_with_mem(CMARK_NODE_TEXT, parser->mem); ^ autolink.c: In function ‘create_autolink_extension’: autolink.c:415:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_mem *mem = cmark_get_default_mem_allocator(); ^ autolink.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling blocks.c blocks.c: In function ‘cmark_parser_reset’: blocks.c:118:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *document = make_document(parser->mem); ^ blocks.c: In function ‘finalize’: blocks.c:281:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_strbuf *node_content = &b->content; ^ blocks.c:313:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_strbuf tmp = CMARK_BUF_INIT(parser->mem); ^ blocks.c: In function ‘add_child’: blocks.c:378:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *child = ^ blocks.c: In function ‘process_footnotes’: blocks.c:461:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] unsigned int ix = 0; ^ blocks.c:471:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char n[32]; ^ blocks.c:474:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_strbuf buf = CMARK_BUF_INIT(parser->mem); ^ blocks.c:483:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_strbuf buf = CMARK_BUF_INIT(parser->mem); ^ blocks.c: In function ‘check_open_blocks’: blocks.c:970:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *container = parser->root; ^ blocks.c: In function ‘add_text_to_container’: blocks.c:1254:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] const cmark_node_type ctype = S_type(container); ^ blocks.c:1292:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int matches_end_condition; ^ blocks.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling buffer.c buffer.c: In function ‘cmark_strbuf_grow’: buffer.c:54:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] bufsize_t new_size = target_size + target_size / 2; ^ buffer.c: In function ‘cmark_strbuf_strchr’: buffer.c:173:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] const unsigned char *p = ^ buffer.c: In function ‘cmark_strbuf_strrchr’: buffer.c:187:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] bufsize_t i; ^ buffer.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling cmark.c compiling cmark_ctype.c compiling commonmark.c commonmark.c: In function ‘S_render_node’: commonmark.c:409:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] emph_delim = "_"; ^ commonmark.c:411:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] emph_delim = "*"; ^ commonmark.c:478:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char n[32]; ^ commonmark.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling commonmarker.c In file included from houdini.h:9:0, from commonmarker.c:3: config.h:8:0: warning: "HAVE_STDBOOL_H" redefined #define HAVE_STDBOOL_H ^ In file included from /home/sho/.rbenv/versions/2.5.0/include/ruby-2.5.0/ruby/ruby.h:24:0, from /home/sho/.rbenv/versions/2.5.0/include/ruby-2.5.0/ruby.h:33, from commonmarker.h:9, from commonmarker.c:1: /home/sho/.rbenv/versions/2.5.0/include/ruby-2.5.0/x86_64-linux/ruby/config.h:28:0: note: this is the location of the previous definition #define HAVE_STDBOOL_H 1 ^ commonmarker.c: In function ‘prepare_parser’: commonmarker.c:123:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_parser *parser = cmark_parser_new_with_mem(options, mem); ^ commonmarker.c:133:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_syntax_extension *syntax_extension = ^ commonmarker.c: In function ‘rb_markdown_to_html’: commonmarker.c:172:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_mem *default_mem = cmark_get_default_mem_allocator(); ^ commonmarker.c:176:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] VALUE ruby_html = rb_str_new2(html); ^ commonmarker.c: In function ‘rb_parse_document’: commonmarker.c:270:12: warning: variable ‘options’ set but not used [-Wunused-but-set-variable] int len, options; ^ commonmarker.c: In function ‘rb_render_html’: commonmarker.c:550:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_syntax_extension *syntax_extension = ^ commonmarker.c:561:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *html = cmark_render_html(node, options, extensions); ^ commonmarker.c: In function ‘rb_render_commonmark’: commonmarker.c:578:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int width = 120; ^ commonmarker.c:584:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int options; ^ commonmarker.c:591:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *cmark = cmark_render_commonmark(node, options, width); ^ commonmarker.c: In function ‘rb_render_plaintext’: commonmarker.c:606:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int width = 120; ^ commonmarker.c:612:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int options; ^ commonmarker.c:619:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *text = cmark_render_plaintext(node, options, width); ^ commonmarker.c: In function ‘rb_html_escape_href’: commonmarker.c:1073:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_mem *mem = cmark_node_mem(node); ^ commonmarker.c: In function ‘rb_html_escape_html’: commonmarker.c:1093:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_mem *mem = cmark_node_mem(node); ^ commonmarker.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling core-extensions.c compiling ext_scanners.c compiling footnotes.c compiling houdini_href_e.c compiling houdini_html_e.c compiling houdini_html_u.c compiling html.c html.c: In function ‘S_put_footnote_backref’: html.c:68:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char n[32]; ^ html.c: In function ‘S_render_node’: html.c:391:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char n[32]; ^ html.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling inlines.c inlines.c: In function ‘adjust_subj_node_newlines’: inlines.c:269:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int since_newline; ^ inlines.c: In function ‘scan_to_closing_backticks’: inlines.c:306:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] bufsize_t numticks = 0; ^ inlines.c: In function ‘handle_backticks’: inlines.c:342:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *node = make_code(subj, startpos, endpos - openticks.len - 1, cmark_chunk_buf_detach(&buf)); ^ inlines.c: In function ‘handle_hyphen’: inlines.c:534:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int numhyphens = subj->pos - startpos; ^ inlines.c: In function ‘handle_backslash’: inlines.c:758:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] unsigned char nextchar = peek_char(subj); ^ inlines.c: In function ‘handle_pointy_brace’: inlines.c:861:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *node = make_raw_html(subj, subj->pos - matchlen - 1, subj->pos - 1, contents); ^ inlines.c:871:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *node = make_raw_html(subj, subj->pos - matchlen - 1, subj->pos - 1, contents); ^ inlines.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling iterator.c iterator.c: In function ‘cmark_iter_new’: iterator.c:13:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_mem *mem = root->content.mem; ^ iterator.c: In function ‘cmark_consolidate_text_nodes’: iterator.c:99:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_iter *iter = cmark_iter_new(root); ^ iterator.c: In function ‘cmark_node_own’: iterator.c:132:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_iter *iter = cmark_iter_new(root); ^ iterator.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling latex.c latex.c: In function ‘get_link_type’: latex.c:165:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] const char *url = cmark_node_get_url(node); ^ latex.c:177:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] const char *title = cmark_node_get_title(node); ^ latex.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling linked_list.c compiling man.c man.c: In function ‘S_render_node’: man.c:132:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char list_number_s[LIST_NUMBER_SIZE]; ^ man.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling map.c compiling node.c node.c: In function ‘S_node_unlink’: node.c:761:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *parent = node->parent; ^ node.c: In function ‘cmark_node_insert_before’: node.c:791:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *old_prev = node->prev; ^ node.c:802:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *parent = node->parent; ^ node.c: In function ‘cmark_node_insert_after’: node.c:824:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *old_next = node->next; ^ node.c:835:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *parent = node->parent; ^ node.c: In function ‘cmark_node_prepend_child’: node.c:861:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *old_first_child = node->first_child; ^ node.c: In function ‘cmark_node_append_child’: node.c:885:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_node *old_last_child = node->last_child; ^ node.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling plaintext.c compiling plugin.c compiling references.c compiling registry.c registry.c: In function ‘cmark_register_plugin’: registry.c:23:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_llist *syntax_extensions_list = cmark_plugin_steal_syntax_extensions(plugin), ^ registry.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling render.c compiling scanners.c compiling strikethrough.c strikethrough.c: In function ‘create_strikethrough_extension’: strikethrough.c:151:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] cmark_mem *mem = cmark_get_default_mem_allocator(); ^ strikethrough.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling syntax_extension.c compiling table.c table.c: In function ‘row_from_string’: table.c:133:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] node_cell *cell = (node_cell *)parser->mem->calloc(1, sizeof(*cell)); ^ table.c: In function ‘try_opening_table_header’: table.c:223:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] uint8_t *alignments = ^ table.c: In function ‘matches’: table.c:344:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] table_row *new_row = row_from_string( ^ table.c: In function ‘html_render’: table.c:620:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int i = 0; ^ table.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’ compiling tagfilter.c compiling utf8.c compiling xml.c linking shared-object commonmarker/commonmarker.so current directory: /tmp/bundler20180328-8995-1xg7fv9commonmarker-0.17.9/gems/commonmarker-0.17.9/ext/commonmarker make "DESTDIR=" install /usr/bin/install -c -m 0755 commonmarker.so ./.gem.20180328-8995-1t5acnj/commonmarker