+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jchkmail-1.3.1anb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jchkmail-1.3.1anb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for jchkmail-1.3.1anb2 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- j-db.o --- --- j-table.o --- --- j-rdfile.o --- --- j-divers.o --- --- j-db.o --- source='j-db.c' object='j-db.o' libtool=no depfile='.deps/j-db.Po' tmpdepfile='.deps/j-db.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-db.c' || echo './'`j-db.c --- j-table.o --- source='j-table.c' object='j-table.o' libtool=no depfile='.deps/j-table.Po' tmpdepfile='.deps/j-table.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-table.c' || echo './'`j-table.c --- j-rdfile.o --- source='j-rdfile.c' object='j-rdfile.o' libtool=no depfile='.deps/j-rdfile.Po' tmpdepfile='.deps/j-rdfile.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-rdfile.c' || echo './'`j-rdfile.c --- j-divers.o --- source='j-divers.c' object='j-divers.o' libtool=no depfile='.deps/j-divers.Po' tmpdepfile='.deps/j-divers.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-divers.c' || echo './'`j-divers.c --- j-strings.o --- source='j-strings.c' object='j-strings.o' libtool=no depfile='.deps/j-strings.Po' tmpdepfile='.deps/j-strings.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-strings.c' || echo './'`j-strings.c --- j-buffer.o --- source='j-buffer.c' object='j-buffer.o' libtool=no depfile='.deps/j-buffer.Po' tmpdepfile='.deps/j-buffer.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-buffer.c' || echo './'`j-buffer.c --- j-decode.o --- source='j-decode.c' object='j-decode.o' libtool=no depfile='.deps/j-decode.Po' tmpdepfile='.deps/j-decode.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-decode.c' || echo './'`j-decode.c --- mimelist.o --- source='mimelist.c' object='mimelist.o' libtool=no depfile='.deps/mimelist.Po' tmpdepfile='.deps/mimelist.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'mimelist.c' || echo './'`mimelist.c --- j-decode.o --- j-decode.c: In function 'isb64char': j-decode.c:333:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 333 | return (strchr (B64, (int) c) ? 1 : 0); | ^ --- scanmail.o --- source='scanmail.c' object='scanmail.o' libtool=no depfile='.deps/scanmail.Po' tmpdepfile='.deps/scanmail.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'scanmail.c' || echo './'`scanmail.c --- j-inet.o --- source='j-inet.c' object='j-inet.o' libtool=no depfile='.deps/j-inet.Po' tmpdepfile='.deps/j-inet.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-inet.c' || echo './'`j-inet.c --- scanmail.o --- scanmail.c: In function 'scan_block': scanmail.c:423:17: warning: overflow in conversion from 'long int' to 'int' changes value from '9223372036854775807' to '-1' [-Woverflow] 423 | dcd = LONG_MAX; | ^~~~~~~~ scanmail.c:424:17: warning: overflow in conversion from 'long int' to 'int' changes value from '9223372036854775807' to '-1' [-Woverflow] 424 | dct = LONG_MAX; | ^~~~~~~~ scanmail.c:622:27: warning: variable 'rfc2231_code' set but not used [-Wunused-but-set-variable] 622 | int rfc2231_code = 0; | ^~~~~~~~~~~~ --- j-ipc.o --- source='j-ipc.c' object='j-ipc.o' libtool=no depfile='.deps/j-ipc.Po' tmpdepfile='.deps/j-ipc.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-ipc.c' || echo './'`j-ipc.c --- j-resource.o --- --- j-users-tab.o --- source='j-users-tab.c' object='j-users-tab.o' libtool=no depfile='.deps/j-users-tab.Po' tmpdepfile='.deps/j-users-tab.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-users-tab.c' || echo './'`j-users-tab.c --- j-resource.o --- source='j-resource.c' object='j-resource.o' libtool=no depfile='.deps/j-resource.Po' tmpdepfile='.deps/j-resource.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-resource.c' || echo './'`j-resource.c --- j-classw-tab.o --- source='j-classw-tab.c' object='j-classw-tab.o' libtool=no depfile='.deps/j-classw-tab.Po' tmpdepfile='.deps/j-classw-tab.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-classw-tab.c' || echo './'`j-classw-tab.c --- j-nets-tab.o --- source='j-nets-tab.c' object='j-nets-tab.o' libtool=no depfile='.deps/j-nets-tab.Po' tmpdepfile='.deps/j-nets-tab.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-nets-tab.c' || echo './'`j-nets-tab.c --- j-mailregex.o --- source='j-mailregex.c' object='j-mailregex.o' libtool=no depfile='.deps/j-mailregex.Po' tmpdepfile='.deps/j-mailregex.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-mailregex.c' || echo './'`j-mailregex.c --- j-scanregex.o --- source='j-scanregex.c' object='j-scanregex.o' libtool=no depfile='.deps/j-scanregex.Po' tmpdepfile='.deps/j-scanregex.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-scanregex.c' || echo './'`j-scanregex.c --- j-host-access.o --- source='j-host-access.c' object='j-host-access.o' libtool=no depfile='.deps/j-host-access.Po' tmpdepfile='.deps/j-host-access.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-host-access.c' || echo './'`j-host-access.c --- j-scanregex.o --- j-scanregex.c: In function 'decode_base64_parts': j-scanregex.c:537:26: warning: variable 'n' set but not used [-Wunused-but-set-variable] 537 | uint32_t ni, no, n; | ^ --- j-user-access.o --- source='j-user-access.c' object='j-user-access.o' libtool=no depfile='.deps/j-user-access.Po' tmpdepfile='.deps/j-user-access.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-user-access.c' || echo './'`j-user-access.c --- j-resolve-tab.o --- --- j-mailregex.o --- j-mailregex.c: In function 'check_regex': j-mailregex.c:305:55: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 196 and 228 [-Wformat-truncation=] 251 | (void) save_found_regex (conn_id, nb, result, p.regex); | ~~~~~~~ ...... 305 | snprintf (sout, sizeof (sout), "%10ld %08lX %3d %3d %s\n", id, id, nb, score, expr); | ^~ In function 'save_found_regex', inlined from 'check_regex' at j-mailregex.c:251:18: j-mailregex.c:305:3: note: 'snprintf' output between 30 and 317 bytes into a destination of size 256 305 | snprintf (sout, sizeof (sout), "%10ld %08lX %3d %3d %s\n", id, id, nb, score, expr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- j-resolve-tab.o --- source='j-resolve-tab.c' object='j-resolve-tab.o' libtool=no depfile='.deps/j-resolve-tab.Po' tmpdepfile='.deps/j-resolve-tab.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-resolve-tab.c' || echo './'`j-resolve-tab.c --- j-throttle.o --- source='j-throttle.c' object='j-throttle.o' libtool=no depfile='.deps/j-throttle.Po' tmpdepfile='.deps/j-throttle.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-throttle.c' || echo './'`j-throttle.c --- j-stats.o --- source='j-stats.c' object='j-stats.o' libtool=no depfile='.deps/j-stats.Po' tmpdepfile='.deps/j-stats.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'j-stats.c' || echo './'`j-stats.c --- kstats.o --- source='kstats.c' object='kstats.o' libtool=no depfile='.deps/kstats.Po' tmpdepfile='.deps/kstats.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include -I/usr/include -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -Wall -c `test -f 'kstats.c' || echo './'`kstats.c --- j-resolve-tab.o --- j-resolve-tab.c: In function 'resolve_loop': j-resolve-tab.c:358:1: warning: no return statement in function returning non-void [-Wreturn-type] 358 | } | ^ --- j-throttle.o --- j-throttle.c:265:1: error: conflicting types for 'throttle_resize'; have 'int()' 265 | throttle_resize (sza, szb) | ^~~~~~~~~~~~~~~ In file included from ../include/j-chkmail.h:61, from j-throttle.c:37: ../include/j-throttle.h:37:21: note: previous declaration of 'throttle_resize' with type '_Bool(size_t, size_t)' {aka '_Bool(long unsigned int, long unsigned int)'} 37 | bool throttle_resize(size_t , size_t); | ^~~~~~~~~~~~~~~ j-throttle.c: In function 'throttle_loop': j-throttle.c:659:1: warning: no return statement in function returning non-void [-Wreturn-type] 659 | } | ^ j-throttle.c: In function 'throttle_read_table': j-throttle.c:794:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 794 | for (i = 0, imax = 0, tmax = 0; i < DIM_HIST_T; i++); { | ^~~ j-throttle.c:794:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 794 | for (i = 0, imax = 0, tmax = 0; i < DIM_HIST_T; i++); { | ^ j-throttle.c:818:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 818 | for (i = 0, imax = 0; i < DIM_HIST_T; i++); { | ^~~ j-throttle.c:818:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 818 | for (i = 0, imax = 0; i < DIM_HIST_T; i++); { | ^ j-throttle.c: In function 'throttle_print_table': j-throttle.c:876:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 876 | printf ("*** CONNECTIONS : %6d / 10 min (%d/%d entries)\n", | ~^ | | | int | %ld 877 | v, hdata.conn_nb, DIM_RES_T); | ~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} j-throttle.c:876:48: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 876 | printf ("*** CONNECTIONS : %6d / 10 min (%d/%d entries)\n", | ~^ | | | int | %ld 877 | v, hdata.conn_nb, DIM_RES_T); | ~~~~~~~~~ | | | size_t {aka long unsigned int} j-throttle.c:901:52: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 901 | printf (" HISTORY : %3ld:%02ld:%02ld (%d/%d entries)\n", | ~^ | | | int | %ld 902 | hh, mm, ss, v, DIM_HIST_T); | ~~~~~~~~~~ | | | size_t {aka long unsigned int} j-throttle.c:908:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 908 | printf ("*** RECIPIENTS : %6d / 10 min (%d/%d entries)\n", | ~^ | | | int | %ld 909 | v, hdata.rcpt_nb, DIM_RES_T); | ~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} j-throttle.c:908:48: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 908 | printf ("*** RECIPIENTS : %6d / 10 min (%d/%d entries)\n", | ~^ | | | int | %ld 909 | v, hdata.rcpt_nb, DIM_RES_T); | ~~~~~~~~~ | | | size_t {aka long unsigned int} j-throttle.c:933:52: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 933 | printf (" HISTORY : %3ld:%02ld:%02ld (%d/%d entries)\n\n", | ~^ | | | int | %ld 934 | hh, mm, ss, v, DIM_HIST_T); | ~~~~~~~~~~ | | | size_t {aka long unsigned int} *** [j-throttle.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a/src bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /home/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/jchkmail *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/jchkmail