=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for makeztxt-1.40 --- libztxt --- --- makeztxt.o --- --- libztxt --- cd libztxt && /usr/pkg/bin/bmake all --- makeztxt.o --- clang -O2 -I/usr/include -I../common -I. -c makeztxt.c --- libztxt --- --- ztxt_add_regex.o --- --- ztxt_generate_db.o --- --- ztxt_add_regex.o --- clang -O2 -I/usr/include -I../../common -I.. -c ztxt_add_regex.c --- ztxt_generate_db.o --- clang -O2 -I/usr/include -I../../common -I.. -c ztxt_generate_db.c --- ztxt_list_bookmarks.o --- --- ztxt_set.o --- --- ztxt_list_bookmarks.o --- clang -O2 -I/usr/include -I../../common -I.. -c ztxt_list_bookmarks.c --- ztxt_set.o --- clang -O2 -I/usr/include -I../../common -I.. -c ztxt_set.c --- ztxt_free.o --- clang -O2 -I/usr/include -I../../common -I.. -c ztxt_free.c --- ztxt_init.o --- --- ztxt_set.o --- ztxt_set.c:40:11: warning: passing 'UInt8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(db->dbHeader->name, new_title, dmDBNameLength); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 1 warning generated. --- ztxt_init.o --- clang -O2 -I/usr/include -I../../common -I.. -c ztxt_init.c --- ztxt_process.o --- clang -O2 -I/usr/include -I../../common -I.. -c ztxt_process.c --- ztxt_init.o --- ztxt_init.c:35:1: error: unknown type name 'u_long'; did you mean 'long'? u_long palmid_to_int(char *idstr); ^~~~~~ long ztxt_init.c:63:10: warning: passing 'UInt8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(header->name, "New zTXT database"); ^~~~~~~~~~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ztxt_init.c:64:24: warning: implicit conversion from 'unsigned int' to 'UInt16' (aka 'unsigned short') changes value from 134217728 to 0 [-Wconstant-conversion] header->attributes = htonl(0x0008); ~ ^~~~~~~~~~~~~ /usr/include/netinet/in.h:117:18: note: expanded from macro 'htonl' #define htonl(x) __htonl(x) ^~~~~~~~~~ /usr/include/x86/endian.h:126:20: note: expanded from macro '__htonl' #define __htonl(x) __bswap32(x) ^~~~~~~~~~~~ /usr/include/x86/endian.h:78:6: note: expanded from macro '__bswap32' __bswap32_gen((__uint32_t)(x)) : __bswap32_var(x)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86/endian.h:68:47: note: expanded from macro '__bswap32_gen' (((__uint32_t)__bswap16((x) & 0xffff) << 16) | __bswap16((x) >> 16)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ztxt_init.c:88:1: error: unknown type name 'u_long'; did you mean 'long'? u_long ^~~~~~ long ztxt_init.c:94:22: error: use of undeclared identifier 'u_long'; did you mean 'long'? return (0x1000000*(u_long)idstr[0] + ^~~~~~ long ztxt_init.c:94:21: error: reference to overloaded function could not be resolved; did you mean to call it? return (0x1000000*(u_long)idstr[0] + ^~~~~~~~ 2 warnings and 4 errors generated. *** [ztxt_init.o] Error code 1 bmake[1]: stopped in /var/pkgsrc/work/textproc/makeztxt/work/makeztxt-1.40b/libztxt --- ztxt_process.o --- ztxt_process.c:264:25: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char [8192]' converts between pointers to integer types with different sign [-Wpointer-sign] zstream.next_in = buf; ^ ~~~ ztxt_process.c:265:26: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] zstream.next_out = zbuf; ^ ~~~~ ztxt_process.c:297:37: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char [8192]' converts between pointers to integer types with different sign [-Wpointer-sign] zstream.next_in = buf; ^ ~~~ ztxt_process.c:308:37: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char [8192]' converts between pointers to integer types with different sign [-Wpointer-sign] zstream.next_in = buf; ^ ~~~ ztxt_process.c:345:25: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] zstream.next_in = db->tmp; ^ ~~~~~~~ ztxt_process.c:346:26: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] zstream.next_out = zbuf; ^ ~~~~ 6 warnings generated. 1 error bmake[1]: stopped in /var/pkgsrc/work/textproc/makeztxt/work/makeztxt-1.40b/libztxt *** [libztxt] Error code 2 bmake: stopped in /var/pkgsrc/work/textproc/makeztxt/work/makeztxt-1.40b 1 error bmake: stopped in /var/pkgsrc/work/textproc/makeztxt/work/makeztxt-1.40b *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/textproc/makeztxt *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/textproc/makeztxt