* Package: mail-filter/dcc-1.3.158 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_musl ipv6 kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dcc-1.3.158.tar.Z to /var/tmp/portage/mail-filter/dcc-1.3.158/work >>> Source unpacked in /var/tmp/portage/mail-filter/dcc-1.3.158/work >>> Preparing source in /var/tmp/portage/mail-filter/dcc-1.3.158/work/dcc-1.3.158 ... * Applying dcc-1.3.140-freebsd.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/mail-filter/dcc-1.3.158/work/dcc-1.3.158 ... * Using config: --homedir=/var/dcc --bindir=/usr/bin --libexecdir=/usr/sbin --mandir=/usr/share/man --with-updatedcc_pfile=/var/dcc/updatecc.pfile --with-installroot=/var/tmp/portage/mail-filter/dcc-1.3.158/image/ --with-DDC-MD5 --with-uid=root --enable-server --enable-dccifd --with-rundir=/var/run/dcc --with-db-memory=64 --with-max-db-mem=128 --with-max-log-size=0 --with-make-cmd=make --enable-IPv6 --without-cgibin --disable-dccm creating cache ./config.cache Rhyolite Software DCC 1.3.158 ./configure: line 724: test: too many arguments checking for cc... x86_64-gentoo-linux-musl-gcc checking whether the C compiler (x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for ranlib... x86_64-gentoo-linux-musl-ranlib checking for pthread_mutex_lock... yes checking for pthread_attr_setstacksize... yes checking for msync(MS_ASYNC)... yes checking for fstatfs()... NONE checking for gcc __attribute__... yes checking sizeof(long)... 8 checking for 64-bit void* pointers... yes checking for files larger than 4 GBytes... yes checking for make... make checking whether make is gmake... yes, make is gmake checking for xargs... /usr/bin/xargs checking for wget... /usr/bin/wget checking for perl... /usr/bin/perl checking for sendmail... /usr/sbin/sendmail checking for htpasswd... /usr/bin/htpasswd checking for rrdtool... /usr/bin/rrdtool checking for AF_LOCAL... yes checking for AF_INET6... yes checking for socklen_t... yes checking for in_addr_t... yes checking for sa_family_t... yes checking for in_port_t... yes checking for sa_len... no checking for sin6_scope_id... yes checking for ANSI C header files... yes checking for pid_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking need for string.h... no checking whether time.h and sys/time.h may both be included... yes checking for strings.h... yes checking for paths.h... yes checking for sys/cdefs.h... no checking for pthread.h... yes checking for arpa/nameser.h... yes checking for resolv.h... yes checking for utime.h... yes checking for ifaddrs.h... yes checking for inttypes.h... yes checking for histedit.h... yes checking for vsyslog... yes checking for getipnodebyname... no checking for getipnodebyaddr... no checking for freehostent... no checking for getaddrinfo... yes checking for getnameinfo... yes checking for freeaddrinfo... yes checking for gai_strerror... yes checking for hstrerror... yes checking for _res... no checking for res_init... yes checking for res_query... yes checking for dn_expand... yes checking for inet_ntop... yes checking for inet_pton... yes checking for inet_aton... yes checking for gethostid... yes checking for localtime_r... yes checking for gmtime_r... yes checking for timegm... yes checking for altzone... no checking for futimes... yes checking for setpgid... yes checking for poll... yes checking for strlcpy... yes checking for strlcat... yes checking for getprogname... no checking for daemon... yes checking for siginterrupt... yes checking for eaccess... yes checking for getifaddrs... yes checking for freeifaddrs... yes checking for el_init in -ledit... no checking for __res_state... yes checking for __res_init... no checking for __res_query... no checking for __dn_expand... no checking for getifaddrs() replacement... NATIVE checking for md5.h... no checking for sysconf(_SC_PHYS_PAGES)+sysconf(_SC_PAGESIZE)... yes checking for __progname... yes checking use FD_SETSIZE to compute NUM_CWFS... 20 checking for sysctl(kern.boottime)... no checking for IPv6... yes checking for Rsendto... no updating cache ./config.cache creating ./config.status .....................................................................................creating include/dcc_config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/mail-filter/dcc-1.3.158/work/dcc-1.3.158 ... make -j1 ==> dcclib x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I./include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -c -o dccif.o dccif.c In file included from ../include/dcc_defs.h:51, from dccif.c:42: ../include/dcc_errlog.h:46:8: error: unknown type name ‘u_char’ 46 | extern u_char dcc_no_syslog; | ^~~~~~ ../include/dcc_errlog.h:48:8: error: unknown type name ‘u_char’ 48 | extern u_char dcc_parse_log_opt(const char *); | ^~~~~~ ../include/dcc_errlog.h:49:36: error: expected ‘)’ before ‘const’ 49 | extern void dcc_syslog_init(u_char, const char *, const char *); | ^~~~~~ | ) ../include/dcc_errlog.h:57:8: error: unknown type name ‘u_char’ 57 | extern u_char trace_quiet; | ^~~~~~ ../include/dcc_errlog.h:66:8: error: unknown type name ‘u_char’ 66 | extern u_char dcc_host_locked; | ^~~~~~ In file included from ../include/dcc_defs.h:52, from dccif.c:42: ../include/dcc_socket.h:101:2: error: unknown type name ‘u_int8_t’ 101 | u_int8_t dcc_s6_addr[16]; | ^~~~~~~~ ../include/dcc_socket.h:102:2: error: unknown type name ‘u_int32_t’ 102 | u_int32_t dcc_s6_addr32[4]; | ^~~~~~~~~ ../include/dcc_socket.h:105:9: error: unknown type name ‘u_int32_t’ 105 | typedef u_int32_t DCC_SCOPE_ID; | ^~~~~~~~~ ../include/dcc_socket.h:107:5: error: unknown type name ‘u_char’ 107 | u_char sin6_len; | ^~~~~~ ../include/dcc_socket.h:110:5: error: unknown type name ‘u_int32_t’ 110 | u_int32_t sin6_flowinfo; | ^~~~~~~~~ ../include/dcc_socket.h:132:9: error: unknown type name ‘u_int16_t’ 132 | typedef u_int16_t DCC_IP_FAMILY; | ^~~~~~~~~ ../include/dcc_socket.h:212:15: error: unknown type name ‘u_char’ 212 | static inline u_char | ^~~~~~ ../include/dcc_socket.h:213:40: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 213 | DCC_IPV6_EQ(const struct in6_addr *a1, u_int32_t s1 DCC_UNUSED, | ^~~~~~~~~ | uint32_t ../include/dcc_socket.h:214:33: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 214 | const struct in6_addr *a2, u_int32_t s2 DCC_UNUSED) | ^~~~~~~~~ | uint32_t ../include/dcc_socket.h:231:15: error: unknown type name ‘u_char’ 231 | static inline u_char | ^~~~~~ ../include/dcc_socket.h: In function ‘DCC_SUnP_EQ’: ../include/dcc_socket.h:221:30: warning: implicit declaration of function ‘DCC_IPV6_EQ’ [-Wimplicit-function-declaration] 221 | #define _DCC_SU_IPV6_EQ(a,b) DCC_IPV6_EQ(&(a)->sin6_addr, (a)->sin6_scope_id, \ | ^~~~~~~~~~~ ../include/dcc_socket.h:229:13: note: in expansion of macro ‘_DCC_SU_IPV6_EQ’ 229 | : _DCC_SU_IPV6_EQ(&(a)->ipv6, &(b)->ipv6))) | ^~~~~~~~~~~~~~~ ../include/dcc_socket.h:233:10: note: in expansion of macro ‘_DCC_SUnP_EQ’ 233 | { return _DCC_SUnP_EQ(a,b); } | ^~~~~~~~~~~~ ../include/dcc_socket.h: At top level: ../include/dcc_socket.h:248:15: error: unknown type name ‘u_char’ 248 | static inline u_char | ^~~~~~ ../include/dcc_socket.h:260:15: error: unknown type name ‘u_char’ 260 | static inline u_char | ^~~~~~ ../include/dcc_socket.h:269:15: error: unknown type name ‘u_char’ 269 | static inline u_char | ^~~~~~ ../include/dcc_socket.h:329:8: error: unknown type name ‘u_char’ 329 | extern u_char dcc_ipv6toipv4(struct in_addr *, const struct in6_addr *); | ^~~~~~ ../include/dcc_socket.h:331:8: error: unknown type name ‘u_char’ 331 | extern u_char dcc_ipv6su2ipv4su(DCC_SOCKU *, const DCC_SOCKU *); | ^~~~~~ ../include/dcc_socket.h:332:8: error: unknown type name ‘u_char’ 332 | extern u_char dcc_ipv4su2ipv6su(DCC_SOCKU *, const DCC_SOCKU *); | ^~~~~~ ../include/dcc_socket.h:333:62: error: unknown type name ‘u_char’; did you mean ‘char’? 333 | extern const struct in6_addr *dcc_su2ipv6(struct in6_addr *, u_char, | ^~~~~~ | char ../include/dcc_socket.h:344:64: error: unknown type name ‘u_short’; did you mean ‘short’? 344 | extern const char *dcc_su2str3(char *, int, const DCC_SOCKU *, u_short); | ^~~~~~~ | short ../include/dcc_socket.h:409:8: error: unknown type name ‘u_char’ 409 | extern u_char dcc_su_is_loopback(const DCC_SOCKU *); | ^~~~~~ ../include/dcc_socket.h:410:8: error: unknown type name ‘u_int’ 410 | extern u_int dcc_get_port(DCC_EMSG, const char *, u_int, const char *, int); | ^~~~~ ../include/dcc_socket.h:410:51: error: unknown type name ‘u_int’; did you mean ‘int’? 410 | extern u_int dcc_get_port(DCC_EMSG, const char *, u_int, const char *, int); | ^~~~~ | int ../include/dcc_socket.h:425:8: error: unknown type name ‘u_char’ 425 | extern u_char dcc_get_host(const char *, DCC_GETH, int *); | ^~~~~~ ../include/dcc_socket.h:426:8: error: unknown type name ‘u_char’ 426 | extern u_char dcc_get_host_SOCKS(const char *, DCC_GETH, int *); | ^~~~~~ ../include/dcc_socket.h:432:32: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 432 | const struct in6_addr *, u_int32_t, in_port_t); | ^~~~~~~~~ | uint32_t ../include/dcc_socket.h:438:8: error: unknown type name ‘u_char’ 438 | extern u_char soc_v6only(DCC_EMSG, DCC_SOCKET, const DCC_SOCKU *); | ^~~~~~ ../include/dcc_socket.h:439:8: error: unknown type name ‘u_char’ 439 | extern u_char udp_create(DCC_EMSG, DCC_SOCKET *, const DCC_SOCKU *, int *); | ^~~~~~ ../include/dcc_socket.h:440:8: error: unknown type name ‘u_char’ 440 | extern u_char ipv_check(DCC_EMSG, sa_family_t, u_char); | ^~~~~~ ../include/dcc_socket.h:440:48: error: unknown type name ‘u_char’; did you mean ‘char’? 440 | extern u_char ipv_check(DCC_EMSG, sa_family_t, u_char); | ^~~~~~ | char ../include/dcc_socket.h:442:8: error: unknown type name ‘u_int’ 442 | extern u_int len_ip_range(const DCC_IP_RANGE *); | ^~~~~ ../include/dcc_socket.h:447:15: error: unknown type name ‘u_char’ 447 | static inline u_char | ^~~~~~ ../include/dcc_socket.h:453:8: error: unknown type name ‘u_char’ 453 | extern u_char cidr2range(DCC_IP_RANGE *, const struct in6_addr *, int); | ^~~~~~ ../include/dcc_socket.h:454:48: error: unknown type name ‘u_char’; did you mean ‘char’? 454 | extern int str2range(DCC_EMSG, DCC_IP_RANGE *, u_char *, | ^~~~~~ | char ../include/dcc_socket.h:457:8: error: unknown type name ‘u_char’ 457 | extern u_char str2su(DCC_SOCKU *, const char *); | ^~~~~~ ../include/dcc_socket.h:483:53: error: unknown type name ‘u_char’; did you mean ‘char’? 483 | extern int select_poll(DCC_EMSG, DCC_POLLFD *, int, u_char, int); | ^~~~~~ | char In file included from ../include/dcc_defs.h:53, from dccif.c:42: ../include/dcc_proto.h:101:9: error: unknown type name ‘u_char’ 101 | typedef u_char DCC_CK_TYPE_B; /* big enough */ | ^~~~~~ ../include/dcc_proto.h:113:5: error: unknown type name ‘u_char’ 113 | u_char hi, lo; | ^~~~~~ ../include/dcc_proto.h:175:9: error: unknown type name ‘u_int32_t’ 175 | typedef u_int32_t DCC_CLNT_ID; | ^~~~~~~~~ ../include/dcc_proto.h:201:9: error: unknown type name ‘u_int16_t’ 201 | typedef u_int16_t DCC_SRVR_ID; | ^~~~~~~~~ ../include/dcc_proto.h:205:9: error: unknown type name ‘u_int32_t’ 205 | typedef u_int32_t DCC_OP_NUM; | ^~~~~~~~~ ../include/dcc_proto.h:228:5: error: unknown type name ‘u_char’ 228 | u_char b[6]; | ^~~~~~ ../include/dcc_proto.h:235:5: error: unknown type name ‘u_int16_t’ 235 | u_int16_t len; /* total DCC packet length */ | ^~~~~~~~~ ../include/dcc_proto.h:236:5: error: unknown type name ‘u_char’ 236 | u_char pkt_vers; /* packet protocol version */ | ^~~~~~ ../include/dcc_proto.h:237:5: error: unknown type name ‘u_char’ 237 | u_char op; /* one of DCC_OPS */ | ^~~~~~ ../include/dcc_proto.h:251:9: error: unknown type name ‘u_char’ 251 | typedef u_char DCC_SIGNATURE[16]; | ^~~~~~ ../include/dcc_proto.h:296:2: error: unknown type name ‘u_char’ 296 | u_char addr6[sizeof(struct dcc_in6_addr)]; | ^~~~~~ ../include/dcc_proto.h:297:2: error: unknown type name ‘u_char’ 297 | u_char bits; | ^~~~~~ ../include/dcc_proto.h:301:5: error: unknown type name ‘u_char’ 301 | u_char tgt_id[sizeof(DCC_CLNT_ID)]; | ^~~~~~ ../include/dcc_proto.h:306:5: error: unknown type name ‘u_int32_t’ 306 | u_int32_t date; /* seconds since epoch on caller */ | ^~~~~~~~~ ../include/dcc_proto.h:307:5: error: unknown type name ‘u_int32_t’ 307 | u_int32_t val1; /* request type, buffer size, etc. */ | ^~~~~~~~~ ../include/dcc_proto.h:308:5: error: unknown type name ‘u_char’ 308 | u_char aop; /* one of DCC_AOPS */ | ^~~~~~ ../include/dcc_proto.h:309:5: error: unknown type name ‘u_char’ 309 | u_char val2; | ^~~~~~ ../include/dcc_proto.h:310:5: error: unknown type name ‘u_char’ 310 | u_char val3; | ^~~~~~ ../include/dcc_proto.h:311:5: error: unknown type name ‘u_char’ 311 | u_char val4; | ^~~~~~ ../include/dcc_proto.h:314:2: error: unknown type name ‘u_char’ 314 | u_char b[DCC_MAX_ADMN_REQ_VAL5]; | ^~~~~~ ../include/dcc_proto.h:336:9: error: unknown type name ‘u_char’ 336 | typedef u_char DCC_ADMN_RESP_CLIENTS_FLAGS; | ^~~~~~ ../include/dcc_proto.h:352:9: error: unknown type name ‘u_int64_t’ 352 | typedef u_int64_t DCC_SCNTR; | ^~~~~~~~~ ../include/dcc_proto.h:358:5: error: unknown type name ‘u_char’ 358 | u_char clnt_id[4]; | ^~~~~~ ../include/dcc_proto.h:359:5: error: unknown type name ‘u_char’ 359 | u_char last_used[4]; | ^~~~~~ ../include/dcc_proto.h:360:5: error: unknown type name ‘u_char’ 360 | u_char reqs[3]; | ^~~~~~ ../include/dcc_proto.h:361:5: error: unknown type name ‘u_char’ 361 | u_char nops[2]; | ^~~~~~ ../include/dcc_proto.h:362:5: error: unknown type name ‘u_char’ 362 | u_char flags; | ^~~~~~ ../include/dcc_proto.h:364:2: error: unknown type name ‘u_char’ 364 | u_char ipv6[16]; | ^~~~~~ ../include/dcc_proto.h:365:2: error: unknown type name ‘u_char’ 365 | u_char ipv4[4]; | ^~~~~~ ../include/dcc_proto.h:371:5: error: unknown type name ‘u_char’ 371 | u_char inflate[4]; | ^~~~~~ ../include/dcc_proto.h:372:5: error: unknown type name ‘u_char’ 372 | u_char delay[2]; | ^~~~~~ ../include/dcc_proto.h:379:5: error: unknown type name ‘u_char’ 379 | u_char clients[1]; | ^~~~~~ ../include/dcc_proto.h:392:9: error: unknown type name ‘u_int32_t’ 392 | typedef u_int32_t DCC_TRACEMASK; | ^~~~~~~~~ ../include/dcc_proto.h:422:5: error: unknown type name ‘u_char’ 422 | u_char max_pkt_vers; /* server can handle this version */ | ^~~~~~ ../include/dcc_proto.h:423:5: error: unknown type name ‘u_char’ 423 | u_char unused; | ^~~~~~ ../include/dcc_proto.h:424:5: error: unknown type name ‘u_int16_t’ 424 | u_int16_t qdelay_ms; | ^~~~~~~~~ ../include/dcc_proto.h:430:9: error: unknown type name ‘u_int32_t’ 430 | typedef u_int32_t DCC_TGTS; /* database is limited to 24 bits */ | ^~~~~~~~~ ../include/dcc_proto.h:469:5: error: unknown type name ‘u_char’ 469 | u_char b[16]; | ^~~~~~ ../include/dcc_proto.h:474:5: error: unknown type name ‘u_char’ 474 | u_char len; /* total length of this checksum */ | ^~~~~~ ../include/dcc_proto.h:518:5: error: unknown type name ‘u_char’ 518 | u_char pad[2]; | ^~~~~~ ../include/dcc_proto.h:580:5: error: unknown type name ‘u_char’ 580 | u_char sender_srvr_id[sizeof(DCC_SRVR_ID)]; | ^~~~~~ ../include/dcc_proto.h:581:5: error: unknown type name ‘u_char’ 581 | u_char turn; /* 1=turn connection around for SOCKS */ | ^~~~~~ ../include/dcc_proto.h:582:5: error: unknown type name ‘u_char’ 582 | u_char unused[3]; | ^~~~~~ ../include/dcc_proto.h:595:9: error: unknown type name ‘u_char’ 595 | typedef u_char DCC_FLOD_POS[8]; | ^~~~~~ ../include/dcc_proto.h:623:5: error: unknown type name ‘u_char’ 623 | u_char tgts[sizeof(DCC_TGTS)]; | ^~~~~~ ../include/dcc_proto.h:624:5: error: unknown type name ‘u_char’ 624 | u_char srvr_id[sizeof(DCC_SRVR_ID)]; /* receiving server */ | ^~~~~~ ../include/dcc_proto.h:626:5: error: unknown type name ‘u_char’ 626 | u_char num_cks; | ^~~~~~ ../include/dcc_proto.h:646:2: error: unknown type name ‘u_char’ 646 | u_char len; /* total length */ | ^~~~~~ In file included from dccif.c:42: ../include/dcc_defs.h:191:61: error: unknown type name ‘u_char’; did you mean ‘char’? 191 | extern void dcc_daemon_restart(const char *, void(*)(void), u_char); | ^~~~~~ | char ../include/dcc_defs.h:287:9: error: unknown type name ‘u_int32_t’ 287 | typedef u_int32_t DCC_PTIME; | ^~~~~~~~~ ../include/dcc_defs.h:346:5: error: unknown type name ‘u_int’ 346 | u_int start_len; /* length of start up to ':' */ | ^~~~~ ../include/dcc_defs.h:347:5: error: unknown type name ‘u_int’ 347 | u_int used; /* bytes of buffer used */ | ^~~~~ ../include/dcc_defs.h:362:62: error: unknown type name ‘u_int’; did you mean ‘int’? 362 | typedef void(*LOG_WRITE_FNC)(void *context, const char *buf, u_int buflen); | ^~~~~ | int ../include/dcc_defs.h:365:8: error: unknown type name ‘u_int32_t’ 365 | extern u_int32_t hash_divisor(u_int32_t, u_char); | ^~~~~~~~~ ../include/dcc_defs.h:365:1: warning: parameter names (without types) in function declaration 365 | extern u_int32_t hash_divisor(u_int32_t, u_char); | ^~~~~~ ../include/dcc_defs.h:367:49: error: unknown type name ‘u_int’; did you mean ‘int’? 367 | extern void dcc_sign(const void *, int, void *, u_int); | ^~~~~ | int ../include/dcc_defs.h:368:8: error: unknown type name ‘u_char’ 368 | extern u_char dcc_ck_signature(const void *, int, const void *, u_int); | ^~~~~~ ../include/dcc_defs.h:368:65: error: unknown type name ‘u_int’; did you mean ‘int’? 368 | extern u_char dcc_ck_signature(const void *, int, const void *, u_int); | ^~~~~ | int ../include/dcc_defs.h:372:8: error: unknown type name ‘u_char’ 372 | extern u_char dcc_cdhome(DCC_EMSG, const char *, u_char); | ^~~~~~ ../include/dcc_defs.h:372:50: error: unknown type name ‘u_char’; did you mean ‘char’? 372 | extern u_char dcc_cdhome(DCC_EMSG, const char *, u_char); | ^~~~~~ | char ../include/dcc_defs.h:374:8: error: unknown type name ‘u_char’ 374 | extern u_char dcc_fnm2rel(DCC_PATH, const char *, const char *); | ^~~~~~ ../include/dcc_defs.h:376:8: error: unknown type name ‘u_char’ 376 | extern u_char dcc_fnm2abs(DCC_PATH, const char *, const char *); | ^~~~~~ ../include/dcc_defs.h:388:8: error: unknown type name ‘u_char’ 388 | extern u_char dcc_get_priv_home(const char *); | ^~~~~~ ../include/dcc_defs.h:391:8: error: unknown type name ‘u_char’ 391 | extern u_char dcc_ck_private(DCC_EMSG, struct stat *, const char *, int); | ^~~~~~ ../include/dcc_defs.h:392:55: error: unknown type name ‘u_char’; did you mean ‘char’? 392 | extern int dcc_lock_open(DCC_EMSG, const char *, int, u_char, int, u_char *); | ^~~~~~ | char ../include/dcc_defs.h:392:68: error: unknown type name ‘u_char’; did you mean ‘char’? 392 | extern int dcc_lock_open(DCC_EMSG, const char *, int, u_char, int, u_char *); | ^~~~~~ | char ../include/dcc_defs.h:397:8: error: unknown type name ‘u_char’ 397 | extern u_char dcc_unlock_fd(DCC_EMSG, int, int, const char *, const char *); | ^~~~~~ ../include/dcc_defs.h:398:8: error: unknown type name ‘u_char’ 398 | extern u_char dcc_exlock_fd(DCC_EMSG, int, int, int, | ^~~~~~ ../include/dcc_defs.h:400:8: error: unknown type name ‘u_char’ 400 | extern u_char dcc_set_mtime(DCC_EMSG, const char *, int, | ^~~~~~ ../include/dcc_defs.h:410:52: error: unknown type name ‘u_char’; did you mean ‘char’? 410 | const char *, const char *, const char *, u_char, int); | ^~~~~~ | char ../include/dcc_defs.h:411:8: error: unknown type name ‘u_char’ 411 | extern u_char dcc_main_logdir_init(DCC_EMSG, const char *); | ^~~~~~ ../include/dcc_defs.h:421:8: error: unknown type name ‘u_char’ 421 | extern u_char dcc_log_keep(DCC_EMSG, char *); | ^~~~~~ ../include/dcc_defs.h:422:8: error: unknown type name ‘u_char’ 422 | extern u_char dcc_log_close(DCC_EMSG, const char *, int, | ^~~~~~ ../include/dcc_defs.h:430:30: error: unknown type name ‘u_int’; did you mean ‘int’? 430 | extern char *hdr2str(char *, u_int, const DCC_HDR *, u_int); | ^~~~~ | int ../include/dcc_defs.h:430:54: error: unknown type name ‘u_int’; did you mean ‘int’? 430 | extern char *hdr2str(char *, u_int, const DCC_HDR *, u_int); | ^~~~~ | int ../include/dcc_defs.h:463:8: error: unknown type name ‘u_char’ 463 | extern u_char ck_word_comma(const char **, const char *); | ^~~~~~ ../include/dcc_defs.h:467:35: error: unknown type name ‘u_int’; did you mean ‘int’? 467 | extern const char *id2str(char *, u_int, DCC_CLNT_ID); | ^~~~~ | int ../include/dcc_defs.h:468:29: error: unknown type name ‘u_int’; did you mean ‘int’? 468 | extern char *ck2str(char *, u_int, DCC_CK_TYPES, const DCC_SUM *, u_int32_t); | ^~~~~ | int ../include/dcc_defs.h:468:67: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 468 | extern char *ck2str(char *, u_int, DCC_CK_TYPES, const DCC_SUM *, u_int32_t); | ^~~~~~~~~ | uint32_t ../include/dcc_defs.h:470:62: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 470 | extern const char *ck2str_err(DCC_CK_TYPES, const DCC_SUM *, u_int32_t); | ^~~~~~~~~ | uint32_t ../include/dcc_defs.h:471:31: error: unknown type name ‘u_int’; did you mean ‘int’? 471 | extern char *tgts2str(char *, u_int, DCC_TGTS, u_char); | ^~~~~ | int ../include/dcc_defs.h:471:48: error: unknown type name ‘u_char’; did you mean ‘char’? 471 | extern char *tgts2str(char *, u_int, DCC_TGTS, u_char); | ^~~~~~ | char ../include/dcc_defs.h:472:32: error: unknown type name ‘u_int’; did you mean ‘int’? 472 | extern char *thold2str(char *, u_int, DCC_CK_TYPES, DCC_TGTS); | ^~~~~ | int ../include/dcc_defs.h:473:31: error: unknown type name ‘u_int’; did you mean ‘int’? 473 | extern char *type2str(char *, u_int, DCC_CK_TYPES, const char *, u_char, u_char); | ^~~~~ | int ../include/dcc_defs.h:473:66: error: unknown type name ‘u_char’; did you mean ‘char’? 473 | tern char *type2str(char *, u_int, DCC_CK_TYPES, const char *, u_char, u_char); | ^~~~~~ | char ../include/dcc_defs.h:473:74: error: unknown type name ‘u_char’; did you mean ‘char’? 473 | tern char *type2str(char *, u_int, DCC_CK_TYPES, const char *, u_char, u_char); | ^~~~~~ | char ../include/dcc_defs.h:474:61: error: unknown type name ‘u_char’; did you mean ‘char’? 474 | extern const char *type2str_err(DCC_CK_TYPES, const char *, u_char, u_char); | ^~~~~~ | char ../include/dcc_defs.h:474:69: error: unknown type name ‘u_char’; did you mean ‘char’? 474 | extern const char *type2str_err(DCC_CK_TYPES, const char *, u_char, u_char); | ^~~~~~ | char ../include/dcc_defs.h:483:55: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 483 | extern const char *dcc_aop2str(char *, int, DCC_AOPS, u_int32_t); | ^~~~~~~~~ | uint32_t In file included from dccif.c:44: ../include/dcc_clnt.h:90:8: error: unknown type name ‘u_char’ 90 | extern u_char dcc_clnt_debug; | ^~~~~~ ../include/dcc_clnt.h:91:8: error: unknown type name ‘u_char’ 91 | extern u_char spamassassin_body_kludge; | ^~~~~~ ../include/dcc_clnt.h:101:5: error: unknown type name ‘u_char’ 101 | u_char defined; /* name resolves into an IP address */ | ^~~~~~ ../include/dcc_clnt.h:104:5: error: unknown type name ‘u_char’ 104 | u_char pad; /* preserve size%4 */ | ^~~~~~ ../include/dcc_clnt.h:109:9: error: unknown type name ‘u_int32_t’ 109 | typedef u_int32_t RESP_MEM; | ^~~~~~~~~ ../include/dcc_clnt.h:110:9: error: unknown type name ‘u_int16_t’ 110 | typedef u_int16_t NAM_INX; | ^~~~~~~~~ ../include/dcc_clnt.h:122:5: error: unknown type name ‘u_char’ 122 | u_char total_xmits; | ^~~~~~ ../include/dcc_clnt.h:123:5: error: unknown type name ‘u_char’ 123 | u_char total_resps; | ^~~~~~ ../include/dcc_clnt.h:124:5: error: unknown type name ‘u_char’ 124 | u_char srvr_pkt_vers; | ^~~~~~ ../include/dcc_clnt.h:125:5: error: unknown type name ‘u_char’ 125 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:130:9: error: unknown type name ‘u_char’ 130 | typedef u_char SRVR_INX; | ^~~~~~ ../include/dcc_clnt.h:140:5: error: unknown type name ‘u_char’ 140 | u_char fail_exp; /* backoff */ | ^~~~~~ ../include/dcc_clnt.h:148:5: error: unknown type name ‘u_char’ 148 | u_char pad[2]; /* preserve size%4 */ | ^~~~~~ ../include/dcc_clnt.h:155:9: error: unknown type name ‘u_char’ 155 | typedef u_char DCC_INFO_FGS; | ^~~~~~ ../include/dcc_clnt.h:170:5: error: unknown type name ‘u_int32_t’ 170 | u_int32_t residue; /* random # for picking addresses */ | ^~~~~~~~~ ../include/dcc_clnt.h:180:5: error: unknown type name ‘u_char’ 180 | u_char pad[3]; /* preserve size%4 */ | ^~~~~~ ../include/dcc_clnt.h:201:5: error: unknown type name ‘u_char’ 201 | u_char total_xmits; | ^~~~~~ ../include/dcc_clnt.h:202:5: error: unknown type name ‘u_char’ 202 | u_char total_resps; | ^~~~~~ ../include/dcc_clnt.h:203:5: error: unknown type name ‘u_char’ 203 | u_char srvr_pkt_vers; | ^~~~~~ ../include/dcc_clnt.h:204:5: error: unknown type name ‘u_char’ 204 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:216:5: error: unknown type name ‘u_char’ 216 | u_char fail_exp; | ^~~~~~ ../include/dcc_clnt.h:231:5: error: unknown type name ‘u_int32_t’ 231 | u_int32_t residue; | ^~~~~~~~~ ../include/dcc_clnt.h:246:5: error: unknown type name ‘u_int32_t’ 246 | u_int32_t residue; | ^~~~~~~~~ ../include/dcc_clnt.h:261:5: error: unknown type name ‘u_char’ 261 | u_char defined; | ^~~~~~ ../include/dcc_clnt.h:263:5: error: unknown type name ‘u_char’ 263 | u_char pad; | ^~~~~~ ../include/dcc_clnt.h:275:5: error: unknown type name ‘u_char’ 275 | u_char total_xmits; | ^~~~~~ ../include/dcc_clnt.h:276:5: error: unknown type name ‘u_char’ 276 | u_char total_resps; | ^~~~~~ ../include/dcc_clnt.h:277:5: error: unknown type name ‘u_char’ 277 | u_char srvr_pkt_vers; | ^~~~~~ ../include/dcc_clnt.h:278:5: error: unknown type name ‘u_char’ 278 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:291:5: error: unknown type name ‘u_char’ 291 | u_char fail_exp; | ^~~~~~ ../include/dcc_clnt.h:299:5: error: unknown type name ‘u_int’ 299 | u_int residue; | ^~~~~ ../include/dcc_clnt.h:320:5: error: unknown type name ‘u_char’ 320 | u_char family; | ^~~~~~ ../include/dcc_clnt.h:328:5: error: unknown type name ‘u_int32_t’ 328 | u_int32_t resp_mem; | ^~~~~~~~~ ../include/dcc_clnt.h:331:5: error: unknown type name ‘u_char’ 331 | u_char total_xmits; | ^~~~~~ ../include/dcc_clnt.h:332:5: error: unknown type name ‘u_char’ 332 | u_char total_resps; | ^~~~~~ ../include/dcc_clnt.h:333:5: error: unknown type name ‘u_char’ 333 | u_char srvr_pkt_vers; | ^~~~~~ ../include/dcc_clnt.h:334:5: error: unknown type name ‘u_char’ 334 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:347:5: error: unknown type name ‘u_char’ 347 | u_char fail_exp; | ^~~~~~ ../include/dcc_clnt.h:355:5: error: unknown type name ‘u_int’ 355 | u_int residue; | ^~~~~ ../include/dcc_clnt.h:356:5: error: unknown type name ‘u_char’ 356 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:377:5: error: unknown type name ‘u_char’ 377 | u_char defined; | ^~~~~~ ../include/dcc_clnt.h:379:5: error: unknown type name ‘u_char’ 379 | u_char pad; | ^~~~~~ ../include/dcc_clnt.h:391:5: error: unknown type name ‘u_char’ 391 | u_char fail_exp; | ^~~~~~ ../include/dcc_clnt.h:392:5: error: unknown type name ‘u_char’ 392 | u_char act_inx; | ^~~~~~ ../include/dcc_clnt.h:398:5: error: unknown type name ‘u_int’ 398 | u_int residue; | ^~~~~ ../include/dcc_clnt.h:399:5: error: unknown type name ‘u_char’ 399 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:414:5: error: unknown type name ‘u_int’ 414 | u_int residue; | ^~~~~ ../include/dcc_clnt.h:415:5: error: unknown type name ‘u_char’ 415 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:427:5: error: unknown type name ‘u_int’ 427 | u_int residue; | ^~~~~ ../include/dcc_clnt.h:428:5: error: unknown type name ‘u_char’ 428 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:443:8: error: unknown type name ‘u_char’ 443 | extern u_char dcc_all_srvrs; /* try to contact all servers */ | ^~~~~~ ../include/dcc_clnt.h:457:5: error: unknown type name ‘u_char’ 457 | u_char flags; | ^~~~~~ ../include/dcc_clnt.h:463:5: error: unknown type name ‘u_char’ 463 | u_char outstanding; /* unheard responses */ | ^~~~~~ ../include/dcc_clnt.h:464:5: error: unknown type name ‘u_char’ 464 | u_char working_addrs; | ^~~~~~ ../include/dcc_clnt.h:466:2: error: unknown type name ‘u_char’ 466 | u_char xmits; | ^~~~~~ ../include/dcc_clnt.h:467:2: error: unknown type name ‘u_char’ 467 | u_char resps; | ^~~~~~ ../include/dcc_clnt.h:468:2: error: unknown type name ‘u_char’ 468 | u_char failures; | ^~~~~~ ../include/dcc_clnt.h:507:8: error: unknown type name ‘u_char’ 507 | extern u_char clnt_threaded; | ^~~~~~ ../include/dcc_clnt.h:511:8: error: unknown type name ‘u_char’ 511 | extern u_char dcc_clnt_wake_resolve(void); | ^~~~~~ ../include/dcc_clnt.h:532:8: error: unknown type name ‘u_char’ 532 | extern u_char helper_lock_init(void); | ^~~~~~ ../include/dcc_clnt.h:539:30: error: unknown type name ‘u_char’; did you mean ‘char’? 539 | const DCC_SRVR_CLASS *, u_char inx, char); | ^~~~~~ | char ../include/dcc_clnt.h:541:62: error: unknown type name ‘u_int’; did you mean ‘int’? 541 | extern const char *dcc_parse_nm_port(DCC_EMSG, const char *, u_int, | ^~~~~ | int ../include/dcc_clnt.h:542:18: error: unknown type name ‘u_int’; did you mean ‘int’? 542 | char *, u_int, in_port_t *, char *, u_int, | ^~~~~ | int ../include/dcc_clnt.h:542:46: error: unknown type name ‘u_int’; did you mean ‘int’? 542 | char *, u_int, in_port_t *, char *, u_int, | ^~~~~ | int ../include/dcc_clnt.h:544:1: warning: parameter names (without types) in function declaration 544 | extern const char *dcc_srvr_nm(u_char); | ^~~~~~ ../include/dcc_clnt.h:547:8: error: unknown type name ‘u_char’ 547 | extern u_char dcc_info_unlock(DCC_EMSG); | ^~~~~~ ../include/dcc_clnt.h:548:8: error: unknown type name ‘u_char’ 548 | extern u_char dcc_info_lock(DCC_EMSG); | ^~~~~~ ../include/dcc_clnt.h:549:1: warning: parameter names (without types) in function declaration 549 | extern void dcc_force_measure_rtt(u_char); | ^~~~~~ ../include/dcc_clnt.h:550:8: error: unknown type name ‘u_char’ 550 | extern u_char dcc_create_map(DCC_EMSG, const DCC_PATH, int *, | ^~~~~~ ../include/dcc_clnt.h:553:8: error: unknown type name ‘u_char’ 553 | extern u_char dcc_unmap_close_info(DCC_EMSG); | ^~~~~~ ../include/dcc_clnt.h:554:8: error: unknown type name ‘u_char’ 554 | extern u_char dcc_map_info(DCC_EMSG, const char *, int); | ^~~~~~ ../include/dcc_clnt.h:555:8: error: unknown type name ‘u_char’ 555 | extern u_char dcc_map_lock_info(DCC_EMSG, const char *, int); | ^~~~~~ ../include/dcc_clnt.h:556:8: error: unknown type name ‘u_char’ 556 | extern u_char dcc_map_tmp_info(DCC_EMSG, const DCC_SRVR_NM *, | ^~~~~~ ../include/dcc_clnt.h:558:9: error: unknown type name ‘u_char’ 558 | typedef u_char DCC_CLNT_FGS; | ^~~~~~ ../include/dcc_clnt.h:567:8: error: unknown type name ‘u_char’ 567 | extern u_char dcc_clnt_rdy(DCC_EMSG, DCC_CLNT_CTXT *, DCC_CLNT_FGS); | ^~~~~~ ../include/dcc_clnt.h:577:8: error: unknown type name ‘u_char’ 577 | extern u_char dcc_clnt_soc_flush(DCC_CLNT_CTXT_SOC *); | ^~~~~~ ../include/dcc_clnt.h:578:8: error: unknown type name ‘u_char’ 578 | extern u_char dcc_clnt_connect(DCC_EMSG, DCC_CLNT_CTXT *, DCC_CLNT_CTXT_SOC *, | ^~~~~~ ../include/dcc_clnt.h:581:8: error: unknown type name ‘u_char’ 581 | extern u_char dcc_clnt_soc_reopen(DCC_EMSG, DCC_CLNT_CTXT *, | ^~~~~~ ../include/dcc_clnt.h:583:8: error: unknown type name ‘u_char’ 583 | extern u_char dcc_clnt_op(DCC_EMSG, DCC_CLNT_CTXT *, DCC_CLNT_FGS, | ^~~~~~ ../include/dcc_clnt.h:589:20: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 589 | DCC_AOPS, u_int32_t, u_char, u_char, u_char, | ^~~~~~~~~ | uint32_t ../include/dcc_clnt.h:589:31: error: unknown type name ‘u_char’; did you mean ‘char’? 589 | DCC_AOPS, u_int32_t, u_char, u_char, u_char, | ^~~~~~ | char ../include/dcc_clnt.h:589:39: error: unknown type name ‘u_char’; did you mean ‘char’? 589 | DCC_AOPS, u_int32_t, u_char, u_char, u_char, | ^~~~~~ | char ../include/dcc_clnt.h:589:47: error: unknown type name ‘u_char’; did you mean ‘char’? 589 | DCC_AOPS, u_int32_t, u_char, u_char, u_char, | ^~~~~~ | char ../include/dcc_clnt.h:590:18: error: unknown type name ‘u_int’; did you mean ‘int’? 590 | void *, u_int, DCC_OP_RESP *, DCC_SOCKU *); | ^~~~~ | int ../include/dcc_clnt.h:591:8: error: unknown type name ‘u_char’ 591 | extern u_char dcc_aop_persist(DCC_EMSG, DCC_CLNT_CTXT *, DCC_CLNT_FGS, u_char, | ^~~~~~ ../include/dcc_clnt.h:591:72: error: unknown type name ‘u_char’; did you mean ‘char’? 591 | extern u_char dcc_aop_persist(DCC_EMSG, DCC_CLNT_CTXT *, DCC_CLNT_FGS, u_char, | ^~~~~~ | char ../include/dcc_clnt.h:592:20: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’? 592 | DCC_AOPS, u_int32_t, int, DCC_OP_RESP *); | ^~~~~~~~~ | uint32_t ../include/dcc_clnt.h:596:10: error: unknown type name ‘u_char’; did you mean ‘char’? 596 | u_char, u_char, u_char, u_char); | ^~~~~~ | char ../include/dcc_clnt.h:596:18: error: unknown type name ‘u_char’; did you mean ‘char’? 596 | u_char, u_char, u_char, u_char); | ^~~~~~ | char ../include/dcc_clnt.h:596:26: error: unknown type name ‘u_char’; did you mean ‘char’? 596 | u_char, u_char, u_char, u_char); | ^~~~~~ | char ../include/dcc_clnt.h:596:34: error: unknown type name ‘u_char’; did you mean ‘char’? 596 | u_char, u_char, u_char, u_char); | ^~~~~~ | char ../include/dcc_clnt.h:602:38: error: expected ‘)’ before ‘void’ 602 | extern void xhdr_write(LOG_WRITE_FNC, void *, const char *, int, u_char); | ^~~~~ | ) ../include/dcc_clnt.h:604:8: error: unknown type name ‘u_char’ 604 | extern u_char is_xhdr(const char *, int); | ^~~~~~ dccif.c:90:8: error: unknown type name ‘u_char’ 90 | static u_char | ^~~~~~ dccif.c: In function ‘dccif_sock’: dccif.c:111:8: warning: implicit declaration of function ‘dcc_parse_nm_port’; did you mean ‘dcc_parse_word’? [-Wimplicit-function-declaration] 111 | cp = dcc_parse_nm_port(emsg, srvr_addr, DCC_GET_PORT_INVALID, | ^~~~~~~~~~~~~~~~~ | dcc_parse_word dccif.c:111:6: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 111 | cp = dcc_parse_nm_port(emsg, srvr_addr, DCC_GET_PORT_INVALID, | ^ dccif.c: At top level: dccif.c:181:8: error: unknown type name ‘u_char’ 181 | static u_char | ^~~~~~ dccif.c:204:8: error: unknown type name ‘u_char’ 204 | static u_char | ^~~~~~ dccif.c:256:1: error: unknown type name ‘u_char’; did you mean ‘char’? 256 | u_char /* 0=failed or DCCIF_RESULT_* */ | ^~~~~~ | char dccif.c:257:1: error: conflicting types for ‘dccif’ 257 | dccif(DCC_EMSG emsg, /* put error message here */ | ^~~~~ In file included from dccif.c:43: ../include/dccif.h:136:22: note: previous declaration of ‘dccif’ was here 136 | extern unsigned char dccif(DCC_EMSG, /* put error message here */ | ^~~~~ make[1]: *** [: dccif.o] Error 1 make: *** [gmake.inc:48: all] Error 2 * ERROR: mail-filter/dcc-1.3.158::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-filter/dcc-1.3.158::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-filter/dcc-1.3.158::gentoo'`. * The complete build log is located at '/var/log/portage/mail-filter:dcc-1.3.158:20200404-142911.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-filter/dcc-1.3.158/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-filter/dcc-1.3.158/temp/environment'. * Working directory: '/var/tmp/portage/mail-filter/dcc-1.3.158/work/dcc-1.3.158' * S: '/var/tmp/portage/mail-filter/dcc-1.3.158/work/dcc-1.3.158'