request from: hawk checking if we should skip the build started at: Mon Feb 25 14:10:36 2019 fetching http://src.tld-linux.org/~buildertidev//srpms/a24cd6fc-a6a3-4255-8657-dd94f66f1eca/imap-2007f-7.src.rpm fetched 1972174 bytes, 46947.0 K/s installing srpm: imap-2007f-7.src.rpm + install -d /tmp/B.dUR9Dv/BUILD /tmp/B.dUR9Dv/RPMS + LC_ALL=en_US.UTF-8 + rpm -qp --changelog imap-2007f-7.src.rpm * Mon Feb 25 2019 TLD Linux - For complete changelog see: http://git.tld-linux.org/?p=packages/imap.git;a=log;h=0cdcd309ebbf84aca15b727f34da2e0fa46fe5c3 * Wed Sep 19 2018 Arkadiusz Miśkiewicz 0cdcd30 - rel 7; fix build with openssl 1.1.1 * Sat Sep 15 2018 Arkadiusz Miśkiewicz 4f2aa75 - release 6 (by relup.sh) * Mon Aug 06 2018 Jan Rękorajski 1640e95 - ustat.h has been removed in glibc 2.28 - rel 5 + rpm -Uhv --nodeps --define '_topdir /tmp/B.dUR9Dv' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' imap-2007f-7.src.rpm imap ################################################## + rm -f imap-2007f-7.src.rpm + install -m 700 -d /tmp/B.dUR9Dv/BUILD/tmp + TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp + exec nice -n 19 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.dUR9Dv' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-tld-linux --define 'prep exit 0' /tmp/B.dUR9Dv/imap.spec Building target platforms: x86_64-tld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: Building target platforms: x86_64-tld-linux no BR needed building RPM using: set -ex; : build-id: a24cd6fc-a6a3-4255-8657-dd94f66f1eca; TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j4' --define '_tld_builder 1' --define '_topdir /tmp/B.dUR9Dv' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-tld-linux /tmp/B.dUR9Dv/imap.spec + : build-id: a24cd6fc-a6a3-4255-8657-dd94f66f1eca + TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp + exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j4' --define '_tld_builder 1' --define '_topdir /tmp/B.dUR9Dv' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-tld-linux /tmp/B.dUR9Dv/imap.spec Building target platforms: x86_64-tld-linux Executing(%prep): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp /bin/sh -e /tmp/B.dUR9Dv/BUILD/tmp/rpm-tmp.75515 + umask 022 + cd /tmp/B.dUR9Dv/BUILD + cd /tmp/B.dUR9Dv/BUILD + rm -rf imap-2007f + /usr/bin/gzip -dc /tmp/B.dUR9Dv/imap-2007f.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd imap-2007f + /bin/id -u + '[' 10001 '=' 0 ']' + true . + /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (imap.patch):' Patch #0 (imap.patch): + ../INDEX.rfc + ls rfc1732.txt rfc1733.txt rfc2061.txt rfc2062.txt rfc2087.txt rfc2088.txt rfc2177.txt rfc2180.txt rfc2193.txt rfc2195.txt rfc2221.txt rfc2342.txt rfc2683.txt rfc2971.txt rfc3348.txt rfc3501.txt rfc3502.txt rfc3503.txt rfc3516.txt rfc3656.txt rfc3691.txt rfc4314.txt rfc4315.txt rfc4422.txt rfc4466.txt rfc4467.txt rfc4468.txt rfc4469.txt rfc4505.txt rfc4549.txt rfc4551.txt rfc4616.txt rfc4731.txt rfc4752.txt rfc4790.txt rfc4959.txt rfc4978.txt rfc5032.txt rfc5051.txt rfc5092.txt rfc5161.txt rfc5162.txt rfc5234.txt + cd ../.. + rm -rf docs/rfc docs/BUILD + exit 0 Executing(%build): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp /bin/sh -e /tmp/B.dUR9Dv/BUILD/tmp/rpm-tmp.75515 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp + umask 022 + cd /tmp/B.dUR9Dv/BUILD + cd imap-2007f + echo y + /usr/bin/make -j4 lnp 'CC=x86_64-tld-linux-gcc' 'GCCOPTLEVEL=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -pipe -fPIC' 'LDOPT=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 'SSLTYPE=unix' 'SSLCERTS=/var/lib/openssl/certs' 'SSLKEYS=/var/lib/openssl/private' 'VERSION=2007f' make[1]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in PARTIAL compliance with RFC 3501 security + requirements: + Compliant: ++ TLS/SSL encryption is supported + Non-compliant: ++ Unencrypted plaintext passwords are permitted + + In order to rectify this problem, you MUST build with: ++ SSLTYPE=unix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue this build anyway? Type y or n please: make[1]: Leaving directory '/tmp/B.dUR9Dv/BUILD/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=unix IP=4 EXTRASPECIALS='' BUILDTYPE=lnp make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building with IPv4 support +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS=''\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=unix IP=4\ make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=4 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool MAILSPOOL=/var/mail \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -pipe -fPIC -pipe" \ BASELDFLAGS="../c-client/c-client.a -lpam -ldl" make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE ARCHIVENAME *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo x86_64-tld-linux-gcc > CCTYPE echo -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -pipe -fPIC -pipe '' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/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 ../c-client/c-client.a -lpam -ldl > 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 echo c-client.a >ARCHIVENAME ./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_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/var/lib/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/var/lib/openssl/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS 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 osdep.c:31: env_unix.c: In function 'lock_work': osdep.h:47: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:30: warning: passing argument 1 of 'syslog' makes integer from pointer without a cast [-Wint-conversion] if (!logged++) syslog ("%s",LOG_ERR,tmp); ^~~~ In file included from /usr/include/sys/syslog.h:207, from /usr/include/syslog.h:1, from osdep.h:37, from osdep.c:31: /usr/include/bits/syslog.h:29:13: note: expected 'int' but argument is of type 'char *' syslog (int __pri, const char *__fmt, ...) ~~~~^~~~~ In file included from osdep.c:56: flocklnx.c:60:35: warning: passing argument 2 of 'syslog' makes pointer from integer without a cast [-Wint-conversion] if (!logged++) syslog ("%s",LOG_ERR,tmp); ^~~~~~~ In file included from /usr/include/sys/syslog.h:207, from /usr/include/syslog.h:1, from osdep.h:37, from osdep.c:31: /usr/include/bits/syslog.h:29:32: note: expected 'const char *' but argument is of type 'int' syslog (int __pri, const char *__fmt, ...) ~~~~~~~~~~~~^~~~~ osdep.c: In function 'ssl_start_work': osdep.c:459: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:266: /usr/include/openssl/ssl.h:1866:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~~ osdep.c:515:20: warning: too many arguments for format [-Wformat-extra-args] sprintf (tmp,"*%.255s",err,cert_name ? cert_name : "???"); ^~~~~~~~~ osdep.c: In function 'ssl_server_init': osdep.c:962: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:266: /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:1033: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:266: /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 ()); ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:53: tcp_unix.c: In function 'tcp_name': tcp_unix.c:979:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] sprintf (tmp,"Reverse DNS resolution %s",adr); ^~ ~~~ In file included from /usr/include/stdio.h:873, from osdep.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:53: tcp_unix.c:987:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] if (flag) sprintf (ret = tmp,"%s %s",t,adr); ^ In file included from /usr/include/stdio.h:873, from osdep.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c `cat CCTYPE` -c `cat CFLAGS` utf8aux.c `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_list_work': dummy.c:313:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (path,"%s/",tmp); ^ In file included from /usr/include/stdio.h:873, from dummy.c:30: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_delete': dummy.c:523:48: warning: '%.80s' directive argument is null [-Wformat-overflow=] sprintf (tmp,"Can't delete - invalid name: %.80s",s); ^~~~~ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c 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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) k,f); ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1100:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned char *) fs_get ((size_t) *size + 3), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) *size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` pop3.c 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 *) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs_get ((size_t) elt->private.msg.header.text.size + 1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) elt->private.msg.header.text.size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function 'unix_valid': unix.c:231:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime In file included from unix.c:46: unix.c: In function 'unix_open': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:707:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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 */ ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1749:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf (err,"Discarding bogus %s header in message %lu", ^~ (char *) tmp,elt->msgno); ~~~ In file included from /usr/include/stdio.h:873, from unix.c:40: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c In file included from mbx.c:42: mbx.c: In function 'mbx_isvalid': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (tmp,tp); /* set the times */ ^~~~~ utimes mbx.c: In function 'mbx_header': mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function 'mmdf_isvalid': mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime In file included from mmdf.c:34: mmdf.c: In function 'mmdf_open': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:846:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_parse': mmdf.c:1913:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf (err,"Discarding bogus %s header in message %lu", ^~ (char *) tmp,elt->msgno); ~~~ In file included from /usr/include/stdio.h:873, from mmdf.c:28: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c: In function 'tenex_isvalid': tenex.c:206:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime In file included from tenex.c:47: tenex.c: In function 'tenex_rename': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c: In function 'mtx_isvalid': mtx.c:199:2: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ utimes In file included from mtx.c:42: mtx.c: In function 'mtx_rename': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` news.c 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:34, from news.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from news.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_valid': news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` phile.c 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mh.c 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:34, from mh.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mh.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] utime (file,tp); /* set the times */ ^~~~~ utimes mh.c: In function 'mh_path': mh.c:251:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mx.c 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:34, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:34, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:34, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ 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: mx.c: In function 'mx_lockindex': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ utimes mx.c: In function 'mx_header': mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mix.c 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:34, from mix.c:33: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_create': mix.c:63:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:63:16: note: in definition of macro 'MTAFMT' #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mix.c:33: mix.c: In function 'mix_delete': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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:34, from mix.c:33: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 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] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^~~~~~~~~~ In file included from osdep.h:34, from mix.c:33: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_copy': mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:69:16: note: in definition of macro 'MSRFMT' #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sh -c 'rm -rf c-client.a || true' 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 make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mtest' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c mtest.c: In function 'prompt': mtest.c:622:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] gets (txt); ^~~~ fgets mtest.c: In function 'mm_login': mtest.c:744:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (user,NETMAXUSER-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5ec2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld: mtest.o: in function `smtptest': mtest.c:(.text+0x1951): warning: the `gets' function is dangerous and should not be used. make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mtest' cd ipopd;make make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/ipopd' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5ec2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5ec2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/ipopd' cd imapd;make make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/imapd' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5ec2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/imapd' cd mailutil;make make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mailutil' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c mailutil.c: In function 'mbxcopy': mailutil.c:594:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (tmp,MAILTMPLEN-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailutil.c: In function 'mm_login': mailutil.c:893:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (username,NETMAXUSER-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5ec2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mailutil' cd mlock;make || true make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mlock' x86_64-tld-linux-gcc `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:60:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write (1,"?",1); /* indicate "impossible" failure */ ^~~~~ fwrite mlock.c: In function 'main': mlock.c:75:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration] if (!grp || (grp->gr_gid != getegid ())) ^~~~~~~ getgrgid mlock.c:94:3: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] chdir (dir); ^~~~~ mkdir mlock.c:113:30: warning: implicit declaration of function 'time'; did you mean 'die'? [-Wimplicit-function-declaration] if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) ^~~~ die mlock.c:114:7: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink (lock); /* time out lock if enough time has passed */ ^~~~~~ unix mlock.c:123:23: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] (unsigned long) getpid ()); ^~~~~~ getenv mlock.c:125:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] gethostname (hitch + len,MAXHOSTNAMELEN); ^~~~~~~~~~~ gethostbyname mlock.c:132:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close (ld); /* close the hitching-post */ ^~~~~ pclose mlock.c:138:11: warning: implicit declaration of function 'link'; did you mean 'bind'? [-Wimplicit-function-declaration] i = link (hitch,lock) ? errno : 0; ^~~~ bind mlock.c:161:20: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] if (tries--) sleep (1); /* sleep 1 second and try again */ ^~~~~ strsep mlock.c:169:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] read (0,tmp,1); /* read continue signal from parent */ ^~~~ fread x86_64-tld-linux-gcc `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mlock' cd dmail;make || true make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/dmail' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c dmail.c: In function 'main': dmail.c:162:35: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^~~~~~~ dmail.c: In function 'file_string_setpos': dmail.c:123:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5ec2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/dmail' cd tmail;make || true make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/tmail' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c tmail.c: In function 'main': tmail.c:171:37: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^~~~~~~ tmail.c: In function 'file_string_setpos': tmail.c:124:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5ec2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/tmail' make[1]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' + mv -f c-client/c-client.a libc-client.a + /usr/bin/make -j4 clean Removing old processed sources and binaries... sh -c 'rm -rf an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true' cd tools;make clean make[1]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/tools' sh -c 'rm -f *.o uahelper || true' make[1]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/tools' + echo y + /usr/bin/make -j4 lnps 'CC=x86_64-tld-linux-gcc' 'GCCOPTLEVEL=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -pipe -fPIC' 'LDOPT=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 'SSLTYPE=unix' 'SSLCERTS=/var/lib/openssl/certs' 'SSLKEYS=/var/lib/openssl/private' 'VERSION=2007f' make[1]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in PARTIAL compliance with RFC 3501 security + requirements: + Compliant: ++ TLS/SSL encryption is supported + Non-compliant: ++ Unencrypted plaintext passwords are permitted + + In order to rectify this problem, you MUST build with: ++ SSLTYPE=unix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue this build anyway? Type y or n please: make[1]: Leaving directory '/tmp/B.dUR9Dv/BUILD/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=unix IP=4 EXTRASPECIALS='' BUILDTYPE=lnps make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building with IPv4 support +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' Building c-client for lnps... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnps EXTRACFLAGS=''\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=unix IP=4\ make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=4 `cat EXTRASPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool MAILSPOOL=/var/mail \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -pipe -fPIC -pipe" \ ARCHIVE="libc-client.so" \ BASELDFLAGS="-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L../c-client -lc-client -lpam -ldl -lc" \ ARRC="gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o" \ RANLIB=true /bin/sh: cat: EXTRASPECIALS: No such file or directory make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE ARCHIVENAME *FLAGS *TYPE libc-client.so || true' Once-only environment setup... echo x86_64-tld-linux-gcc > CCTYPE echo -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -pipe -fPIC -pipe '' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/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 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -L../c-client -lc-client -lpam -ldl -lc > LDFLAGS echo "gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so" > ARCHIVE echo lnx > OSTYPE echo libc-client.so >ARCHIVENAME ./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_lnx.h osdep.h ln -s os_lnx.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 lnx = sc5 -o lnx = 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_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/var/lib/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/var/lib/openssl/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS 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 lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from osdep.c:31: env_unix.c: In function 'lock_work': osdep.h:47: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:54: flocklnx.c: In function 'safe_flock': flocklnx.c:60:30: warning: passing argument 1 of 'syslog' makes integer from pointer without a cast [-Wint-conversion] if (!logged++) syslog ("%s",LOG_ERR,tmp); ^~~~ In file included from /usr/include/sys/syslog.h:207, from /usr/include/syslog.h:1, from osdep.h:37, from osdep.c:31: /usr/include/bits/syslog.h:29:13: note: expected 'int' but argument is of type 'char *' syslog (int __pri, const char *__fmt, ...) ~~~~^~~~~ In file included from osdep.c:54: flocklnx.c:60:35: warning: passing argument 2 of 'syslog' makes pointer from integer without a cast [-Wint-conversion] if (!logged++) syslog ("%s",LOG_ERR,tmp); ^~~~~~~ In file included from /usr/include/sys/syslog.h:207, from /usr/include/syslog.h:1, from osdep.h:37, from osdep.c:31: /usr/include/bits/syslog.h:29:32: note: expected 'const char *' but argument is of type 'int' syslog (int __pri, const char *__fmt, ...) ~~~~~~~~~~~~^~~~~ osdep.c: In function 'ssl_start_work': osdep.c:457: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:264: /usr/include/openssl/ssl.h:1866:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~~ osdep.c:513:20: warning: too many arguments for format [-Wformat-extra-args] sprintf (tmp,"*%.255s",err,cert_name ? cert_name : "???"); ^~~~~~~~~ osdep.c: In function 'ssl_server_init': osdep.c:960: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:264: /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:1031: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:264: /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:49: 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:49: 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 ()); ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:51: tcp_unix.c: In function 'tcp_name': tcp_unix.c:979:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] sprintf (tmp,"Reverse DNS resolution %s",adr); ^~ ~~~ In file included from /usr/include/stdio.h:873, from osdep.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:51: tcp_unix.c:987:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] if (flag) sprintf (ret = tmp,"%s %s",t,adr); ^ In file included from /usr/include/stdio.h:873, from osdep.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c `cat CCTYPE` -c `cat CFLAGS` utf8aux.c `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_list_work': dummy.c:313:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (path,"%s/",tmp); ^ In file included from /usr/include/stdio.h:873, from dummy.c:30: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_delete': dummy.c:523:48: warning: '%.80s' directive argument is null [-Wformat-overflow=] sprintf (tmp,"Can't delete - invalid name: %.80s",s); ^~~~~ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c 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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) k,f); ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1100:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned char *) fs_get ((size_t) *size + 3), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) *size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` pop3.c 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 *) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs_get ((size_t) elt->private.msg.header.text.size + 1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) elt->private.msg.header.text.size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function 'unix_valid': unix.c:231:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime In file included from unix.c:46: unix.c: In function 'unix_open': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:707:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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 */ ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1749:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf (err,"Discarding bogus %s header in message %lu", ^~ (char *) tmp,elt->msgno); ~~~ In file included from /usr/include/stdio.h:873, from unix.c:40: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c In file included from mbx.c:42: mbx.c: In function 'mbx_isvalid': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (tmp,tp); /* set the times */ ^~~~~ utimes mbx.c: In function 'mbx_header': mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function 'mmdf_isvalid': mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime In file included from mmdf.c:34: mmdf.c: In function 'mmdf_open': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:846:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_parse': mmdf.c:1913:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf (err,"Discarding bogus %s header in message %lu", ^~ (char *) tmp,elt->msgno); ~~~ In file included from /usr/include/stdio.h:873, from mmdf.c:28: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c: In function 'tenex_isvalid': tenex.c:206:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime In file included from tenex.c:47: tenex.c: In function 'tenex_rename': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c: In function 'mtx_isvalid': mtx.c:199:2: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ utimes In file included from mtx.c:42: mtx.c: In function 'mtx_rename': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` news.c 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:34, from news.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from news.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_valid': news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` phile.c 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mh.c 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:34, from mh.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mh.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] utime (file,tp); /* set the times */ ^~~~~ utimes mh.c: In function 'mh_path': mh.c:251:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mx.c 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:34, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:34, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:34, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ 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: mx.c: In function 'mx_lockindex': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ utimes mx.c: In function 'mx_header': mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mix.c 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:34, from mix.c:33: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_create': mix.c:63:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:63:16: note: in definition of macro 'MTAFMT' #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mix.c:33: mix.c: In function 'mix_delete': osdep.h:47:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-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:34, from mix.c:33: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 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] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^~~~~~~~~~ In file included from osdep.h:34, from mix.c:33: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:34, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_copy': mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:69:16: note: in definition of macro 'MSRFMT' #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sh -c 'rm -rf libc-client.so || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' echo lnps > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mtest' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c mtest.c: In function 'prompt': mtest.c:622:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] gets (txt); ^~~~ fgets mtest.c: In function 'mm_login': mtest.c:744:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (user,NETMAXUSER-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: mtest.o: in function `smtptest': mtest.c:(.text+0x1951): warning: the `gets' function is dangerous and should not be used. /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mtest' cd ipopd;make make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/ipopd' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/ipopd' cd imapd;make make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/imapd' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/imapd' cd mailutil;make make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mailutil' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c mailutil.c: In function 'mbxcopy': mailutil.c:594:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (tmp,MAILTMPLEN-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailutil.c: In function 'mm_login': mailutil.c:893:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (username,NETMAXUSER-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mailutil' cd mlock;make || true make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mlock' x86_64-tld-linux-gcc `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:60:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write (1,"?",1); /* indicate "impossible" failure */ ^~~~~ fwrite mlock.c: In function 'main': mlock.c:75:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration] if (!grp || (grp->gr_gid != getegid ())) ^~~~~~~ getgrgid mlock.c:94:3: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] chdir (dir); ^~~~~ mkdir mlock.c:113:30: warning: implicit declaration of function 'time'; did you mean 'die'? [-Wimplicit-function-declaration] if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) ^~~~ die mlock.c:114:7: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink (lock); /* time out lock if enough time has passed */ ^~~~~~ unix mlock.c:123:23: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] (unsigned long) getpid ()); ^~~~~~ getenv mlock.c:125:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] gethostname (hitch + len,MAXHOSTNAMELEN); ^~~~~~~~~~~ gethostbyname mlock.c:132:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close (ld); /* close the hitching-post */ ^~~~~ pclose mlock.c:138:11: warning: implicit declaration of function 'link'; did you mean 'bind'? [-Wimplicit-function-declaration] i = link (hitch,lock) ? errno : 0; ^~~~ bind mlock.c:161:20: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] if (tries--) sleep (1); /* sleep 1 second and try again */ ^~~~~ strsep mlock.c:169:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] read (0,tmp,1); /* read continue signal from parent */ ^~~~ fread x86_64-tld-linux-gcc `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/mlock' cd dmail;make || true make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/dmail' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c dmail.c: In function 'main': dmail.c:162:35: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^~~~~~~ dmail.c: In function 'file_string_setpos': dmail.c:123:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/dmail' cd tmail;make || true make[2]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/tmail' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' cd ../c-client;make make[3]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make all `cat SPECIALS` make[4]: Entering directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007f -lssl -lcrypto -lpam -ldl -lc -o libc-client.so 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;true libc-client.so /usr/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.9': osdep.c:(.text+0x5e62): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' make[3]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/c-client' x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c tmail.c: In function 'main': tmail.c:171:37: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^~~~~~~ tmail.c: In function 'file_string_setpos': tmail.c:124:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c x86_64-tld-linux-gcc -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o `cat ../c-client/LDFLAGS` /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc make[2]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f/tmail' make[1]: Leaving directory '/tmp/B.dUR9Dv/BUILD/imap-2007f' + exit 0 Executing(%install): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp /bin/sh -e /tmp/B.dUR9Dv/BUILD/tmp/rpm-tmp.63825 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp + umask 022 + cd /tmp/B.dUR9Dv/BUILD + /bin/rm '--interactive=never' -rf /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder + /bin/mkdir -p /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder + cd imap-2007f + rm -rf /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder + install -d /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/pam.d /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/security /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/sysconfig/rc-inetd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/sbin /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/bin /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/lib64 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/man/man1 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/man/man8 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/var/lib/openssl/certs + install src/ipopd/ipopd.8 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/man/man8/ipop2d.8 + install src/ipopd/ipopd.8 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/man/man8/ipop3d.8 + install src/imapd/imapd.8 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/man/man8/imapd.8 + install src/dmail/dmail.1 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/man/man1 + install src/mailutil/mailutil.1 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/man/man1 + install src/tmail/tmail.1 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/man/man1 + install c-client/c-client.h c-client/dummy.h c-client/env.h c-client/env_unix.h c-client/fdstring.h c-client/flockcyg.h c-client/flocksim.h c-client/flstring.h c-client/fs.h c-client/ftl.h c-client/imap4r1.h c-client/linkage.h c-client/mail.h c-client/misc.h c-client/netmsg.h c-client/newsrc.h c-client/nl.h c-client/nntp.h c-client/os_a32.h c-client/os_a41.h c-client/os_a52.h c-client/os_aix.h c-client/os_aos.h c-client/os_art.h c-client/os_asv.h c-client/os_aux.h c-client/os_bsd.h c-client/os_bsf.h c-client/os_bsi.h c-client/os_cvx.h c-client/os_cyg.h c-client/os_d-g.h c-client/os_do4.h c-client/os_drs.h c-client/os_dyn.h c-client/os_hpp.h c-client/os_isc.h c-client/os_lnx.h c-client/os_lyn.h c-client/os_mct.h c-client/os_mnt.h c-client/os_nto.h c-client/os_nxt.h c-client/os_os4.h c-client/os_osf.h c-client/os_osx.h c-client/os_ptx.h c-client/os_pyr.h c-client/os_qnx.h c-client/os_s40.h c-client/os_sc5.h c-client/os_sco.h c-client/os_sgi.h c-client/os_shp.h c-client/os_slx.h c-client/os_soln.h c-client/os_solo.h c-client/os_sos.h c-client/os_sua.h c-client/os_sun.h c-client/os_sv2.h c-client/os_sv4.h c-client/os_ult.h c-client/os_vu2.h c-client/osdep.h c-client/pseudo.h c-client/rfc822.h c-client/smtp.h c-client/sslio.h c-client/tcp.h c-client/tcp_unix.h c-client/unix.h c-client/utf8.h c-client/utf8aux.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap + install c-client/linkage.c /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap + install libc-client.a /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/lib64/libc-client.a + install c-client/libc-client.so /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/lib64/libc-client.so.2007f.0 + ln -sf libc-client.so.2007f.0 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/lib64/libc-client.so + rm -f /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/unix.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_a32.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_a41.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_a52.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_aix.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_aos.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_art.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_asv.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_aux.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_bsd.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_bsf.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_bsi.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_cvx.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_cyg.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_d-g.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_do4.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_drs.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_dyn.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_hpp.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_isc.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_lnx.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_lyn.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_mct.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_mnt.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_nto.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_nxt.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_os4.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_osf.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_osx.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_ptx.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_pyr.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_qnx.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_s40.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_sc5.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_sco.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_sgi.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_shp.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_slx.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_soln.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_solo.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_sos.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_sua.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_sun.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_sv2.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_sv4.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_ult.h /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/include/imap/os_vu2.h + install ipopd/ipop2d ipopd/ipop3d /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/sbin + install imapd/imapd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/sbin + install dmail/dmail /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/bin + install mailutil/mailutil /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/bin + install tmail/tmail /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/bin + install /tmp/B.dUR9Dv/imap.pamd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/pam.d/imap + install /tmp/B.dUR9Dv/imap-imapd.inetd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/sysconfig/rc-inetd/imapd + install /tmp/B.dUR9Dv/imap-pop2d.inetd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/sysconfig/rc-inetd/ipop2d + install /tmp/B.dUR9Dv/imap-pop3d.inetd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/sysconfig/rc-inetd/ipop3d + install /tmp/B.dUR9Dv/imap-imaps.inetd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/sysconfig/rc-inetd/imaps + install /tmp/B.dUR9Dv/imap-pop3s.inetd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/sysconfig/rc-inetd/ipop3s + install /tmp/B.dUR9Dv/imap-pop.pamd /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/pam.d/pop + install /tmp/B.dUR9Dv/shared-ssl-key.pem /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/var/lib/openssl/certs/imapd.pem + install /tmp/B.dUR9Dv/shared-ssl-key.pem /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/var/lib/openssl/certs/ipop3d.pem + /sbin/ldconfig -n /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/lib64 + touch /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/security/blacklist.pop3 /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/etc/security/blacklist.imap + __spec_install_post_strip + set +x Stripping 7 ELF executables...DONE Stripping 1 ar archives...DONE + __spec_install_post_chrpath + set +x Remove RPATH/RUNPATH from 7 executable binaries and shared object files. + __spec_install_post_check_so + set +x Searching for shared objects with unresolved symbols... Unresolved symbols found in: /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/lib64/libc-client.so.2007f.0 mm_status mm_expunged mm_log mm_diskerror mm_exists mm_flags mm_fatal mm_critical mm_lsub mm_list mm_login mm_notify mm_searched mm_nocritical mm_dlog Library marked with skip_post_check_so, ignoring errors. DONE + __spec_install_post_check_tmpfiles + set +x Checking /var/run <-> tmpfiles.d completeness... DONE + __spec_install_post_compress_docs + set +x Compress man pages: /usr/share/man + __spec_install_post_compress_modules + set +x + __spec_install_post_py_hardlink + set +x Processing files: imap-2007f-7 Provides: config(imap) = 1:2007f-7 imapdaemon Requires(interp): /bin/sh /bin/sh Requires(post): /bin/sh rc-inetd >= 0.8.1 Requires(postun): /bin/sh rc-inetd >= 0.8.1 Requires: libc-client.so.2007f()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Conflicts: courier-imap Obsoletes: imapdaemon Processing files: imap-pop2-2007f-7 Provides: config(imap-pop2) = 1:2007f-7 pop2daemon Requires(interp): /bin/sh /bin/sh Requires(post): /bin/sh rc-inetd >= 0.8.1 Requires(postun): /bin/sh rc-inetd >= 0.8.1 Requires: libc-client.so.2007f()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Obsoletes: pop2daemon Processing files: imap-pop3-2007f-7 Provides: config(imap-pop3) = 1:2007f-7 pop3daemon Requires(interp): /bin/sh /bin/sh Requires(post): /bin/sh rc-inetd >= 0.8.1 Requires(postun): /bin/sh rc-inetd >= 0.8.1 Requires: libc-client.so.2007f()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Conflicts: courier-imap-pop3 tpop3d Obsoletes: pop3daemon qpopper solid-pop3d Processing files: imap-common-2007f-7 Executing(%doc): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp /bin/sh -e /tmp/B.dUR9Dv/BUILD/tmp/rpm-tmp.53287 + umask 022 + cd /tmp/B.dUR9Dv/BUILD + cd imap-2007f + DOCDIR=/tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/doc/imap-common-2007f + export DOCDIR + rm -rf /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/doc/imap-common-2007f + /bin/mkdir -p /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/doc/imap-common-2007f + /usr/lib/rpm/compress-doc Compressing documentation in /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/doc/imap-common-2007f... Documentation compressed. + cp -pr README docs/CONFIG docs/FAQ.html docs/FAQ.txt docs/INDEX.rfc docs/IPv6.txt docs/RELNOTES docs/SSLBUILD docs/Y2K docs/bugs.txt docs/calendar.txt docs/commndmt.txt docs/draft docs/drivers.txt docs/formats.txt docs/imaprc.txt docs/internal.txt docs/locking.txt docs/md5.txt docs/mixfmt.txt docs/naming.txt /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/doc/imap-common-2007f + /usr/lib/rpm/compress-doc Compressing documentation in /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder/usr/share/doc/imap-common-2007f... ./bugs.txt ./README ./SSLBUILD ./INDEX.rfc ./md5.txt ./IPv6.txt ./FAQ.txt ./drivers.txt ./imaprc.txt ./formats.txt ./CONFIG ./naming.txt ./internal.txt ./RELNOTES ./Y2K ./draft/README ./draft/sort.txt ./draft/i18n.txt ./calendar.txt ./mixfmt.txt ./commndmt.txt ./locking.txt Documentation compressed. + exit 0 Provides: config(imap-common) = 1:2007f-7 Processing files: imap-devel-2007f-7 Processing files: imap-lib-2007f-7 Provides: libc-client.so.2007f()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Processing files: imap-static-2007f-7 Processing files: imap-utils-2007f-7 Requires: libc-client.so.2007f()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder Wrote: /tmp/B.dUR9Dv/RPMS/imap-2007f-7.x86_64.rpm Wrote: /tmp/B.dUR9Dv/RPMS/imap-pop2-2007f-7.x86_64.rpm Wrote: /tmp/B.dUR9Dv/RPMS/imap-pop3-2007f-7.x86_64.rpm Wrote: /tmp/B.dUR9Dv/RPMS/imap-common-2007f-7.x86_64.rpm Wrote: /tmp/B.dUR9Dv/RPMS/imap-devel-2007f-7.x86_64.rpm Wrote: /tmp/B.dUR9Dv/RPMS/imap-lib-2007f-7.x86_64.rpm Wrote: /tmp/B.dUR9Dv/RPMS/imap-static-2007f-7.x86_64.rpm Wrote: /tmp/B.dUR9Dv/RPMS/imap-utils-2007f-7.x86_64.rpm Executing(%clean): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.dUR9Dv/BUILD/tmp /bin/sh -e /tmp/B.dUR9Dv/BUILD/tmp/rpm-tmp.49546 + umask 022 + cd /tmp/B.dUR9Dv/BUILD + cd imap-2007f + /bin/rm '--interactive=never' -rf /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder + rm -rf /tmp/B.dUR9Dv/BUILD/tmp/imap-2007f-root-builder ended at: Mon Feb 25 14:11:06 2019, done in 0:00:29.039386 + chmod -R u+rwX /tmp/B.dUR9Dv/BUILD + rm -rf /tmp/B.dUR9Dv/tmp /tmp/B.dUR9Dv/BUILD copy rpm files to cache_dir: /spools/ready Creating pndir index of /spools/ready/ (type=dir)... Loading [pndir]previous /spools/ready/packages.ndir.gz... Loading [dir]/spools/ready/... Writing /spools/ready/packages.ndir.gz... Begin-TLD-Builder-Info upgrading packages End-TLD-Builder-Info + rm -rf /tmp/B.dUR9Dv Begin-TLD-Builder-Info Build-Time: user:27.17s sys:1.29s real:29.83s (faults io:0 non-io:974717) Files queued for ftp: 31992 imap-utils-2007f-7.x86_64.rpm 431805 imap-static-2007f-7.x86_64.rpm 411582 imap-lib-2007f-7.x86_64.rpm 35893 imap-devel-2007f-7.x86_64.rpm 213089 imap-common-2007f-7.x86_64.rpm 20478 imap-pop3-2007f-7.x86_64.rpm 15064 imap-pop2-2007f-7.x86_64.rpm 44434 imap-2007f-7.x86_64.rpm 348 imap-2007f-7.src.rpm.uploadinfo End-TLD-Builder-Info