=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-rdiscount", "stage-install", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "RUBY_VERSION_REQD=40"] ===> Installing for ruby40-rdiscount-2.2.7.5 => Generating pre-install file lists => Creating installation directories => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /home/pbulk/work/textproc/ruby-rdiscount/work/rdiscount-2.2.7.5/rdiscount-2.2.7.5.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext /opt/pkg/bin/ruby40 extconf.rb checking for random()... yes checking for srandom()... yes checking for rand()... yes checking for srand()... yes checking size of unsigned long... 8 checking size of unsigned int... 4 checking size of unsigned int... 4 checking size of unsigned short... 2 creating Makefile current directory: /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext make -j33 DESTDIR\= sitearchdir\=./.gem.20260719-582690-mz3f1o sitelibdir\=./.gem.20260719-582690-mz3f1o clean --- clean-static --- --- clean --- current directory: /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext make -j33 DESTDIR\= sitearchdir\=./.gem.20260719-582690-mz3f1o sitelibdir\=./.gem.20260719-582690-mz3f1o --- Csio.o --- --- amalloc.o --- --- basename.o --- --- css.o --- --- docheader.o --- --- dumptree.o --- --- emmatch.o --- --- flags.o --- --- generate.o --- --- gethopt.o --- --- github_flavoured.o --- --- h1title.o --- --- html5.o --- --- markdown.o --- --- mkdio.o --- --- mktags.o --- --- notspecial.o --- --- pgm_options.o --- --- rdiscount.o --- --- resource.o --- --- setup.o --- --- tags.o --- --- toc.o --- --- version.o --- --- xml.o --- --- xmlpage.o --- --- Csio.o --- compiling Csio.c --- amalloc.o --- compiling amalloc.c --- basename.o --- compiling basename.c --- css.o --- compiling css.c --- docheader.o --- compiling docheader.c --- dumptree.o --- compiling dumptree.c --- emmatch.o --- compiling emmatch.c --- flags.o --- compiling flags.c --- generate.o --- compiling generate.c --- gethopt.o --- compiling gethopt.c --- github_flavoured.o --- compiling github_flavoured.c --- h1title.o --- compiling h1title.c --- html5.o --- compiling html5.c --- markdown.o --- compiling markdown.c --- mktags.o --- compiling mktags.c --- mkdio.o --- compiling mkdio.c --- notspecial.o --- compiling notspecial.c --- pgm_options.o --- compiling pgm_options.c --- rdiscount.o --- compiling rdiscount.c --- resource.o --- compiling resource.c --- tags.o --- compiling tags.c --- toc.o --- compiling toc.c --- setup.o --- compiling setup.c --- version.o --- compiling version.c --- xml.o --- compiling xml.c --- xmlpage.o --- compiling xmlpage.c --- mktags.o --- mktags.c: In function 'casort': mktags.c:33:12: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 33 | return strncasecmp(a->id, b->id, b->size); | ^~~~~~~~~~~ mktags.c:33:39: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 33 | return strncasecmp(a->id, b->id, b->size); | ~^~~~~~ : note: built-in 'strncasecmp' declared here --- toc.o --- toc.c: In function 'Csputc_mkd_sta_function_t': toc.c:19:13: warning: passing argument 2 of 'Csputc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19 | Csputc(n, iot); | ^~~ In file included from toc.c:14: cstring.h:72:25: note: expected 'Cstring *' but argument is of type 'const void *' 72 | extern void Csputc(int, Cstring *); | ^~~~~~~~~ --- tags.o --- tags.c: In function 'casort': tags.c:49:12: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 49 | return strncasecmp(a->id, b->id, b->size); | ^~~~~~~~~~~ tags.c:49:39: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 49 | return strncasecmp(a->id, b->id, b->size); | ~^~~~~~ : note: built-in 'strncasecmp' declared here --- generate.o --- generate.c: In function 'Qchar_mkd_sta_function_t': generate.c:184:12: warning: passing argument 2 of 'Qchar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | Qchar(n, iot); | ^~~ generate.c:131:21: note: expected 'MMIOT *' {aka 'struct mmiot *'} but argument is of type 'const void *' 131 | Qchar(int c, MMIOT *f) | ~~~~~~~^ --- markdown.o --- markdown.c: In function 'szmarkerclass': markdown.c:738:10: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 738 | if ( strncasecmp(p, "id:", 3) == 0 ) | ^~~~~~~~~~~ markdown.c:738:32: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 738 | if ( strncasecmp(p, "id:", 3) == 0 ) | ^ : note: built-in 'strncasecmp' declared here markdown.c:740:35: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 740 | if ( strncasecmp(p, "class:", 6) == 0 ) | ^ : note: built-in 'strncasecmp' declared here --- generate.o --- generate.c: In function 'isautoprefix': generate.c:536:35: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 536 | if ( (size >= p->nlen) && strncasecmp(text, p->name, p->nlen) == 0 ) | ^~~~~~~~~~~ generate.c:536:63: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 536 | if ( (size >= p->nlen) && strncasecmp(text, p->name, p->nlen) == 0 ) | ~^~~~~~ : note: built-in 'strncasecmp' declared here generate.c: In function 'pseudo': generate.c:590:63: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 590 | if ( (S(t) > r->szpat) && (strncasecmp(T(t), r->pat, r->szpat) == 0) ) | ~^~~~~~~ : note: built-in 'strncasecmp' declared here --- tags.o --- *** [tags.o] Error code 1 make: stopped making "all" in /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext --- generate.o --- generate.c: In function 'forbidden_tag': generate.c:992:53: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 992 | && strncasecmp(cursor(f)+1, "MG", 2) == 0 | ^ : note: built-in 'strncasecmp' declared here generate.c: In function 'process_possible_link': generate.c:1040:53: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1040 | if ( (size > 7) && strncasecmp(text, "mailto:", 7) == 0 ) { | ^ : note: built-in 'strncasecmp' declared here --- mktags.o --- *** [mktags.o] Error code 1 make: stopped making "all" in /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext --- pgm_options.o --- pgm_options.c: In function 'set_flag': pgm_options.c:122:19: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 122 | else if ( strncasecmp(arg, "no", 2) == 0 ) { | ^~~~~~~~~~~ pgm_options.c:122:42: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 122 | else if ( strncasecmp(arg, "no", 2) == 0 ) { | ^ : note: built-in 'strncasecmp' declared here pgm_options.c:130:18: error: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 130 | if ( strcasecmp(arg, opts[i].name) == 0 ) | ^~~~~~~~~~ *** [pgm_options.o] Error code 1 make: stopped making "all" in /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext --- markdown.o --- *** [markdown.o] Error code 1 make: stopped making "all" in /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext --- generate.o --- *** [generate.o] Error code 1 make: stopped making "all" in /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext make: 5 errors make: stopped making "all" in /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5/ext make failed, exit code 2 Gem files will remain installed in /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/rdiscount-2.2.7.5 for inspection. Results logged to /home/pbulk/work/textproc/ruby-rdiscount/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/extensions/x86_64-solaris-2.11/4.0.0/rdiscount-2.2.7.5/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-rdiscount *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-rdiscount