==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: imap 2007f-15 (Sun Nov  6 15:47:12 2022)
==> Retrieving sources...
  -> Cloning imap-src git repo...
Cloning into bare repository '/home/leming/work/imap/imap-src'...
  -> Found c-client-2006k_GENTOO_amd64-so-fix.patch
  -> Found imap
  -> Found ipop2
  -> Found ipop3
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    imap-src ... Skipped
    c-client-2006k_GENTOO_amd64-so-fix.patch ... Passed
    imap ... Passed
    ipop2 ... Passed
    ipop3 ... Passed
==> Making package: imap 2007f-15 (Sun Nov  6 15:47:38 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) perl-error-0.17029-4  perl-mailtools-2.21-6  perl-timedate-2.33-4
             git-2.38.1-2

Total Installed Size:  35.43 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/1) Warn about old perl modules
[?25h==> Retrieving sources...
  -> Found c-client-2006k_GENTOO_amd64-so-fix.patch
  -> Found imap
  -> Found ipop2
  -> Found ipop3
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of imap-src git repo...
Cloning into 'imap-src'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file src/osdep/unix/Makefile
Hunk #1 succeeded at 993 with fuzz 1 (offset 31 lines).
==> Starting build()...
make[1]: Entering directory '/build/imap/src/imap-src'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 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 '/build/imap/src/imap-src'
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
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
tools/an "ln -s" src/mailutil mailutil
tools/an "ln -s" src/mlock mlock
tools/an "ln -s" src/dmail dmail
tools/an "ln -s" src/tmail tmail
ln -s tools/an .
make build EXTRACFLAGS='-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -fPIC -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpam' EXTRALDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=pam SSLTYPE=unix IP=4 EXTRASPECIALS='' BUILDTYPE=lnp
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/imap/src/imap-src'
make[2]: Entering directory '/build/imap/src/imap-src'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building with IPv4 support
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
make[2]: Leaving directory '/build/imap/src/imap-src'
Building c-client for lnp...
echo `cat SPECIALS`  > c-client/SPECIALS
cd c-client;make lnp EXTRACFLAGS='-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -fPIC -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpam'\
 EXTRALDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'\
 EXTRADRIVERS='mbox'\
 EXTRAAUTHENTICATORS='gss'\
 PASSWDTYPE=pam SSLTYPE=unix IP=4\
  
make[2]: Entering directory '/build/imap/src/imap-src/c-client'
Makefile:874: warning: ignoring prerequisites on suffix rule definition
make build EXTRACFLAGS='-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -fPIC -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpam' EXTRALDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=pam SSLTYPE=unix IP=4 `cat SPECIALS` OS=slx \
 SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \
 SPOOLDIR=/var/spool \
 ACTIVEFILE=/var/lib/news/active \
 RSHPATH=/usr/bin/rsh \
 BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \
 BASELDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -lpam -ldl"
make[3]: Entering directory '/build/imap/src/imap-src/c-client'
Makefile:874: warning: ignoring prerequisites on suffix rule definition
sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -O2 -pipe -fno-omit-frame-pointer '-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -fPIC -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpam' -DCHUNKSIZE=65536 > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
 -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \
 -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \
 -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
 -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \
 -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \
 -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS
echo -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -lpam -ldl -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now > LDFLAGS
echo "ar rc c-client.a 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;ranlib c-client.a" > ARCHIVE
echo "`cat CCTYPE` `cat CFLAGS` `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" \
 >> ARCHIVE
cat: OSFLAGS: No such file or directory
echo slx > OSTYPE
./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy
./mkauths gss ext md5 pla log
make[4]: Entering directory '/build/imap/src/imap-src/c-client'
echo -I/usr/local/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS
sh -c '(test -f /usr/local/lib/libk5crypto.a) && echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS
echo "#include \"kerb_mit.c\"" >> auths.c
make[4]: Leaving directory '/build/imap/src/imap-src/c-client'
echo "  mail_versioncheck (CCLIENTVERSION);" >> linkage.c
ln -s os_slx.h osdep.h
ln -s os_slx.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 ip4_unix.c ip_unix.c
sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS'
fgrep: warning: fgrep is obsolescent; using grep -F
PAM password authentication
echo -lpam -ldl >> LDFLAGS
ln -s ckp_pam.c osdepckp.c
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/lib -lssl -lcrypto  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now >> LDFLAGS
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
cc -fPIC -DPIC -D_REENTRANT `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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcpp-Wcpp]8;;]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from auths.c:2,
                 from env_unix.c:260,
                 from osdep.c:51:
auth_gss.c: In function 'auth_gssapi_server':
auth_gss.c:399:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
auth_gss.c:406:4: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
auth_gss.c:414:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
env_unix.c: In function 'lock_work':
env_unix.c:1374:26: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
osdep.c: In function 'ssl_start_work':
osdep.c:460:12: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
In file included from osdep.c:268:
/usr/include/openssl/ssl.h:2017:49: note: declared here
 2017 | __owur size_t SSL_SESSION_get_master_key(const SSL_SESSION *sess,
      |                                                 ^~~~~~~~~~~~~~~~~  
osdep.c: In function 'ssl_server_init':
osdep.c:955:12: warning: 'TLSv1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
/usr/include/openssl/ssl.h:2016:49: note: declared here
 2016 |                                     size_t outlen);
      |                                                 ^~~                
osdep.c:970:5: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/ssl.h:1697:11: note: declared here
 1697 | void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osdep.c: In function 'ssl_genkey':
osdep.c:1026:5: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/x509v3.h:25,
                 from osdep.c:267:
/usr/include/openssl/rsa.h:253:60: note: declared here
  253 | int RSA_check_key_ex(const RSA *, BN_GENCB *cb);
      |                                                            ^               
In file included from auths.c:4:
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]
env_unix.c: In function 'pw_login':
env_unix.c:785:37: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
In file included from osdep.c:54:
tcp_unix.c: In function 'tcp_name':
tcp_unix.c:953:20: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=]
In file included from /usr/include/stdio.h:894,
                 from osdep.c:32:
In function 'sprintf',
    inlined from 'tcp_name' at tcp_unix.c:953:7:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024
   38 | #endif
      |          ^
   39 | 
      |           
   40 | __fortify_function int
      | ~~~~~~~~~~~~~~~~~~~~~~         
tcp_unix.c: In function 'tcp_name':
tcp_unix.c:961:36: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
In function 'sprintf',
    inlined from 'tcp_name' at tcp_unix.c:961:17:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
   38 | #endif
      |          ^
   39 | 
      |           
   40 | __fortify_function int
      | ~~~~~~~~~~~~~~~~~~~~~~         
========================================================================
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 slx SSLTYPE=none
========================================================================
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mail.c
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` misc.c
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` newsrc.c
newsrc.c: In function 'newsrc_state':
newsrc.c:468:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smanager.c
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8.c
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8aux.c
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` siglocal.c
cc -fPIC -DPIC -D_REENTRANT -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]
dummy.c: In function 'dummy_delete':
dummy.c:523:18: warning: '%.80s' directive argument is null [-Wformat-overflow=]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pseudo.c
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` netmsg.c
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` flstring.c
cc -fPIC -DPIC -D_REENTRANT -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcpp-Wcpp]8;;]
  194 | # 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]
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]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` rfc822.c
cc -fPIC -DPIC -D_REENTRANT -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]
nntp.c: In function 'nntp_header':
nntp.c:1100:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smtp.c
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` imap4r1.c
cc -fPIC -DPIC -D_REENTRANT -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]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` unix.c
unix.c: In function 'unix_valid':
unix.c:231:2: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration]
unix.c: In function 'unix_open':
unix.c:530:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
unix.c:519:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c: In function 'unix_header':
unix.c:630:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c:640:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
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]
unix.c: In function 'unix_copy':
unix.c:956:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c:982:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c: In function 'unix_append':
unix.c:1152:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c: In function 'unix_rewrite':
unix.c:2139:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c:2239:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c: In function 'unix_extend':
unix.c:2285:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c: In function 'mbox_ping':
unix.c:2611:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c:2621:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c:2629:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c:2640:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
unix.c: In function 'unix_parse':
unix.c:1749:16: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=]
In file included from /usr/include/stdio.h:894,
                 from unix.c:40:
In function 'sprintf',
    inlined from 'unix_parse' at unix.c:1749:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 38 and 1070 bytes into a destination of size 1024
   38 | #endif
      |          ^
   39 | 
      |           
   40 | __fortify_function int
      | ~~~~~~~~~~~~~~~~~~~~~~         
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mbx.c
mbx.c: In function 'mbx_isvalid':
mbx.c:233:12: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
mbx.c:303:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration]
mbx.c: In function 'mbx_header':
mbx.c:709:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mbx.c: In function 'mbx_snarf':
mbx.c:965:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mbx.c: In function 'mbx_copy':
mbx.c:1046:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mbx.c:1060:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mbx.c: In function 'mbx_append':
mbx.c:1195:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mbx.c: In function 'mbx_parse':
mbx.c:1269:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mbx.c: In function 'mbx_rewrite':
mbx.c:1757:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mbx.c:1781:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mmdf.c
mmdf.c: In function 'mmdf_isvalid':
mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration]
mmdf.c: In function 'mmdf_open':
mmdf.c:669:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
mmdf.c:658:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mmdf.c: In function 'mmdf_header':
mmdf.c:769:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mmdf.c:779:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
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]
mmdf.c: In function 'mmdf_copy':
mmdf.c:1091:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mmdf.c:1118:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mmdf.c: In function 'mmdf_append':
mmdf.c:1288:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mmdf.c: In function 'mmdf_rewrite':
mmdf.c:2302:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mmdf.c:2385:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mmdf.c: In function 'mmdf_extend':
mmdf.c:2431:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` tenex.c
tenex.c: In function 'tenex_isvalid':
tenex.c:206:2: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration]
tenex.c: In function 'tenex_rename':
tenex.c:315:7: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
tenex.c: In function 'tenex_fast':
tenex.c:516:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c: In function 'tenex_header':
tenex.c:567:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c:572:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c: In function 'tenex_text':
tenex.c:614:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c:629:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c: In function 'tenex_snarf':
tenex.c:799:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c: In function 'tenex_expunge':
tenex.c:890:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c:917:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c: In function 'tenex_copy':
tenex.c:1008:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c:1016:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c: In function 'tenex_append':
tenex.c:1150:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
tenex.c: In function 'tenex_hdrpos':
tenex.c:1456:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mtx.c
mtx.c: In function 'mtx_isvalid':
mtx.c:199:2: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration]
mtx.c: In function 'mtx_rename':
mtx.c:308:7: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
mtx.c: In function 'mtx_header':
mtx.c:515:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mtx.c: In function 'mtx_snarf':
mtx.c:710:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mtx.c: In function 'mtx_expunge':
mtx.c:801:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mtx.c:827:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mtx.c: In function 'mtx_copy':
mtx.c:918:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mtx.c:926:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mtx.c: In function 'mtx_append':
mtx.c:1053:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` news.c
news.c: In function 'news_open':
news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from osdep.h:47,
                 from news.c:35:
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     struct dirent ***__restrict __namelist,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     int (*__selector) (const struct dirent *),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~
news.c: In function 'news_valid':
news.c:161:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
news.c: In function 'news_list':
news.c:228:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -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]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mh.c
mh.c: In function 'mh_ping':
mh.c:865:68: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from osdep.h:47,
                 from mh.c:35:
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mh.c:865:78: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     struct dirent ***__restrict __namelist,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     int (*__selector) (const struct dirent *),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~
mh.c:939:17: warning: too many arguments for format [-Wformat-extra-args]
mh.c: In function 'mh_append':
mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     struct dirent ***__restrict __namelist,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     int (*__selector) (const struct dirent *),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~
mh.c: In function 'mh_setdate':
mh.c:1282:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration]
mh.c: In function 'mh_path':
mh.c:251:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mx.c
mx.c: In function 'mx_scan_contents':
mx.c:277:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from osdep.h:47,
                 from mx.c:35:
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     struct dirent ***__restrict __namelist,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     int (*__selector) (const struct dirent *),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~
mx.c: In function 'mx_rename':
mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     struct dirent ***__restrict __namelist,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     int (*__selector) (const struct dirent *),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~
mx.c: In function 'mx_ping':
mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     struct dirent ***__restrict __namelist,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     int (*__selector) (const struct dirent *),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~
mx.c:803:17: warning: too many arguments for format [-Wformat-extra-args]
mx.c: In function 'mx_lockindex':
mx.c:1173:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
mx.c: In function 'mx_setdate':
mx.c:1286:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration]
mx.c: In function 'mx_header':
mx.c:636:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mx.c: In function 'mx_lockindex':
mx.c:1177:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
mx.c: In function 'mx_unlockindex':
mx.c:1269:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mix.c
mix.c: In function 'mix_scan_contents':
mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from osdep.h:47,
                 from mix.c:33:
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     struct dirent ***__restrict __namelist,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     int (*__selector) (const struct dirent *),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~
mix.c: In function 'mix_create':
mix.c:420:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
mix.c: In function 'mix_delete':
mix.c:471:47: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
mix.c: In function 'mix_rename':
mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c: In function 'mix_expunge':
mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  257 | extern int scandir (const char *__restrict __dir,
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     struct dirent ***__restrict __namelist,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     int (*__selector) (const struct dirent *),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~
mix.c: In function 'mix_burp_check':
mix.c:1336:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
mix.c: In function 'mix_copy':
mix.c:1393:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
mix.c:1393:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c: In function 'mix_append':
mix.c:1550:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
mix.c:1550:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c: In function 'mix_index_update':
mix.c:2237:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
mix.c:2237:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=]
mix.c:2237:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c:2237:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=]
mix.c:2237:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=]
mix.c:2237:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=]
mix.c: In function 'mix_status_update':
mix.c:2318:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
mix.c:2318:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
mix.c:2318:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=]
mix.c: In function 'mix_sortcache_update':
mix.c:2672:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
mix.c:2672:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
mix.c:2672:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
mix.c:2672:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
......
mix.c:2672:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
......
mix.c: In function 'mix_copy':
mix.c:1477:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mix.c: In function 'mix_append':
mix.c:1594:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
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]
mix.c: In function 'mix_index_update':
mix.c:2255:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mix.c:2288:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mix.c: In function 'mix_status_update':
mix.c:2335:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
mix.c:2369:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
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]
sh -c 'rm -rf c-client.a || true'
ar rc c-client.a 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;ranlib c-client.a
cc -g -O2 -pipe -fno-omit-frame-pointer -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -fPIC -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpam -DCHUNKSIZE=65536  -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
/usr/bin/ld: osdep.o: in function `ssl_onceonlyinit':
/build/imap/src/imap-src/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[3]: Leaving directory '/build/imap/src/imap-src/c-client'
make[2]: Leaving directory '/build/imap/src/imap-src/c-client'
echo lnp > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[2]: Entering directory '/build/imap/src/imap-src/mtest'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o mtest.o mtest.c
mtest.c: In function 'prompt':
mtest.c:598:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
mtest.c: In function 'mm_login':
mtest.c:708:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit':
/build/imap/src/imap-src/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/bin/ld: mtest.o: in function `prompt':
/build/imap/src/imap-src/mtest/mtest.c:598: warning: the `gets' function is dangerous and should not be used.
make[2]: Leaving directory '/build/imap/src/imap-src/mtest'
cd ipopd;make
make[2]: Entering directory '/build/imap/src/imap-src/ipopd'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o ipop2d.o ipop2d.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit':
/build/imap/src/imap-src/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o ipop3d.o ipop3d.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit':
/build/imap/src/imap-src/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory '/build/imap/src/imap-src/ipopd'
cd imapd;make
make[2]: Entering directory '/build/imap/src/imap-src/imapd'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\"   -c -o imapd.o imapd.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit':
/build/imap/src/imap-src/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory '/build/imap/src/imap-src/imapd'
cd mailutil;make
make[2]: Entering directory '/build/imap/src/imap-src/mailutil'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o mailutil.o mailutil.c
mailutil.c: In function 'mbxcopy':
mailutil.c:594:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
mailutil.c: In function 'mm_login':
mailutil.c:893:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit':
/build/imap/src/imap-src/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory '/build/imap/src/imap-src/mailutil'
cd mlock;make || true
make[2]: Entering directory '/build/imap/src/imap-src/mlock'
`cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS`   -c -o mlock.o mlock.c
mlock.c: In function 'die':
mlock.c:60:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
mlock.c: In function 'main':
mlock.c:75:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration]
mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration]
mlock.c:113:30: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
mlock.c:123:23: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration]
mlock.c:125:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration]
mlock.c:132:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
mlock.c:138:11: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration]
mlock.c:161:20: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
mlock.c:169:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
`cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o
make[2]: Leaving directory '/build/imap/src/imap-src/mlock'
cd dmail;make || true
make[2]: Entering directory '/build/imap/src/imap-src/dmail'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o dmail.o dmail.c
dmail.c: In function 'main':
dmail.c:162:35: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
dmail.c:142:1: note: include '<ctype.h>' or provide a declaration of 'isdigit'
dmail.c: In function 'file_string_setpos':
dmail.c:123:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o dquota.o dquota.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from ../c-client/osdep.h:43,
                 from ../c-client/c-client.h:42,
                 from dquota.c:29:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcpp-Wcpp]8;;]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit':
/build/imap/src/imap-src/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory '/build/imap/src/imap-src/dmail'
cd tmail;make || true
make[2]: Entering directory '/build/imap/src/imap-src/tmail'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o tmail.o tmail.c
tmail.c: In function 'main':
tmail.c:171:37: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
tmail.c:140:1: note: include '<ctype.h>' or provide a declaration of 'isdigit'
tmail.c: In function 'file_string_setpos':
tmail.c:124:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o tquota.o tquota.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from ../c-client/osdep.h:43,
                 from ../c-client/c-client.h:42,
                 from tquota.c:29:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcpp-Wcpp]8;;]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit':
/build/imap/src/imap-src/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory '/build/imap/src/imap-src/tmail'
make[1]: Leaving directory '/build/imap/src/imap-src'
==> Entering fakeroot environment...
==> Starting package_imap()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "imap"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_c-client()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "c-client"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: imap 2007f-15 (Sun Nov  6 15:48:30 2022)
==> Cleaning up...