=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/www/chawan", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for chawan-v0.5.1 sed "s/%CHA_VERSION%/$(cat res/version)/g" res/chawan.html.in > res/chawan.html~ nim c --nimcache:".obj/chac_cache" -o:.obj/chac src/chac.nim mv res/chawan.html~ res/chawan.html install -m755 adapter/tools/mancha "target/release/bin" nim c -d:release -d:strip -d:lto -d:embedStartup -t:-pipe -t:-O2 -t:-msave-args -t:-fno-aggressive-loop-optimizations -t:-Wno-incompatible-pointer-types -t:-I/opt/pkg/include -l:-L/opt/pkg/lib -l:-Wl,-R/opt/pkg/lib -d:disableSandbox=0 -d:forcePollMode=0 --nimcache:".obj/release/file" -o:"target/release/libexec/chawan/cgi-bin/file" adapter/protocol/file.nim Hint: used config file '/opt/pkg/nim/config/nim.cfg' [Conf] Hint: used config file '/opt/pkg/nim/config/config.nims' [Conf] Hint: used config file '/home/pbuild/work/www/chawan/work/chawan-v0.5.1/nim.cfg' [Conf] Hint: used config file '/home/pbuild/work/www/chawan/work/chawan-v0.5.1/adapter/nim.cfg' [Conf] .................Hint: used config file '/opt/pkg/nim/config/nim.cfg' [Conf] Hint: used config file '/opt/pkg/nim/config/config.nims' [Conf] Hint: used config file '/home/pbuild/work/www/chawan/work/chawan-v0.5.1/nim.cfg' [Conf] .............................................................................................................................. /home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/io/chafile.nim(191, 1) Warning: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated] ............ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/utils/sandbox.nim(96, 12) Warning: Building without syscall sandboxing! [User] .......CC: ../../../../../../../../../opt/pkg/nim/lib/std/private/digitsutils.nim CC: ../../../../../../../../../opt/pkg/nim/lib/std/assertions.nim CC: ../../../../../../../../../opt/pkg/nim/lib/system/dollars.nim CC: ../../../../../../../../../opt/pkg/nim/lib/system.nim CC: ../../../../../../../../../opt/pkg/nim/lib/posix/posix.nim CC: ../../src/utils/opt.nim CC: ../../src/io/dynstream.nim CC: ../../src/utils/twtstr.nim CC: ../../src/io/chafile.nim CC: ../../src/utils/chaos.nim CC: lcgi.nim CC: file.nim ......./home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@mfile.nim.c: In function 'main__file_u275': /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@mfile.nim.c:872:129: warning: passing argument 3 of 'deleteChars__OOZOOZsrcZutilsZtwtstr_u2549' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 872 | colontmpD_ = deleteChars__OOZOOZsrcZutilsZtwtstr_u2549(((path).p) ? (path.p->data) : NIM_NIL, path.len, TM__3VyP3A2pyrHp60P1nMW3sw_9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@mfile.nim.c:76:148: note: expected 'NU8 *' {aka 'unsigned char *'} but argument is of type 'const NU8 *' {aka 'const unsigned char *'} 76 | N_LIB_PRIVATE N_NIMCALL(NimStringV2, deleteChars__OOZOOZsrcZutilsZtwtstr_u2549)(NIM_CHAR* s_p0, NI s_p0Len_0, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw todel_p1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ . /home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/io/chafile.nim(191, 1) Warning: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated] ................ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/js/quickjs.nim(954, 1) Warning: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated] /home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/js/jstypes.nim(135, 1) Warning: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated] /home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/js/jstypes.nim(188, 1) Warning: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated] /home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/js/jstypes.nim(288, 1) Warning: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated] .... CC: cutils CC: dtoa CC: libunicode CC: libregexp CC: quickjs CC: ../../../../../../../../opt/pkg/nim/lib/std/private/digitsutils.nim CC: ../../../../../../../../opt/pkg/nim/lib/std/assertions.nim CC: ../../../../../../../../opt/pkg/nim/lib/system/dollars.nim CC: ../../../../../../../../opt/pkg/nim/lib/system.nim CC: ../../../../../../../../opt/pkg/nim/lib/posix/posix.nim CC: utils/opt.nim CC: io/dynstream.nim CC: io/chafile.nim CC: utils/chaos.nim CC: js/libregexp.nim CC: js/quickjs.nim CC: js/jstypes.nim CC: js/jsutils.nim CC: chac.nim In file included from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/cutils.c:30: /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/cutils.h:36:9: warning: "__maybe_unused" redefined 36 | #define __maybe_unused __attribute__((unused)) | ^~~~~~~~~~~~~~ In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/cutils.c:25: /usr/include/sys/ccompile.h:173:9: note: this is the location of the previous definition 173 | #define __maybe_unused __sun_attr__((__unused__)) | ^~~~~~~~~~~~~~ In file included from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/libunicode.c:30: /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/cutils.h:36:9: warning: "__maybe_unused" redefined 36 | #define __maybe_unused __attribute__((unused)) | ^~~~~~~~~~~~~~ In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/libunicode.c:24: /usr/include/sys/ccompile.h:173:9: note: this is the location of the previous definition 173 | #define __maybe_unused __sun_attr__((__unused__)) | ^~~~~~~~~~~~~~ In file included from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/dtoa.c:33: /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/cutils.h:36:9: warning: "__maybe_unused" redefined 36 | #define __maybe_unused __attribute__((unused)) | ^~~~~~~~~~~~~~ In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/dtoa.c:24: /usr/include/sys/ccompile.h:173:9: note: this is the location of the previous definition 173 | #define __maybe_unused __sun_attr__((__unused__)) | ^~~~~~~~~~~~~~ In file included from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/libregexp.c:31: /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/cutils.h:36:9: warning: "__maybe_unused" redefined 36 | #define __maybe_unused __attribute__((unused)) | ^~~~~~~~~~~~~~ In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/libregexp.c:24: /usr/include/sys/ccompile.h:173:9: note: this is the location of the previous definition 173 | #define __maybe_unused __sun_attr__((__unused__)) | ^~~~~~~~~~~~~~ In file included from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c:43: /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/cutils.h:36:9: warning: "__maybe_unused" redefined 36 | #define __maybe_unused __attribute__((unused)) | ^~~~~~~~~~~~~~ In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c:25: /usr/include/sys/ccompile.h:173:9: note: this is the location of the previous definition 173 | #define __maybe_unused __sun_attr__((__unused__)) | ^~~~~~~~~~~~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/chac_cache/@mjs@sjsutils.nim.c: In function 'getExceptionMsg__jsZjsutils_u995': /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/chac_cache/@mjs@sjsutils.nim.c:147:43: warning: passing argument 1 of 'eqeq___system_u7280' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 147 | T3_ = eqeq___system_u7280(outp, ((NCSTRING) NIM_NIL)); | ^~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/chac_cache/@mjs@sjsutils.nim.c:86:57: note: expected 'NCSTRING' {aka 'char *'} but argument is of type 'const char *' 86 | static N_INLINE(NIM_BOOL, eqeq___system_u7280)(NCSTRING x_p0, NCSTRING y_p1) { | ~~~~~~~~~^~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/chac_cache/@mjs@sjsutils.nim.c:174:52: warning: passing argument 1 of 'eqeq___system_u7280' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | T17_ = eqeq___system_u7280(outp_2, ((NCSTRING) NIM_NIL)); | ^~~~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/chac_cache/@mjs@sjsutils.nim.c:86:57: note: expected 'NCSTRING' {aka 'char *'} but argument is of type 'const char *' 86 | static N_INLINE(NIM_BOOL, eqeq___system_u7280)(NCSTRING x_p0, NCSTRING y_p1) { | ~~~~~~~~~^~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c: In function 'js_c_function_data_call': /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c:6118:19: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 6118 | arg_buf = alloca(sizeof(arg_buf[0]) * s->length); | ^~~~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c:6118:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c: In function 'js_call_c_function': /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c:18010:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 18010 | arg_buf = alloca(sizeof(arg_buf[0]) * arg_count); | ^~~~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c: In function 'js_call_bound_function': /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c:18121:15: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 18121 | arg_buf = alloca(sizeof(JSValue) * arg_count); | ^~~~~~ /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c: In function 'JS_CallInternal': /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c:18262:17: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 18262 | local_buf = alloca(alloca_size); | ^~~~~~ Error: execution of an external compiler program 'gcc -c -w -fmax-errors=3 -D_POSIX_PTHREAD_SEMANTICS -I/home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/js -DNOT_LRE_ONLY -fwrapv -DCONFIG_VERSION='"cha"' -DCHA_BUILD -I/opt/pkg/nim/lib -I/home/pbuild/work/www/chawan/work/chawan-v0.5.1/src -o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/chac_cache/@m..@slib@squickjs@squickjs.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/quickjs.c' failed with exit code: 1 gmake: *** [Makefile:260: .obj/chac] Error 1 gmake: *** Waiting for unfinished jobs.... Hint: [Link] ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_spkg_snim_slib_sstd_sprivate_sdigitsutils.nim.c.fe46a53b' in file /var/tmp//cc_WWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_spkg_snim_slib_sstd_sassertions.nim.c.9d60484e' in file /var/tmp//ccaXWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_spkg_snim_slib_ssystem_sdollars.nim.c.ad560be6' in file /var/tmp//ccbXWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_spkg_snim_slib_ssystem.nim.c.0baf03d3' in file /var/tmp//cccXWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_spkg_snim_slib_sposix_sposix.nim.c.b6b8a343' in file /var/tmp//ccdXWCMD.debug.temp.o associated with invalid section[1] ld: fatal: symbol 'g_m.._s.._ssrc_sutils_sopt.nim.c.f37aac86' in file /var/tmp//cceXWCMD.debug.temp.o associated with invalid section[1] ld: fatal: symbol 'g_m.._s.._ssrc_sio_sdynstream.nim.c.e657ddc8' in file /var/tmp//ccfXWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._ssrc_sutils_stwtstr.nim.c.7f3d5166' in file /var/tmp//ccgXWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._ssrc_sio_schafile.nim.c.b9f40f6a' in file /var/tmp//cchXWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._ssrc_sutils_schaos.nim.c.1e04c8a6' in file /var/tmp//cciXWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_mlcgi.nim.c.d5424c35' in file /var/tmp//ccjXWCMD.debug.temp.o has no section definition ld: fatal: symbol 'g_mfile.nim.c.7d122f0b' in file /var/tmp//cckXWCMD.debug.temp.o has no section definition ld: fatal: file processing errors. No output written to /home/pbuild/work/www/chawan/work/chawan-v0.5.1/target/release/libexec/chawan/cgi-bin/file collect2: fatal error: ld returned 1 exit status compilation terminated. Error: execution of an external program failed: 'gcc -o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/target/release/libexec/chawan/cgi-bin/file /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@s..@s..@s..@s..@s..@s..@s..@sopt@spkg@snim@slib@sstd@sprivate@sdigitsutils.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@s..@s..@s..@s..@s..@s..@s..@sopt@spkg@snim@slib@sstd@sassertions.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@s..@s..@s..@s..@s..@s..@s..@sopt@spkg@snim@slib@ssystem@sdollars.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@s..@s..@s..@s..@s..@s..@s..@sopt@spkg@snim@slib@ssystem.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@s..@s..@s..@s..@s..@s..@s..@sopt@spkg@snim@slib@sposix@sposix.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@ssrc@sutils@sopt.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@ssrc@sio@sdynstream.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@ssrc@sutils@stwtstr.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@ssrc@sio@schafile.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@m..@s..@ssrc@sutils@schaos.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@mlcgi.nim.c.o /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/release/file/@mfile.nim.c.o -lresolv -lm -lm -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -ldl -flto=auto -Wno-stringop-overflow -s' gmake: *** [Makefile:223: target/release/libexec/chawan/cgi-bin/file] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/chawan *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/chawan