******************************************************************************** conan install c-client/2007f@#ecccc6cf15fe7e0082129422f4752365 --build=c-client -pr /home/conan/w/prod-v1/bsr/23438/aeeee/profile_linux_5_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod-v1/bsr/23438/aebde/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 5.4 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/prod-v1/bsr/23438/aebde/.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=5 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod-v1/bsr/23438/aebde/.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=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True openssl/3.1.3: Not found in local cache, looking in remotes... openssl/3.1.3: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/3.1.3: Downloaded recipe revision 35e30a39a89ee3ae98929377ebe78913 zlib/1.3: Not found in local cache, looking in remotes... zlib/1.3: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.3: Downloaded recipe revision 06023034579559bb64357db3a53f88a4 c-client/2007f: Forced build from source Version ranges solved openssl/* versions found in 'conan-center' remote Version range '>=1.1 <4' required by 'c-client/2007f' resolved to 'openssl/3.1.3' in remote 'conan-center' zlib/* versions found in 'conan-center' remote Version range '>=1.2.11 <2' required by 'openssl/3.1.3' resolved to 'zlib/1.3' in remote 'conan-center' Installing package: c-client/2007f Requirements c-client/2007f from local cache - Cache openssl/3.1.3 from 'conan-center' - Downloaded zlib/1.3 from 'conan-center' - Downloaded Packages c-client/2007f:3d8657d9f6be3e1a684aaa82f09f27e538b36620 - Build openssl/3.1.3:288ceea1eccdb5f24f7075ead24b83b854b1d943 - Download zlib/1.3:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download Installing (downloading, building) binaries... zlib/1.3: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.3: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 zlib/1.3: Downloaded package revision 98751ed6f42097e47a93892099b199c5 openssl/3.1.3: Retrieving package 288ceea1eccdb5f24f7075ead24b83b854b1d943 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/3.1.3: Package installed 288ceea1eccdb5f24f7075ead24b83b854b1d943 openssl/3.1.3: Downloaded package revision 6b2421de188674c857f8bf0bc23ce021 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK c-client/2007f: Configuring sources in /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/source/src c-client/2007f: c-client/2007f: Unzipping 8.1MB, this can take a while c-client/2007f: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK c-client/2007f: Copying sources to build folder c-client/2007f: Building your package in /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620 c-client/2007f: Generator txt created conanbuildinfo.txt c-client/2007f: Calling generate() 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------ > . "/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/build-release/conan/conanbuild.sh" && make slx IP=6 -j1 ----------------- make[1]: Entering directory '/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 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/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=6 EXTRASPECIALS='' BUILDTYPE=slx make[1]: Entering directory '/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src' make[2]: Entering directory '/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src' make[2]: 'ip6' is up to date. make[2]: Leaving directory '/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src' 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/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src/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/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src/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/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/include -I/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/include/openssl -DSSL_CERT_DIRECTORY=\"/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/certs\" -DSSL_KEY_DIRECTORY=\"/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/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/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src/c-client' make[2]: Leaving directory '/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src/c-client' echo slx > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' make[1]: Leaving directory '/home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/src' c-client/2007f: Package '3d8657d9f6be3e1a684aaa82f09f27e538b36620' built c-client/2007f: Build folder /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/build/3d8657d9f6be3e1a684aaa82f09f27e538b36620/build-release 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/prod-v1/bsr/23438/aebde/.conan/data/c-client/2007f/_/_/package/3d8657d9f6be3e1a684aaa82f09f27e538b36620 c-client/2007f: Calling package() c-client/2007f: Copied 1 '.txt' file: LICENSE.txt c-client/2007f: Copied 1 '.a' file: libc-client.a [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(): [STATIC ARTIFACTS (KB-H074)] OK [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] 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 [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK c-client/2007f package(): Packaged 1 '.txt' file: LICENSE.txt c-client/2007f package(): Packaged 1 '.a' file: libc-client.a c-client/2007f package(): Packaged 74 '.h' files c-client/2007f: Package '3d8657d9f6be3e1a684aaa82f09f27e538b36620' created c-client/2007f: Created package revision 4ca10a1e75f497d439e99ae6baaee55e [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 [HOOK - conan-center.py] post_package_info(): [INCLUDE PATH DOES NOT EXIST (KB-H071)] OK Aggregating env generators In file included from osdep.c:31:0: env_unix.c: In function ‘lock_work’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] #define flock safe_flock ^ env_unix.c:1374:27: note: in expansion of macro ‘flock’ 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: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] TLSv1_client_method () : ^ In file included from osdep.c:232:0: /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/include/openssl/ssl.h:2020:50: note: declared here OSSL_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: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] TLSv1_server_method () : ^ In file included from osdep.c:232:0: /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/include/openssl/ssl.h:2019:50: note: declared here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); ^ osdep.c:943:5: warning: ‘SSL_CTX_use_RSAPrivateKey_file’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] else if (!(SSL_CTX_use_RSAPrivateKey_file (stream->context,key, ^ In file included from osdep.c:232:0: /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/include/openssl/ssl.h:1700:12: note: declared here __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, ^ osdep.c: In function ‘ssl_genkey’: osdep.c:999:5: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { ^ In file included from /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/include/openssl/x509.h:36:0, from /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/include/openssl/ssl.h:31, from osdep.c:232: /home/conan/w/prod-v1/bsr/23438/aebde/.conan/data/openssl/3.1.3/_/_/package/288ceea1eccdb5f24f7075ead24b83b854b1d943/include/openssl/rsa.h:259:30: note: declared here OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void ^ In file included from auths.c:2:0, 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] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ In file included from osdep.c:51:0: 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] (ret = env_init (user,home))) chdir (myhomedir ()); ^ newsrc.c: In function ‘newsrc_state’: newsrc.c:468:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 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] read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); ^ 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] 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] 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] fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), ^ nntp.c: In function ‘nntp_header’: nntp.c:1100:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^ pop3.c: In function ‘pop3_header’: pop3.c:848:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = (unsigned char *) ^ unix.c: In function ‘unix_valid’: unix.c:231:2: warning: implicit declaration of function ‘utime’ [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ In file included from unix.c:46:0: unix.c: In function ‘unix_open’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] #define flock safe_flock ^ unix.c:530:5: note: in expansion of macro ‘flock’ 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] 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] 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] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ 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] 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] 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] 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] 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] 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] 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] 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] 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] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2629:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2640:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ ^ In file included from mbx.c:42:0: mbx.c: In function ‘mbx_isvalid’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] #define flock safe_flock ^ mbx.c:233:12: note: in expansion of macro ‘flock’ if (flock (fd,LOCK_SH) || ^ mbx.c:303:7: warning: implicit declaration of function ‘utime’ [-Wimplicit-function-declaration] utime (tmp,tp); /* set the times */ ^ mbx.c: In function ‘mbx_header’: mbx.c:709:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 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] 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] read (LOCAL->fd,LOCAL->buf,j); ^ mbx.c:1060:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] read (LOCAL->fd,LOCAL->buf,m); ^ mbx.c:1781:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ mmdf.c: In function ‘mmdf_isvalid’: mmdf.c:382:2: warning: implicit declaration of function ‘utime’ [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ In file included from mmdf.c:34:0: mmdf.c: In function ‘mmdf_open’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] #define flock safe_flock ^ mmdf.c:669:5: note: in expansion of macro ‘flock’ 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] 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] 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] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ 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] 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] 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] 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] 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] 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] 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] ftruncate (LOCAL->fd,LOCAL->filesize); ^ tenex.c: In function ‘tenex_isvalid’: tenex.c:206:2: warning: implicit declaration of function ‘utime’ [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ In file included from tenex.c:47:0: tenex.c: In function ‘tenex_rename’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] #define flock safe_flock ^ tenex.c:315:7: note: in expansion of macro ‘flock’ 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] 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] 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] 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] read (LOCAL->fd,LOCAL->buf,i); ^ tenex.c:629:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 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] 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] read (LOCAL->fd,LOCAL->buf,m); ^ tenex.c:917:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 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] read (LOCAL->fd,LOCAL->buf,j); ^ tenex.c:1016:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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’ [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ In file included from mtx.c:42:0: mtx.c: In function ‘mtx_rename’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] #define flock safe_flock ^ mtx.c:308:7: note: in expansion of macro ‘flock’ 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] 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] 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] read (LOCAL->fd,LOCAL->buf,m); ^ mtx.c:827:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 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] read (LOCAL->fd,LOCAL->buf,j); ^ mtx.c:926:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 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] 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] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:47:0, from news.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ news.c:370:48: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:47:0, from news.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ news.c: In function ‘news_valid’: news.c:161:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ mh.c:865:56: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ mh.c:939:17: warning: too many arguments for format [-Wformat-extra-args] 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] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ mh.c:1131:47: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ mh.c: In function ‘mh_setdate’: mh.c:1282:3: warning: implicit declaration of function ‘utime’ [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mh.c: In function ‘mh_path’: mh.c:251:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 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] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ mx.c:277:48: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ mx.c: In function ‘mx_rename’: mx.c:462:54: warning: passing argument 3 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ mx.c:462:64: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ mx.c: In function ‘mx_ping’: mx.c:731:51: warning: passing argument 3 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ mx.c:731:61: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ mx.c:803:17: warning: too many arguments for format [-Wformat-extra-args] sprintf (tmp,"Message copy to MX mailbox failed: %.80s", ^ In file included from mx.c:35:0: mx.c: In function ‘mx_lockindex’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] #define flock safe_flock ^ mx.c:1173:5: note: in expansion of macro ‘flock’ flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ ^ mx.c: In function ‘mx_setdate’: mx.c:1286:3: warning: implicit declaration of function ‘utime’ [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mx.c: In function ‘mx_header’: mx.c:636:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ mix.c:324:49: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ 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=] #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" ^ mix.c:420:16: note: in expansion of macro ‘MTAFMT’ fprintf (f,MTAFMT,now,0,now); ^ In file included from mix.c:33:0: mix.c: In function ‘mix_delete’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’ [-Wimplicit-function-declaration] #define flock safe_flock ^ mix.c:471:50: note: in expansion of macro ‘flock’ 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] for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ mix.c: In function ‘mix_expunge’: mix.c:1054:53: warning: passing argument 3 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ extern int scandir (const char *__restrict __dir, ^ mix.c:1054:64: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’ extern int scandir (const char *__restrict __dir, ^ 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=] #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^ mix.c:1393:25: note: in expansion of macro ‘MSRFMT’ sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ mix.c:69:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘int’ [-Wformat=] #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^ mix.c:1393:25: note: in expansion of macro ‘MSRFMT’ sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ 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=] #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^ mix.c:1550:27: note: in expansion of macro ‘MSRFMT’ sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ mix.c:69:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘int’ [-Wformat=] #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^ mix.c:1550:27: note: in expansion of macro ‘MSRFMT’ sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ 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=] #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^ mix.c:2237:15: note: in expansion of macro ‘IXRFMT’ sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); ^ mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘int’ [-Wformat=] #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^ mix.c:2237:15: note: in expansion of macro ‘IXRFMT’ sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); ^ mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘int’ [-Wformat=] #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^ mix.c:2237:15: note: in expansion of macro ‘IXRFMT’ sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); ^ mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 15 has type ‘int’ [-Wformat=] #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^ mix.c:2237:15: note: in expansion of macro ‘IXRFMT’ sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); ^ mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 16 has type ‘int’ [-Wformat=] #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^ mix.c:2237:15: note: in expansion of macro ‘IXRFMT’ sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); ^ mix.c:65:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 17 has type ‘int’ [-Wformat=] #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^ mix.c:2237:15: note: in expansion of macro ‘IXRFMT’ sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); ^ 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=] #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^ mix.c:2318:15: note: in expansion of macro ‘STRFMT’ sprintf (tmp,STRFMT,0,0,0,0); ^ mix.c:67:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=] #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^ mix.c:2318:15: note: in expansion of macro ‘STRFMT’ sprintf (tmp,STRFMT,0,0,0,0); ^ mix.c:67:16: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int’ [-Wformat=] #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^ mix.c:2318:15: note: in expansion of macro ‘STRFMT’ sprintf (tmp,STRFMT,0,0,0,0); ^ mix.c: In function ‘mix_copy’: mix.c:1477:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] ftruncate (fileno (idxf),sbuf.st_size); ^ mix.c:2288:16: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 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] ftruncate (fileno (statf),sbuf.st_size); ^ mix.c:2369:16: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 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] if (ret) ftruncate (fileno (f),ftell (f)); ^ c-client/2007f: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior c-client/2007f: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior