+ 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/yafic-1.2.2nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yafic-1.2.2nb3/work.log ===> Building for yafic-1.2.2nb3 --- all --- /opt/pkg/bin/bmake all-am --- yafic.o --- --- common.o --- --- ruleset.o --- --- view.o --- --- yafic.o --- source='yafic.c' object='yafic.o' libtool=no depfile='.deps/yafic.Po' tmpdepfile='.deps/yafic.TPo' depmode=gcc3 /usr/bin/bash ./depcomp gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -c `test -f 'yafic.c' || echo './'`yafic.c --- common.o --- source='common.c' object='common.o' libtool=no depfile='.deps/common.Po' tmpdepfile='.deps/common.TPo' depmode=gcc3 /usr/bin/bash ./depcomp gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -c `test -f 'common.c' || echo './'`common.c --- view.o --- source='view.c' object='view.o' libtool=no depfile='.deps/view.Po' tmpdepfile='.deps/view.TPo' depmode=gcc3 /usr/bin/bash ./depcomp gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -c `test -f 'view.c' || echo './'`view.c --- ruleset.o --- source='ruleset.c' object='ruleset.o' libtool=no depfile='.deps/ruleset.Po' tmpdepfile='.deps/ruleset.TPo' depmode=gcc3 /usr/bin/bash ./depcomp gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -c `test -f 'ruleset.c' || echo './'`ruleset.c --- yafic.o --- In file included from yafic.c:72: statpack.h:88:2: error: #error SIZEOF_STAT_ST_MODE is 0! 88 | #error SIZEOF_STAT_ST_MODE is 0! | ^~~~~ statpack.h:107:2: error: #error SIZEOF_STAT_ST_INO is 0! 107 | #error SIZEOF_STAT_ST_INO is 0! | ^~~~~ statpack.h:126:2: error: #error SIZEOF_STAT_ST_NLINK is 0! 126 | #error SIZEOF_STAT_ST_NLINK is 0! | ^~~~~ statpack.h:145:2: error: #error SIZEOF_STAT_ST_UID is 0! 145 | #error SIZEOF_STAT_ST_UID is 0! | ^~~~~ statpack.h:164:2: error: #error SIZEOF_STAT_ST_GID is 0! 164 | #error SIZEOF_STAT_ST_GID is 0! | ^~~~~ statpack.h:183:2: error: #error SIZEOF_STAT_ST_SIZE is 0! 183 | #error SIZEOF_STAT_ST_SIZE is 0! | ^~~~~ statpack.h:202:2: error: #error SIZEOF_STAT_ST_ATIME is 0! 202 | #error SIZEOF_STAT_ST_ATIME is 0! | ^~~~~ statpack.h:221:2: error: #error SIZEOF_STAT_ST_MTIME is 0! 221 | #error SIZEOF_STAT_ST_MTIME is 0! | ^~~~~ statpack.h:240:2: error: #error SIZEOF_STAT_ST_CTIME is 0! --- common.o --- common.c:53:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 53 | static const char rcsid[] = | ^~~~~ --- ruleset.o --- ruleset.c: In function 'myhash': ruleset.c:79:22: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'const char *' differ in signedness [-Wpointer-sign] 79 | const uint8_t *s = str; | ^~~ --- view.o --- In file included from view.c:45: statpack.h:88:2: error: #error SIZEOF_STAT_ST_MODE is 0! 88 | #error SIZEOF_STAT_ST_MODE is 0! | ^~~~~ statpack.h:107:2: error: #error SIZEOF_STAT_ST_INO is 0! 107 | #error SIZEOF_STAT_ST_INO is 0! | ^~~~~ statpack.h:126:2: error: #error SIZEOF_STAT_ST_NLINK is 0! 126 | #error SIZEOF_STAT_ST_NLINK is 0! | ^~~~~ statpack.h:145:2: error: #error SIZEOF_STAT_ST_UID is 0! 145 | #error SIZEOF_STAT_ST_UID is 0! | ^~~~~ statpack.h:164:2: error: #error SIZEOF_STAT_ST_GID is 0! 164 | #error SIZEOF_STAT_ST_GID is 0! | ^~~~~ statpack.h:183:2: error: #error SIZEOF_STAT_ST_SIZE is 0! 183 | #error SIZEOF_STAT_ST_SIZE is 0! | ^~~~~ statpack.h:202:2: error: #error SIZEOF_STAT_ST_ATIME is 0! 202 | #error SIZEOF_STAT_ST_ATIME is 0! | ^~~~~ statpack.h:221:2: error: #error SIZEOF_STAT_ST_MTIME is 0! 221 | #error SIZEOF_STAT_ST_MTIME is 0! | ^~~~~ statpack.h:240:2: error: #error SIZEOF_STAT_ST_CTIME is 0! --- yafic.o --- 240 | #error SIZEOF_STAT_ST_CTIME is 0! | ^~~~~ yafic.c: In function 'hashFile': yafic.c:163:32: warning: pointer targets in passing argument 2 of 'readlink' differ in signedness [-Wpointer-sign] 163 | if ((len = readlink (path, HashBuffer, HASH_BUFFER_SIZE)) != -1) { | ^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from yafic.c:40: /usr/include/unistd.h:471:53: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 471 | extern ssize_t readlink(const char *_RESTRICT_KYWD, char *_RESTRICT_KYWD, | ^ yafic.c: In function 'checkDeleted': yafic.c:269:22: error: expected ')' before 'ST_MODE_FMT' 269 | " p(" ST_MODE_FMT ")" | ^~~~~~~~~~~~ | ) yafic.c:268:16: note: to match this '(' --- view.o --- 240 | #error SIZEOF_STAT_ST_CTIME is 0! | ^~~~~ view.c: In function 'ViewDB': view.c:149:22: error: expected ')' before 'ST_MODE_FMT' 149 | " p(" ST_MODE_FMT ")" | ^~~~~~~~~~~~ | ) view.c:148:16: note: to match this '(' 148 | printf ("%s%s" | ^ view.c:148:19: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 148 | printf ("%s%s" | ~^ | | | char * view.c:148:21: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 148 | printf ("%s%s" | ~^ | | | char * view.c:77:12: warning: variable 'bufp' set but not used [-Wunused-but-set-variable] 77 | uint8_t *bufp; | ^~~~ view.c: At top level: view.c:49:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] --- yafic.o --- 268 | printf ("removed: %s" | ^ yafic.c:268:28: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 268 | printf ("removed: %s" | ~^ | | | char * yafic.c:212:12: warning: variable 'bufp' set but not used [-Wunused-but-set-variable] 212 | uint8_t *bufp; | ^~~~ yafic.c: In function 'checkFile': yafic.c:351:43: error: expected ')' before 'ST_MODE_FMT' 351 | snprintf (buf2, sizeof (buf2), " p(" ST_MODE_FMT ":" ST_MODE_FMT ")", | ~ ^~~~~~~~~~~~ | ) yafic.c:357:43: error: expected ')' before 'ST_INO_FMT' 357 | snprintf (buf2, sizeof (buf2), " i(" ST_INO_FMT ":" ST_INO_FMT ")", | ~ ^~~~~~~~~~~ | ) --- view.o --- 49 | static const char rcsid[] = | ^~~~~ --- yafic.o --- yafic.c:363:43: error: expected ')' before 'ST_NLINK_FMT' 363 | snprintf (buf2, sizeof (buf2), " n(" ST_NLINK_FMT ":" ST_NLINK_FMT ")", | ~ ^~~~~~~~~~~~~ | ) yafic.c:369:43: error: expected ')' before 'ST_UID_FMT' 369 | snprintf (buf2, sizeof (buf2), " u(" ST_UID_FMT ":" ST_UID_FMT ")", | ~ ^~~~~~~~~~~ | ) yafic.c:375:43: error: expected ')' before 'ST_GID_FMT' 375 | snprintf (buf2, sizeof (buf2), " g(" ST_GID_FMT ":" ST_GID_FMT ")", | ~ ^~~~~~~~~~~ | ) yafic.c:381:43: error: expected ')' before 'ST_SIZE_FMT' 381 | snprintf (buf2, sizeof (buf2), " s(" ST_SIZE_FMT ":" ST_SIZE_FMT ")", | ~ ^~~~~~~~~~~~ | ) yafic.c:387:43: error: expected ')' before 'ST_ATIME_FMT' 387 | snprintf (buf2, sizeof (buf2), " a(" ST_ATIME_FMT ":" ST_ATIME_FMT ")", | ~ ^~~~~~~~~~~~~ | ) yafic.c:393:43: error: expected ')' before 'ST_MTIME_FMT' 393 | snprintf (buf2, sizeof (buf2), " m(" ST_MTIME_FMT ":" ST_MTIME_FMT ")", | ~ ^~~~~~~~~~~~~ --- ruleset.o --- ruleset.c: At top level: ruleset.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 55 | static const char rcsid[] = | ^~~~~ --- yafic.o --- | ) yafic.c:399:43: error: expected ')' before 'ST_CTIME_FMT' 399 | snprintf (buf2, sizeof (buf2), " c(" ST_CTIME_FMT ":" ST_CTIME_FMT ")", | ~ ^~~~~~~~~~~~~ | ) yafic.c:438:20: error: expected ')' before 'ST_MODE_FMT' 438 | " p(" ST_MODE_FMT ")" | ^~~~~~~~~~~~ | ) yafic.c:437:14: note: to match this '(' 437 | printf ("added: %s" | ^ yafic.c:437:24: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 437 | printf ("added: %s" | ~^ | | | char * yafic.c:316:7: warning: variable 'gothash' set but not used [-Wunused-but-set-variable] 316 | int gothash; | ^~~~~~~ --- view.o --- *** [view.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/security/yafic/work/yafic-1.2.2 --- yafic.o --- yafic.c: At top level: yafic.c:82:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 82 | static const char rcsid[] = | ^~~~~ *** [yafic.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/security/yafic/work/yafic-1.2.2 bmake[1]: 2 errors bmake[1]: stopped making "all-am" in /home/pbulk/build/security/yafic/work/yafic-1.2.2 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/security/yafic/work/yafic-1.2.2 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/security/yafic/work/yafic-1.2.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/yafic *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/yafic