=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-redcarpet", "stage-install", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "RUBY_VERSION_REQD=40"] ===> Installing for ruby40-redcarpet-3.6.1 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /home/pbulk/work/textproc/ruby-redcarpet/work/redcarpet-3.6.1/redcarpet-3.6.1.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/work/textproc/ruby-redcarpet/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/redcarpet-3.6.1/ext/redcarpet /opt/pkg/bin/ruby40 extconf.rb creating Makefile current directory: /home/pbulk/work/textproc/ruby-redcarpet/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/redcarpet-3.6.1/ext/redcarpet make -j33 DESTDIR\= sitearchdir\=./.gem.20260719-917381-bp9i2b sitelibdir\=./.gem.20260719-917381-bp9i2b clean --- clean-static --- --- clean --- current directory: /home/pbulk/work/textproc/ruby-redcarpet/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/redcarpet-3.6.1/ext/redcarpet make -j33 DESTDIR\= sitearchdir\=./.gem.20260719-917381-bp9i2b sitelibdir\=./.gem.20260719-917381-bp9i2b --- autolink.o --- --- buffer.o --- --- houdini_href_e.o --- --- houdini_html_e.o --- --- html.o --- --- html_smartypants.o --- --- markdown.o --- --- rc_markdown.o --- --- rc_render.o --- --- stack.o --- --- autolink.o --- compiling autolink.c --- buffer.o --- compiling buffer.c --- houdini_html_e.o --- compiling houdini_html_e.c --- html.o --- compiling html.c --- html_smartypants.o --- compiling html_smartypants.c --- markdown.o --- compiling markdown.c --- rc_markdown.o --- compiling rc_markdown.c --- houdini_href_e.o --- compiling houdini_href_e.c --- rc_render.o --- compiling rc_render.c --- stack.o --- compiling stack.c --- markdown.o --- html_blocks.h: In function 'find_block_tag': markdown.c:43:39: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 43 | #define gperf_case_strncmp(s1, s2, n) strncasecmp(s1, s2, n) | ^~~~~~~~~~~ html_blocks.h:217:74: note: in expansion of macro 'gperf_case_strncmp' 217 | if ((((unsigned char)*str ^ (unsigned char)*s) & ~32) == 0 && !gperf_case_strncmp (str, s, len) && s[len] == '\0') | ^~~~~~~~~~~~~~~~~~ --- autolink.o --- autolink.c: In function 'sd_autolink_issafe': autolink.c:49:25: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 49 | strncasecmp((char *)link, valid_uris[i], len) == 0 && | ^~~~~~~~~~~ --- buffer.o --- buffer.c: In function 'bufcstr': buffer.c:111:52: warning: passing argument 1 of 'bufgrow' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | if (buf->size + 1 <= buf->asize || bufgrow(buf, buf->size + 1) == BUF_OK) { | ^~~ buffer.c:60:21: note: expected 'struct buf *' but argument is of type 'const struct buf *' 60 | bufgrow(struct buf *buf, size_t neosz) | ~~~~~~~~~~~~^~~ --- markdown.o --- markdown.c: In function 'sd_markdown_render': markdown.c:2867:66: warning: passing argument 1 of 'is_codefence' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2867 | if (codefences_enabled && (is_codefence(document + beg, doc_size - beg, &fence_delim, NULL) != 0)) | ~~~~~~~~~^~~~~ markdown.c:1402:23: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 1402 | is_codefence(uint8_t *data, size_t size, struct buf *curdelim, struct buf *syntax) | ~~~~~~~~~^~~~ --- autolink.o --- *** [autolink.o] Error code 1 make: stopped making "all" in /home/pbulk/work/textproc/ruby-redcarpet/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/redcarpet-3.6.1/ext/redcarpet --- markdown.o --- *** [markdown.o] Error code 1 make: stopped making "all" in /home/pbulk/work/textproc/ruby-redcarpet/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/redcarpet-3.6.1/ext/redcarpet make: 2 errors make: stopped making "all" in /home/pbulk/work/textproc/ruby-redcarpet/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/redcarpet-3.6.1/ext/redcarpet make failed, exit code 2 Gem files will remain installed in /home/pbulk/work/textproc/ruby-redcarpet/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/redcarpet-3.6.1 for inspection. Results logged to /home/pbulk/work/textproc/ruby-redcarpet/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/extensions/x86_64-solaris-2.11/4.0.0/redcarpet-3.6.1/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-redcarpet *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-redcarpet