=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for ekg-1.7nb11 cd lib && /tmp/chat/ekg/work/.tools/bin/gmake all cd src && /tmp/chat/ekg/work/.tools/bin/gmake all gmake[1]: Entering directory '/tmp/chat/ekg/work/ekg-1.7/lib' gcc -MM -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. common.c libgadu.c pubdir.c http.c dcc.c events.c pubdir50.c obsolete.c 1> .depend /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=compile gcc -c -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. common.c -o common.o gmake[1]: Entering directory '/tmp/chat/ekg/work/ekg-1.7/src' gcc -MM -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" stuff.c commands.c events.c themes.c vars.c dynstuff.c userlist.c ekg.c xmalloc.c mail.c msgqueue.c emoticons.c configfile.c simlite.c ui-ncurses.c ui-readline.c ui-batch.c ui-none.c log.c comptime.c 1> .depend /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=compile gcc -c -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. libgadu.c -o libgadu.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. libgadu.c -fPIC -DPIC -o .libs/libgadu.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. common.c -fPIC -DPIC -o .libs/common.o libgadu.c: In function 'gg_login': libgadu.c:818:3: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] sess->ssl_ctx = SSL_CTX_new(TLSv1_client_method()); ^~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/err.h:13, from libgadu.c:48: /usr/include/openssl/ssl.h:1879:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^ libgadu.c: In function 'gg_image_reply': libgadu.c:1279:34: warning: pointer targets in passing argument 2 of 'gg_crc32' differ in signedness [-Wpointer-sign] r->crc32 = gg_fix32(gg_crc32(0, image, size)); ^~~~~ In file included from libgadu.c:53:0: libgadu.h:372:10: note: expected 'const unsigned char *' but argument is of type 'const char *' uint32_t gg_crc32(uint32_t crc, const unsigned char *buf, int len); ^~~~~~~~ libgadu.c: In function 'gg_send_message_richtext': libgadu.c:1410:71: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (gg_send_packet(sess, GG_SEND_MSG, &s, sizeof(s), message, strlen(message) + 1, format, formatlen, NULL) == -1) ^~~~~~~ In file included from libgadu.c:44:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *); ^~~~~~ libgadu.c: In function 'gg_send_message_confer_richtext': libgadu.c:1503:72: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (gg_send_packet(sess, GG_SEND_MSG, &s, sizeof(s), message, strlen(message) + 1, &r, sizeof(r), recps, (recipients_count - 1) * sizeof(uin_t), format, formatlen, NULL) == -1) { ^~~~~~~ In file included from libgadu.c:44:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *); ^~~~~~ libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. common.c -o common.o >/dev/null 2>&1 gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o stuff.o stuff.c libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. libgadu.c -o libgadu.o >/dev/null 2>&1 stuff.c: In function 'ekg_connect': stuff.c:1429:13: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(p.password); ^ In file included from stuff.c:68:0: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ stuff.c:1431:13: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(p.status_descr); ^ In file included from stuff.c:68:0: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ stuff.c:1440:13: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(p.password); ^ In file included from stuff.c:68:0: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ stuff.c:1442:13: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(p.status_descr); ^ In file included from stuff.c:68:0: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ stuff.c: In function 'ekg_logoff': stuff.c:1475:13: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(tmp); ^~~ In file included from stuff.c:68:0: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ stuff.c: In function 'msg_encrypt': stuff.c:1916:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *res = sim_message_encrypt(*msg, uin); ^~~~~~~~~~~~~~~~~~~ stuff.c:1924:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(*msg) > 1989) { ^ In file included from stuff.c:52:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ stuff.c: In function 'update_status_myip': stuff.c:2961:56: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(sess->fd, (struct sockaddr *) &foo, &bar)) ^ In file included from stuff.c:31:0: /usr/include/sys/socket.h:625:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ stuff.c: In function 'change_status': stuff.c:3140:18: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(config_reason); ^~~~~~~~~~~~~ stuff.c:2043:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf) ^~~~~~~~~ stuff.c:3142:14: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(config_reason); ^~~~~~~~~~~~~ stuff.c:1998:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf) ^~~~~~~~~ gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o commands.o commands.c commands.c: In function 'cmd_away': commands.c:497:15: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(config_reason); ^~~~~~~~~~~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ commands.c:499:15: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(config_reason); ^~~~~~~~~~~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ commands.c: In function 'cmd_find': commands.c:933:13: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(argv[i]); ^~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ commands.c: In function 'cmd_change': commands.c:1188:14: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(argv[i]); ^~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ commands.c: In function 'cmd_ignore': commands.c:1663:7: warning: variable 'level' set but not used [-Wunused-but-set-variable] int level; ^~~~~ commands.c: In function 'cmd_list': commands.c:2173:13: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(contacts); ^~~~~~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ commands.c: In function 'cmd_msg': commands.c:2401:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg = xstrmid(params[1], 0, 1989); ^ commands.c:2504:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] const unsigned char *p = msg, *end = p + strlen(p); ^ In file included from commands.c:44:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *); ^~~~~~ commands.c:2513:21: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] int num = atoi(p); ^ In file included from commands.c:43:0: /usr/include/stdlib.h:101:6: note: expected 'const char *' but argument is of type 'const unsigned char *' int atoi(const char *); ^~~~ commands.c:2603:20: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] raw_msg = xstrdup(msg); ^~~ In file included from commands.c:74:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *xstrdup(const char *s); ^~~~~~~ commands.c:2603:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] raw_msg = xstrdup(msg); ^ commands.c:2622:36: warning: pointer targets in passing argument 5 of 'last_add' differ in signedness [-Wpointer-sign] last_add(1, uin, time(NULL), 0, raw_msg); ^~~~~~~ In file included from commands.c:56:0: log.h:43:6: note: expected 'const char *' but argument is of type 'unsigned char *' void last_add(int type, uin_t uin, time_t t, time_t st, const char *msg); ^~~~~~~~ commands.c:2627:35: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] unsigned char *__msg = xstrdup(msg); ^~~ In file included from commands.c:74:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *xstrdup(const char *s); ^~~~~~~ commands.c:2627:27: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *__msg = xstrdup(msg); ^~~~~~~ commands.c:2681:33: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] e.event.msg.message = xstrdup(raw_msg); ^~~~~~~ In file included from commands.c:74:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *xstrdup(const char *s); ^~~~~~~ commands.c:2681:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] e.event.msg.message = xstrdup(raw_msg); ^ commands.c: In function 'cmd_dcc': commands.c:3138:14: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(remote); ^~~~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ commands.c: In function 'cmd_key': commands.c:3518:48: warning: pointer targets in passing argument 4 of 'gg_send_message' differ in signedness [-Wpointer-sign] if (gg_send_message(sess, GG_CLASS_MSG, uin, s->str) == -1) { ^ In file included from events.h:24:0, from commands.c:54: ../lib/libgadu.h:362:5: note: expected 'const unsigned char *' but argument is of type 'char *' int gg_send_message(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message); ^~~~~~~~~~~~~~~ commands.c: In function 'cmd_test_hexmsg': commands.c:3690:63: warning: pointer targets in passing argument 4 of 'gg_send_message_ctcp' differ in signedness [-Wpointer-sign] gg_send_message_ctcp(sess, GG_CLASS_MSG, get_uin(params[0]), buf, size); ^~~ In file included from events.h:24:0, from commands.c:54: ../lib/libgadu.h:366:5: note: expected 'const unsigned char *' but argument is of type 'char *' int gg_send_message_ctcp(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message, int message_len); ^~~~~~~~~~~~~~~~~~~~ commands.c: In function 'cmd_test_imagemsg': commands.c:3787:20: warning: pointer targets in passing argument 2 of 'gg_crc32' differ in signedness [-Wpointer-sign] tmp = gg_crc32(0, image, size); ^~~~~ In file included from events.h:24:0, from commands.c:54: ../lib/libgadu.h:372:10: note: expected 'const unsigned char *' but argument is of type 'char *' uint32_t gg_crc32(uint32_t crc, const unsigned char *buf, int len); ^~~~~~~~ commands.c:3796:75: warning: pointer targets in passing argument 4 of 'gg_send_message_richtext' differ in signedness [-Wpointer-sign] return gg_send_message_richtext(sess, GG_CLASS_CHAT, get_uin(params[0]), message, format, sizeof(format)); ^~~~~~~ In file included from events.h:24:0, from commands.c:54: ../lib/libgadu.h:363:5: note: expected 'const unsigned char *' but argument is of type 'char *' int gg_send_message_richtext(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message, const unsigned char *format, int formatlen); ^~~~~~~~~~~~~~~~~~~~~~~~ commands.c:3796:84: warning: pointer targets in passing argument 5 of 'gg_send_message_richtext' differ in signedness [-Wpointer-sign] return gg_send_message_richtext(sess, GG_CLASS_CHAT, get_uin(params[0]), message, format, sizeof(format)); ^~~~~~ In file included from events.h:24:0, from commands.c:54: ../lib/libgadu.h:363:5: note: expected 'const unsigned char *' but argument is of type 'char *' int gg_send_message_richtext(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message, const unsigned char *format, int formatlen); ^~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'cmd_test_send': commands.c:3817:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] e->event.msg.message = xstrdup(params[1]); ^ commands.c: In function 'cmd_register': commands.c:4130:13: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(passwd); ^~~~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ commands.c: In function 'cmd_passwd': commands.c:4220:13: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(oldpasswd); ^~~~~~~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ commands.c:4222:12: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(newpasswd); ^~~~~~~~~ In file included from userlist.h:35:0, from events.h:25, from commands.c:54: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=compile gcc -c -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. pubdir.c -o pubdir.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. pubdir.c -fPIC -DPIC -o .libs/pubdir.o /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=compile gcc -c -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. http.c -o http.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. http.c -fPIC -DPIC -o .libs/http.o http.c: In function 'gg_http_connect': http.c:134:42: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare] if (!(h->fd = gg_connect(&a, port, 0)) == -1) { ^~ http.c:134:42: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] http.c:134:7: note: add parentheses around left hand side expression to silence this warning if (!(h->fd = gg_connect(&a, port, 0)) == -1) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( ) /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=compile gcc -c -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. dcc.c -o dcc.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. dcc.c -fPIC -DPIC -o .libs/dcc.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. pubdir.c -o pubdir.o >/dev/null 2>&1 libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. http.c -o http.o >/dev/null 2>&1 dcc.c: In function 'gg_dcc_request': dcc.c:85:56: warning: pointer targets in passing argument 4 of 'gg_send_message_ctcp' differ in signedness [-Wpointer-sign] return gg_send_message_ctcp(sess, GG_CLASS_CTCP, uin, "\002", 1); ^~~~~~ In file included from dcc.c:43:0: libgadu.h:366:5: note: expected 'const unsigned char *' but argument is of type 'char *' int gg_send_message_ctcp(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message, int message_len); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from dcc.c:37: dcc.c: In function 'gg_dcc_fill_file_info2': dcc.c:229:10: warning: pointer targets in passing argument 1 of '__builtin___strncpy_chk' differ in signedness [-Wpointer-sign] strncpy(d->file_info.filename, name, sizeof(d->file_info.filename) - 1); ^ dcc.c:229:10: note: expected 'char *' but argument is of type 'unsigned char *' dcc.c:229:10: warning: pointer targets in passing argument 1 of '__strncpy_ichk' differ in signedness [-Wpointer-sign] strncpy(d->file_info.filename, name, sizeof(d->file_info.filename) - 1); ^ /usr/include/ssp/string.h:91:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __ssp_bos_icheck3_restrict(strncpy, char *, const char *) ^ dcc.c: In function 'gg_dcc_watch_fd': dcc.c:572:52: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((fd = accept(h->fd, (struct sockaddr*) &sin, &sin_len)) == -1) { ^ In file included from dcc.c:26:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ dcc.c:909:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] e->event.dcc_voice_data.data = h->voice_buf; ^ dcc.c:927:62: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if ((foo = getsockopt(h->fd, SOL_SOCKET, SO_ERROR, &res, &res_size)) || res) { ^ In file included from dcc.c:26:0: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o events.o events.c gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o themes.o themes.c libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. dcc.c -o dcc.o >/dev/null 2>&1 events.c: In function 'print_message': events.c:146:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] formatmap = xcalloc(1, strlen(e->event.msg.message)); ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ events.c:151:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (pos >= strlen(e->event.msg.message)) { ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ events.c:173:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = 0; formatmap && i < strlen(e->event.msg.message); i++) { ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ events.c:288:65: warning: pointer targets in passing argument 5 of 'last_add' differ in signedness [-Wpointer-sign] last_add(0, e->event.msg.sender, tt, e->event.msg.time, e->event.msg.message); ^ In file included from events.c:44:0: log.h:43:6: note: expected 'const char *' but argument is of type 'unsigned char *' void last_add(int type, uin_t uin, time_t t, time_t st, const char *msg); ^~~~~~~~ events.c:334:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] mesg = save = (strlen(e->event.msg.message) > 0) ? xstrdup(e->event.msg.message) : xstrdup(" "); ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ events.c:334:61: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] mesg = save = (strlen(e->event.msg.message) > 0) ? xstrdup(e->event.msg.message) : xstrdup(" "); ^ In file included from events.c:58:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *xstrdup(const char *s); ^~~~~~~ events.c: In function 'handle_msg': events.c:526:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (config_ignore_empty_msg && imageno && strlen(e->event.msg.message) == 0) { ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ events.c:537:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlcpy(e->event.msg.message, msg, strlen(e->event.msg.message) + 1); ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ events.c:537:12: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(e->event.msg.message, msg, strlen(e->event.msg.message) + 1); ^ In file included from events.c:35:0: /usr/include/string.h:104:9: note: expected 'char *' but argument is of type 'unsigned char *' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ events.c:617:36: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (config_encryption && !strncmp(e->event.msg.message, "-----BEGIN RSA PUBLIC KEY-----", 20)) { ^ In file included from events.c:35:0: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ events.c:662:69: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness [-Wpointer-sign] event_check((chat) ? EVENT_CHAT : EVENT_MSG, e->event.msg.sender, e->event.msg.message); ^ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:435:5: note: expected 'const char *' but argument is of type 'unsigned char *' int event_check(int event, uin_t uin, const char *data); ^~~~~~~~~~~ events.c:676:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (config_sms_max_length && strlen(e->event.msg.message) > config_sms_max_length) ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ events.c: In function 'handle_common': events.c:957:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] descr = xstrdup(idescr); ^ events.c:982:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] descr = xstrdup(""); ^ In file included from /usr/include/string.h:127:0, from events.c:35: events.c:990:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memmove(tmp, tmp + 1, strlen(tmp)); ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ In file included from /usr/include/string.h:127:0, from events.c:35: events.c:990:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memmove(tmp, tmp + 1, strlen(tmp)); ^ In file included from events.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ events.c:1002:79: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (GG_S_D(status) && (u->status == status) && u->descr && !strcmp(u->descr, descr)) { ^~~~~ In file included from events.c:35:0: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *); ^~~~~~ events.c:1033:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if ((descr && u->descr && strcmp(descr, u->descr)) || (!u->descr && descr)) ^~~~~ In file included from events.c:35:0: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *); ^~~~~~ events.c:1034:35: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness [-Wpointer-sign] event_check(EVENT_DESCR, uin, descr); ^~~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:435:5: note: expected 'const char *' but argument is of type 'unsigned char *' int event_check(int event, uin_t uin, const char *data); ^~~~~~~~~~~ events.c:1038:37: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness [-Wpointer-sign] event_check(EVENT_ONLINE, uin, descr); ^~~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:435:5: note: expected 'const char *' but argument is of type 'unsigned char *' int event_check(int event, uin_t uin, const char *data); ^~~~~~~~~~~ events.c:1040:33: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness [-Wpointer-sign] event_check(s->event, uin, descr); ^~~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:435:5: note: expected 'const char *' but argument is of type 'unsigned char *' int event_check(int event, uin_t uin, const char *data); ^~~~~~~~~~~ events.c:1116:24: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] char *tmp = xstrdup(descr), *p; ^~~~~ In file included from events.c:58:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *xstrdup(const char *s); ^~~~~~~ events.c:1148:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u->descr = descr; ^ events.c: In function 'handle_userlist': events.c:2140:15: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(e->event.userlist.reply); ^ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ events.c: In function 'handle_dcc': events.c:2412:16: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(remote); ^~~~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ events.c:2452:26: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] t->filename = xstrdup(d->file_info.filename); ^ In file included from events.c:58:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *xstrdup(const char *s); ^~~~~~~ events.c:2453:14: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(t->filename); ^ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ events.c: In function 'handle_search50': events.c:2676:13: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(firstname); ^~~~~~~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ events.c:2677:13: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(lastname); ^~~~~~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ events.c:2678:13: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(nickname); ^~~~~~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ events.c:2679:13: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(city); ^~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ events.c: In function 'handle_image_reply': events.c:2808:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fname = xstrdup(e->event.image_reply.filename); ^ events.c:2813:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] path = saprintf("%s/%s", config_dcc_dir, fname); ^ events.c:2815:20: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] path = xstrdup(fname); ^~~~~ In file included from events.c:58:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *xstrdup(const char *s); ^~~~~~~ events.c:2815:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] path = xstrdup(fname); ^ events.c:2829:14: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open(path, O_WRONLY | O_CREAT, 0600); ^~~~ In file included from events.c:37:0: /usr/include/fcntl.h:308:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^~~~ events.c:2837:12: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink(path); ^~~~ In file included from events.c:38:0: /usr/include/unistd.h:144:6: note: expected 'const char *' but argument is of type 'unsigned char *' int unlink(const char *); ^~~~~~ events.c:2842:12: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink(path); ^~~~ In file included from events.c:38:0: /usr/include/unistd.h:144:6: note: expected 'const char *' but argument is of type 'unsigned char *' int unlink(const char *); ^~~~~~ events.c:2850:12: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink(path); ^~~~ In file included from events.c:38:0: /usr/include/unistd.h:144:6: note: expected 'const char *' but argument is of type 'unsigned char *' int unlink(const char *); ^~~~~~ events.c:2857:12: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink(path); ^~~~ In file included from events.c:38:0: /usr/include/unistd.h:144:6: note: expected 'const char *' but argument is of type 'unsigned char *' int unlink(const char *); ^~~~~~ events.c:2865:58: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness [-Wpointer-sign] event_check(EVENT_IMAGE, e->event.image_reply.sender, fname); ^~~~~ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:435:5: note: expected 'const char *' but argument is of type 'unsigned char *' int event_check(int event, uin_t uin, const char *data); ^~~~~~~~~~~ events.c:2921:14: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(u->descr); ^ In file included from userlist.h:35:0, from events.h:25, from events.c:42: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ themes.c: In function 'va_format_string': themes.c:372:16: warning: pointer targets in passing argument 1 of 'iso_to_ascii' differ in signedness [-Wpointer-sign] iso_to_ascii(buf->str); ^~~ In file included from themes.c:33:0: stuff.h:442:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_ascii(unsigned char *buf); ^~~~~~~~~~~~ /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=compile gcc -c -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. events.c -o events.o gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o vars.o vars.c libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. events.c -fPIC -DPIC -o .libs/events.o events.c: In function 'gg_handle_recv_msg': events.c:422:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] e->event.msg.message = strdup((char*) r + sizeof(*r)); ^ events.c: In function 'gg_watch_fd': events.c:894:73: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (sess->async && (getsockopt(sess->fd, SOL_SOCKET, SO_ERROR, &res, &res_size) || res)) { ^ In file included from events.c:27:0: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ events.c:1071:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] e->event.msg.message = sysmsg_buf; ^ events.c:1149:95: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (sess->async && (sess->timeout == 0 || getsockopt(sess->fd, SOL_SOCKET, SO_ERROR, &res, &res_size) || res)) { ^ In file included from events.c:27:0: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ events.c:1338:30: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *password = sess->password; ^~~~ events.c:1420:57: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (!getsockname(sess->fd, (struct sockaddr*) &sin, &sin_len)) { ^ In file included from events.c:27:0: /usr/include/sys/socket.h:625:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=compile gcc -c -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. pubdir50.c -o pubdir50.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. pubdir50.c -fPIC -DPIC -o .libs/pubdir50.o /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=compile gcc -c -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I. -I.. obsolete.c -o obsolete.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. obsolete.c -fPIC -DPIC -o .libs/obsolete.o libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. pubdir50.c -o pubdir50.o >/dev/null 2>&1 libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. events.c -o events.o >/dev/null 2>&1 gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o dynstuff.o dynstuff.c libtool: compile: gcc -c -I/tmp/chat/ekg/work/.buildlink/include/ncurses -I/tmp/chat/ekg/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -pthread -I. -I.. obsolete.c -o obsolete.o >/dev/null 2>&1 gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o userlist.o userlist.c gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o ekg.o ekg.c gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o xmalloc.o xmalloc.c userlist.c: In function 'userlist_set': userlist.c:300:15: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(config_reason); ^~~~~~~~~~~~~ In file included from userlist.c:48:0: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ userlist.c:302:15: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness [-Wpointer-sign] cp_to_iso(config_reason); ^~~~~~~~~~~~~ In file included from userlist.c:48:0: stuff.h:440:6: note: expected 'unsigned char *' but argument is of type 'char *' void cp_to_iso(unsigned char *buf); ^~~~~~~~~ userlist.c: In function 'userlist_remove': userlist.c:581:6: warning: variable 'metagroups' set but not used [-Wunused-but-set-variable] int metagroups = 0; ^~~~~~~~~~ ekg.c: In function 'ekg_wait_for_key': ekg.c:589:17: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness [-Wpointer-sign] iso_to_cp(u->descr); ^ In file included from userlist.h:35:0, from events.h:25, from ekg.c:62: stuff.h:441:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_cp(unsigned char *buf); ^~~~~~~~~ /tmp/chat/ekg/work/.cwrapper/bin/libtool --mode=link gcc -o libgadu.la common.lo libgadu.lo pubdir.lo http.lo dcc.lo events.lo pubdir50.lo obsolete.lo -rpath /usr/pkg/lib -version-info 3:5 gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o mail.o mail.c libtool: link: gcc -shared -fPIC -DPIC .libs/common.o .libs/libgadu.o .libs/pubdir.o .libs/http.o .libs/dcc.o .libs/events.o .libs/pubdir50.o .libs/obsolete.o -Wl,-soname -Wl,libgadu.so.3 -o .libs/libgadu.so.3.0.5 libtool: link: (cd ".libs" && rm -f "libgadu.so.3" && ln -s "libgadu.so.3.0.5" "libgadu.so.3") libtool: link: (cd ".libs" && rm -f "libgadu.so" && ln -s "libgadu.so.3.0.5" "libgadu.so") libtool: link: ar cru .libs/libgadu.a common.o libgadu.o pubdir.o http.o dcc.o events.o pubdir50.o obsolete.o libtool: link: ranlib .libs/libgadu.a libtool: link: ( cd ".libs" && rm -f "libgadu.la" && ln -s "../libgadu.la" "libgadu.la" ) gmake[1]: Leaving directory '/tmp/chat/ekg/work/ekg-1.7/lib' gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o msgqueue.o msgqueue.c gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o emoticons.o emoticons.c msgqueue.c: In function 'msg_queue_add': msgqueue.c:88:18: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] m.msg = xstrdup(msg); ^~~ In file included from msgqueue.c:38:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'const unsigned char *' char *xstrdup(const char *s); ^~~~~~~ msgqueue.c:88:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] m.msg = xstrdup(msg); ^ msgqueue.c: In function 'msg_queue_flush': msgqueue.c:203:32: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness [-Wpointer-sign] unsigned char *tmp = xstrdup(m->msg); ^ In file included from msgqueue.c:38:0: xmalloc.h:34:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *xstrdup(const char *s); ^~~~~~~ msgqueue.c:203:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *tmp = xstrdup(m->msg); ^~~~~~~ msgqueue.c: In function 'msg_queue_read': msgqueue.c:410:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] m.msg = msg->str; ^ gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o configfile.o configfile.c gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o simlite.o simlite.c gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o ui-ncurses.o ui-ncurses.c gcc -I.. -I../lib -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -Wall -pthread -I/usr/pkg/include/readline -I/usr/pkg/include -DDATADIR=\"/usr/pkg/share/ekg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o ui-readline.o ui-readline.c simlite.c: In function 'sim_key_generate': simlite.c:89:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] if (!(keys = RSA_generate_key(1024, RSA_F4, NULL, NULL))) { ^~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/bio.h:13, from simlite.c:25: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ simlite.c: In function 'sim_key_fingerprint': simlite.c:183:13: error: storage size of 'ctx' isn't known EVP_MD_CTX ctx; ^~~ simlite.c:206:34: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&ctx, md_value, &md_len); ^ In file included from simlite.c:26:0: /usr/include/openssl/evp.h:556:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ simlite.c:183:13: warning: unused variable 'ctx' [-Wunused-variable] EVP_MD_CTX ctx; ^~~ simlite.c: In function 'sim_message_encrypt': simlite.c:340:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BIO_write(cbio, message, strlen(message)); ^~~~~~~ In file included from simlite.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *); ^~~~~~ simlite.c: In function 'sim_message_decrypt': simlite.c:392:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(message) < 192) { ^~~~~~~ In file included from simlite.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *); ^~~~~~ simlite.c:407:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BIO_write(mbio, message, strlen(message)); ^~~~~~~ In file included from simlite.c:35:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *); ^~~~~~ simlite.c:514:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return res; ^~~ gmake[1]: *** [: simlite.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... ui-ncurses.c: In function 'window_printat': ui-ncurses.c:1739:16: warning: pointer targets in passing argument 1 of 'iso_to_ascii' differ in signedness [-Wpointer-sign] iso_to_ascii(format); ^~~~~~ In file included from ui-ncurses.c:80:0: stuff.h:442:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_ascii(unsigned char *buf); ^~~~~~~~~~~~ ui-ncurses.c:1847:19: warning: pointer targets in passing argument 1 of 'iso_to_ascii' differ in signedness [-Wpointer-sign] iso_to_ascii(text); ^~~~ In file included from ui-ncurses.c:80:0: stuff.h:442:6: note: expected 'unsigned char *' but argument is of type 'char *' void iso_to_ascii(unsigned char *buf); ^~~~~~~~~~~~ ui-readline.c: In function 'command_generator': ui-readline.c:205:6: warning: variable 'slash' set but not used [-Wunused-but-set-variable] int slash = 0; ^~~~~ ui-readline.c: In function 'ui_readline_event': ui-readline.c:1050:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] int *param = va_arg(ap, uin_t*); ^~~~~~ ui-ncurses.c: In function 'ui_ncurses_loop': ui-ncurses.c:3999:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = lines[lines_start + i]; ^ ui-ncurses.c:4016:69: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (j = 0; j + line_start < strlen(p) && j < input->_maxx + 1; j++) ^ In file included from ui-ncurses.c:64:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ ui-ncurses.c: In function 'ui_ncurses_event': ui-ncurses.c:4696:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] int *param = va_arg(ap, uin_t*); ^~~~~~ gmake[1]: Leaving directory '/tmp/chat/ekg/work/ekg-1.7/src' gmake: *** [Makefile:24: ekg] Error 2 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/chat/ekg *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/chat/ekg