* Package:    net-libs/c-client-2007f_p7-r1: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-r1/work
>>> Unpacking uw-imap_2007f~dfsg-7.debian.tar.xz to /var/tmp/portage/net-libs/c-client-2007f_p7-r1/work
>>> Source unpacked in /var/tmp/portage/net-libs/c-client-2007f_p7-r1/work
>>> Preparing source in /var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f ...
 * Applying patches from /var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/debian/patches ...
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f ...
make -j2 -j1 SSLTYPE=unix lnps PASSWDTYPE=pam IP=6 'EXTRACFLAGS=-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC' 'EXTRALDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' EXTRALIBS= GSSDIR=/usr 
make[1]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/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-r1/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 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC' EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' 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-r1/work/imap-2007f'
make[2]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f'
make[2]: 'ip6' is up to date.
make[2]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f'
Building c-client for lnps...
echo `cat SPECIALS`  > c-client/SPECIALS
cd c-client;make lnps EXTRACFLAGS='-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC'\
 EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs'\
 EXTRADRIVERS='mbox'\
 EXTRAAUTHENTICATORS=''\
 PASSWDTYPE=pam SSLTYPE=unix IP=6\
  
make[2]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f/c-client'
make[2]: krb5-config.mit: No such file or directory
make build EXTRACFLAGS='-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC' EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' 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,-z,pack-relative-relocs -L/usr/lib64 -lssl -lcrypto  " \
 RANLIB=true
make[3]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/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 -march=native -mtune=native -fomit-frame-pointer -pipe -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,-z,pack-relative-relocs `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,-z,pack-relative-relocs -L/usr/lib64 -lssl -lcrypto  ;true libc-client.so" > ARCHIVE
echo "`cat CCTYPE` `cat CFLAGS` -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs `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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # 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:2065:50: note: declared here
 2065 | 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:2064:50: note: declared here
 2064 | 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:1728:12: note: declared here
 1728 | __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:264:30: note: declared here
  264 | 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:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # 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_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 */
      |           ^~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` mbx.c
mbx.c: In function ‘mbx_header’:
mbx.c:709:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  709 |     read (LOCAL->fd,s = LOCAL->buf,*length);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c: In function ‘mbx_snarf’:
mbx.c:965:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  965 |         ftruncate (LOCAL->fd,sbuf.st_size);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c: In function ‘mbx_copy’:
mbx.c:1046:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1046 |           read (LOCAL->fd,LOCAL->buf,j);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:1060:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1060 |     ftruncate (fd,sbuf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c: In function ‘mbx_append’:
mbx.c:1195:7: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1195 |       ftruncate (fd,sbuf.st_size);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c: In function ‘mbx_parse’:
mbx.c:1269:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1269 |   read (LOCAL->fd,LOCAL->buf,HDRSIZE);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c: In function ‘mbx_rewrite’:
mbx.c:1757:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1757 |             read (LOCAL->fd,LOCAL->buf,m);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:1781:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1781 |     ftruncate (LOCAL->fd,LOCAL->filesize);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` mmdf.c
mmdf.c: In function ‘mmdf_open’:
mmdf.c:658:7: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  658 |       ftruncate (fd,i);         /* make sure tied off */
      |       ^~~~~~~~~~~~~~~~
mmdf.c: In function ‘mmdf_header’:
mmdf.c:769:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  769 |     read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:779:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  779 |     read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  780 |           elt->private.msg.header.text.size);
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c: In function ‘mmdf_text_work’:
mmdf.c:846:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  846 |     read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c: In function ‘mmdf_copy’:
mmdf.c:1091:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1091 |       read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:1118:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1118 |     ftruncate (fd,sbuf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c: In function ‘mmdf_append’:
mmdf.c:1288:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1288 |     ftruncate (fd,sbuf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c: In function ‘mmdf_rewrite’:
mmdf.c:2302:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2302 |           read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:2385:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2385 |     ftruncate (LOCAL->fd,LOCAL->filesize = size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c: In function ‘mmdf_extend’:
mmdf.c:2431:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2431 |         ftruncate (LOCAL->fd,LOCAL->filesize);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` tenex.c
tenex.c: In function ‘tenex_fast’:
tenex.c:516:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  516 |           read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c: In function ‘tenex_header’:
tenex.c:567:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  567 |     read (LOCAL->fd,LOCAL->buf,*length = i);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:572:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  572 |     read (LOCAL->fd,s,i);       /* slurp the data */
      |     ^~~~~~~~~~~~~~~~~~~~
tenex.c: In function ‘tenex_text’:
tenex.c:614:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  614 |     read (LOCAL->fd,LOCAL->buf,i);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:629:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  629 |       read (LOCAL->fd,s,i);     /* slurp the data */
      |       ^~~~~~~~~~~~~~~~~~~~
tenex.c: In function ‘tenex_snarf’:
tenex.c:799:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  799 |         ftruncate (LOCAL->fd,sbuf.st_size);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c: In function ‘tenex_expunge’:
tenex.c:890:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  890 |             read (LOCAL->fd,LOCAL->buf,m);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:917:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  917 |         ftruncate (LOCAL->fd,LOCAL->filesize);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c: In function ‘tenex_copy’:
tenex.c:1008:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1008 |         read (LOCAL->fd,LOCAL->buf,j);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:1016:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1016 |     ftruncate (fd,sbuf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c: In function ‘tenex_append’:
tenex.c:1150:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1150 |     ftruncate (fd,sbuf.st_size);/* revert file */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c: In function ‘tenex_hdrpos’:
tenex.c:1456:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1456 |         read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` mtx.c
mtx.c: In function ‘mtx_header’:
mtx.c:515:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  515 |   read (LOCAL->fd,LOCAL->buf,*length);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c: In function ‘mtx_snarf’:
mtx.c:710:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  710 |         ftruncate (LOCAL->fd,sbuf.st_size);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c: In function ‘mtx_expunge’:
mtx.c:801:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  801 |             read (LOCAL->fd,LOCAL->buf,m);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c:827:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  827 |         ftruncate (LOCAL->fd,LOCAL->filesize);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c: In function ‘mtx_copy’:
mtx.c:918:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  918 |         read (LOCAL->fd,LOCAL->buf,j);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c:926:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  926 |     ftruncate (fd,sbuf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c: In function ‘mtx_append’:
mtx.c:1053:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1053 |     ftruncate (fd,sbuf.st_size);/* revert file */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` news.c
news.c: In function ‘news_select’:
news.c:408:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  408 |   char *s = name->d_name;
      |             ^~~~
news.c: In function ‘news_valid’:
news.c:161:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  161 |     read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
news.c: In function ‘news_list’:
news.c:228:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  228 |     read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` phile.c
phile.c: In function ‘phile_open’:
phile.c:317:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  317 |   read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` mh.c
mh.c: In function ‘mh_select’:
mh.c:1200:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1200 |   char *s = name->d_name;
      |             ^~~~
mh.c: In function ‘mh_path’:
mh.c:251:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  251 |       read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` mx.c
mx.c: In function ‘mx_select’:
mx.c:1116:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1116 |   char *s = name->d_name;
      |             ^~~~
mx.c: In function ‘mx_header’:
mx.c:636:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  636 |     read (fd,LOCAL->buf,elt->rfc822_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mx.c: In function ‘mx_lockindex’:
mx.c:1177:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1177 |     read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mx.c: In function ‘mx_unlockindex’:
mx.c:1269:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1269 |     ftruncate (LOCAL->fd,size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
`cat CCTYPE` -c `cat CFLAGS` mix.c
mix.c: In function ‘mix_create’:
mix.c:63:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=]
   63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:420:16: note: in expansion of macro ‘MTAFMT’
  420 |     fprintf (f,MTAFMT,now,0,now);
      |                ^~~~~~
mix.c:63:36: note: format string is defined here
   63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012"
      |                                ~~~~^
      |                                    |
      |                                    long unsigned int
      |                                %08x
mix.c: In function ‘mix_rselect’:
mix.c:592:30: warning: passing argument 1 of ‘mix_dirfmttest’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  592 |   return mix_dirfmttest (name->d_name);
      |                          ~~~~^~~~~~~~
mix.c:287:28: note: expected ‘char *’ but argument is of type ‘const char *’
  287 | long mix_dirfmttest (char *name)
      |                      ~~~~~~^~~~
mix.c: In function ‘mix_select’:
mix.c:1153:27: warning: passing argument 1 of ‘mix_dirfmttest’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1153 |   if (mix_dirfmttest (name->d_name)) {
      |                       ~~~~^~~~~~~~
mix.c:287:28: note: expected ‘char *’ but argument is of type ‘const char *’
  287 | long mix_dirfmttest (char *name)
      |                      ~~~~~~^~~~
mix.c:1154:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1154 |     for (c = *(s = name->d_name + sizeof (MIXNAME) - 1); c && isxdigit (c);
      |                  ^
mix.c: In function ‘mix_copy’:
mix.c:69:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=]
   69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:1393:25: note: in expansion of macro ‘MSRFMT’
 1393 |     sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
      |                         ^~~~~~
mix.c:69:23: note: format string is defined here
   69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012"
      |                   ~~~~^
      |                       |
      |                       long unsigned int
      |                   %08x
mix.c:69:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘int’ [-Wformat=]
   69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:1393:25: note: in expansion of macro ‘MSRFMT’
 1393 |     sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
      |                         ^~~~~~
mix.c:69:64: note: format string is defined here
   69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012"
      |                                                            ~~~~^
      |                                                                |
      |                                                                long unsigned int
      |                                                            %08x
mix.c: In function ‘mix_append’:
mix.c:69:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=]
   69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:1550:27: note: in expansion of macro ‘MSRFMT’
 1550 |       sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
      |                           ^~~~~~
mix.c:69:23: note: format string is defined here
   69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012"
      |                   ~~~~^
      |                       |
      |                       long unsigned int
      |                   %08x
mix.c:69:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘int’ [-Wformat=]
   69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:1550:27: note: in expansion of macro ‘MSRFMT’
 1550 |       sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
      |                           ^~~~~~
mix.c:69:64: note: format string is defined here
   69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012"
      |                                                            ~~~~^
      |                                                                |
      |                                                                long unsigned int
      |                                                            %08x
mix.c: In function ‘mix_index_update’:
mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=]
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2237:22: note: in expansion of macro ‘IXRFMT’
 2237 |         sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0);
      |                      ^~~~~~
mix.c:65:22: note: format string is defined here
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                  ~~~~^
      |                      |
      |                      long unsigned int
      |                  %08x
mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘int’ [-Wformat=]
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2237:22: note: in expansion of macro ‘IXRFMT’
 2237 |         sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0);
      |                      ^~~~~~
mix.c:65:63: note: format string is defined here
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                                                           ~~~~^
      |                                                               |
      |                                                               long unsigned int
      |                                                           %08x
mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘int’ [-Wformat=]
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2237:22: note: in expansion of macro ‘IXRFMT’
 2237 |         sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0);
      |                      ^~~~~~
mix.c:65:69: note: format string is defined here
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                                                                 ~~~~^
      |                                                                     |
      |                                                                     long unsigned int
      |                                                                 %08x
mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 15 has type ‘int’ [-Wformat=]
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2237:22: note: in expansion of macro ‘IXRFMT’
 2237 |         sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0);
      |                      ^~~~~~
mix.c:65:75: note: format string is defined here
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                                                                       ~~~~^
      |                                                                           |
      |                                                                           long unsigned int
      |                                                                       %08x
mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 16 has type ‘int’ [-Wformat=]
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2237:22: note: in expansion of macro ‘IXRFMT’
 2237 |         sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0);
      |                      ^~~~~~
mix.c:65:81: note: format string is defined here
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                                                                             ~~~~^
      |                                                                                 |
      |                                                                                 long unsigned int
      |                                                                             %08x
mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 17 has type ‘int’ [-Wformat=]
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2237:22: note: in expansion of macro ‘IXRFMT’
 2237 |         sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0);
      |                      ^~~~~~
mix.c:65:87: note: format string is defined here
   65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012"
      |                                                                                   ~~~~^
      |                                                                                       |
      |                                                                                       long unsigned int
      |                                                                                   %08x
mix.c: In function ‘mix_status_update’:
mix.c:67:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=]
   67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2318:22: note: in expansion of macro ‘STRFMT’
 2318 |         sprintf (tmp,STRFMT,0,0,0,0);
      |                      ^~~~~~
mix.c:67:22: note: format string is defined here
   67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012"
      |                  ~~~~^
      |                      |
      |                      long unsigned int
      |                  %08x
mix.c:67:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=]
   67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2318:22: note: in expansion of macro ‘STRFMT’
 2318 |         sprintf (tmp,STRFMT,0,0,0,0);
      |                      ^~~~~~
mix.c:67:28: note: format string is defined here
   67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012"
      |                        ~~~~^
      |                            |
      |                            long unsigned int
      |                        %08x
mix.c:67:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int’ [-Wformat=]
   67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2318:22: note: in expansion of macro ‘STRFMT’
 2318 |         sprintf (tmp,STRFMT,0,0,0,0);
      |                      ^~~~~~
mix.c:67:39: note: format string is defined here
   67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012"
      |                                   ~~~~^
      |                                       |
      |                                       long unsigned int
      |                                   %08x
mix.c: In function ‘mix_copy’:
mix.c:1477:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1477 |         ftruncate (fd,size);    /* revert file */
      |         ^~~~~~~~~~~~~~~~~~~
mix.c: In function ‘mix_append’:
mix.c:1594:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1594 |           ftruncate (fd,size);  /* revert all writes to file*/
      |           ^~~~~~~~~~~~~~~~~~~
mix.c: In function ‘mix_meta_update’:
mix.c:2209:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2209 |     ftruncate (LOCAL->mfd,i);   /* and tie off at that point */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
mix.c: In function ‘mix_index_update’:
mix.c:2255:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2255 |           ftruncate (fileno (idxf),sbuf.st_size);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2288:16: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2288 |       if (ret) ftruncate (fileno (idxf),ftell (idxf));
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c: In function ‘mix_status_update’:
mix.c:2335:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2335 |           ftruncate (fileno (statf),sbuf.st_size);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2369:16: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2369 |       if (ret) ftruncate (fileno (statf),ftell (statf));
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c: In function ‘mix_sortcache_update’:
mix.c:2697:16: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2697 |       if (ret) ftruncate (fileno (f),ftell (f));
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sh -c 'rm -rf libc-client.so || true'
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,-z,pack-relative-relocs -L/usr/lib64 -lssl -lcrypto  ;true libc-client.so
x86_64-pc-linux-gnu-gcc -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -DCHUNKSIZE=65536 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  -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 -L/usr/lib64 -lssl -lcrypto -L../c-client -lc-client -lpam -ldl -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.0':
osdep.c:(.text+0x856e): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.0':
osdep.c:(.text+0x856e): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[3]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f/c-client'
make[2]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f/c-client'
echo lnps > OSTYPE
touch rebuild
Rebuilding c-client for lnps...
cd c-client;make all CC=`cat CCTYPE` \
 CFLAGS="`cat CFLAGS`" `cat SPECIALS`
make[2]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f/c-client'
sh -c 'rm -rf c-client.a || true'
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,-z,pack-relative-relocs -L/usr/lib64 -lssl -lcrypto  ;true libc-client.so
x86_64-pc-linux-gnu-gcc -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -DCHUNKSIZE=65536 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  -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 -L/usr/lib64 -lssl -lcrypto -L../c-client -lc-client -lpam -ldl -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.0':
osdep.c:(.text+0x856e): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.0':
osdep.c:(.text+0x856e): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f/c-client'
sh -c 'rm -rf rebuild || true'
make[1]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f'
>>> Source compiled.
>>> Test phase [not enabled]: net-libs/c-client-2007f_p7-r1

>>> Install net-libs/c-client-2007f_p7-r1 into /var/tmp/portage/net-libs/c-client-2007f_p7-r1/image
>>> Completed installing net-libs/c-client-2007f_p7-r1 into /var/tmp/portage/net-libs/c-client-2007f_p7-r1/image

 * Final size of build directory: 14804 KiB (14.4 MiB)
 * Final size of installed tree:   2120 KiB ( 2.0 MiB)

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/libc-client.so.1.0.0