Cook: c-client 2007f ================================================================================ QA: checking package receipt... QA: unable to reach "http://www.washington.edu/imap/" Checking build dependencies... Installing (pkg/local): openssl-dev-1.1.1d-i486 Installing (pkg/local): libkrb5support-1.15.1-i486 Installing (pkg/local): libcomerr3-1.15.1-i486 Installing (pkg/local): libkrb5-1.15.1-i486 Installing (pkg/local): krb5-1.15.1-i486 Installing (pkg/local): krb5-plugins-1.15.1-i486 Installing (pkg/local): krb5-clients-1.15.1-i486 Installing (pkg/local): krb5-user-1.15.1-i486 Installing (pkg/local): krb5-dev-1.15.1-i486 Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): pam-1.3.0-i486 Installing (pkg/local): db-6.2.32-i486 Installing (pkg/local): libdb-cxx-6.2.32-i486 Installing (pkg/local): db-dev-6.2.32-i486 Installing (pkg/local): libtirpc-dev-1.1.4-any Installing (pkg/local): pam-dev-1.3.0-any Extracting source archive "imap-2007f.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/c-client/source/c-client-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/c-client/source/c-client-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/c-client/source/c-client-2007f' make[2]: Entering directory '/home/slitaz/wok/c-client/source/c-client-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building with IPv4 support +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/home/slitaz/wok/c-client/source/c-client-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/c-client/source/c-client-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/c-client/source/c-client-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/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/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:1879: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:1878: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/c-client/source/c-client-2007f/c-client' make[2]: *** [Makefile:677: slx] Error 2 make[2]: Leaving directory '/home/slitaz/wok/c-client/source/c-client-2007f/c-client' make[1]: *** [Makefile:688: OSTYPE] Error 2 make[1]: Leaving directory '/home/slitaz/wok/c-client/source/c-client-2007f' make: *** [Makefile:311: slx] Error 2 cp: can't stat 'c-client/c-client.a': No such file or directory ================================================================================ Executing strip on all files... Done Time: 1.47s. Size: 104948 B -> 104948 B. Save: 0 KB. ================================================================================ Build dependencies to remove: 16 Removing: db db-dev krb5 krb5-clients krb5-dev krb5-plugins krb5-user libcomerr3 libdb libdb-cxx libkrb5 libkrb5support libtirpc-dev openssl-dev pam pam-dev Pack: c-client 2007f ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... any Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "c-client-2007f-any.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Failed Checking libtool in source/c-client-2007f... Done Checking site script in source/c-client-2007f... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: c-client 2007f ================================================================================ Src file : imap-2007f.tar.gz Src size : 1.9M Source dir : 10.2M Produced : 200.0K Cook time : 20s Cook date : 2020-07-07 05:40 Target arch : any -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 212.0K : 29.8K : 21 : c-client-2007f-any.tazpkg ================================================================================