+ 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/zsync-0.6.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/zsync-0.6.2/work.log ===> Building for zsync-0.6.2 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in librcksum --- rsum.o --- --- hash.o --- --- state.o --- --- range.o --- --- rsum.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT rsum.o -MD -MP -MF .deps/rsum.Tpo -c -o rsum.o rsum.c --- hash.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c --- state.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c --- range.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT range.o -MD -MP -MF .deps/range.Tpo -c -o range.o range.c --- hash.o --- mv -f .deps/hash.Tpo .deps/hash.Po --- md4.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT md4.o -MD -MP -MF .deps/md4.Tpo -c -o md4.o md4.c --- state.o --- mv -f .deps/state.Tpo .deps/state.Po --- md4test.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT md4test.o -MD -MP -MF .deps/md4test.Tpo -c -o md4test.o md4test.c --- md4.o --- md4.c: In function 'MD4Transform': md4.c:170:5: warning: "BYTE_ORDER" is not defined, evaluates to 0 [-Wundef] 170 | #if BYTE_ORDER == LITTLE_ENDIAN | ^~~~~~~~~~ md4.c:170:19: warning: "LITTLE_ENDIAN" is not defined, evaluates to 0 [-Wundef] 170 | #if BYTE_ORDER == LITTLE_ENDIAN | ^~~~~~~~~~~~~ --- range.o --- mv -f .deps/range.Tpo .deps/range.Po --- md4test.o --- mv -f .deps/md4test.Tpo .deps/md4test.Po --- md4.o --- mv -f .deps/md4.Tpo .deps/md4.Po --- md4test --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -Wl,-R/opt/pkg/lib -o md4test md4test.o md4.o -lsocket --- rsum.o --- mv -f .deps/rsum.Tpo .deps/rsum.Po --- librcksum.a --- rm -f librcksum.a ar cru librcksum.a rsum.o hash.o state.o range.o md4.o ranlib librcksum.a Making all in zlib --- inflate.o --- --- adler32.o --- --- inftrees.o --- --- zutil.o --- --- inflate.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT inflate.o -MD -MP -MF .deps/inflate.Tpo -c -o inflate.o inflate.c --- adler32.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT adler32.o -MD -MP -MF .deps/adler32.Tpo -c -o adler32.o adler32.c --- inftrees.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT inftrees.o -MD -MP -MF .deps/inftrees.Tpo -c -o inftrees.o inftrees.c --- zutil.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT zutil.o -MD -MP -MF .deps/zutil.Tpo -c -o zutil.o zutil.c --- inflate.o --- inflate.c: In function 'inflate': inflate.c:639:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 639 | state->mode = EXLEN; | ~~~~~~~~~~~~^~~~~~~ inflate.c:640:9: note: here 640 | case EXLEN: | ^~~~ inflate.c:647:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 647 | state->mode = EXTRA; | ~~~~~~~~~~~~^~~~~~~ inflate.c:648:9: note: here 648 | case EXTRA: | ^~~~ inflate.c:661:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 661 | state->mode = NAME; | ~~~~~~~~~~~~^~~~~~ inflate.c:662:9: note: here 662 | case NAME: | ^~~~ inflate.c:675:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 675 | state->mode = COMMENT; | ~~~~~~~~~~~~^~~~~~~~~ --- zutil.o --- mv -f .deps/zutil.Tpo .deps/zutil.Po --- inflate.o --- inflate.c:676:9: note: here 676 | case COMMENT: | ^~~~ inflate.c:689:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 689 | state->mode = HCRC; | ~~~~~~~~~~~~^~~~~~ inflate.c:690:9: note: here 690 | case HCRC: | ^~~~ inflate.c:708:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 708 | state->mode = DICT; | ~~~~~~~~~~~~^~~~~~ inflate.c:709:9: note: here 709 | case DICT: | ^~~~ inflate.c:715:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 715 | state->mode = TYPE; | ~~~~~~~~~~~~^~~~~~ inflate.c:716:9: note: here 716 | case TYPE: | ^~~~ inflate.c:717:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 717 | if (flush == Z_BLOCK) goto inf_leave; | ^ inflate.c:718:9: note: here 718 | case TYPEDO: | ^~~~ inflate.c:762:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 762 | state->mode = COPY; | ~~~~~~~~~~~~^~~~~~ inflate.c:763:9: note: here 763 | case COPY: | ^~~~ inflate.c:892:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 892 | state->mode = LEN; | ~~~~~~~~~~~~^~~~~ inflate.c:893:9: note: here 893 | case LEN: | ^~~~ inflate.c:933:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 933 | state->mode = LENEXT; | ~~~~~~~~~~~~^~~~~~~~ inflate.c:934:9: note: here 934 | case LENEXT: | ^~~~ inflate.c:941:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 941 | state->mode = DIST; | ~~~~~~~~~~~~^~~~~~ inflate.c:942:9: note: here 942 | case DIST: | ^~~~ --- crc32.o --- --- inflate.o --- inflate.c:966:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 966 | state->mode = DISTEXT; | ~~~~~~~~~~~~^~~~~~~~~ inflate.c:967:9: note: here 967 | case DISTEXT: | ^~~~ inflate.c:979:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 979 | state->mode = MATCH; | ~~~~~~~~~~~~^~~~~~~ inflate.c:980:9: note: here 980 | case MATCH: | ^~~~ inflate.c:1034:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 1034 | state->mode = LENGTH; | ~~~~~~~~~~~~^~~~~~~~ inflate.c:1035:9: note: here 1035 | case LENGTH: | ^~~~ inflate.c:1047:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 1047 | state->mode = DONE; | ~~~~~~~~~~~~^~~~~~ inflate.c:1048:9: note: here 1048 | case DONE: | ^~~~ --- crc32.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT crc32.o -MD -MP -MF .deps/crc32.Tpo -c -o crc32.o crc32.c --- adler32.o --- mv -f .deps/adler32.Tpo .deps/adler32.Po --- deflate.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT deflate.o -MD -MP -MF .deps/deflate.Tpo -c -o deflate.o deflate.c --- inftrees.o --- mv -f .deps/inftrees.Tpo .deps/inftrees.Po --- compress.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT compress.o -MD -MP -MF .deps/compress.Tpo -c -o compress.o compress.c --- crc32.o --- mv -f .deps/crc32.Tpo .deps/crc32.Po --- trees.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT trees.o -MD -MP -MF .deps/trees.Tpo -c -o trees.o trees.c --- compress.o --- mv -f .deps/compress.Tpo .deps/compress.Po --- deflate.o --- mv -f .deps/deflate.Tpo .deps/deflate.Po --- inflate.o --- mv -f .deps/inflate.Tpo .deps/inflate.Po --- libinflate.a --- rm -f libinflate.a ar cru libinflate.a inflate.o adler32.o inftrees.o zutil.o crc32.o ranlib libinflate.a --- trees.o --- mv -f .deps/trees.Tpo .deps/trees.Po --- libdeflate.a --- rm -f libdeflate.a ar cru libdeflate.a deflate.o compress.o trees.o ranlib libdeflate.a Making all in libzsync --- zsync.o --- --- zmap.o --- --- sha1.o --- --- sha1test.o --- --- zsync.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT zsync.o -MD -MP -MF .deps/zsync.Tpo -c -o zsync.o zsync.c --- zmap.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT zmap.o -MD -MP -MF .deps/zmap.Tpo -c -o zmap.o zmap.c --- sha1.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT sha1.o -MD -MP -MF .deps/sha1.Tpo -c -o sha1.o sha1.c --- sha1test.o --- gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -MT sha1test.o -MD -MP -MF .deps/sha1test.Tpo -c -o sha1test.o sha1test.c --- sha1.o --- sha1.c:41:5: warning: "BYTE_ORDER" is not defined, evaluates to 0 [-Wundef] 41 | #if BYTE_ORDER == LITTLE_ENDIAN | ^~~~~~~~~~ sha1.c:41:19: warning: "LITTLE_ENDIAN" is not defined, evaluates to 0 [-Wundef] 41 | #if BYTE_ORDER == LITTLE_ENDIAN | ^~~~~~~~~~~~~ --- sha1test.o --- mv -f .deps/sha1test.Tpo .deps/sha1test.Po --- zsync.o --- zsync.c: In function 'zsync_begin': zsync.c:154:44: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 154 | struct zsync_state *zs = calloc(sizeof *zs, 1); | ^ zsync.c:154:44: note: earlier argument should specify number of elements, later size of each element zsync.c:213:35: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 213 | if (zs->blocksize < 0 || (zs->blocksize & (zs->blocksize - 1))) { | ^ zsync.c:243:68: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 243 | if (fread(zblock, sizeof *zblock, nzblocks, f) < nzblocks) { | ^ zsync.c: In function 'zsync_get_urls': zsync.c:443:18: error: returning 'char **' from a function with incompatible return type 'const char * const*' [-Wincompatible-pointer-types] 443 | return zs->zurl; | ~~^~~~~~ zsync.c:448:18: error: returning 'char **' from a function with incompatible return type 'const char * const*' [-Wincompatible-pointer-types] 448 | return zs->url; | ~~^~~~~ zsync.c: In function 'zsync_recompress': zsync.c:704:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 704 | if (fwrite(p, 1, r - (p - buf), zout) != r - (p - buf)) { | ^~ zsync.c: In function 'zsync_receive_data_compressed': zsync.c:925:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 925 | zr->strm.next_in = buf; | ^ zsync.c:928:42: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'uLong' {aka 'long unsigned int'} [-Wsign-compare] 928 | if (zr->strm.total_in == 0 || offset != zr->strm.total_in) { | ^~ zsync.c:930:43: error: passing argument 4 of 'zsync_configure_zstream_for_zdata' from incompatible pointer type [-Wincompatible-pointer-types] 930 | &(zr->outoffset)); | ^~~~~~~~~~~~~~~~ | | | off_t * {aka long int *} zsync.c:771:65: note: expected 'long long int *' but argument is of type 'off_t *' {aka 'long int *'} 771 | long zoffset, long long *poutoffset) { | ~~~~~~~~~~~^~~~~~~~~~ zsync.c:942:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 942 | zr->strm.next_in = buf; | ^ zsync.c:954:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 954 | eoz = 1; | ~~~~^~~ zsync.c:955:9: note: here 955 | case Z_BUF_ERROR: | ^~~~ *** [zsync.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/net/zsync/work/zsync-0.6.2/libzsync --- zmap.o --- mv -f .deps/zmap.Tpo .deps/zmap.Po --- sha1.o --- mv -f .deps/sha1.Tpo .deps/sha1.Po bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/build/net/zsync/work/zsync-0.6.2/libzsync bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/zsync/work/zsync-0.6.2 bmake: stopped making "all" in /home/pbulk/build/net/zsync/work/zsync-0.6.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/zsync *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/zsync