* Package: net-libs/c-client-2007f_p7:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux pam ssl * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking imap-2007f.tar.Z to /var/tmp/portage/net-libs/c-client-2007f_p7/work >>> Unpacking uw-imap_2007f~dfsg-7.debian.tar.xz to /var/tmp/portage/net-libs/c-client-2007f_p7/work >>> Source unpacked in /var/tmp/portage/net-libs/c-client-2007f_p7/work >>> Preparing source in /var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f ... * Applying patches from /var/tmp/portage/net-libs/c-client-2007f_p7/work/debian/patches ... * 1001_shlibs.patch ... [ ok ] * 1002_flock_fix_syslog_args.patch ... [ ok ] * 1003_fix_zero_len_when_mail_fetch_body_is_empty.patch ... [ ok ] * 1004_support_rfc5464_METADATA.patch ... [ ok ] * 1005_poll.patch ... [ ok ] * 1006_openssl1.1_autoverify.patch ... [ ok ] * 2002_mailspool.patch ... [ ok ] * 2004_no_binaries_below_etc.patch ... [ ok ] * 2010_disallow_escaping_home.patch ... [ ok ] * 2011_disable_version_check.patch ... [ ok ] * 2012_krb5_multidev.patch ... [ ok ] * 2013_disable_rsh.patch ... [ ok ] * 2014_openssl1.1.1_sni.patch ... [ ok ] * Applying c-client-2006k_GENTOO_Makefile.patch ... [ ok ] * Applying c-client-2007f_GENTOO_amd64-so-fix.patch ... [ ok ] * Applying c-client-2007f_p7-ldflags.patch ... [ ok ] * Applying c-client-2007f-scandir-callback-types.patch ... [ ok ] * Applying c-client-2007f_p7-implicit-declaration-fix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f ... make -j4 -j1 SSLTYPE=unix lnps PASSWDTYPE=pam IP=6 'EXTRACFLAGS=-O3 -pipe -march=native -fno-diagnostics-color -fPIC' 'EXTRALDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' EXTRALIBS= GSSDIR=/usr make[1]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in PARTIAL compliance with RFC 3501 security + requirements: + Compliant: ++ TLS/SSL encryption is supported + Non-compliant: ++ Unencrypted plaintext passwords are permitted + + In order to rectify this problem, you MUST build with: ++ SSLTYPE=unix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue this build anyway? Type y or n please: make[1]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client ln -s tools/an . make build EXTRACFLAGS='-O3 -pipe -march=native -fno-diagnostics-color -fPIC' EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix IP=6 EXTRASPECIALS='' BUILDTYPE=lnps make[1]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f' make[2]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f' make[2]: 'ip6' is up to date. make[2]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f' Building c-client for lnps... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnps EXTRACFLAGS='-O3 -pipe -march=native -fno-diagnostics-color -fPIC'\ EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=pam SSLTYPE=unix IP=6\ make[2]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f/c-client' make[2]: krb5-config.mit: No such file or directory make build EXTRACFLAGS='-O3 -pipe -march=native -fno-diagnostics-color -fPIC' EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix IP=6 `cat SPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool MAILSPOOL=/var/mail \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS= \ ARCHIVE="libc-client.so" \ BASELDFLAGS="-L../c-client -lc-client -lpam -ldl -lc" \ ARRC="x86_64-pc-linux-gnu-gcc --shared -Wl,-soname,libc-client.so. -o" \ LIBRARIES="-lpam -ldl -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64 -lssl -lcrypto " \ RANLIB=true make[3]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE ARCHIVENAME *FLAGS *TYPE libc-client.so || true' Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib64 -lssl -lcrypto >> LDFLAGS Once-only environment setup... echo x86_64-pc-linux-gnu-gcc > CCTYPE echo `cat CFLAGS` '-O3 -pipe -march=native -fno-diagnostics-color -fPIC' -DCHUNKSIZE=65536 > CFLAGS cat: CFLAGS: No such file or directory echo `cat OSCFLAGS` -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo `cat LDFLAGS` > LIBS echo -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 `cat LDFLAGS` -lcrypt -L../c-client -lc-client -lpam -ldl -lc > LDFLAGS echo "x86_64-pc-linux-gnu-gcc --shared -Wl,-soname,libc-client.so. -o libc-client.so osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -lpam -ldl -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64 -lssl -lcrypto ;true libc-client.so" > ARCHIVE echo "`cat CCTYPE` `cat CFLAGS` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 `cat OSFLAGS` -shared \ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o" `cat LIBS` -L../c-client -lc-client -lpam -ldl -lc \ >> ARCHIVE cat: OSFLAGS: No such file or directory echo libc-client.so > ARCHIVENAME echo lnx > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_lnx.h osdep.h ln -s os_lnx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test lnx = sc5 -o lnx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' PAM password authentication echo -lpam -ldl >> LDFLAGS ln -s ckp_pam.c osdepckp.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from osdep.h:43, from osdep.c:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ osdep.c: In function ‘ssl_start_work’: osdep.c:458:40: warning: ‘TLSv1_client_method’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 458 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:266: /usr/include/openssl/ssl.h:2020:50: note: declared here 2020 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function ‘ssl_server_init’: osdep.c:956:40: warning: ‘TLSv1_server_method’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 956 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2019:50: note: declared here 2019 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); | ^~~~~~~~~~~~~~~~~~~ osdep.c:971:5: warning: ‘SSL_CTX_use_RSAPrivateKey_file’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 971 | else if (!(SSL_CTX_use_RSAPrivateKey_file (stream->context,key, | ^~~~ /usr/include/openssl/ssl.h:1700:12: note: declared here 1700 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osdep.c: In function ‘ssl_genkey’: osdep.c:1027:5: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1027 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/x509v3.h:25, from osdep.c:265: /usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ In file included from auths.c:2, from env_unix.c:260, from osdep.c:50: auth_md5.c: In function ‘auth_md5_pwd’: auth_md5.c:195:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 195 | read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ env_unix.c: In function ‘pw_login’: env_unix.c:785:44: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 785 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function ‘newsrc_state’: newsrc.c:468:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 468 | fread (s,(size_t) 1,size,f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c `cat CCTYPE` -c `cat CFLAGS` utf8aux.c `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c dummy.c: In function ‘dummy_scan_contents’: dummy.c:383:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 383 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from osdep.h:43, from fdstring.c:30: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ fdstring.c: In function ‘fd_string_setpos’: fdstring.c:97:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 97 | read ((long) s->data,s->curpos,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function ‘fd_string_init’: fdstring.c:67:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 67 | read (d->fd,s->chunk,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c nntp.c: In function ‘nntp_mopen’: nntp.c:764:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 764 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 765 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function ‘nntp_header’: nntp.c:1100:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1100 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1101 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1102 | (size_t) 1,(size_t) *size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c: In function ‘pop3_header’: pop3.c:848:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 848 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 849 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 850 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function ‘unix_valid’: unix.c:231:21: error: passing argument 2 of ‘utime’ from incompatible pointer type [-Wincompatible-pointer-types] 231 | utime (file,tp); /* set the times */ | ^~ | | | time_t * {aka long int *} In file included from osdep.h:49, from unix.c:46: /usr/include/utime.h:51:41: note: expected ‘const struct utimbuf *’ but argument is of type ‘time_t *’ {aka ‘long int *’} 51 | const struct utimbuf *__file_times) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ unix.c: In function ‘unix_copy’: unix.c:998:15: error: passing argument 2 of ‘utime’ from incompatible pointer type [-Wincompatible-pointer-types] 998 | utime (file,tp); /* set the times */ | ^~ | | | time_t * {aka long int *} /usr/include/utime.h:51:41: note: expected ‘const struct utimbuf *’ but argument is of type ‘time_t *’ {aka ‘long int *’} 51 | const struct utimbuf *__file_times) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ unix.c: In function ‘unix_append’: unix.c:1159:15: error: passing argument 2 of ‘utime’ from incompatible pointer type [-Wincompatible-pointer-types] 1159 | utime (file,tp); /* set the times */ | ^~ | | | time_t * {aka long int *} /usr/include/utime.h:51:41: note: expected ‘const struct utimbuf *’ but argument is of type ‘time_t *’ {aka ‘long int *’} 51 | const struct utimbuf *__file_times) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ unix.c: In function ‘unix_unlock’: unix.c:1424:40: error: passing argument 2 of ‘utime’ from incompatible pointer type [-Wincompatible-pointer-types] 1424 | if (now && !utime (stream->mailbox,tp)) LOCAL->filetime = tp[1]; | ^~ | | | time_t * {aka long int *} /usr/include/utime.h:51:41: note: expected ‘const struct utimbuf *’ but argument is of type ‘time_t *’ {aka ‘long int *’} 51 | const struct utimbuf *__file_times) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ unix.c: In function ‘unix_rewrite’: unix.c:2250:33: error: passing argument 2 of ‘utime’ from incompatible pointer type [-Wincompatible-pointer-types] 2250 | if (!utime (stream->mailbox,tp)) LOCAL->filetime = tp[1]; | ^~ | | | time_t * {aka long int *} /usr/include/utime.h:51:41: note: expected ‘const struct utimbuf *’ but argument is of type ‘time_t *’ {aka ‘long int *’} 51 | const struct utimbuf *__file_times) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ unix.c: In function ‘unix_open’: unix.c:519:7: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 519 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ unix.c: In function ‘unix_header’: unix.c:630:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 630 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:640:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 640 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 641 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_text_work’: unix.c:707:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 707 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_copy’: unix.c:956:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 956 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:982:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 982 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_append’: unix.c:1152:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1152 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_rewrite’: unix.c:2139:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2139 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2239:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2239 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_extend’: unix.c:2285:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2285 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘mbox_ping’: unix.c:2611:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2611 | read (sfd,s = (char *) fs_get (size + 1),size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2621:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2621 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2629 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2640:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2640 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:879: unix.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f/c-client' make[2]: *** [Makefile:504: lnps] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f/c-client' make[1]: *** [Makefile:680: OSTYPE] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f' make: *** [Makefile:313: lnps] Error 2 * ERROR: net-libs/c-client-2007f_p7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/c-client-2007f_p7::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/c-client-2007f_p7::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:c-client-2007f_p7:20231205-053851.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/c-client-2007f_p7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/c-client-2007f_p7/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f' * S: '/var/tmp/portage/net-libs/c-client-2007f_p7/work/imap-2007f'