>>> imap: Building main/imap 2007f-r14 (using abuild 3.10.0_rc1-r2) started Tue, 25 Oct 2022 19:59:02 +0000 >>> imap: Checking sanity of /home/buildozer/aports/main/imap/APKBUILD... >>> imap: Analyzing dependencies... >>> imap: Installing for build: build-base openssl-dev>3 (1/2) Installing openssl-dev (3.0.5-r3) (2/2) Installing .makedepends-imap (20221025.195903) OK: 191 MiB in 94 packages >>> imap: Cleaning up srcdir >>> imap: Cleaning up pkgdir >>> imap: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/imap-2007f.tar.gz >>> imap: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/imap-2007f.tar.gz >>> imap: Checking sha512sums... imap-2007f.tar.gz: OK fix-linking.patch: OK c-client-2006k_KOLAB_Annotations.patch: OK 1006_openssl1.1_autoverify.patch: OK 2014_openssl1.1.1_sni.patch: OK >>> imap: Unpacking /var/cache/distfiles/v3.17/imap-2007f.tar.gz... >>> imap: fix-linking.patch patching file src/osdep/unix/Makefile >>> imap: c-client-2006k_KOLAB_Annotations.patch patching file src/c-client/imap4r1.c Hunk #1 succeeded at 133 (offset -2 lines). Hunk #2 succeeded at 204 (offset -2 lines). Hunk #3 succeeded at 2767 (offset 10 lines). Hunk #4 succeeded at 2897 (offset 10 lines). Hunk #5 succeeded at 3039 (offset 10 lines). Hunk #6 succeeded at 3054 (offset 10 lines). Hunk #7 succeeded at 3238 (offset 10 lines). Hunk #8 succeeded at 4194 (offset 10 lines). patching file src/c-client/imap4r1.h patching file src/c-client/mail.c Hunk #1 succeeded at 67 (offset -2 lines). Hunk #2 succeeded at 597 (offset -2 lines). Hunk #3 succeeded at 5720 (offset 13 lines). Hunk #4 succeeded at 6051 (offset 13 lines). patching file src/c-client/mail.h Hunk #1 succeeded at 353 (offset 2 lines). Hunk #2 succeeded at 1048 (offset 3 lines). Hunk #3 succeeded at 1376 (offset 3 lines). Hunk #4 succeeded at 1795 (offset 3 lines). patching file src/mtest/mtest.c >>> imap: 1006_openssl1.1_autoverify.patch patching file src/osdep/unix/ssl_unix.c >>> imap: 2014_openssl1.1.1_sni.patch patching file src/osdep/unix/ssl_unix.c make[1]: Entering directory '/home/buildozer/aports/main/imap/src/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 '/home/buildozer/aports/main/imap/src/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 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='-Os -fomit-frame-pointer -fPIC' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=4 EXTRASPECIALS='' BUILDTYPE=slx make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f' make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building with IPv4 support +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f' Building c-client for slx... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make slx EXTRACFLAGS='-Os -fomit-frame-pointer -fPIC'\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=unix IP=4\ make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/c-client' You are building for libc6/glibc versions of Secure Linux If you want libc5 versions you must use sl5 instead! If you want libc4 versions you must use sl4 instead! make build EXTRACFLAGS='-Os -fomit-frame-pointer -fPIC' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=4 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[3]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/c-client' 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' 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 >> LDFLAGS Once-only environment setup... echo gcc > CCTYPE echo `cat CFLAGS` -g -O2 -pipe -fno-omit-frame-pointer '-Os -fomit-frame-pointer -fPIC' -DCHUNKSIZE=65536 > CFLAGS cat: can't open 'CFLAGS': No such file or directory echo `cat OSCFLAGS` -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 `cat LDFLAGS` -lcrypt -lcrypt > 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 `cat LDFLAGS`" \ >> ARCHIVE cat: can't open '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 ext md5 pla log 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' Standard password authentication ln -s ckp_psx.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 slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from osdep.c:31: env_unix.c: In function 'lock_work': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ env_unix.c:1374:27: note: in expansion of macro 'flock' 1374 | if (op & LOCK_NB) i = flock (fd,op); | ^~~~~ osdep.c: In function 'ssl_start_work': osdep.c:424:40: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 424 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:232: /usr/include/openssl/ssl.h:2017:50: note: declared here 2017 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_server_init': osdep.c:927:40: warning: 'TLSv1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 927 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2016:50: note: declared here 2016 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); | ^~~~~~~~~~~~~~~~~~~ osdep.c:942:5: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 942 | else if (!(SSL_CTX_use_RSAPrivateKey_file (stream->context,key, | ^~~~ /usr/include/openssl/ssl.h:1697:12: note: declared here 1697 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:998:5: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 998 | 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:231: /usr/include/openssl/rsa.h:253:30: note: declared here 253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c `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 `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 `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` pop3.c `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function 'unix_valid': unix.c:231:9: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] 231 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from unix.c:46: unix.c: In function 'unix_open': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ unix.c:530:5: note: in expansion of macro 'flock' 530 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ | ^~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c In file included from mbx.c:42: mbx.c: In function 'mbx_isvalid': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mbx.c:233:19: note: in expansion of macro 'flock' 233 | if (flock (fd,LOCK_SH) || | ^~~~~ mbx.c:303:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 303 | utime (tmp,tp); /* set the times */ | ^~~~~ | utimes `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function 'mmdf_isvalid': mmdf.c:382:9: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] 382 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from mmdf.c:34: mmdf.c: In function 'mmdf_open': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mmdf.c:669:5: note: in expansion of macro 'flock' 669 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ | ^~~~~ `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c: In function 'tenex_isvalid': tenex.c:206:9: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] 206 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from tenex.c:47: tenex.c: In function 'tenex_rename': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ tenex.c:315:7: note: in expansion of macro 'flock' 315 | if (flock (fd,LOCK_EX|LOCK_NB)) { | ^~~~~ `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c: In function 'mtx_isvalid': mtx.c:199:9: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 199 | utime (file,tp); /* set the times */ | ^~~~~ | utimes In file included from mtx.c:42: mtx.c: In function 'mtx_rename': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mtx.c:308:7: note: in expansion of macro 'flock' 308 | if (flock (fd,LOCK_EX|LOCK_NB)) { | ^~~~~ `cat CCTYPE` -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] 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:33:78: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` phile.c `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c: In function 'mh_ping': mh.c:865:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 865 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:865:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 865 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:33:78: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_append': mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:33:78: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, 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] 1282 | utime (file,tp); /* set the times */ | ^~~~~ | utimes `cat CCTYPE` -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] 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:33:78: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, 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] 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:33:78: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, 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] 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:33:78: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mx.c:1173:5: note: in expansion of macro 'flock' 1173 | flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ | ^~~~~ mx.c: In function 'mx_setdate': mx.c:1286:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 1286 | utime (file,tp); /* set the times */ | ^~~~~ | utimes `cat CCTYPE` -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] 324 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) | ^~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 324 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:33:78: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:63:16: note: in definition of macro 'MTAFMT' 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_delete': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mix.c:471:50: note: in expansion of macro 'flock' 471 | else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) | ^~~~~ mix.c: In function 'mix_rename': mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 556 | for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); | ^~~~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_ping': mix.c:938:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 938 | (time_t) mail_parameters (NIL,GET_SNARFINTERVAL,NIL)))) { | ^ mix.c: In function 'mix_expunge': mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1054 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); | ^~~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:33:46: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1054 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:33:78: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 33 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_burp_check': mix.c:1336:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1336 | sprintf (tmp,"Unexpected short mix message file %.80s %lu < %lu", | ~~^ | | | long unsigned int | %u 1337 | file,size,set->last); | ~~~~ | | | size_t {aka unsigned int} 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:69:16: note: in definition of macro 'MSRFMT' 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_data_open': mix.c:2410:62: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 2410 | sprintf (tmp,"short mix message file %.08lx (%ld > %ld), rolling", | ~~^ | | | long int | %lld 2411 | LOCAL->newmsg,curend,sbuf.st_size); | ~~~~~~~~~~~~ | | | off_t {aka long long int} mix.c: In function 'mix_sortcache_update': mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:16: note: in definition of macro 'SCRFMT' 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:34: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:16: note: in definition of macro 'SCRFMT' 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:40: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:16: note: in definition of macro 'SCRFMT' 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:46: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:16: note: in definition of macro 'SCRFMT' 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:54: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:16: note: in definition of macro 'SCRFMT' 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:73:60: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x 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 gcc -g -O2 -pipe -fno-omit-frame-pointer -Os -fomit-frame-pointer -fPIC -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 -L/usr/lib -lssl -lcrypto -lcrypt -lcrypt make[3]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/c-client' make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/c-client' echo slx > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -c -o mtest.o mtest.c mtest.c: In function 'prompt': mtest.c:622:3: warning: implicit declaration of function 'gets'; did you mean 'getw'? [-Wimplicit-function-declaration] 622 | gets (txt); | ^~~~ | getw `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/mtest' cd ipopd;make make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/ipopd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -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` `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -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` make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/ipopd' cd imapd;make make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/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\" -Os -fomit-frame-pointer -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` make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/imapd' cd mailutil;make make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -c -o mailutil.o mailutil.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/mailutil' cd mlock;make || true make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -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] 60 | write (1,"?",1); /* indicate "impossible" failure */ | ^~~~~ | fwrite mlock.c: In function 'main': mlock.c:75:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration] 75 | if (!grp || (grp->gr_gid != getegid ())) | ^~~~~~~ | getgrgid mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 94 | chdir (dir); | ^~~~~ mlock.c:113:30: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 113 | if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) | ^~~~ mlock.c:43:1: note: 'time' is defined in header ''; did you forget to '#include '? 42 | #include +++ |+#include 43 | mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 114 | unlink (lock); /* time out lock if enough time has passed */ | ^~~~~~ mlock.c:123:30: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 123 | (unsigned long) getpid ()); | ^~~~~~ mlock.c:125:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] 125 | gethostname (hitch + len,MAXHOSTNAMELEN); | ^~~~~~~~~~~ | gethostbyname mlock.c:132:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 132 | close (ld); /* close the hitching-post */ | ^~~~~ | pclose mlock.c:138:11: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] 138 | i = link (hitch,lock) ? errno : 0; | ^~~~ mlock.c:161:20: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 161 | if (tries--) sleep (1); /* sleep 1 second and try again */ | ^~~~~ mlock.c:169:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 169 | read (0,tmp,1); /* read continue signal from parent */ | ^~~~ | fread `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/mlock' cd dmail;make || true make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -c -o dmail.o dmail.c dmail.c: In function 'main': dmail.c:162:35: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 162 | if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); | ^~~~~~~ dmail.c:142:8: note: include '' or provide a declaration of 'isdigit' 141 | #include "linkage.c" +++ |+#include 142 | /* process all flags */ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -c -o dquota.o dquota.c `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` make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/dmail' cd tmail;make || true make[2]: Entering directory '/home/buildozer/aports/main/imap/src/imap-2007f/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -c -o tmail.o tmail.c tmail.c: In function 'main': tmail.c:171:37: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 171 | if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); | ^~~~~~~ tmail.c:140:8: note: include '' or provide a declaration of 'isdigit' 139 | #include "linkage.c" +++ |+#include 140 | /* make sure have some arguments */ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -Os -fomit-frame-pointer -c -o tquota.o tquota.c `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` make[2]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f/tmail' make[1]: Leaving directory '/home/buildozer/aports/main/imap/src/imap-2007f' >>> WARNING: imap: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> imap: Entering fakeroot... >>> imap-dev*: Running split function dev... >>> imap-dev*: Preparing subpackage imap-dev... >>> imap-dev*: Stripping binaries >>> imap-dev*: Running postcheck for imap-dev >>> c-client*: Running split function cclient... >>> c-client*: Preparing subpackage c-client... >>> c-client*: Stripping binaries >>> c-client*: Running postcheck for c-client >>> imap*: Running postcheck for imap >>> imap*: Preparing package imap... >>> imap*: Stripping binaries >>> c-client*: Scanning shared objects >>> imap-dev*: Scanning shared objects >>> imap*: Scanning shared objects >>> c-client*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libcrypto.so.3 so:libssl.so.3 >>> c-client*: Package size: 800.0 KB >>> c-client*: Compressing data... >>> c-client*: Create checksum... >>> c-client*: Create c-client-2007f-r14.apk >>> imap-dev*: Tracing dependencies... c-client=2007f-r14 >>> imap-dev*: Package size: 192.0 KB >>> imap-dev*: Compressing data... >>> imap-dev*: Create checksum... >>> imap-dev*: Create imap-dev-2007f-r14.apk >>> imap*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libcrypto.so.3 so:libssl.so.3 >>> imap*: Package size: 2.3 MB >>> imap*: Compressing data... >>> imap*: Create checksum... >>> imap*: Create imap-2007f-r14.apk >>> imap: Build complete at Tue, 25 Oct 2022 19:59:46 +0000 elapsed time 0h 0m 44s >>> imap: Cleaning up srcdir >>> imap: Cleaning up pkgdir >>> imap: Uninstalling dependencies... (1/2) Purging .makedepends-imap (20221025.195903) (2/2) Purging openssl-dev (3.0.5-r3) OK: 189 MiB in 92 packages >>> imap: Updating the main/armv7 repository index... >>> imap: Signing the index...