* Package: mail-filter/clamsmtp-1.10  * Repository: gentoo  * Maintainer: net-mail@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking clamsmtp-1.10.tar.gz to /var/tmp/portage/mail-filter/clamsmtp-1.10/work >>> Source unpacked in /var/tmp/portage/mail-filter/clamsmtp-1.10/work >>> Compiling source in /var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10 ... * econf: updating clamsmtp-1.10/config.sub with /usr/share/gnuconfig/config.sub * econf: updating clamsmtp-1.10/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... x86_64-pc-linux-gnu-gcc checking for getsockname in -lsocket... no checking for getaddrinfo in -lnsl... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for unistd.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for linux/netfilter_ipv4.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether PTHREAD_MUTEX_ERRORCHECK_NP is declared... yes checking for struct tm.tm_gmtoff... yes checking for global variable __argv... no checking for memset... yes checking for strerror... yes checking for malloc... yes checking for realloc... yes checking for getopt... yes checking for strchr... yes checking for tolower... yes checking for getaddrinfo... yes checking for strlwr... no checking for strlcat... no checking for strlcpy... no checking for strncat... yes checking for strncpy... yes checking for strcasestr... yes checking for setenv... yes checking for daemon... yes checking for getline... yes checking for getdelim... yes checking for flockfile... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands make -j2 make all-recursive make[1]: Entering directory '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10' Making all in src make[2]: Entering directory '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -march=core2 -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-clamsmtpd.o -MD -MP -MF .deps/clamsmtpd-clamsmtpd.Tpo -c -o clamsmtpd-clamsmtpd.o `test -f 'clamsmtpd.c' || echo './'`clamsmtpd.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -march=core2 -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-spio.o -MD -MP -MF .deps/clamsmtpd-spio.Tpo -c -o clamsmtpd-spio.o `test -f '../common/spio.c' || echo './'`../common/spio.c ../common/spio.c: In function ‘spio_attach’: ../common/spio.c:124:45: warning: passing argument 3 of ‘getsockname’ from incompatible pointer type [-Wincompatible-pointer-types] if(getsockname(fd, &SANY_ADDR(locaddr), &SANY_LEN(locaddr)) == -1 || ^ In file included from ../common/spio.c:46:0: /usr/include/sys/socket.h:116:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘size_t * {aka long unsigned int *}’ extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ../common/spio.c:139:43: warning: passing argument 3 of ‘getpeername’ from incompatible pointer type [-Wincompatible-pointer-types] if(getpeername(fd, &SANY_ADDR(*peer), &SANY_LEN(*peer)) == -1 || ^ In file included from ../common/spio.c:46:0: /usr/include/sys/socket.h:130:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘size_t * {aka long unsigned int *}’ extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ mv -f .deps/clamsmtpd-clamsmtpd.Tpo .deps/clamsmtpd-clamsmtpd.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -march=core2 -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-smtppass.o -MD -MP -MF .deps/clamsmtpd-smtppass.Tpo -c -o clamsmtpd-smtppass.o `test -f '../common/smtppass.c' || echo './'`../common/smtppass.c mv -f .deps/clamsmtpd-spio.Tpo .deps/clamsmtpd-spio.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -march=core2 -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-stringx.o -MD -MP -MF .deps/clamsmtpd-stringx.Tpo -c -o clamsmtpd-stringx.o `test -f '../common/stringx.c' || echo './'`../common/stringx.c In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:31:8: error: redefinition of ‘struct in_addr’ struct in_addr ^~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:84:8: note: originally defined here struct in_addr { ^~~~~~~ In file included from /usr/include/netinet/in.h:37:0, from ../common/sock_any.h:44, from ../common/smtppass.c:68: /usr/include/bits/in.h:149:8: error: redefinition of ‘struct ip_mreqn’ struct ip_mreqn ^~~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:172:8: note: originally defined here struct ip_mreqn { ^~~~~~~~ In file included from /usr/include/netinet/in.h:37:0, from ../common/sock_any.h:44, from ../common/smtppass.c:68: /usr/include/bits/in.h:157:8: error: redefinition of ‘struct in_pktinfo’ struct in_pktinfo ^~~~~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:221:8: note: originally defined here struct in_pktinfo { ^~~~~~~~~~ /usr/include/netinet/in.h:42:5: error: redeclaration of enumerator ‘IPPROTO_IP’ IPPROTO_IP = 0, /* Dummy protocol for TCP. */ ^ /usr/include/linux/in.h:28:3: note: previous definition of ‘IPPROTO_IP’ was here IPPROTO_IP = 0, /* Dummy protocol for TCP */ ^~~~~~~~~~ /usr/include/netinet/in.h:44:5: error: redeclaration of enumerator ‘IPPROTO_ICMP’ IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */ ^ /usr/include/linux/in.h:30:3: note: previous definition of ‘IPPROTO_ICMP’ was here IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:46:5: error: redeclaration of enumerator ‘IPPROTO_IGMP’ IPPROTO_IGMP = 2, /* Internet Group Management Protocol. */ ^ /usr/include/linux/in.h:32:3: note: previous definition of ‘IPPROTO_IGMP’ was here IPPROTO_IGMP = 2, /* Internet Group Management Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:48:5: error: redeclaration of enumerator ‘IPPROTO_IPIP’ IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94). */ ^ /usr/include/linux/in.h:34:3: note: previous definition of ‘IPPROTO_IPIP’ was here IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:50:5: error: redeclaration of enumerator ‘IPPROTO_TCP’ IPPROTO_TCP = 6, /* Transmission Control Protocol. */ ^ /usr/include/linux/in.h:36:3: note: previous definition of ‘IPPROTO_TCP’ was here IPPROTO_TCP = 6, /* Transmission Control Protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:52:5: error: redeclaration of enumerator ‘IPPROTO_EGP’ IPPROTO_EGP = 8, /* Exterior Gateway Protocol. */ ^ /usr/include/linux/in.h:38:3: note: previous definition of ‘IPPROTO_EGP’ was here IPPROTO_EGP = 8, /* Exterior Gateway Protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:54:5: error: redeclaration of enumerator ‘IPPROTO_PUP’ IPPROTO_PUP = 12, /* PUP protocol. */ ^ /usr/include/linux/in.h:40:3: note: previous definition of ‘IPPROTO_PUP’ was here IPPROTO_PUP = 12, /* PUP protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:56:5: error: redeclaration of enumerator ‘IPPROTO_UDP’ IPPROTO_UDP = 17, /* User Datagram Protocol. */ ^ /usr/include/linux/in.h:42:3: note: previous definition of ‘IPPROTO_UDP’ was here IPPROTO_UDP = 17, /* User Datagram Protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:58:5: error: redeclaration of enumerator ‘IPPROTO_IDP’ IPPROTO_IDP = 22, /* XNS IDP protocol. */ ^ /usr/include/linux/in.h:44:3: note: previous definition of ‘IPPROTO_IDP’ was here IPPROTO_IDP = 22, /* XNS IDP protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:60:5: error: redeclaration of enumerator ‘IPPROTO_TP’ IPPROTO_TP = 29, /* SO Transport Protocol Class 4. */ ^ /usr/include/linux/in.h:46:3: note: previous definition of ‘IPPROTO_TP’ was here IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */ ^~~~~~~~~~ /usr/include/netinet/in.h:62:5: error: redeclaration of enumerator ‘IPPROTO_DCCP’ IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol. */ ^ /usr/include/linux/in.h:48:3: note: previous definition of ‘IPPROTO_DCCP’ was here IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:64:5: error: redeclaration of enumerator ‘IPPROTO_IPV6’ IPPROTO_IPV6 = 41, /* IPv6 header. */ ^ /usr/include/linux/in.h:50:3: note: previous definition of ‘IPPROTO_IPV6’ was here IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:66:5: error: redeclaration of enumerator ‘IPPROTO_RSVP’ IPPROTO_RSVP = 46, /* Reservation Protocol. */ ^ /usr/include/linux/in.h:52:3: note: previous definition of ‘IPPROTO_RSVP’ was here IPPROTO_RSVP = 46, /* RSVP Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:68:5: error: redeclaration of enumerator ‘IPPROTO_GRE’ IPPROTO_GRE = 47, /* General Routing Encapsulation. */ ^ /usr/include/linux/in.h:54:3: note: previous definition of ‘IPPROTO_GRE’ was here IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ ^~~~~~~~~~~ /usr/include/netinet/in.h:70:5: error: redeclaration of enumerator ‘IPPROTO_ESP’ IPPROTO_ESP = 50, /* encapsulating security payload. */ ^ /usr/include/linux/in.h:56:3: note: previous definition of ‘IPPROTO_ESP’ was here IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:72:5: error: redeclaration of enumerator ‘IPPROTO_AH’ IPPROTO_AH = 51, /* authentication header. */ ^ /usr/include/linux/in.h:58:3: note: previous definition of ‘IPPROTO_AH’ was here IPPROTO_AH = 51, /* Authentication Header protocol */ ^~~~~~~~~~ /usr/include/netinet/in.h:74:5: error: redeclaration of enumerator ‘IPPROTO_MTP’ IPPROTO_MTP = 92, /* Multicast Transport Protocol. */ ^ /usr/include/linux/in.h:60:3: note: previous definition of ‘IPPROTO_MTP’ was here IPPROTO_MTP = 92, /* Multicast Transport Protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:76:5: error: redeclaration of enumerator ‘IPPROTO_BEETPH’ IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET. */ ^ /usr/include/linux/in.h:62:3: note: previous definition of ‘IPPROTO_BEETPH’ was here IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */ ^~~~~~~~~~~~~~ /usr/include/netinet/in.h:78:5: error: redeclaration of enumerator ‘IPPROTO_ENCAP’ IPPROTO_ENCAP = 98, /* Encapsulation Header. */ ^ /usr/include/linux/in.h:64:3: note: previous definition of ‘IPPROTO_ENCAP’ was here IPPROTO_ENCAP = 98, /* Encapsulation Header */ ^~~~~~~~~~~~~ /usr/include/netinet/in.h:80:5: error: redeclaration of enumerator ‘IPPROTO_PIM’ IPPROTO_PIM = 103, /* Protocol Independent Multicast. */ ^ /usr/include/linux/in.h:66:3: note: previous definition of ‘IPPROTO_PIM’ was here IPPROTO_PIM = 103, /* Protocol Independent Multicast */ ^~~~~~~~~~~ /usr/include/netinet/in.h:82:5: error: redeclaration of enumerator ‘IPPROTO_COMP’ IPPROTO_COMP = 108, /* Compression Header Protocol. */ ^ /usr/include/linux/in.h:68:3: note: previous definition of ‘IPPROTO_COMP’ was here IPPROTO_COMP = 108, /* Compression Header Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:84:5: error: redeclaration of enumerator ‘IPPROTO_SCTP’ IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ ^ /usr/include/linux/in.h:70:3: note: previous definition of ‘IPPROTO_SCTP’ was here IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:86:5: error: redeclaration of enumerator ‘IPPROTO_UDPLITE’ IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */ ^ /usr/include/linux/in.h:72:3: note: previous definition of ‘IPPROTO_UDPLITE’ was here IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */ ^~~~~~~~~~~~~~~ /usr/include/netinet/in.h:88:5: error: redeclaration of enumerator ‘IPPROTO_MPLS’ IPPROTO_MPLS = 137, /* MPLS in IP. */ ^ /usr/include/linux/in.h:74:3: note: previous definition of ‘IPPROTO_MPLS’ was here IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:90:5: error: redeclaration of enumerator ‘IPPROTO_RAW’ IPPROTO_RAW = 255, /* Raw IP packets. */ ^ /usr/include/linux/in.h:76:3: note: previous definition of ‘IPPROTO_RAW’ was here IPPROTO_RAW = 255, /* Raw IP packets */ ^~~~~~~~~~~ In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:92:5: error: redeclaration of enumerator ‘IPPROTO_MAX’ IPPROTO_MAX ^~~~~~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:78:3: note: previous definition of ‘IPPROTO_MAX’ was here IPPROTO_MAX ^~~~~~~~~~~ In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:237:8: error: redefinition of ‘struct sockaddr_in’ struct sockaddr_in ^~~~~~~~~~~ In file included from ../common/smtppass.c:45:0: /usr/include/sys/socket.h:79:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:264:8: error: redefinition of ‘struct ip_mreq’ struct ip_mreq ^~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:167:8: note: originally defined here struct ip_mreq { ^~~~~~~ In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:273:8: error: redefinition of ‘struct ip_mreq_source’ struct ip_mreq_source ^~~~~~~~~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:178:8: note: originally defined here struct ip_mreq_source { ^~~~~~~~~~~~~~ In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:300:8: error: redefinition of ‘struct group_req’ struct group_req ^~~~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:196:8: note: originally defined here struct group_req { ^~~~~~~~~ In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:309:8: error: redefinition of ‘struct group_source_req’ struct group_source_req ^~~~~~~~~~~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:201:8: note: originally defined here struct group_source_req { ^~~~~~~~~~~~~~~~ In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:323:8: error: redefinition of ‘struct ip_msfilter’ struct ip_msfilter ^~~~~~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:184:8: note: originally defined here struct ip_msfilter { ^~~~~~~~~~~ In file included from ../common/sock_any.h:44:0, from ../common/smtppass.c:68: /usr/include/netinet/in.h:344:8: error: redefinition of ‘struct group_filter’ struct group_filter ^~~~~~~~~~~~ In file included from /usr/include/linux/netfilter.h:6:0, from /usr/include/linux/netfilter_ipv4.h:8, from ../common/smtppass.c:64: /usr/include/linux/in.h:207:8: note: originally defined here struct group_filter { ^~~~~~~~~~~~ ../common/smtppass.c: In function ‘thread_main’: ../common/smtppass.c:730:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void*)(ret == 0 ? 0 : 1); ^ ../common/smtppass.c: In function ‘make_connections’: ../common/smtppass.c:758:82: warning: passing argument 5 of ‘getsockopt’ from incompatible pointer type [-Wincompatible-pointer-types] if(getsockopt(ctx->client.fd, SOL_IP, SO_ORIGINAL_DST, &SANY_ADDR(addr), &SANY_LEN(addr)) == -1) ^ In file included from ../common/smtppass.c:45:0: /usr/include/sys/socket.h:208:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘size_t * {aka long unsigned int *}’ extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ ../common/smtppass.c: In function ‘connection_loop’: ../common/smtppass.c:540:21: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, SMTP_STARTFAILED, KL(SMTP_STARTFAILED)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/smtppass.c:557:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:287: clamsmtpd-smtppass.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/clamsmtpd-stringx.Tpo .deps/clamsmtpd-stringx.Po make[2]: Leaving directory '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10/src' make[1]: *** [Makefile:234: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10' make: *** [Makefile:173: all] Error 2 emake failed * ERROR: mail-filter/clamsmtp-1.10::gentoo failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 183: Called __eapi0_src_compile * phase-helpers.sh, line 799: Called __eapi2_src_compile * phase-helpers.sh, line 841: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of `emerge --info '=mail-filter/clamsmtp-1.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-filter/clamsmtp-1.10::gentoo'`. * The complete build log is located at '/var/tmp/portage/mail-filter/clamsmtp-1.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-filter/clamsmtp-1.10/temp/environment'. * Working directory: '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10' * S: '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10'