=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/security/lsh", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for lsh-2.0.4nb2 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4' Making all in src gmake[2]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src' (echo '/* Automatically generated from environ.h.in, by make. */' ; \ sed -e 's,@''prefix@,/opt/pkg,' \ -e 's,@''bindir@,/opt/pkg/bin,' \ -e 's,@''sbindir@,/opt/pkg/sbin,' \ -e 's,@''libexecdir@,/opt/pkg/libexec,' \ -e 's,@''sysconfdir@,/opt/pkg/etc,' \ < /home/pbulk/work/security/lsh/work/lsh-2.0.4/src/environ.h.in) >environ.hT test -s environ.hT && mv -f environ.hT environ.h /opt/pkg/bin/gmake all-recursive gmake[3]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src' Making all in argp gmake[4]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/argp' /opt/pkg/bin/gmake all-recursive gmake[5]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/argp' Making all in . gmake[6]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/argp' gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-ba.o -MD -MP -MF .deps/argp-ba.Tpo -c -o argp-ba.o argp-ba.c gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-eexst.o -MD -MP -MF .deps/argp-eexst.Tpo -c -o argp-eexst.o argp-eexst.c mv -f .deps/argp-ba.Tpo .deps/argp-ba.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-fmtstream.o -MD -MP -MF .deps/argp-fmtstream.Tpo -c -o argp-fmtstream.o argp-fmtstream.c mv -f .deps/argp-eexst.Tpo .deps/argp-eexst.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-help.o -MD -MP -MF .deps/argp-help.Tpo -c -o argp-help.o argp-help.c argp-help.c: In function 'fill_in_uparams': argp-help.c:239:29: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 239 | val = atoi (arg); | ^~~ | | | const unsigned char * In file included from /usr/include/stdlib.h:41, from argp-help.c:45: /usr/include/iso/stdlib_iso.h:124:17: note: expected 'const char *' but argument is of type 'const unsigned char *' 124 | extern int atoi(const char *); | ^~~~~~~~~~~~ argp-help.c:247:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 247 | && strncmp (var, un->name, var_len) == 0) | ^~~ | | | const unsigned char * In file included from /usr/include/string.h:35, from argp-help.c:46: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ argp-help.c: In function '_argp_short_program_name': argp-help.c:1739:4: warning: #warning No reasonable value to return [-Wcpp] 1739 | # warning No reasonable value to return | ^~~~~~~ mv -f .deps/argp-fmtstream.Tpo .deps/argp-fmtstream.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-parse.o -MD -MP -MF .deps/argp-parse.Tpo -c -o argp-parse.o argp-parse.c mv -f .deps/argp-parse.Tpo .deps/argp-parse.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-pv.o -MD -MP -MF .deps/argp-pv.Tpo -c -o argp-pv.o argp-pv.c mv -f .deps/argp-pv.Tpo .deps/argp-pv.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-pvh.o -MD -MP -MF .deps/argp-pvh.Tpo -c -o argp-pvh.o argp-pvh.c mv -f .deps/argp-pvh.Tpo .deps/argp-pvh.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT mempcpy.o -MD -MP -MF .deps/mempcpy.Tpo -c -o mempcpy.o mempcpy.c mempcpy.c:13:1: warning: no previous prototype for 'mempcpy' [-Wmissing-prototypes] 13 | mempcpy (void *to, const void *from, size_t size) | ^~~~~~~ mv -f .deps/mempcpy.Tpo .deps/mempcpy.Po mv -f .deps/argp-help.Tpo .deps/argp-help.Po rm -f libargp.a ar cru libargp.a argp-ba.o argp-eexst.o argp-fmtstream.o argp-help.o argp-parse.o argp-pv.o argp-pvh.o mempcpy.o ranlib libargp.a gmake[6]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/argp' Making all in testsuite gmake[6]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/argp/testsuite' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex1.o -MD -MP -MF .deps/ex1.Tpo -c -o ex1.o ex1.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex3.o -MD -MP -MF .deps/ex3.Tpo -c -o ex3.o ex3.c mv -f .deps/ex1.Tpo .deps/ex1.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex4.o -MD -MP -MF .deps/ex4.Tpo -c -o ex4.o ex4.c mv -f .deps/ex3.Tpo .deps/ex3.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o ex1 ex1.o ../libargp.a ex4.c: In function 'parse_opt': ex4.c:102:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 102 | argp_usage (state); | ^~~~~~~~~~~~~~~~~~ ex4.c:104:5: note: here 104 | case ARGP_KEY_ARG: | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o ex3 ex3.o ../libargp.a mv -f .deps/ex4.Tpo .deps/ex4.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o ex4 ex4.o ../libargp.a gmake[6]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/argp/testsuite' gmake[5]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/argp' gmake[4]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/argp' Making all in rsync gmake[4]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/rsync' gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT generate.o -MD -MP -MF .deps/generate.Tpo -c -o generate.o generate.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT receive.o -MD -MP -MF .deps/receive.Tpo -c -o receive.o receive.c receive.c: In function 'rsync_receive': receive.c:42:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 42 | s->state = RSYNC_READ_TOKEN; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ receive.c:43:7: note: here 43 | case RSYNC_READ_TOKEN: | ^~~~ receive.c:73:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 73 | s->state = RSYNC_READ_LITERAL; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ receive.c:74:7: note: here 74 | case RSYNC_READ_LITERAL: | ^~~~ receive.c:101:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 101 | s->i = 0; | ~~~~~^~~ receive.c:102:7: note: here 102 | case RSYNC_READ_LOOKUP: | ^~~~ receive.c:131:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 131 | s->state = RSYNC_READ_CHECKSUM; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ receive.c:132:7: note: here 132 | case RSYNC_READ_CHECKSUM: | ^~~~ mv -f .deps/receive.Tpo .deps/receive.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT checksum.o -MD -MP -MF .deps/checksum.Tpo -c -o checksum.o checksum.c mv -f .deps/generate.Tpo .deps/generate.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT send.o -MD -MP -MF .deps/send.Tpo -c -o send.o send.c mv -f .deps/checksum.Tpo .deps/checksum.Po mv -f .deps/send.Tpo .deps/send.Po rm -f librsync.a ar cru librsync.a generate.o receive.o checksum.o send.o ranlib librsync.a gmake[4]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/rsync' Making all in nettle gmake[4]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/nettle' /opt/pkg/bin/gmake all-here gmake[5]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/nettle' gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aesdata.o -MD -MP -MF aesdata.o.d -c aesdata.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT desdata.o -MD -MP -MF desdata.o.d -c desdata.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT shadata.o -MD -MP -MF shadata.o.d -c shadata.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-decrypt-internal.o -MD -MP -MF aes-decrypt-internal.o.d -c aes-decrypt-internal.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-decrypt.o -MD -MP -MF aes-decrypt.o.d -c aes-decrypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-encrypt-internal.o -MD -MP -MF aes-encrypt-internal.o.d -c aes-encrypt-internal.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-encrypt.o -MD -MP -MF aes-encrypt.o.d -c aes-encrypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-encrypt-table.o -MD -MP -MF aes-encrypt-table.o.d -c aes-encrypt-table.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-set-encrypt-key.o -MD -MP -MF aes-set-encrypt-key.o.d -c aes-set-encrypt-key.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-set-decrypt-key.o -MD -MP -MF aes-set-decrypt-key.o.d -c aes-set-decrypt-key.c \ && true aes-set-decrypt-key.c: In function 'nettle_aes_set_decrypt_key': aes-set-decrypt-key.c:144:12: warning: variable 'nkeys' set but not used [-Wunused-but-set-variable] 144 | unsigned nkeys; | ^~~~~ gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-meta.o -MD -MP -MF aes-meta.o.d -c aes-meta.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour.o -MD -MP -MF arcfour.o.d -c arcfour.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour-crypt.o -MD -MP -MF arcfour-crypt.o.d -c arcfour-crypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour-meta.o -MD -MP -MF arcfour-meta.o.d -c arcfour-meta.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arctwo.o -MD -MP -MF arctwo.o.d -c arctwo.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arctwo-meta.o -MD -MP -MF arctwo-meta.o.d -c arctwo-meta.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT base16-encode.o -MD -MP -MF base16-encode.o.d -c base16-encode.c \ && true base16-encode.c:34:18: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 34 | hex_digits[16] = "0123456789abcdef"; | ^~~~~~~~~~~~~~~~~~ base16-encode.c: In function 'nettle_base16_encode_update': base16-encode.c:56:13: warning: right-hand operand of comma expression has no effect [-Wunused-value] 56 | for (i = 0, dst; iatom_length | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from /usr/include/string.h:35, from sexp.c:31: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp.c: In function 'nettle_sexp_iterator_check_types': sexp.c:314:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 314 | if (strlen(types[i]) == iterator->atom_length | ~~~~~^~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp.c: In function 'nettle_sexp_iterator_assoc': sexp.c:358:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 358 | if (strlen(keys[i]) == iterator->atom_length | ~~~~^~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-format.o -MD -MP -MF sexp-format.o.d -c sexp-format.c \ && true sexp-format.c: In function 'nettle_sexp_vformat': sexp-format.c:101:66: warning: pointer targets in passing argument 3 of 'format_string' differ in signedness [-Wpointer-sign] 101 | unsigned output_length = format_string(buffer, length, start); | ^~~~~ | | | const char * sexp-format.c:76:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 76 | unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ sexp-format.c:174:63: warning: pointer targets in passing argument 3 of 'format_string' differ in signedness [-Wpointer-sign] 174 | output_length = format_string(buffer, length, s); | ^ | | | const char * sexp-format.c:76:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 76 | unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ sexp-format.c:207:63: warning: pointer targets in passing argument 3 of 'format_string' differ in signedness [-Wpointer-sign] 207 | output_length = format_string(buffer, length, s); | ^ | | | const char * sexp-format.c:76:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 76 | unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ sexp-format.c:237:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 237 | if (buffer && !nettle_buffer_write(buffer, length, s)) | ^ | | | const char * In file included from sexp-format.c:37: buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-transport.o -MD -MP -MF sexp-transport.o.d -c sexp-transport.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-transport-format.o -MD -MP -MF sexp-transport-format.o.d -c sexp-transport-format.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT bignum.o -MD -MP -MF bignum.o.d -c bignum.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT bignum-random.o -MD -MP -MF bignum-random.o.d -c bignum-random.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp2bignum.o -MD -MP -MF sexp2bignum.o.d -c sexp2bignum.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs1.o -MD -MP -MF pkcs1.o.d -c pkcs1.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs1-rsa-md5.o -MD -MP -MF pkcs1-rsa-md5.o.d -c pkcs1-rsa-md5.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs1-rsa-sha1.o -MD -MP -MF pkcs1-rsa-sha1.o.d -c pkcs1-rsa-sha1.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa.o -MD -MP -MF rsa.o.d -c rsa.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-sign.o -MD -MP -MF rsa-sign.o.d -c rsa-sign.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-verify.o -MD -MP -MF rsa-verify.o.d -c rsa-verify.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-md5-sign.o -MD -MP -MF rsa-md5-sign.o.d -c rsa-md5-sign.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-md5-verify.o -MD -MP -MF rsa-md5-verify.o.d -c rsa-md5-verify.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-sha1-sign.o -MD -MP -MF rsa-sha1-sign.o.d -c rsa-sha1-sign.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-sha1-verify.o -MD -MP -MF rsa-sha1-verify.o.d -c rsa-sha1-verify.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-encrypt.o -MD -MP -MF rsa-encrypt.o.d -c rsa-encrypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-decrypt.o -MD -MP -MF rsa-decrypt.o.d -c rsa-decrypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-keygen.o -MD -MP -MF rsa-keygen.o.d -c rsa-keygen.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-compat.o -MD -MP -MF rsa-compat.o.d -c rsa-compat.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa2sexp.o -MD -MP -MF rsa2sexp.o.d -c rsa2sexp.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp2rsa.o -MD -MP -MF sexp2rsa.o.d -c sexp2rsa.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa.o -MD -MP -MF dsa.o.d -c dsa.c \ && true sexp2rsa.c: In function 'nettle_rsa_keypair_from_sexp_alist': sexp2rsa.c:58:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:9: note: (near initialization for 'names[0]') sexp2rsa.c:58:14: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:14: note: (near initialization for 'names[1]') sexp2rsa.c:58:19: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:19: note: (near initialization for 'names[2]') sexp2rsa.c:58:24: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:24: note: (near initialization for 'names[3]') sexp2rsa.c:58:29: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:29: note: (near initialization for 'names[4]') sexp2rsa.c:58:34: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:34: note: (near initialization for 'names[5]') sexp2rsa.c:58:39: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:39: note: (near initialization for 'names[6]') sexp2rsa.c:58:44: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:44: note: (near initialization for 'names[7]') sexp2rsa.c: In function 'nettle_rsa_keypair_from_sexp': sexp2rsa.c:98:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 98 | = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; | ^~~~~ sexp2rsa.c:98:9: note: (near initialization for 'names[0]') sexp2rsa.c:98:16: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 98 | = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; | ^~~~~~~~~~~ sexp2rsa.c:98:16: note: (near initialization for 'names[1]') sexp2rsa.c:98:29: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 98 | = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; | ^~~~~~~~~~~~~~~~ sexp2rsa.c:98:29: note: (near initialization for 'names[2]') sexp2rsa.c:103:58: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 103 | if (!sexp_iterator_check_type(&i, priv ? "private-key" : "public-key")) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | char * In file included from sexp2rsa.c:36: sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-sign.o -MD -MP -MF dsa-sign.o.d -c dsa-sign.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-verify.o -MD -MP -MF dsa-verify.o.d -c dsa-verify.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-keygen.o -MD -MP -MF dsa-keygen.o.d -c dsa-keygen.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp2dsa.o -MD -MP -MF sexp2dsa.o.d -c sexp2dsa.c \ && true dsa-keygen.c: In function 'dsa_nist_gen': dsa-keygen.c:71:12: warning: variable 'b' set but not used [-Wunused-but-set-variable] 71 | unsigned b; | ^ sexp2dsa.c: In function 'nettle_dsa_keypair_from_sexp_alist': sexp2dsa.c:58:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:9: note: (near initialization for 'names[0]') sexp2dsa.c:58:14: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:14: note: (near initialization for 'names[1]') sexp2dsa.c:58:19: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:19: note: (near initialization for 'names[2]') sexp2dsa.c:58:24: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:24: note: (near initialization for 'names[3]') sexp2dsa.c:58:29: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:29: note: (near initialization for 'names[4]') sexp2dsa.c: In function 'nettle_dsa_keypair_from_sexp': sexp2dsa.c:85:58: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 85 | && sexp_iterator_check_type(&i, priv ? "private-key" : "public-key") | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | char * In file included from sexp2dsa.c:36: sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ sexp2dsa.c:86:37: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 86 | && sexp_iterator_check_type(&i, "dsa") | ^~~~~ | | | char * sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ sexp2dsa.c: In function 'nettle_dsa_signature_from_sexp': sexp2dsa.c:94:45: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 94 | static const uint8_t * const names[2] = { "r", "s" }; | ^~~ sexp2dsa.c:94:45: note: (near initialization for 'names[0]') sexp2dsa.c:94:50: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 94 | static const uint8_t * const names[2] = { "r", "s" }; | ^~~ sexp2dsa.c:94:50: note: (near initialization for 'names[1]') gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pgp-encode.o -MD -MP -MF pgp-encode.o.d -c pgp-encode.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa2openpgp.o -MD -MP -MF rsa2openpgp.o.d -c rsa2openpgp.c \ && true rsa2openpgp.c: In function 'nettle_rsa_keypair_to_openpgp': rsa2openpgp.c:83:47: warning: pointer targets in passing argument 3 of 'nettle_pgp_put_userid' differ in signedness [-Wpointer-sign] 83 | if (!pgp_put_userid(buffer, strlen(userid), userid)) | ^~~~~~ | | | const char * In file included from rsa2openpgp.c:38: pgp.h:114:31: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 114 | const uint8_t *name); | ~~~~~~~~~~~~~~~^~~~ rsa2openpgp.c:69:12: warning: unused variable 'key_length' [-Wunused-variable] 69 | unsigned key_length; | ^~~~~~~~~~ pgp-encode.c: In function 'nettle_pgp_put_rsa_sha1_signature': pgp-encode.c:263:11: warning: unused variable 'digest16' [-Wunused-variable] 263 | uint8_t digest16[2]; | ^~~~~~~~ pgp-encode.c: In function 'nettle_pgp_armor': pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | char * pgp-encode.c:369:10: note: in expansion of macro 'WRITE' 369 | if (! (WRITE(buffer, "BEGIN PGP ") | ^~~~~ In file included from pgp-encode.c:49: buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | const char * pgp-encode.c:370:13: note: in expansion of macro 'WRITE' 370 | && WRITE(buffer, tag) | ^~~~~ buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | char * pgp-encode.c:371:13: note: in expansion of macro 'WRITE' 371 | && WRITE(buffer, "\nComment: Nettle\n\n"))) | ^~~~~ buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | char * pgp-encode.c:426:11: note: in expansion of macro 'WRITE' 426 | return (WRITE(buffer, "\nBEGIN PGP ") | ^~~~~ buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | const char * pgp-encode.c:427:14: note: in expansion of macro 'WRITE' 427 | && WRITE(buffer, tag) | ^~~~~ buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT der-iterator.o -MD -MP -MF der-iterator.o.d -c der-iterator.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT der2rsa.o -MD -MP -MF der2rsa.o.d -c der2rsa.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT buffer.o -MD -MP -MF buffer.o.d -c buffer.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT buffer-init.o -MD -MP -MF buffer-init.o.d -c buffer-init.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT realloc.o -MD -MP -MF realloc.o.d -c realloc.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT nettle-internal.o -MD -MP -MF nettle-internal.o.d -c nettle-internal.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT memxor.o -MD -MP -MF memxor.o.d -c memxor.c \ && true In file included from nettle-internal.h:30, from nettle-internal.c:34: nettle-meta.h:69:3: warning: cast between incompatible function types from 'int (*)(struct blowfish_ctx *, unsigned int, const uint8_t *)' {aka 'int (*)(struct blowfish_ctx *, unsigned int, const unsigned char *)'} to 'void (*)(void *, unsigned int, const uint8_t *)' {aka 'void (*)(void *, unsigned int, const unsigned char *)'} [-Wcast-function-type] 69 | (nettle_set_key_func) name##_set_key, \ | ^ nettle-internal.c:85:22: note: in expansion of macro '_NETTLE_CIPHER' 85 | nettle_blowfish128 = _NETTLE_CIPHER(blowfish, BLOWFISH, 128); | ^~~~~~~~~~~~~~ nettle-meta.h:70:3: warning: cast between incompatible function types from 'int (*)(struct blowfish_ctx *, unsigned int, const uint8_t *)' {aka 'int (*)(struct blowfish_ctx *, unsigned int, const unsigned char *)'} to 'void (*)(void *, unsigned int, const uint8_t *)' {aka 'void (*)(void *, unsigned int, const unsigned char *)'} [-Wcast-function-type] 70 | (nettle_set_key_func) name##_set_key, \ | ^ nettle-internal.c:85:22: note: in expansion of macro '_NETTLE_CIPHER' 85 | nettle_blowfish128 = _NETTLE_CIPHER(blowfish, BLOWFISH, 128); | ^~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib aesdata.o -lgmp -o aesdata gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib desdata.o -lgmp -o desdata gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib shadata.o -lgmp -lm -o shadata rm -f libnettle.a ar cru libnettle.a aes-decrypt-internal.o aes-decrypt.o aes-encrypt-internal.o aes-encrypt.o aes-encrypt-table.o aes-set-encrypt-key.o aes-set-decrypt-key.o aes-meta.o arcfour.o arcfour-crypt.o arcfour-meta.o arctwo.o arctwo-meta.o base16-encode.o base16-decode.o base16-meta.o base64-encode.o base64-decode.o base64-meta.o cast128.o cast128-meta.o blowfish.o cbc.o ctr.o des.o des3.o des-compat.o hmac.o hmac-md5.o hmac-sha1.o hmac-sha256.o knuth-lfib.o md2.o md2-meta.o md4.o md4-meta.o md5.o md5-compress.o md5-compat.o md5-meta.o sha1.o sha1-compress.o sha1-meta.o sha256.o sha256-meta.o serpent.o serpent-meta.o twofish.o twofish-meta.o yarrow256.o yarrow_key_event.o sexp.o sexp-format.o sexp-transport.o sexp-transport-format.o bignum.o bignum-random.o sexp2bignum.o pkcs1.o pkcs1-rsa-md5.o pkcs1-rsa-sha1.o rsa.o rsa-sign.o rsa-verify.o rsa-md5-sign.o rsa-md5-verify.o rsa-sha1-sign.o rsa-sha1-verify.o rsa-encrypt.o rsa-decrypt.o rsa-keygen.o rsa-compat.o rsa2sexp.o sexp2rsa.o dsa.o dsa-sign.o dsa-verify.o dsa-keygen.o sexp2dsa.o pgp-encode.o rsa2openpgp.o der-iterator.o der2rsa.o buffer.o buffer-init.o realloc.o nettle-internal.o memxor.o ranlib libnettle.a gmake[5]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/nettle' set -e; for d in tools testsuite examples; do \ echo "Making all in $d" ; (cd $d && /opt/pkg/bin/gmake all); done Making all in tools gmake[5]: Entering directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/nettle/tools' gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-conv.o -MD -MP -MF sexp-conv.o.d -c sexp-conv.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT input.o -MD -MP -MF input.o.d -c input.c && true input.c: In function 'sexp_get_string': input.c:234:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 234 | die("Unexpected end of file in coded string.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:235:13: note: here 235 | case SEXP_END_CHAR: | ^~~~ In file included from sexp-conv.c:39: getopt.h:146:12: error: conflicting types for 'getopt'; have 'int(void)' 146 | extern int getopt (); | ^~~~~~ In file included from sexp-conv.c:33: /usr/include/stdlib.h:302:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ sexp-conv.c: In function 'sexp_convert_item': sexp-conv.c:83:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 83 | die("Unmatched end of list.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sexp-conv.c:84:5: note: here 84 | case SEXP_EOF: | ^~~~ sexp-conv.c:85:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 85 | die("Unexpected end of file.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sexp-conv.c:86:5: note: here 86 | case SEXP_CODING_END: | ^~~~ sexp-conv.c:87:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 87 | die("Unexpected end of coding.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sexp-conv.c:89:5: note: here 89 | case SEXP_LIST_START: | ^~~~ gmake[5]: *** [Makefile:43: sexp-conv.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/nettle/tools' gmake[4]: *** [Makefile:29: all] Error 1 gmake[4]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src/nettle' gmake[3]: *** [Makefile:823: all-recursive] Error 1 gmake[3]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src' gmake[2]: *** [Makefile:550: all] Error 2 gmake[2]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4/src' gmake[1]: *** [Makefile:259: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/work/security/lsh/work/lsh-2.0.4' gmake: *** [Makefile:198: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/lsh *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/lsh