+ 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/scanssh-2.1nb17/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/scanssh-2.1nb17/work.log ===> Building for scanssh-2.1nb17 --- scanssh.o --- --- atomicio.o --- --- exclude.o --- --- connecter.o --- --- scanssh.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c scanssh.c --- atomicio.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c atomicio.c --- connecter.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c connecter.c --- exclude.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c exclude.c --- scanssh.o --- scanssh.c: In function 'generate_random': scanssh.c:792:33: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 792 | MD5Update(&ctx, seed, strlen(seed)); | ^~~~ | | | char * In file included from scanssh.c:56: ./compat/md5.h:20:65: note: expected 'const unsigned char *' but argument is of type 'char *' 20 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); | ~~~~~~~~~~~~~~~~~~~~~^~~ --- connecter.o --- In file included from /home/pbulk/build/security/scanssh/work/.buildlink/include/event.h:72, from connecter.c:51: connecter.c: In function 'ssh_process_line': /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:113:33: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 113 | #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) | ^~~~~~~~~~~~~~~ connecter.c:236:27: note: in expansion of macro 'EVBUFFER_DATA' 236 | char *p = EVBUFFER_DATA(input); | ^~~~~~~~~~~~~ connecter.c:253:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 253 | p = EVBUFFER_DATA(input); | ^ --- xmalloc.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c xmalloc.c --- interface.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c interface.c interface.c: In function 'interface_new': interface.c:97:17: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 97 | if ((dev = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from /home/pbulk/build/security/scanssh/work/.buildlink/include/pcap.h:43, from interface.c:54: /home/pbulk/build/security/scanssh/work/.buildlink/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ --- socks.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c socks.c socks.c: In function 'socks_bufferanalyse': socks.c:190:50: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^~~~ | | | char * In file included from /home/pbulk/build/security/scanssh/work/.buildlink/include/event.h:72, from socks.c:47: /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ socks.c:190:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^ /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:113:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 113 | #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * socks.c:196:36: note: in expansion of macro 'EVBUFFER_DATA' 196 | if (strlen(EVBUFFER_DATA(input)) == 0) { | ^~~~~~~~~~~~~ In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from socks.c:36: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ socks.c:211:34: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 211 | if (evbuffer_find(input, "\r\n", 2) == NULL) | ^~~~~~ | | | char * /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ socks.c:214:39: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 214 | if (evbuffer_find(input, socks->word, strlen(socks->word)) != NULL) { | ~~~~~^~~~~~ | | | char * /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ --- http.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c http.c --- telnet.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c telnet.c --- http.o --- http.c: In function 'http_getheaders': http.c:94:42: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^~~~ | | | char * In file included from /home/pbulk/build/security/scanssh/work/.buildlink/include/event.h:72, from http.c:46: /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ http.c:94:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^ /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:113:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 113 | #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * http.c:100:28: note: in expansion of macro 'EVBUFFER_DATA' 100 | if (strlen(EVBUFFER_DATA(input)) == 0) { | ^~~~~~~~~~~~~ In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from http.c:36: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:113:33: warning: pointer targets in passing argument 1 of 'http_response' differ in signedness [-Wpointer-sign] 113 | #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * http.c:111:43: note: in expansion of macro 'EVBUFFER_DATA' 111 | if (http_response(EVBUFFER_DATA(input)) == -1) { | ^~~~~~~~~~~~~ http.c:78:21: note: expected 'char *' but argument is of type 'unsigned char *' 78 | http_response(char *line) | ~~~~~~^~~~ http.c: In function 'http_bufferanalyse': http.c:140:42: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 140 | if (evbuffer_find(input, "\r\n", 2) == NULL) | ^~~~~~ | | | char * /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ http.c: In function 'http_makeconnect': http.c:177:13: warning: too many arguments for format [-Wformat-extra-args] 177 | "CONNECT %s:80 HTTP/1.0\r\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- telnet.o --- telnet.c: In function 'telnet_makeconnect': telnet.c:80:25: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 80 | #define CCPROXY "CCProxy Telnet>" | ^~~~~~~~~~~~~~~~~ | | | char * telnet.c:95:34: note: in expansion of macro 'CCPROXY' 95 | if (evbuffer_find(input, CCPROXY, strlen(CCPROXY)) != NULL) { | ^~~~~~~ In file included from /home/pbulk/build/security/scanssh/work/.buildlink/include/event.h:72, from telnet.c:47: /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:81:25: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 81 | #define GATEWAY1 "host_name:port" | ^~~~~~~~~~~~~~~~ | | | char * telnet.c:102:41: note: in expansion of macro 'GATEWAY1' 102 | } else if (evbuffer_find(input, GATEWAY1, strlen(GATEWAY1)) != NULL) { | ^~~~~~~~ /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:82:25: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 82 | #define GATEWAY2 "host[:port]:" | ^~~~~~~~~~~~~~ | | | char * telnet.c:109:41: note: in expansion of macro 'GATEWAY2' 109 | } else if (evbuffer_find(input, GATEWAY2, strlen(GATEWAY2)) != NULL) { | ^~~~~~~~ /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:83:25: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 83 | #define WINGATE "WinGate>" | ^~~~~~~~~~ | | | char * telnet.c:120:41: note: in expansion of macro 'WINGATE' 120 | } else if (evbuffer_find(input, WINGATE, strlen(WINGATE)) != NULL) { | ^~~~~~~ /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c: In function 'telnet_readcb': /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:113:33: warning: pointer targets in passing argument 3 of 'printres' differ in signedness [-Wpointer-sign] 113 | #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * telnet.c:179:29: note: in expansion of macro 'EVBUFFER_DATA' 179 | EVBUFFER_DATA(input)); | ^~~~~~~~~~~~~ In file included from telnet.c:50: scanssh.h:134:44: note: expected 'char *' but argument is of type 'unsigned char *' 134 | void printres(struct argument *, uint16_t, char *); | ^~~~~~ telnet.c:187:47: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] 187 | if (evbuffer_find(input, state->connect_wait, | ~~~~~^~~~~~~~~~~~~~ | | | char * /home/pbulk/build/security/scanssh/work/.buildlink/include/event2/buffer_compat.h:108:76: note: expected 'const unsigned char *' but argument is of type 'char *' 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ --- md5.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -fPIC -O2 -Wall -g -c md5.c md5.c: In function 'MD5Update': md5.c:104:25: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 104 | memcpy(p, buf, len); | ^~~~~~ md5.c:33:1: note: include '' or provide a declaration of 'memcpy' 32 | #include "md5.h" +++ |+#include 33 | md5.c:104:25: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 104 | memcpy(p, buf, len); | ^~~~~~ md5.c:104:25: note: include '' or provide a declaration of 'memcpy' md5.c:107:17: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 107 | memcpy(p, buf, t); | ^~~~~~ md5.c:107:17: note: include '' or provide a declaration of 'memcpy' md5.c:116:17: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 116 | memcpy(ctx->in, buf, 64); | ^~~~~~ md5.c:116:17: note: include '' or provide a declaration of 'memcpy' md5.c:124:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 124 | memcpy(ctx->in, buf, len); | ^~~~~~ md5.c:124:9: note: include '' or provide a declaration of 'memcpy' md5.c: In function 'MD5Final': md5.c:153:17: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 153 | memset(p, 0, count); | ^~~~~~ md5.c:153:17: note: include '' or provide a declaration of 'memset' md5.c:153:17: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] md5.c:153:17: note: include '' or provide a declaration of 'memset' md5.c:160:17: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 160 | memset(p, 0, count-8); | ^~~~~~ md5.c:160:17: note: include '' or provide a declaration of 'memset' md5.c:172:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 172 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^~~~~~ md5.c:172:9: note: include '' or provide a declaration of 'memset' md5.c:172:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 172 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ *** [md5.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/security/scanssh/work/scanssh-2.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/security/scanssh/work/scanssh-2.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/scanssh *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/scanssh