=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for dctc-0.85.9nb13 cd . && /bin/sh ./config.status Makefile config.status: creating Makefile /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/var/pkgsrc/work/net/dctc/work/dctc-0.85.9' Making all in src gmake[2]: Entering directory '/var/pkgsrc/work/net/dctc/work/dctc-0.85.9/src' cd .. && /bin/sh ./config.status src/Makefile depfiles config.status: creating src/Makefile config.status: executing depfiles commands if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT hublist.o -MD -MP -MF ".deps/hublist.Tpo" \ -c -o hublist.o `test -f 'hublist.c' || echo './'`hublist.c; \ then mv -f ".deps/hublist.Tpo" ".deps/hublist.Po"; \ else rm -f ".deps/hublist.Tpo"; exit 1; \ fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT format_xml_hublist.o -MD -MP -MF ".deps/format_xml_hublist.Tpo" \ -c -o format_xml_hublist.o `test -f 'format_xml_hublist.c' || echo './'`format_xml_hublist.c; \ then mv -f ".deps/format_xml_hublist.Tpo" ".deps/format_xml_hublist.Po"; \ else rm -f ".deps/format_xml_hublist.Tpo"; exit 1; \ fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT lmp.o -MD -MP -MF ".deps/lmp.Tpo" \ -c -o lmp.o `test -f 'lmp.c' || echo './'`lmp.c; \ then mv -f ".deps/lmp.Tpo" ".deps/lmp.Po"; \ else rm -f ".deps/lmp.Tpo"; exit 1; \ fi lmp.c:86:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] if(write(nw.fd,"",1)!=1) ^~~~ hublist.c:186:36: warning: passing 'const char *' to parameter of type 'const guint8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] cmd=g_byte_array_append(cmd,socks_name,strlen(socks_name)); ^~~~~~~~~~ /var/pkgsrc/work/net/dctc/work/.buildlink/include/glib/glib-2.0/glib/garray.h:218:28: note: passing argument to parameter 'data' here const guint8 *data, ^ format_xml_hublist.c:107:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Name\"]",KA_NAME,"Name",XEI_NAME}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:108:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [40]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Address\"]",KA_ADDRESS,"Address",XEI_ADDRESS}, /* it is the only mandatory column */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:109:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [44]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Description\"]",KA_DESCRIPTION,"Description",XEI_DESCRIPTION}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:110:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [38]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Users\"]",KA_USERS,"Users",XEI_USERS}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:111:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [40]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Country\"]",KA_COUNTRY,"Country",XEI_COUNTRY}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:112:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [39]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Shared\"]",KA_SHARED,"Shared",XEI_SHARED}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:113:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [39]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Status\"]",KA_STATUS,"Status",XEI_STATUS}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:114:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [41]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Minshare\"]",KA_MINSHARE,"Minshare",XEI_MINSHARE}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:115:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [41]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Minslots\"]",KA_MINSLOT,"Minslots",XEI_MINSLOT}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:116:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [40]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Maxhubs\"]",KA_MAXHUBS,"Maxhubs",XEI_MAXHUBS}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:117:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [41]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Maxusers\"]",KA_MAXUSERS,"Maxusers",XEI_MAXUSERS}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:118:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [44]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Reliability\"]",KA_RELIABILITY,"Reliability",XEI_RELIABILITY}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:119:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [39]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Rating\"]",KA_RATING,"Rating",XEI_RATING}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:120:10: warning: initializing 'const xmlChar *' (aka 'const unsigned char *') with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign] {"//Hubs/Columns//Column[@Name=\"Port\"]",KA_PORT,"Port",XEI_PORT}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:163:33: warning: passing 'const char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xml_entry[i]=xmlGetProp(node,cd[i].property_name); ^~~~~~~~~~~~~~~~~~~ /var/pkgsrc/work/net/dctc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ format_xml_hublist.c:211:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((decode==FALSE)||(strchr(xml_entry[xei],'&')==NULL)) /* no decode or no '&' ('&' is the first character of a HTML code */ ^~~~~~~~~~~~~~ /usr/include/string.h:76:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ format_xml_hublist.c:217:5: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] t=xml_entry[xei]; ^~~~~~~~~~~~~~~ format_xml_hublist.c:258:24: warning: passing 'char [21]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] result=getNodeSet(doc,"//Hubs/Hub[@Address]"); /* retrieve only hub having an address */ ^~~~~~~~~~~~~~~~~~~~~~ format_xml_hublist.c:38:61: note: passing argument to parameter 'xpath' here xmlXPathObjectPtr getNodeSet (xmlDocPtr doc, const xmlChar *xpath) ^ format_xml_hublist.c:270:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(xml_entry[XEI_ADDRESS])) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ format_xml_hublist.c:280:16: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(xml_entry[XEI_PORT])) ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ format_xml_hublist.c:282:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strchr(xml_entry[XEI_ADDRESS],':')==NULL) /* no port in the address */ ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:76:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ lmp.c:282:65: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr,"WARNING: lmp0_new: min prealloc_size == %d\n",sizeof(guint32)); ~~ ^~~~~~~~~~~~~~~ %lu hublist.c:310:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] uu_auth(argv[4],strlen(argv[4]),encoded_pass); ^~~~~~~ hublist.c:54:28: note: passing argument to parameter 'bufin' here int uu_auth(unsigned char *bufin, unsigned int nbytes, char *bufcoded) ^ 21 warnings generated. 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT action.o -MD -MP -MF ".deps/action.Tpo" \ -c -o action.o `test -f 'action.c' || echo './'`action.c; \ then mv -f ".deps/action.Tpo" ".deps/action.Po"; \ else rm -f ".deps/action.Tpo"; exit 1; \ fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT mydb.o -MD -MP -MF ".deps/mydb.Tpo" \ -c -o mydb.o `test -f 'mydb.c' || echo './'`mydb.c; \ then mv -f ".deps/mydb.Tpo" ".deps/mydb.Po"; \ else rm -f ".deps/mydb.Tpo"; exit 1; \ fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT dc_com.o -MD -MP -MF ".deps/dc_com.Tpo" \ -c -o dc_com.o `test -f 'dc_com.c' || echo './'`dc_com.c; \ then mv -f ".deps/dc_com.Tpo" ".deps/dc_com.Po"; \ else rm -f ".deps/dc_com.Tpo"; exit 1; \ fi mydb.c:309:8: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] *cpy=255; ~^~~ mydb.c:994:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] md5tostr(md5sum,strmd5); ^~~~~~ ./md.h:48:35: note: passing argument to parameter 'md5sum' here void md5tostr(const unsigned char md5sum[MD5SUMLEN],char str[3*MD5SUMLEN+1]); ^ mydb.c:1076:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_a_db_result(sck,dest_nick, de,dest_addr,md5sum); ^~~~~~ mydb.c:966:114: note: passing argument to parameter 'md5sum' here static void send_a_db_result(int output_sck, char *dest_nick, DB_ENTRY *de, struct sockaddr_in *dest_addr, char *md5sum) ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT dc_manage.o -MD -MP -MF ".deps/dc_manage.Tpo" \ -c -o dc_manage.o `test -f 'dc_manage.c' || echo './'`dc_manage.c; \ then mv -f ".deps/dc_manage.Tpo" ".deps/dc_manage.Po"; \ else rm -f ".deps/dc_manage.Tpo"; exit 1; \ fi dc_manage.c:602:30: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] get_tos_entry(CSRCH_TOSKEY,md5sum,MD5SUMLEN,1,&true_fname,&true_fname_len); ^~~~~~ ./timed_out_string.h:66:56: note: passing argument to parameter 'ptr' here int get_tos_entry(const unsigned long key, const char *ptr, const int len, int side, char **out_ptr, int *out_len); ^ dc_manage.c:739:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] id_ascii_to_bin(crc,g_crc); ^~~ ./md_crc.h:69:37: note: passing argument to parameter 'asc_id' here void id_ascii_to_bin(unsigned char *asc_id, guint8 *bin_id); ^ dc_manage.c:930:77: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret=recvfrom(srch_sck,buf,sizeof(buf),MSG_NOSIGNAL,(void*)&srch_port_raddr,&srch_port_raddr_len); ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/socket.h:628:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT display.o -MD -MP -MF ".deps/display.Tpo" \ -c -o display.o `test -f 'display.c' || echo './'`display.c; \ then mv -f ".deps/display.Tpo" ".deps/display.Po"; \ else rm -f ".deps/display.Tpo"; exit 1; \ fi 3 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT gts.o -MD -MP -MF ".deps/gts.Tpo" \ -c -o gts.o `test -f 'gts.c' || echo './'`gts.c; \ then mv -f ".deps/gts.Tpo" ".deps/gts.Po"; \ else rm -f ".deps/gts.Tpo"; exit 1; \ fi 3 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT he3.o -MD -MP -MF ".deps/he3.Tpo" \ -c -o he3.o `test -f 'he3.c' || echo './'`he3.c; \ then mv -f ".deps/he3.Tpo" ".deps/he3.Po"; \ else rm -f ".deps/he3.Tpo"; exit 1; \ fi gts.c:84:43: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] g_string_sprintfa(gts_filename,"/gts.%d",sizeof(GTS_ENTRY)); ~~ ^~~~~~~~~~~~~~~~~ %lu 1 warning generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT keyboard.o -MD -MP -MF ".deps/keyboard.Tpo" \ -c -o keyboard.o `test -f 'keyboard.c' || echo './'`keyboard.c; \ then mv -f ".deps/keyboard.Tpo" ".deps/keyboard.Po"; \ else rm -f ".deps/keyboard.Tpo"; exit 1; \ fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT key.o -MD -MP -MF ".deps/key.Tpo" \ -c -o key.o `test -f 'key.c' || echo './'`key.c; \ then mv -f ".deps/key.Tpo" ".deps/key.Po"; \ else rm -f ".deps/key.Tpo"; exit 1; \ fi keyboard.c:56:14: error: redefinition of 'semun' union semun { ^ /usr/include/sys/sem.h:79:7: note: previous definition is here union semun { ^ keyboard.c:578:61: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_tos_entry(CSRCH_TOSKEY,40,pattern,strlen(pattern)+1,md5sum,MD5SUMLEN); ^~~~~~ ./timed_out_string.h:37:114: note: passing argument to parameter 'ptr2' here void add_tos_entry(const unsigned long key, const time_t duration, const char *ptr1, const int len1, const char *ptr2, const int len2); ^ keyboard.c:593:61: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_tos_entry(CSRCH_TOSKEY,40,pattern,strlen(pattern)+1,md5sum,MD5SUMLEN); ^~~~~~ ./timed_out_string.h:37:114: note: passing argument to parameter 'ptr2' here void add_tos_entry(const unsigned long key, const time_t duration, const char *ptr1, const int len1, const char *ptr2, const int len2); ^ keyboard.c:1202:4: warning: incompatible integer to pointer conversion assigning to 'pthread_t' (aka 'struct pthread *') from 'unsigned long' [-Wint-conversion] id=strtoul(t,NULL,10); ^~~~~~~~~~~~~~~~~~~ keyboard.c:2215:23: warning: initializing 'int *' with an expression of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] {"sharelist_dl",&sharelist_dl_wo_slot,0,NULL}, ^~~~~~~~~~~~~~~~~~~~~ keyboard.c:2216:27: warning: initializing 'int *' with an expression of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] {"fake_dcpp_client",&fake_dcpp_client,0,NULL}, ^~~~~~~~~~~~~~~~~ keyboard.c:2217:20: warning: initializing 'int *' with an expression of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] {"disp_user",&disp_user,0,NULL}, ^~~~~~~~~~ keyboard.c:2857:21: warning: passing 'gchar *' (aka 'char *') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] id_ascii_to_bin(arr[1],md); ^~~~~~ ./md_crc.h:69:37: note: passing argument to parameter 'asc_id' here void id_ascii_to_bin(unsigned char *asc_id, guint8 *bin_id); ^ keyboard.c:3518:19: warning: passing 'gchar *' (aka 'char *') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] id_ascii_to_bin(fields[1],gmd); ^~~~~~~~~ ./md_crc.h:69:37: note: passing argument to parameter 'asc_id' here void id_ascii_to_bin(unsigned char *asc_id, guint8 *bin_id); ^ keyboard.c:3530:20: warning: passing 'gchar *' (aka 'char *') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] id_ascii_to_bin(fields[3]+i*2*MD4_DIGEST_LENGTH,tmp_md+i*MD4_DIGEST_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./md_crc.h:69:37: note: passing argument to parameter 'asc_id' here void id_ascii_to_bin(unsigned char *asc_id, guint8 *bin_id); ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.c' || echo './'`main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi 9 warnings and 1 error generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -D_THREAD_SAFE -I/usr/pkg/include/libxml2 -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DROUTE_HAS_GET_DEFAULT -DMSG_NOSIGNAL=0 -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/db4 -MT md.o -MD -MP -MF ".deps/md.Tpo" \ -c -o md.o `test -f 'md.c' || echo './'`md.c; \ then mv -f ".deps/md.Tpo" ".deps/md.Po"; \ else rm -f ".deps/md.Tpo"; exit 1; \ fi Makefile:418: recipe for target 'keyboard.o' failed gmake[2]: *** [keyboard.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... main.c:662:52: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if(getsockopt(main_sck,SOL_SOCKET,SO_ERROR,buffer,&blen)==-1) ^~~~~ /usr/include/sys/socket.h:625:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ main.c:1380:53: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] printf("hubip: %s hubport: %hu\n",hubip->str,hub_port); ~~~ ^~~~~~~~ %u main.c:1503:2: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] g_thread_init(NULL); /* initialize glib thread functions */ ^ /var/pkgsrc/work/net/dctc/work/.buildlink/include/glib/glib-2.0/glib/deprecated/gthread.h:264:1: note: 'g_thread_init' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_32 ^ /var/pkgsrc/work/net/dctc/work/.buildlink/include/glib/glib-2.0/glib/gversionmacros.h:332:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_32' # define GLIB_DEPRECATED_IN_2_32 GLIB_DEPRECATED ^ /var/pkgsrc/work/net/dctc/work/.buildlink/include/glib/glib-2.0/glib/gmacros.h:431:25: note: expanded from macro 'GLIB_DEPRECATED' #define GLIB_DEPRECATED G_DEPRECATED _GLIB_EXTERN ^ /var/pkgsrc/work/net/dctc/work/.buildlink/include/glib/glib-2.0/glib/gmacros.h:393:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ 3 warnings generated. gmake[2]: Leaving directory '/var/pkgsrc/work/net/dctc/work/dctc-0.85.9/src' Makefile:280: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/var/pkgsrc/work/net/dctc/work/dctc-0.85.9' Makefile:159: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/dctc *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/dctc