******************************************************************************** conan install c-client/2007f@#63f91443b6e39089435a64e11980dc9f --build=c-client -pr /home/conan/w/BuildSingleReference/85014/6c08a9b6-3bc9-407d-a11e-dd887c7fd651/profile_linux_9_libstdcpp11_gcc_release_64..txt ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/BuildSingleReference/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 9 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=9 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [options] [build_requires] [env] openssl/1.1.1m: Not found in local cache, looking in remotes... openssl/1.1.1m: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1m: Downloaded recipe revision baa265ba7a1c1bdf33346264aa84fa43 c-client/2007f: Forced build from source Installing package: c-client/2007f Requirements c-client/2007f from local cache - Cache openssl/1.1.1m from 'conan-center' - Downloaded Packages c-client/2007f:dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b - Build openssl/1.1.1m:6af9cc7cb931c5ad942174fd7838eb655717c709 - Download Installing (downloading, building) binaries... openssl/1.1.1m: Retrieving package 6af9cc7cb931c5ad942174fd7838eb655717c709 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1m: Package installed 6af9cc7cb931c5ad942174fd7838eb655717c709 openssl/1.1.1m: Downloaded package revision 4315d9352c0c5bc5aff18eafa1a0e1ba [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK c-client/2007f: Configuring sources in /home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/source Unzipping 8.1MB, this can take a while [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK c-client/2007f: Copying sources to build folder c-client/2007f: Building your package in /home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b c-client/2007f: Generator txt created conanbuildinfo.txt c-client/2007f: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK c-client/2007f: Calling build() ----Running------ > make slx 'IP=6' '-j1' ----------------- make[1]: Entering directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b' 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='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=6 EXTRASPECIALS='' BUILDTYPE=slx make[1]: Entering directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b' make[2]: Entering directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b' make[2]: 'ip6' is up to date. make[2]: Leaving directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b' Building c-client for slx... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make slx EXTRACFLAGS=''\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ make[2]: Entering directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b/c-client' You are building for libc6/glibc versions of Secure Linux If you want libc5 versions you must use sl5 instead! If you want libc4 versions you must use sl4 instead! make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd 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 -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[3]: Entering directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE libc-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo -lcrypt > LDFLAGS echo "ar rc libc-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib libc-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s 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/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl -DSSL_CERT_DIRECTORY=\"/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/certs\" -DSSL_KEY_DIRECTORY=\"/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c cc -fPIC -DPIC -D_REENTRANT `cat CFLAGS` `cat OSCFLAGS` -c osdep.c ======================================================================== Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none ======================================================================== cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mail.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` misc.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` newsrc.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smanager.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8aux.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` siglocal.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` dummy.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pseudo.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` netmsg.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` flstring.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` fdstring.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` rfc822.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` nntp.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smtp.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` imap4r1.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pop3.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` unix.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mbx.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mmdf.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` tenex.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mtx.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` news.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` phile.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mh.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mx.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mix.c sh -c 'rm -rf libc-client.a || true' ar rc libc-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib libc-client.a make[3]: Leaving directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b/c-client' make[2]: Leaving directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b/c-client' echo slx > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' make[1]: Leaving directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b' c-client/2007f: Package 'dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b' built c-client/2007f: Build folder /home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b c-client/2007f: Generated conaninfo.txt c-client/2007f: Generated conanbuildinfo.txt c-client/2007f: Generating the package c-client/2007f: Package folder /home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/package/dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b c-client/2007f: Calling package() [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK c-client/2007f package(): Packaged 1 '.a' file: libc-client.a c-client/2007f package(): Packaged 74 '.h' files c-client/2007f package(): Packaged 1 '.txt' file: LICENSE.txt c-client/2007f: Package 'dfe12eae9cbeecab0fd96fa1b6854ee27b02fb2b' created c-client/2007f: Created package revision 6cee06a665f7a1e2c6b380b2cfe29416 [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK Aggregating env generators In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from osdep.c:31: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # 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:1374:27: note: in expansion of macro ‘flock’ 1374 | if (op & LOCK_NB) i = flock (fd,op); | ^~~~~ osdep.c: In function ‘ssl_start_work’: osdep.c:425:12: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations] 425 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/e_os2.h:13, from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/ssl.h:15, from osdep.c:232: /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/ssl.h:1879:45: note: declared here 1879 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) | ^~~~~~~~~~~~~~~~~~~ /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/opensslconf.h:118:37: note: in definition of macro ‘DECLARE_DEPRECATED’ 118 | # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); | ^ /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/ssl.h:1879:1: note: in expansion of macro ‘DEPRECATEDIN_1_1_0’ 1879 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) | ^~~~~~~~~~~~~~~~~~ osdep.c: In function ‘ssl_server_init’: osdep.c:928:12: warning: ‘TLSv1_server_method’ is deprecated [-Wdeprecated-declarations] 928 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/e_os2.h:13, from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/ssl.h:15, from osdep.c:232: /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/ssl.h:1878:45: note: declared here 1878 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) | ^~~~~~~~~~~~~~~~~~~ /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/opensslconf.h:118:37: note: in definition of macro ‘DECLARE_DEPRECATED’ 118 | # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); | ^ /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/ssl.h:1878:1: note: in expansion of macro ‘DEPRECATEDIN_1_1_0’ 1878 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) | ^~~~~~~~~~~~~~~~~~ osdep.c: In function ‘ssl_genkey’: osdep.c:999:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations] 999 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { | ^~ In file included from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/e_os2.h:13, from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/ssl.h:15, from osdep.c:232: /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/rsa.h:235:25: note: declared here 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/opensslconf.h:118:37: note: in definition of macro ‘DECLARE_DEPRECATED’ 118 | # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); | ^ /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/openssl/rsa.h:235:1: note: in expansion of macro ‘DEPRECATEDIN_0_9_8’ 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~~~ In file included from auths.c:2, from env_unix.c:260, from osdep.c:51: auth_md5.c: In function ‘auth_md5_pwd’: auth_md5.c:195:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 195 | read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:51: env_unix.c: In function ‘pw_login’: env_unix.c:785:37: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 785 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:54: tcp_unix.c: In function ‘tcp_name’: tcp_unix.c:953:44: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] 953 | sprintf (tmp,"Reverse DNS resolution %s",adr); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from osdep.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 24 and 1047 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:54: tcp_unix.c:961:42: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 961 | if (flag) sprintf (ret = tmp,"%s %s",t,adr); | ^ In file included from /usr/include/stdio.h:867, from osdep.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function ‘dummy_list_work’: dummy.c:313:24: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 313 | sprintf (path,"%s/",tmp); | ^ In file included from /usr/include/stdio.h:867, from dummy.c:30: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 1025 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘dummy_delete’ at dummy.c:523:5: /usr/include/x86_64-linux-gnu/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from fdstring.c:30: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_valid’: unix.c:231:2: warning: implicit declaration of function ‘utime’; did you mean ‘stime’? [-Wimplicit-function-declaration] 231 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from unix.c:46: unix.c: In function ‘unix_open’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ unix.c:530:5: note: in expansion of macro ‘flock’ 530 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ | ^~~~~ 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/x86_64-linux-gnu/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function ‘mmdf_isvalid’: mmdf.c:382:2: warning: implicit declaration of function ‘utime’; did you mean ‘stime’? [-Wimplicit-function-declaration] 382 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from mmdf.c:34: mmdf.c: In function ‘mmdf_open’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mmdf.c:669:5: note: in expansion of macro ‘flock’ 669 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ | ^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function ‘mmdf_parse’: mmdf.c:1913:34: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 1913 | sprintf (err,"Discarding bogus %s header in message %lu", | ^~ 1914 | (char *) tmp,elt->msgno); | ~~~ In file included from /usr/include/stdio.h:867, from mmdf.c:28: /usr/include/x86_64-linux-gnu/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function ‘tenex_isvalid’: tenex.c:206:2: warning: implicit declaration of function ‘utime’; did you mean ‘stime’? [-Wimplicit-function-declaration] 206 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from tenex.c:47: tenex.c: In function ‘tenex_rename’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ tenex.c:315:7: note: in expansion of macro ‘flock’ 315 | if (flock (fd,LOCK_EX|LOCK_NB)) { | ^~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function ‘news_open’: news.c:370:36: warning: passing argument 3 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:257:13: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:370:48: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) 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:161:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 161 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function ‘news_list’: news.c:228:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 228 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phile.c: In function ‘phile_open’: phile.c:317:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 317 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function ‘mx_scan_contents’: mx.c:277:38: warning: passing argument 3 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:277:48: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~~ | | | int (*)(const void *, const void *) 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:462:54: warning: passing argument 3 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) 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:462:64: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) 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:731:51: warning: passing argument 3 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) 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:731:61: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) 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:803:17: warning: too many arguments for format [-Wformat-extra-args] 803 | 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:1173:5: note: in expansion of macro ‘flock’ 1173 | flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ | ^~~~~ mx.c: In function ‘mx_setdate’: mx.c:1286:3: warning: implicit declaration of function ‘utime’; did you mean ‘utimes’? [-Wimplicit-function-declaration] 1286 | utime (file,tp); /* set the times */ | ^~~~~ | utimes mx.c: In function ‘mx_header’: mx.c:636:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 636 | read (fd,LOCAL->buf,elt->rfc822_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function ‘mx_lockindex’: mx.c:1177:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 1177 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function ‘mx_unlockindex’: mx.c:1269:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 1269 | ftruncate (LOCAL->fd,size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~