+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libsrs2-1.0.18/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libsrs2-1.0.18/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for libsrs2-1.0.18 --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.ac'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands --- config.h --- --- all-recursive-am --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in libsrs2 --- sha1.lo --- --- sha1.o --- --- sha1.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -c sha1.c --- sha1.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -c sha1.c sha1.c: In function 'sha_digest': sha1.c:360:19: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 360 | sha_update(&ctx, data, len); | ^~~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c:361:12: warning: pointer targets in passing argument 1 of 'sha_final' differ in signedness [-Wpointer-sign] 361 | sha_final(out, &ctx); | ^~~ | | | char * sha1.c:308:25: note: expected 'unsigned char *' but argument is of type 'char *' 308 | sha_final(unsigned char digest[20], SHA_INFO *sha_info) | ~~~~~~~~~~~~~~^~~~~~~~~~ sha1.c: In function 'srs_hmac_init': sha1.c:386:28: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 386 | sha_update(&ctx->sctx, ctx->ipad, SHA_BLOCKSIZE); | ~~~^~~~~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c: In function 'srs_hmac_update': sha1.c:392:25: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 392 | sha_update(&ctx->sctx, data, len); | ^~~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c: In function 'srs_hmac_fini': sha1.c:400:12: warning: pointer targets in passing argument 1 of 'sha_final' differ in signedness [-Wpointer-sign] 400 | sha_final(buf, &ctx->sctx); | ^~~ | | | char * sha1.c:308:25: note: expected 'unsigned char *' but argument is of type 'char *' 308 | sha_final(unsigned char digest[20], SHA_INFO *sha_info) | ~~~~~~~~~~~~~~^~~~~~~~~~ sha1.c:402:28: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 402 | sha_update(&ctx->sctx, ctx->opad, SHA_BLOCKSIZE); | ~~~^~~~~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c:403:25: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 403 | sha_update(&ctx->sctx, buf, SHA_DIGESTSIZE); | ^~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c:404:12: warning: pointer targets in passing argument 1 of 'sha_final' differ in signedness [-Wpointer-sign] 404 | sha_final(out, &ctx->sctx); | ^~~ | | | char * sha1.c:308:25: note: expected 'unsigned char *' but argument is of type 'char *' 308 | sha_final(unsigned char digest[20], SHA_INFO *sha_info) | ~~~~~~~~~~~~~~^~~~~~~~~~ --- sha1.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -c sha1.c -fPIC -DPIC -o .libs/sha1.o sha1.c: In function 'sha_digest': sha1.c:360:19: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 360 | sha_update(&ctx, data, len); | ^~~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c:361:12: warning: pointer targets in passing argument 1 of 'sha_final' differ in signedness [-Wpointer-sign] 361 | sha_final(out, &ctx); | ^~~ | | | char * sha1.c:308:25: note: expected 'unsigned char *' but argument is of type 'char *' 308 | sha_final(unsigned char digest[20], SHA_INFO *sha_info) | ~~~~~~~~~~~~~~^~~~~~~~~~ sha1.c: In function 'srs_hmac_init': sha1.c:386:28: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 386 | sha_update(&ctx->sctx, ctx->ipad, SHA_BLOCKSIZE); | ~~~^~~~~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c: In function 'srs_hmac_update': sha1.c:392:25: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 392 | sha_update(&ctx->sctx, data, len); | ^~~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c: In function 'srs_hmac_fini': sha1.c:400:12: warning: pointer targets in passing argument 1 of 'sha_final' differ in signedness [-Wpointer-sign] 400 | sha_final(buf, &ctx->sctx); | ^~~ | | | char * sha1.c:308:25: note: expected 'unsigned char *' but argument is of type 'char *' 308 | sha_final(unsigned char digest[20], SHA_INFO *sha_info) | ~~~~~~~~~~~~~~^~~~~~~~~~ sha1.c:402:28: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 402 | sha_update(&ctx->sctx, ctx->opad, SHA_BLOCKSIZE); | ~~~^~~~~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c:403:25: warning: pointer targets in passing argument 2 of 'sha_update' differ in signedness [-Wpointer-sign] 403 | sha_update(&ctx->sctx, buf, SHA_DIGESTSIZE); | ^~~ | | | char * sha1.c:243:42: note: expected 'sha_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 243 | sha_update(SHA_INFO *sha_info, sha_byte *buffer, int count) | ~~~~~~~~~~^~~~~~ sha1.c:404:12: warning: pointer targets in passing argument 1 of 'sha_final' differ in signedness [-Wpointer-sign] 404 | sha_final(out, &ctx->sctx); | ^~~ | | | char * sha1.c:308:25: note: expected 'unsigned char *' but argument is of type 'char *' 308 | sha_final(unsigned char digest[20], SHA_INFO *sha_info) | ~~~~~~~~~~~~~~^~~~~~~~~~ --- srs2.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -c srs2.c --- sha1.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -c sha1.c -o sha1.o >/dev/null 2>&1 --- srs2.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -c srs2.c -fPIC -DPIC -o .libs/srs2.o In file included from /usr/include/ctype.h:100, from srs2.c:18: srs2.c: In function 'srs_timestamp_check': srs2.c:262:43: warning: array subscript has type 'char' [-Wchar-subscripts] 262 | bp = strchr(SRS_TIME_BASECHARS, toupper(*sp)); | ^ srs2.c: In function 'srs_hash_create_v': srs2.c:317:20: warning: array subscript has type 'char' [-Wchar-subscripts] 317 | if (isupper(data[j])) | ^ srs2.c:318:29: warning: array subscript has type 'char' [-Wchar-subscripts] 318 | lcdata[j] = tolower(data[j]); | ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -c srs2.c -o srs2.o >/dev/null 2>&1 --- libsrs2.a --- rm -f libsrs2.a ar cru libsrs2.a srs2.o sha1.o ranlib libsrs2.a --- libsrs2.la --- /bin/sh ../libtool --mode=link cc -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o libsrs2.la -rpath /usr/pkg/lib -version-info 0:0:0 srs2.lo sha1.lo -lresolv libtool: link: cc -shared -fPIC -DPIC .libs/srs2.o .libs/sha1.o -lresolv -O2 -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libsrs2.so.0 -o .libs/libsrs2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libsrs2.so.0" && ln -s "libsrs2.so.0.0.0" "libsrs2.so.0") libtool: link: (cd ".libs" && rm -f "libsrs2.so" && ln -s "libsrs2.so.0.0.0" "libsrs2.so") libtool: link: ar cr .libs/libsrs2.a srs2.o sha1.o libtool: link: ranlib .libs/libsrs2.a libtool: link: ( cd ".libs" && rm -f "libsrs2.la" && ln -s "../libsrs2.la" "libsrs2.la" ) Making all in tools --- srs.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -c srs.c In file included from /usr/include/ctype.h:100, from srs.c:13: srs.c: In function 'rundaemon': srs.c:233:22: warning: array subscript has type 'char' [-Wchar-subscripts] 233 | while (isspace(*cp)) | ^ srs.c:244:22: warning: array subscript has type 'char' [-Wchar-subscripts] 244 | while (isspace(*cp)) | ^ srs.c:264:22: warning: array subscript has type 'char' [-Wchar-subscripts] 264 | while (isspace(*cp)) | ^ --- srs --- /bin/sh ../libtool --mode=link cc -g -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o srs srs.o -L../libsrs2 -lsrs2 -lresolv libtool: link: cc -g -Wall -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/srs srs.o -pie -L../libsrs2 -L../libsrs2/.libs -lsrs2 -lresolv -Wl,-rpath,/usr/pkg/lib ld: srs.o: in function `die': /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:96: undefined reference to `srs_strerror' ld: srs.o: in function `main': /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:313: undefined reference to `srs_new' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:343: undefined reference to `srs_set_alwaysrewrite' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:373: undefined reference to `srs_set_hashlength' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:339: undefined reference to `srs_add_secret' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:358: undefined reference to `srs_add_secret' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:333: undefined reference to `srs_set_separator' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:413: undefined reference to `srs_forward' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:415: undefined reference to `srs_reverse' ld: srs.o: in function `rundaemon': /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:267: undefined reference to `srs_reverse' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:247: undefined reference to `srs_forward' ld: /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools/srs.c:269: undefined reference to `srs_strerror' *** [srs] Error code 1 bmake[2]: stopped in /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools 1 error bmake[2]: stopped in /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18/tools *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18 1 error bmake[1]: stopped in /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18 *** [all-recursive-am] Error code 2 bmake: stopped in /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18 1 error bmake: stopped in /home/pbulk/build/mail/libsrs2/work/libsrs2-1.0.18 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/libsrs2 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/libsrs2