Cook: mailsync 5.2.1 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): c-client-2007f-any Installing (pkg/local): openssl-dev-1.1.1a-i486 Extracting source archive "mailsync_5.2.1.orig.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed make[1]: Entering directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=slx make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f' make[2]: Entering directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building with IPv4 support +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f' 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=4\ make[2]: Entering directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f/c-client' You are building for libc6/glibc versions of Secure Linux If you want libc5 versions you must use sl5 instead! If you want libc4 versions you must use sl4 instead! make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[3]: Entering directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' 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 c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip4_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_psx.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -DSSL_CERT_DIRECTORY=\"/usr/local/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/usr/local/ssl/certs\" -I/usr/include/openssl >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/local/ssl/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 Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from osdep.c:31: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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'; did you mean 'mail_lock'? [-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); ^~~~~ In file included from osdep.c:56: flocklnx.c: In function 'safe_flock': flocklnx.c:60:38: warning: format not a string literal and no format arguments [-Wformat-security] if (!logged++) syslog (LOG_ERR,tmp); ^~~ osdep.c: In function 'ssl_start_work': osdep.c:424:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] TLSv1_client_method () : ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/ssl.h:1866:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~~ osdep.c:474:49: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} if (scq) return (*scq) (err,host,cert ? cert->name : "???") ? NIL : ""; ^~ osdep.c: In function 'ssl_server_init': osdep.c:907:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] TLSv1_server_method () : ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/ssl.h:1865:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:978:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:231: /usr/include/openssl/rsa.h:234:1: note: declared here 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:50: 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:50: 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 ()); ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:926: osdep.o] Error 1 make[3]: Leaving directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f/c-client' make[2]: *** [Makefile:677: slx] Error 2 make[2]: Leaving directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f/c-client' make[1]: *** [Makefile:688: OSTYPE] Error 2 make[1]: Leaving directory '/home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f' make: *** [Makefile:311: slx] Error 2 configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i486-slitaz-linux-g++ accepts -g... yes checking dependency style of i486-slitaz-linux-g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) awk checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for getpass... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strtoul... yes checking for crypt in -lcrypt... yes checking for connect... yes checking for gethostbyname... yes checking for libssl... found in /usr/lib checking for main in -lssl... yes checking for main in -lcrypto... yes checking for openssl/ssl.h... found in /usr/include checking for krb5-config... not found checking for pam library... not found checking for c-client.h... found in /home/slitaz/wok/mailsync/source/mailsync-5.2.1/imap-2007f/c-client checking for c-client library... not found configure: error: a working c-client installation is required for building mailsync Build dependencies to remove: 2 Removing: c-client openssl-dev Debug information ret1. ================================================================================ Cook date: 2018-12-27 07:06 Wasted time : 7s 136:osdep.c:474:49: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} 238:configure: error: a working c-client installation is required for building mailsync ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================