=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/www/chawan", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for chawan-0.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/local/include -t:-I/usr/include -l:-L/opt/local/lib -l:-L/usr/lib/amd64 -l:-Wl,-R/usr/lib/amd64 -l:-Wl,-R/opt/local/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/local/nim/config/nim.cfg' [Conf] Hint: used config file '/opt/local/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 '/opt/local/nim/config/nim.cfg' [Conf] Hint: used config file '/opt/local/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] ..................................................................................................................................................... /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/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/jstypes.nim(288, 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/local/nim/lib/std/private/digitsutils.nim CC: ../../../../../../../../../opt/local/nim/lib/std/assertions.nim CC: ../../../../../../../../../opt/local/nim/lib/system/dollars.nim CC: ../../../../../../../../../opt/local/nim/lib/system.nim CC: ../../../../../../../../../opt/local/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 CC: cutils CC: dtoa CC: libunicode CC: libregexp CC: quickjs CC: ../../../../../../../../opt/local/nim/lib/std/private/digitsutils.nim CC: ../../../../../../../../opt/local/nim/lib/std/assertions.nim CC: ../../../../../../../../opt/local/nim/lib/system/dollars.nim CC: ../../../../../../../../opt/local/nim/lib/system.nim CC: ../../../../../../../../opt/local/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/libregexp.c:31: /home/pbuild/work/www/chawan/work/chawan-v0.5.1/lib/quickjs/cutils.h:36: 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:169: note: this is the location of the previous definition 169 | #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: 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:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | 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: 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:169: note: this is the location of the previous definition 169 | #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: 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:169: note: this is the location of the previous definition 169 | #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: 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:169: note: this is the location of the previous definition 169 | #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/.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/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: warning: 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); | ^~~~~~ Hint: [Link] ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_slocal_snim_slib_sstd_sprivate_sdigitsutils.nim.c.cb5064de' in file /var/tmp//ccARaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_slocal_snim_slib_sstd_sassertions.nim.c.09bed6dd' in file /var/tmp//ccBRaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_slocal_snim_slib_ssystem_sdollars.nim.c.4b968baf' in file /var/tmp//ccCRaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_slocal_snim_slib_ssystem.nim.c.d5f05dc4' in file /var/tmp//ccDRaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._s.._s.._s.._s.._s.._s.._s.._sopt_slocal_snim_slib_sposix_sposix.nim.c.852dd772' in file /var/tmp//ccERaiBP.debug.temp.o associated with invalid section[1] ld: fatal: symbol 'g_m.._s.._ssrc_sutils_sopt.nim.c.8939100c' in file /var/tmp//ccFRaiBP.debug.temp.o associated with invalid section[1] ld: fatal: symbol 'g_m.._s.._ssrc_sio_sdynstream.nim.c.eb971696' in file /var/tmp//ccGRaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._ssrc_sutils_stwtstr.nim.c.49507513' in file /var/tmp//ccHRaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._ssrc_sio_schafile.nim.c.a1e3ea34' in file /var/tmp//ccIRaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_m.._s.._ssrc_sutils_schaos.nim.c.7a2f3612' in file /var/tmp//ccJRaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_mlcgi.nim.c.716401d2' in file /var/tmp//ccKRaiBP.debug.temp.o has no section definition ld: fatal: symbol 'g_mfile.nim.c.81ff3c86' in file /var/tmp//ccLRaiBP.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@slocal@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@slocal@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@slocal@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@slocal@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@slocal@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/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/local/lib -ldl -flto=auto -Wno-stringop-overflow -s' gmake: *** [Makefile:223: target/release/libexec/chawan/cgi-bin/file] Error 1 gmake: *** Waiting for unfinished jobs.... Hint: [Link] Hint: mm: arc; opt: none (DEBUG BUILD, `-d:release` generates faster code) 38667 lines; 8.814s; 57.688MiB peakmem; proj: /home/pbuild/work/www/chawan/work/chawan-v0.5.1/src/chac.nim; out: /home/pbuild/work/www/chawan/work/chawan-v0.5.1/.obj/chac [SuccessX] *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/www/chawan *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/www/chawan