D: [iurt_root_command] chroot warning: line 60: It's not recommended to have unversioned Obsoletes: Obsoletes: libc-client-php-devel warning: line 61: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64c-client-php0-devel warning: line 62: It's not recommended to have unversioned Obsoletes: Obsoletes: imap-devel Installing /home/iurt/rpmbuild/SRPMS/c-client-2007f-14.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5IoG8R + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf imap-2007f + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/imap-2007f.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd imap-2007f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (imap-2002e-ssl.patch):' Patch #0 (imap-2002e-ssl.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .ssl --fuzz=0 patching file src/osdep/unix/Makefile Hunk #1 succeeded at 54 (offset 26 lines). + echo 'Patch #1 (imap-2007a-linux.diff):' Patch #1 (imap-2007a-linux.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .linux --fuzz=0 patching file src/osdep/unix/Makefile Hunk #3 succeeded at 496 (offset 8 lines). Hunk #4 succeeded at 509 (offset 8 lines). + echo 'Patch #3 (imap-2001a-disable-mbox.patch):' Patch #3 (imap-2001a-disable-mbox.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mbox --fuzz=0 patching file Makefile Hunk #1 succeeded at 145 (offset 1 line). patching file src/osdep/unix/Makefile + echo 'Patch #4 (imap-2001a-redhat.patch):' Patch #4 (imap-2001a-redhat.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .redhat --fuzz=0 patching file Makefile Hunk #1 succeeded at 253 (offset 1 line). + echo 'Patch #5 (imap-2006c1-flock.diff):' Patch #5 (imap-2006c1-flock.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .flock --fuzz=0 patching file src/osdep/unix/Makefile Hunk #1 succeeded at 152 (offset 10 lines). + install -m 0644 /home/iurt/rpmbuild/SOURCES/flock.c src/osdep/unix/flock.c + echo 'Patch #9 (imap-2006c1-glibc-2.2.2.diff):' Patch #9 (imap-2006c1-glibc-2.2.2.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .glibc --fuzz=0 patching file src/osdep/unix/env_unix.c patching file src/osdep/unix/mh.c patching file src/osdep/unix/mx.c patching file src/osdep/unix/news.c patching file src/osdep/unix/phile.c + echo 'Patch #12 (imap-2001a-overflow.patch):' Patch #12 (imap-2001a-overflow.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .overflow --fuzz=0 patching file src/c-client/rfc822.c + echo 'Patch #17 (imap-mail-spool-perms.diff):' Patch #17 (imap-mail-spool-perms.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .lock-warning --fuzz=0 patching file src/osdep/unix/env_unix.c Hunk #1 succeeded at 224 (offset 6 lines). + echo 'Patch #21 (imap-2004a-shared.patch):' Patch #21 (imap-2004a-shared.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .shared --fuzz=0 patching file src/osdep/unix/Makefile Hunk #2 succeeded at 856 (offset 8 lines). Hunk #3 succeeded at 913 (offset 8 lines). Hunk #4 succeeded at 927 (offset 8 lines). + echo 'Patch #22 (imap-2002e-authmd5.patch):' Patch #22 (imap-2002e-authmd5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .authmd5 --fuzz=0 patching file src/c-client/auth_md5.c Hunk #1 succeeded at 42 (offset 8 lines). + echo 'Patch #23 (imap-2006c1-annotate.diff):' Patch #23 (imap-2006c1-annotate.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .annotate --fuzz=0 patching file src/c-client/imap4r1.c Hunk #1 succeeded at 133 (offset -5 lines). Hunk #2 succeeded at 204 (offset -5 lines). Hunk #3 succeeded at 2767 (offset 16 lines). Hunk #4 succeeded at 2897 (offset 16 lines). Hunk #5 succeeded at 3039 (offset 16 lines). Hunk #6 succeeded at 3060 (offset 16 lines). Hunk #7 succeeded at 3239 (offset 16 lines). Hunk #8 succeeded at 4194 (offset 28 lines). patching file src/c-client/imap4r1.h Hunk #1 succeeded at 279 (offset 39 lines). patching file src/c-client/mail.c Hunk #1 succeeded at 67 (offset -5 lines). Hunk #2 succeeded at 597 (offset 11 lines). Hunk #3 succeeded at 5720 (offset 50 lines). Hunk #4 succeeded at 6051 (offset 50 lines). patching file src/c-client/mail.h Hunk #1 succeeded at 353 (offset 8 lines). Hunk #2 succeeded at 1050 (offset 15 lines). Hunk #3 succeeded at 1376 (offset 15 lines). Hunk #4 succeeded at 1795 (offset 17 lines). patching file src/mtest/mtest.c Hunk #4 succeeded at 624 (offset 5 lines). + echo 'Patch #24 (imap-2004g-hash_reset.diff):' Patch #24 (imap-2004g-hash_reset.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hash_reset --fuzz=0 patching file src/c-client/mail.c patching file src/c-client/misc.c patching file src/c-client/misc.h + echo 'Patch #25 (imap-yes.diff):' Patch #25 (imap-yes.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .yes --fuzz=0 patching file Makefile Hunk #1 succeeded at 579 (offset 28 lines). Hunk #2 succeeded at 602 (offset 28 lines). + echo 'Patch #26 (1006_openssl1.1_autoverify.patch):' Patch #26 (1006_openssl1.1_autoverify.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl11 --fuzz=0 patching file src/osdep/unix/ssl_unix.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NzAznQ + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd imap-2007f + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + touch ip6 + export 'EXTRACFLAGS= -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' + EXTRACFLAGS=' -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' + export 'EXTRALDFLAGS= -L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + EXTRALDFLAGS=' -L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + make 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -D_REENTRANT -DDIC -fPIC -fno-omit-frame-pointer -D_GNU_SOURCE' slx 'EXTRACFLAGS= -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' 'EXTRALDFLAGS= -L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' SSLDIR=/usr/lib64/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib64 LOCKPGM=/usr/sbin/mlock SSLTYPE=unix SHLIBBASE=c-client SHLIBNAME=libc-client.so.0 'BASECFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -D_REENTRANT -DDIC -fPIC -fno-omit-frame-pointer -D_GNU_SOURCE' IP=6 make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/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 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/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='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' EXTRALDFLAGS='-L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=6 EXTRASPECIALS='' BUILDTYPE=slx make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f' make[2]: 'ip6' is up to date. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f' Building c-client for slx... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make slx EXTRACFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE'\ EXTRALDFLAGS='-L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'\ EXTRADRIVERS=''\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=unix IP=6\ make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f/c-client' Makefile:873: warning: ignoring prerequisites on suffix rule definition 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='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' EXTRALDFLAGS='-L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f/c-client' Makefile:873: 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 -pipe -fno-omit-frame-pointer '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' -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=\"/usr/sbin/mlock\" \ -DLOCKPGM1=\"\" -DLOCKPGM2=\"\" \ -DLOCKPGM3=\"\" > OSCFLAGS echo -lcrypt -L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags > 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 flock.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers 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 ip6_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 Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/imap\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/imap\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib64 -lssl -lcrypto >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c cc -D_REENTRANT -fPIC -DPIC -g `cat OSCFLAGS` -c osdep.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from osdep.c:31: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:1375:27: note: in expansion of macro 'flock' 1375 | if (op & LOCK_NB) i = flock (fd,op); | ^~~~~ osdep.c: In function 'ssl_start_work': osdep.c:424:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] 424 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/multiarch-dispatch.h:80, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/ssl.h:1884:45: note: declared here 1884 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_server_init': osdep.c:919:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] 919 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/multiarch-dispatch.h:80, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/ssl.h:1883:45: note: declared here 1883 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:990:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] 990 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { | ^~ In file included from /usr/include/multiarch-dispatch.h:80, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/rsa.h:235:1: note: declared here 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~~~ ======================================================================== 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 -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mail.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` misc.c cc -D_REENTRANT -fPIC -DPIC -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] 468 | fread (s,(size_t) 1,size,f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` smanager.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` utf8.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` utf8aux.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` siglocal.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` dummy.c dummy.c: In function 'dummy_scan_contents': dummy.c:383:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 383 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from dummy.c:30: In function 'sprintf', inlined from 'dummy_delete' at dummy.c:523:5: /usr/include/bits/stdio2.h:36:10: warning: '%.80s' directive argument is null [-Wformat-overflow=] 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` pseudo.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` netmsg.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` flstring.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` fdstring.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from fdstring.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ fdstring.c: In function 'fd_string_setpos': fdstring.c:97:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | read ((long) s->data,s->curpos,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_init': fdstring.c:67:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | read (d->fd,s->chunk,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` rfc822.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` nntp.c nntp.c: In function 'nntp_mopen': nntp.c:764:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 764 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 765 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1100:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1100 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1101 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1102 | (size_t) 1,(size_t) *size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` smtp.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` imap4r1.c cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` pop3.c pop3.c: In function 'pop3_header': pop3.c:848:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 848 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 849 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 850 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -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] 231 | utime (file,tp); /* set the times */ | ^~~~~ | ctime 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 */ | ^~~~~ unix.c:519:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 519 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ unix.c: In function 'unix_header': unix.c:630:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 630 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:640:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 640 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 641 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:707:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 707 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_copy': unix.c:956:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 956 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:982:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_append': unix.c:1152:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1152 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_rewrite': unix.c:2139:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2139 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2239:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2239 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_extend': unix.c:2285:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2285 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:2611:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2611 | read (sfd,s = (char *) fs_get (size + 1),size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2621:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2621 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2629 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2640:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2640 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1749:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 1749 | sprintf (err,"Discarding bogus %s header in message %lu", | ^~ 1750 | (char *) tmp,elt->msgno); | ~~~ In file included from /usr/include/stdio.h:867, from unix.c:40: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -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:12: 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 mbx.c: In function 'mbx_header': mbx.c:709:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 709 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:965:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 965 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1046:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1046 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1060:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1060 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_append': mbx.c:1195:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1195 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1269:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1269 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rewrite': mbx.c:1757:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1757 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1781:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1781 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -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] 382 | utime (file,tp); /* set the times */ | ^~~~~ | ctime 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 */ | ^~~~~ mmdf.c:658:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 658 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_header': mmdf.c:769:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 769 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:779:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 779 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:846:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 846 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_copy': mmdf.c:1091:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1091 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1118:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1118 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1288:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1288 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2302:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2302 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2385:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2385 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2431:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2431 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -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] 206 | utime (file,tp); /* set the times */ | ^~~~~ | ctime 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)) { | ^~~~~ tenex.c: In function 'tenex_fast': tenex.c:516:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:567:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 567 | read (LOCAL->fd,LOCAL->buf,*length = i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:572:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 572 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_text': tenex.c:614:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 614 | read (LOCAL->fd,LOCAL->buf,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:629:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 629 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:799:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 799 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:890:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 890 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:917:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 917 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_copy': tenex.c:1008:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1008 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1016:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1016 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_append': tenex.c:1150:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1150 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1456:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1456 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -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] 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)) { | ^~~~~ mtx.c: In function 'mtx_header': mtx.c:515:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 515 | read (LOCAL->fd,LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:710:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 710 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:801:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 801 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:827:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 827 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_copy': mtx.c:918:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 918 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:926:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 926 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_append': mtx.c:1053:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1053 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` news.c news.c: In function 'news_open': news.c:371:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 371 | 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:371:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 371 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_valid': news.c:162:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:229:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` phile.c phile.c: In function 'phile_open': phile.c:318:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (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 *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:939:17: warning: too many arguments for format [-Wformat-extra-args] 939 | sprintf (tmp,"Message copy to MH mailbox failed: %.80s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 *) 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 | int (*__selector) (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 *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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 mh.c: In function 'mh_path': mh.c:251:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 251 | read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mx.c mx.c: In function 'mx_scan_contents': mx.c:278:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 278 | 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:278:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 278 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_rename': mx.c:463:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 463 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) 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 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:463:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 463 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_ping': mx.c:732:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 732 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) 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 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:732:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 732 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:804:17: warning: too many arguments for format [-Wformat-extra-args] 804 | sprintf (tmp,"Message copy to MX mailbox failed: %.80s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mx.c:35: 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:1174:5: note: in expansion of macro 'flock' 1174 | flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ | ^~~~~ mx.c: In function 'mx_setdate': mx.c:1287:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 1287 | utime (file,tp); /* set the times */ | ^~~~~ | utimes mx.c: In function 'mx_header': mx.c:637:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 637 | read (fd,LOCAL->buf,elt->rfc822_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': mx.c:1178:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1178 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_unlockindex': mx.c:1270:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | ftruncate (LOCAL->fd,size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (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 *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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 In file included from mix.c:33: 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 *) 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 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 *) 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 | int (*__selector) (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 *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ 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_copy': mix.c:1477:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1477 | ftruncate (fd,size); /* revert file */ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_append': mix.c:1594:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1594 | ftruncate (fd,size); /* revert all writes to file*/ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_meta_update': mix.c:2209:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2209 | ftruncate (LOCAL->mfd,i); /* and tie off at that point */ | ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_index_update': mix.c:2255:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2255 | ftruncate (fileno (idxf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2288:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2288 | if (ret) ftruncate (fileno (idxf),ftell (idxf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_status_update': mix.c:2335:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2335 | ftruncate (fileno (statf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2369:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2369 | if (ret) ftruncate (fileno (statf),ftell (statf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_update': mix.c:2697:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2697 | if (ret) ftruncate (fileno (f),ftell (f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` flock.c 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 flock.o;ranlib c-client.a cc -D_REENTRANT -fPIC -DPIC -c -g `cat OSCFLAGS` osdep.c -o osdep.so In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from osdep.c:31: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:1375:27: note: in expansion of macro 'flock' 1375 | if (op & LOCK_NB) i = flock (fd,op); | ^~~~~ osdep.c: In function 'ssl_start_work': osdep.c:424:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] 424 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/multiarch-dispatch.h:80, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/ssl.h:1884:45: note: declared here 1884 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_server_init': osdep.c:919:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] 919 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/multiarch-dispatch.h:80, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/ssl.h:1883:45: note: declared here 1883 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:990:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] 990 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { | ^~ In file included from /usr/include/multiarch-dispatch.h:80, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/rsa.h:235:1: note: declared here 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mail.c -o mail.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` misc.c -o misc.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` newsrc.c -o newsrc.so newsrc.c: In function 'newsrc_state': newsrc.c:468:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 468 | fread (s,(size_t) 1,size,f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` smanager.c -o smanager.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` utf8.c -o utf8.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` utf8aux.c -o utf8aux.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` siglocal.c -o siglocal.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` dummy.c -o dummy.so dummy.c: In function 'dummy_scan_contents': dummy.c:383:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 383 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from dummy.c:30: In function 'sprintf', inlined from 'dummy_delete' at dummy.c:523:5: /usr/include/bits/stdio2.h:36:10: warning: '%.80s' directive argument is null [-Wformat-overflow=] 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` pseudo.c -o pseudo.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` netmsg.c -o netmsg.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` flstring.c -o flstring.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` fdstring.c -o fdstring.so In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from fdstring.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ fdstring.c: In function 'fd_string_setpos': fdstring.c:97:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | read ((long) s->data,s->curpos,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_init': fdstring.c:67:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | read (d->fd,s->chunk,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` rfc822.c -o rfc822.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` nntp.c -o nntp.so nntp.c: In function 'nntp_mopen': nntp.c:764:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 764 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 765 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1100:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1100 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1101 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1102 | (size_t) 1,(size_t) *size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` smtp.c -o smtp.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` imap4r1.c -o imap4r1.so cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` pop3.c -o pop3.so pop3.c: In function 'pop3_header': pop3.c:848:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 848 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 849 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 850 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` unix.c -o unix.so unix.c: In function 'unix_valid': unix.c:231:2: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 231 | utime (file,tp); /* set the times */ | ^~~~~ | ctime 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 */ | ^~~~~ unix.c:519:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 519 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ unix.c: In function 'unix_header': unix.c:630:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 630 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:640:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 640 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 641 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:707:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 707 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_copy': unix.c:956:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 956 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:982:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_append': unix.c:1152:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1152 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_rewrite': unix.c:2139:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2139 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2239:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2239 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_extend': unix.c:2285:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2285 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:2611:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2611 | read (sfd,s = (char *) fs_get (size + 1),size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2621:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2621 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2629 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2640:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2640 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1749:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 1749 | sprintf (err,"Discarding bogus %s header in message %lu", | ^~ 1750 | (char *) tmp,elt->msgno); | ~~~ In file included from /usr/include/stdio.h:867, from unix.c:40: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mbx.c -o mbx.so 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:12: 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 mbx.c: In function 'mbx_header': mbx.c:709:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 709 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:965:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 965 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1046:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1046 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1060:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1060 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_append': mbx.c:1195:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1195 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1269:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1269 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rewrite': mbx.c:1757:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1757 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1781:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1781 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mmdf.c -o mmdf.so mmdf.c: In function 'mmdf_isvalid': mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 382 | utime (file,tp); /* set the times */ | ^~~~~ | ctime 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 */ | ^~~~~ mmdf.c:658:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 658 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_header': mmdf.c:769:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 769 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:779:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 779 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:846:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 846 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_copy': mmdf.c:1091:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1091 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1118:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1118 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1288:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1288 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2302:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2302 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2385:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2385 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2431:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2431 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` tenex.c -o tenex.so tenex.c: In function 'tenex_isvalid': tenex.c:206:2: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 206 | utime (file,tp); /* set the times */ | ^~~~~ | ctime 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)) { | ^~~~~ tenex.c: In function 'tenex_fast': tenex.c:516:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:567:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 567 | read (LOCAL->fd,LOCAL->buf,*length = i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:572:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 572 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_text': tenex.c:614:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 614 | read (LOCAL->fd,LOCAL->buf,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:629:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 629 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:799:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 799 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:890:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 890 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:917:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 917 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_copy': tenex.c:1008:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1008 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1016:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1016 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_append': tenex.c:1150:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1150 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1456:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1456 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mtx.c -o mtx.so mtx.c: In function 'mtx_isvalid': mtx.c:199:2: 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)) { | ^~~~~ mtx.c: In function 'mtx_header': mtx.c:515:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 515 | read (LOCAL->fd,LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:710:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 710 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:801:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 801 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:827:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 827 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_copy': mtx.c:918:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 918 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:926:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 926 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_append': mtx.c:1053:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1053 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` news.c -o news.so news.c: In function 'news_open': news.c:371:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 371 | 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:371:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 371 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_valid': news.c:162:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:229:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` phile.c -o phile.so phile.c: In function 'phile_open': phile.c:318:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mh.c -o mh.so 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (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 *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:939:17: warning: too many arguments for format [-Wformat-extra-args] 939 | sprintf (tmp,"Message copy to MH mailbox failed: %.80s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 *) 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 | int (*__selector) (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 *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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 mh.c: In function 'mh_path': mh.c:251:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 251 | read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mx.c -o mx.so mx.c: In function 'mx_scan_contents': mx.c:278:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 278 | 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:278:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 278 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_rename': mx.c:463:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 463 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) 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 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:463:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 463 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_ping': mx.c:732:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 732 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) 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 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:732:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 732 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:804:17: warning: too many arguments for format [-Wformat-extra-args] 804 | sprintf (tmp,"Message copy to MX mailbox failed: %.80s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mx.c:35: 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:1174:5: note: in expansion of macro 'flock' 1174 | flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ | ^~~~~ mx.c: In function 'mx_setdate': mx.c:1287:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 1287 | utime (file,tp); /* set the times */ | ^~~~~ | utimes mx.c: In function 'mx_header': mx.c:637:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 637 | read (fd,LOCAL->buf,elt->rfc822_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': mx.c:1178:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1178 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_unlockindex': mx.c:1270:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | ftruncate (LOCAL->fd,size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` mix.c -o mix.so 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (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 *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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 In file included from mix.c:33: 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 *) 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 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 *) 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 | int (*__selector) (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 *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ 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_copy': mix.c:1477:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1477 | ftruncate (fd,size); /* revert file */ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_append': mix.c:1594:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1594 | ftruncate (fd,size); /* revert all writes to file*/ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_meta_update': mix.c:2209:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2209 | ftruncate (LOCAL->mfd,i); /* and tie off at that point */ | ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_index_update': mix.c:2255:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2255 | ftruncate (fileno (idxf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2288:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2288 | if (ret) ftruncate (fileno (idxf),ftell (idxf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_status_update': mix.c:2335:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2335 | ftruncate (fileno (statf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2369:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2369 | if (ret) ftruncate (fileno (statf),ftell (statf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_update': mix.c:2697:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2697 | if (ret) ftruncate (fileno (f),ftell (f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_REENTRANT -fPIC -DPIC -c `cat CFLAGS` flock.c -o flock.so gcc -shared -Wl,-soname,libc-client.so.0 -o libc-client.so.0 osdep.so mail.so misc.so newsrc.so smanager.so utf8.so utf8aux.so siglocal.so dummy.so pseudo.so netmsg.so flstring.so fdstring.so rfc822.so nntp.so smtp.so imap4r1.so pop3.so unix.so mbx.so mmdf.so tenex.so mtx.so news.so phile.so mh.so mx.so mix.so flock.so `cat LDFLAGS` /usr/bin/ld: osdep.so: in function `ssl_onceonlyinit': /home/iurt/rpmbuild/BUILD/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' ln -s libc-client.so.0 libc-client.so make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f/c-client' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/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/iurt/rpmbuild/BUILD/imap-2007f/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:622:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] 622 | gets (txt); | ^~~~ | fgets mtest.c: In function 'mm_login': mtest.c:744:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 744 | fgets (user,NETMAXUSER-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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': /home/iurt/rpmbuild/BUILD/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld: mtest.o: in function `prompt': /home/iurt/rpmbuild/BUILD/imap-2007f/mtest/mtest.c:622: warning: the `gets' function is dangerous and should not be used. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f/mtest' cd ipopd;make make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f/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': /home/iurt/rpmbuild/BUILD/imap-2007f/c-client/osdep.c:302: 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': /home/iurt/rpmbuild/BUILD/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f/ipopd' cd imapd;make make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/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\" -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': /home/iurt/rpmbuild/BUILD/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f/imapd' cd mailutil;make make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f/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] 594 | fgets (tmp,MAILTMPLEN-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailutil.c: In function 'mm_login': mailutil.c:893:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 893 | fgets (username,NETMAXUSER-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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': /home/iurt/rpmbuild/BUILD/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f/mailutil' cd mlock;make || true make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f/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] 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: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:23: warning: implicit declaration of function 'getpid'; did you mean 'getpt'? [-Wimplicit-function-declaration] 123 | (unsigned long) getpid ()); | ^~~~~~ | getpt 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/iurt/rpmbuild/BUILD/imap-2007f/mlock' cd dmail;make || true make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f/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] 162 | if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); | ^~~~~~~ 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] 123 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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:25, from ../c-client/osdep.h:43, from ../c-client/c-client.h:42, from dquota.c:29: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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': /home/iurt/rpmbuild/BUILD/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f/dmail' cd tmail;make || true make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/imap-2007f/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] 171 | if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); | ^~~~~~~ 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] 124 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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:25, from ../c-client/osdep.h:43, from ../c-client/c-client.h:42, from tquota.c:29: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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': /home/iurt/rpmbuild/BUILD/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f/tmail' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/imap-2007f' + mv -f c-client/c-client.a c-client.a + mv -f c-client/libc-client.so.0 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.w4uuhU + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64 + cd imap-2007f + '[' 1 -eq 1 ']' + install -d /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/lib64 + install -d /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/include/imap + install -m0644 c-client/c-client.h c-client/dummy.h c-client/env.h c-client/env_unix.h c-client/fdstring.h c-client/flockcyg.h c-client/flocksim.h c-client/flstring.h c-client/fs.h c-client/ftl.h c-client/imap4r1.h c-client/linkage.h c-client/mail.h c-client/misc.h c-client/netmsg.h c-client/newsrc.h c-client/nl.h c-client/nntp.h c-client/os_a32.h c-client/os_a41.h c-client/os_a52.h c-client/os_aix.h c-client/os_aos.h c-client/os_art.h c-client/os_asv.h c-client/os_aux.h c-client/os_bsd.h c-client/os_bsf.h c-client/os_bsi.h c-client/os_cvx.h c-client/os_cyg.h c-client/os_d-g.h c-client/os_do4.h c-client/os_drs.h c-client/os_dyn.h c-client/os_hpp.h c-client/os_isc.h c-client/os_lnx.h c-client/os_lyn.h c-client/os_mct.h c-client/os_mnt.h c-client/os_nto.h c-client/os_nxt.h c-client/os_os4.h c-client/os_osf.h c-client/os_osx.h c-client/os_ptx.h c-client/os_pyr.h c-client/os_qnx.h c-client/os_s40.h c-client/os_sc5.h c-client/os_sco.h c-client/os_sgi.h c-client/os_shp.h c-client/os_slx.h c-client/os_soln.h c-client/os_solo.h c-client/os_sos.h c-client/os_sua.h c-client/os_sun.h c-client/os_sv2.h c-client/os_sv4.h c-client/os_ult.h c-client/os_vu2.h c-client/osdep.h c-client/pseudo.h c-client/rfc822.h c-client/smtp.h c-client/sslio.h c-client/tcp.h c-client/tcp_unix.h c-client/unix.h c-client/utf8.h c-client/utf8aux.h /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/include/imap/ + install -m0644 src/osdep/tops-20/shortsym.h /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/include/imap/ + install -m0644 src/osdep/tops-20/linkage.c /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/include/imap/ + install -m0755 libc-client.so.0 /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/lib64/ + ln -snf libc-client.so.0 /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/lib64/libc-client.so + install -m0644 c-client.a /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/lib64/libc-client.a + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 2007f-14.mga8 --unique-debug-suffix -2007f-14.mga8.x86_64 --unique-debug-src-base c-client-2007f-14.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/imap-2007f explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/lib64/libc-client.so.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64/usr/lib64/libc-client.so.0 original debug info size: 2072kB, size after compression: 1876kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 6730 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: lib64c-client0-2007f-14.mga8.x86_64 Provides: c-client = 2007f-14.mga8 lib64c-client0 = 2007f-14.mga8 lib64c-client0(x86-64) = 2007f-14.mga8 libc-client.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) Processing files: lib64c-client-devel-2007f-14.mga8.x86_64 Provides: c-client-devel = 2007f-14.mga8 devel(libc-client(64bit)) lib64c-client-devel = 2007f-14.mga8 lib64c-client-devel(x86-64) = 2007f-14.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libcrypt(64bit)) devel(libcrypto(64bit)) devel(libssl(64bit)) Obsoletes: imap-devel lib64c-client-php0-devel libc-client-php-devel Processing files: c-client-debugsource-2007f-14.mga8.x86_64 Provides: c-client-debugsource = 2007f-14.mga8 c-client-debugsource(x86-64) = 2007f-14.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64c-client0-debuginfo-2007f-14.mga8.x86_64 Provides: debuginfo(build-id) = dc116690d31061d06550a97cebee75b35f93dd12 lib64c-client0-debuginfo = 2007f-14.mga8 lib64c-client0-debuginfo(x86-64) = 2007f-14.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: c-client-debugsource(x86-64) = 2007f-14.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64c-client0-2007f-14.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64c-client0-debuginfo-2007f-14.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/c-client-debugsource-2007f-14.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64c-client-devel-2007f-14.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.T7vu9T + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd imap-2007f + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/c-client-2007f-14.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tqEO9Q + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf imap-2007f + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!