******************************************************************************** conan install c-client/2007f@#63f91443b6e39089435a64e11980dc9f --build=c-client -pr /home/conan/w/BuildSingleReference/85014/76098ca8-5fe7-42cc-ad64-29b0c25170e6/profile_linux_11_libstdcpp11_gcc_debug_64..txt ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/BuildSingleReference/.conan/profiles/default) Found gcc 11.1 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=11 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=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 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:180535f49e140de041d6ba03eae5b573fdfdb5ef - Build openssl/1.1.1m:be27726f9885116da1158027505be62e913cd585 - Download Installing (downloading, building) binaries... openssl/1.1.1m: Retrieving package be27726f9885116da1158027505be62e913cd585 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1m: Package installed be27726f9885116da1158027505be62e913cd585 openssl/1.1.1m: Downloaded package revision c0642eb3c66c965dfba5ddb5e6ef85ae [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/180535f49e140de041d6ba03eae5b573fdfdb5ef 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/180535f49e140de041d6ba03eae5b573fdfdb5ef' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 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/180535f49e140de041d6ba03eae5b573fdfdb5ef' 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/180535f49e140de041d6ba03eae5b573fdfdb5ef' make[2]: Entering directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/180535f49e140de041d6ba03eae5b573fdfdb5ef' make[2]: 'ip6' is up to date. make[2]: Leaving directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/180535f49e140de041d6ba03eae5b573fdfdb5ef' 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/180535f49e140de041d6ba03eae5b573fdfdb5ef/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/180535f49e140de041d6ba03eae5b573fdfdb5ef/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/be27726f9885116da1158027505be62e913cd585/include -I/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/include/openssl -DSSL_CERT_DIRECTORY=\"/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/certs\" -DSSL_KEY_DIRECTORY=\"/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/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/180535f49e140de041d6ba03eae5b573fdfdb5ef/c-client' make[2]: Leaving directory '/home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/180535f49e140de041d6ba03eae5b573fdfdb5ef/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/180535f49e140de041d6ba03eae5b573fdfdb5ef' c-client/2007f: Package '180535f49e140de041d6ba03eae5b573fdfdb5ef' built c-client/2007f: Build folder /home/conan/w/BuildSingleReference/.conan/data/c-client/2007f/_/_/build/180535f49e140de041d6ba03eae5b573fdfdb5ef 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/180535f49e140de041d6ba03eae5b573fdfdb5ef 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 '180535f49e140de041d6ba03eae5b573fdfdb5ef' created c-client/2007f: Created package revision 0a3a0ff39a6241509ace24b3b7b5d23c [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 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:40: 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/be27726f9885116da1158027505be62e913cd585/include/openssl/e_os2.h:13, from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/include/openssl/ssl.h:15, from osdep.c:232: /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/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/be27726f9885116da1158027505be62e913cd585/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/be27726f9885116da1158027505be62e913cd585/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:40: 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/be27726f9885116da1158027505be62e913cd585/include/openssl/e_os2.h:13, from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/include/openssl/ssl.h:15, from osdep.c:232: /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/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/be27726f9885116da1158027505be62e913cd585/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/be27726f9885116da1158027505be62e913cd585/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/be27726f9885116da1158027505be62e913cd585/include/openssl/e_os2.h:13, from /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/include/openssl/ssl.h:15, from osdep.c:232: /home/conan/w/BuildSingleReference/.conan/data/openssl/1.1.1m/_/_/package/be27726f9885116da1158027505be62e913cd585/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/be27726f9885116da1158027505be62e913cd585/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/be27726f9885116da1158027505be62e913cd585/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 | ^~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_valid': unix.c:231:9: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] 231 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from unix.c:46: unix.c: In function 'unix_open': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ unix.c:530:5: note: in expansion of macro 'flock' 530 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ | ^~~~~ In file included from mbx.c:42: mbx.c: In function 'mbx_isvalid': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mbx.c:233:19: note: in expansion of macro 'flock' 233 | if (flock (fd,LOCK_SH) || | ^~~~~ mbx.c:303:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 303 | utime (tmp,tp); /* set the times */ | ^~~~~ | utimes mmdf.c: In function 'mmdf_isvalid': mmdf.c:382:9: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] 382 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from mmdf.c:34: mmdf.c: In function 'mmdf_open': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mmdf.c:669:5: note: in expansion of macro 'flock' 669 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ | ^~~~~ tenex.c: In function 'tenex_isvalid': tenex.c:206:9: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] 206 | utime (file,tp); /* set the times */ | ^~~~~ | stime In file included from tenex.c:47: tenex.c: In function 'tenex_rename': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ tenex.c:315:7: note: in expansion of macro 'flock' 315 | if (flock (fd,LOCK_EX|LOCK_NB)) { | ^~~~~ mtx.c: In function 'mtx_isvalid': mtx.c:199:9: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 199 | utime (file,tp); /* set the times */ | ^~~~~ | utimes In file included from mtx.c:42: mtx.c: In function 'mtx_rename': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mtx.c:308:7: note: in expansion of macro 'flock' 308 | if (flock (fd,LOCK_EX|LOCK_NB)) { | ^~~~~ 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:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:257:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 257 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ 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:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:257:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 257 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_append': mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:257:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 257 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | 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 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:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:257:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 257 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | 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:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:257:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 257 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | 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:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:257:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 257 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ 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 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:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:257:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 257 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ 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:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:256:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 256 | 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:257:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 257 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~