<86>Dec 14 09:21:03 userdel[241246]: delete user 'rooter' <86>Dec 14 09:21:03 userdel[241246]: removed group 'rooter' owned by 'rooter' <86>Dec 14 09:21:03 userdel[241246]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 14 09:21:03 groupadd[241261]: group added to /etc/group: name=rooter, GID=1871 <86>Dec 14 09:21:03 groupadd[241261]: group added to /etc/gshadow: name=rooter <86>Dec 14 09:21:03 groupadd[241261]: new group: name=rooter, GID=1871 <86>Dec 14 09:21:03 useradd[241274]: new user: name=rooter, UID=1871, GID=1871, home=/root, shell=/bin/bash, from=none <86>Dec 14 09:21:03 userdel[241284]: delete user 'builder' <86>Dec 14 09:21:03 userdel[241284]: removed group 'builder' owned by 'builder' <86>Dec 14 09:21:03 userdel[241284]: removed shadow group 'builder' owned by 'builder' <86>Dec 14 09:21:03 groupadd[241297]: group added to /etc/group: name=builder, GID=1872 <86>Dec 14 09:21:03 groupadd[241297]: group added to /etc/gshadow: name=builder <86>Dec 14 09:21:03 groupadd[241297]: new group: name=builder, GID=1872 <86>Dec 14 09:21:03 useradd[241307]: new user: name=builder, UID=1872, GID=1872, home=/usr/src, shell=/bin/bash, from=none <13>Dec 14 09:21:06 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 14 09:21:06 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 14 09:21:06 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 14 09:21:06 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 14 09:21:06 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 14 09:21:06 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 14 09:21:06 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 14 09:21:06 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 14 09:21:06 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 14 09:21:06 rpmi: libssl-devel-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed warning: line 67: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl <13>Dec 14 09:21:08 rpmi: rpm-macros-pam0-1.7.0-alt1 sisyphus+349410.1200.7.1 1729774588 installed <13>Dec 14 09:21:08 rpmi: libpam0-devel-1.7.0-alt1 sisyphus+349410.1200.7.1 1729774591 installed warning: line 67: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/uw-imap-2010-alt1.1.nosrc.rpm (w1.gzdio) warning: line 67: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Installing uw-imap-2010-alt1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.38755 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + echo Using release number alt1.1 Using release number alt1.1 + cd /usr/src/RPM/BUILD + rm -rf imap-2010 + echo 'Source #0 (imap-2010.tar.bz2):' Source #0 (imap-2010.tar.bz2): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/imap-2010.tar.bz2 + /bin/tar -xf - + cd imap-2010 + /bin/chmod -c -Rf u+rwX,go-w . + ln -s . imap + tar jxvf /usr/src/RPM/SOURCES/imap-c-client-maildir.tar.bz2 imap/ imap/README.maildir imap/src/ imap/src/osdep/ imap/src/osdep/unix/ imap/src/osdep/unix/maildir.c imap/src/osdep/unix/maildir.h + echo 'Patch #1 (uw-imap-2007f-alt1-ALT-custom.patch):' Patch #1 (uw-imap-2007f-alt1-ALT-custom.patch): + /usr/bin/patch -p2 -b --suffix .ALT patching file Makefile Hunk #1 succeeded at 254 (offset 1 line). patching file src/imapd/imapd.8 patching file src/ipopd/ipopd.8 patching file src/osdep/unix/Makefile Hunk #1 succeeded at 98 (offset 2 lines). Hunk #2 succeeded at 499 (offset 2 lines). patching file src/osdep/unix/tcp_unix.c Hunk #1 succeeded at 358 (offset 10 lines). + echo 'Patch #2 (uw-imap-2001a-debian-portability.patch):' Patch #2 (uw-imap-2001a-debian-portability.patch): + /usr/bin/patch -p1 -b --suffix .deb-port patching file src/c-client/auth_md5.c Hunk #1 succeeded at 23 with fuzz 1 (offset 5 lines). + echo 'Patch #5 (imap-2007e-overflow.patch):' Patch #5 (imap-2007e-overflow.patch): + /usr/bin/patch -p1 -b --suffix .overflow patching file src/c-client/rfc822.c Hunk #1 succeeded at 391 (offset 7 lines). + echo 'Patch #10 (imap-2010-authmd5.patch):' Patch #10 (imap-2010-authmd5.patch): + /usr/bin/patch -p2 -b --suffix .authmd5 patching file src/c-client/auth_md5.c Hunk #1 succeeded at 40 (offset 1 line). + echo 'Patch #13 (imap-2010-poll.patch):' Patch #13 (imap-2010-poll.patch): + /usr/bin/patch -p2 -b --suffix .poll patching file src/osdep/unix/os_lnx.c patching file src/osdep/unix/os_slx.c patching file src/osdep/unix/tcp_unix.c + echo 'Patch #21 (1006_openssl1.1_autoverify.patch):' Patch #21 (1006_openssl1.1_autoverify.patch): + /usr/bin/patch -p1 patching file src/osdep/unix/ssl_unix.c Hunk #1 succeeded at 241 (offset 14 lines). Hunk #2 succeeded at 288 (offset 14 lines). Hunk #3 succeeded at 298 (offset 14 lines). Hunk #4 succeeded at 337 (offset 14 lines). Hunk #5 succeeded at 367 (offset 14 lines). + echo 'Patch #23 (uw-imap-2010-gcc14-fix.patch):' Patch #23 (uw-imap-2010-gcc14-fix.patch): + /usr/bin/patch -p2 patching file src/dmail/dmail.c patching file src/mlock/mlock.c patching file src/mtest/mtest.c patching file src/osdep/unix/mh.c patching file src/osdep/unix/mix.c patching file src/osdep/unix/mx.c patching file src/osdep/unix/news.c patching file src/osdep/unix/os_slx.h patching file src/tmail/tmail.c + /usr/bin/subst 's/^(char \*version = ".+)(";)/${1}alt$2/g' src/imapd/imapd.c src/ipopd/ipop2d.c src/ipopd/ipop3d.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38755 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2010 + echo -e 'y\ny' + make lnp IP=6 SSLTYPE=unix.nopwd EXTRADRIVERS= 'SPECIALS=MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLCERTS=/var/lib/ssl/certs' make: Entering directory '/usr/src/RPM/BUILD/imap-2010' make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2010' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2010' 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='-DDISABLE_POP_PROXY=1' EXTRALDFLAGS='' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd IP=6 EXTRASPECIALS='' BUILDTYPE=lnp make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2010' make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building with IPv6 support + + NOTE: Some versions of glibc have a bug in the getaddrinfo + call which does DNS name resolution. This bug causes host + names to be canonicalized incorrectly, as well as doing an + unnecessary and performance-sapping reverse DNS call. This + problem does not affect the IPv4 gethostbyname call. + + getaddrinfo works properly on Mac OS X and Windows. However, + the problem has been observed on some Linux systems. + + If you answer n to the following question the build will be + cancelled and you must rebuild. If you did not specify IPv6 + yourself, try adding IP6=4 to the make command line. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to build with IPv6 anyway? Type y or n please: OK, I will remember that you really want to build with IPv6. You will not see this message again. make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-DDISABLE_POP_PROXY=1'\ EXTRALDFLAGS=''\ EXTRADRIVERS=''\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=unix.nopwd IP=6\ MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLCERTS=/var/lib/ssl/certs make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010/c-client' make build EXTRACFLAGS='-DDISABLE_POP_PROXY=1' EXTRALDFLAGS='' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-pipe -frecord-gcc-switches -Wall -Wno-parentheses -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -DPIC -Wno-pointer-sign -fno-strict-aliasing" \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory '/usr/src/RPM/BUILD/imap-2010/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -pipe -frecord-gcc-switches -Wall -Wno-parentheses -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -DPIC -Wno-pointer-sign -fno-strict-aliasing '-DDISABLE_POP_PROXY=1' -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=\"\" -DLOCKPGM2=\"\" \ -DLOCKPGM3=\"\" > OSCFLAGS echo -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 ./drivers imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' fgrep: warning: fgrep is obsolescent; using grep -F 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/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/var/lib/ssl/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from osdep.c:51: tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1018:17: warning: unused variable 'sadrlen' [-Wunused-variable] 1018 | size_t adrlen,sadrlen,len; | ^~~~~~~ osdep.c: In function 'ssl_start_work': osdep.c:472:40: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 472 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:264: /usr/include/openssl/ssl.h:2025:50: note: declared here 2025 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ osdep.c:463:25: warning: unused variable 'scq' [-Wunused-variable] 463 | sslcertificatequery_t scq = | ^~~ osdep.c:462:19: warning: unused variable 'tmp' [-Wunused-variable] 462 | char *s,*t,*err,tmp[MAILTMPLEN]; | ^~~ osdep.c:462:15: warning: unused variable 'err' [-Wunused-variable] 462 | char *s,*t,*err,tmp[MAILTMPLEN]; | ^~~ osdep.c: In function 'ssl_server_init': osdep.c:967:40: warning: 'TLSv1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 967 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2024:50: note: declared here 2024 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); | ^~~~~~~~~~~~~~~~~~~ osdep.c:982:5: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 982 | else if (!(SSL_CTX_use_RSAPrivateKey_file (stream->context,key, | ^~~~ /usr/include/openssl/ssl.h:1705:12: note: declared here 1705 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:1038:5: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1038 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/x509v3.h:25, from osdep.c:263: /usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ osdep.c: At top level: osdep.c:311:14: warning: 'ssl_validate_cert' declared 'static' but never defined [-Wunused-function] 311 | static char *ssl_validate_cert (X509 *cert,char *host); | ^~~~~~~~~~~~~~~~~ In file included from auths.c:2, from env_unix.c:259, from osdep.c:48: 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] 195 | read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ env_unix.c: In function 'pw_login': env_unix.c:791:44: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 791 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ osdep.c: At top level: osdep.c:613:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] 613 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat) | ^~~~~~~~~~~~~~~~~~~~~ tcp_unix.c: In function 'tcp_name': tcp_unix.c:971:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] 971 | sprintf (tmp,"Reverse DNS resolution %s",adr); | ^~ ~~~ In file included from /usr/include/stdio.h:964, from osdep.c:29: In function 'sprintf', inlined from 'tcp_name' at tcp_unix.c:971:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tcp_unix.c: In function 'tcp_name': tcp_unix.c:979:42: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 979 | if (flag) sprintf (ret = tmp,"%s %s",t,adr); | ^ In function 'sprintf', inlined from 'tcp_name' at tcp_unix.c:979:17: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c mail.c: In function 'mail_search_string': mail.c:3814:16: warning: unused variable 'sc' [-Wunused-variable] 3814 | STRINGLIST **sc = st; | ^~ mail.c: In function 'mail_parse_set': mail.c:4157:26: warning: 'cur' may be used uninitialized [-Wmaybe-uninitialized] 4157 | else cur = cur->next = mail_newsearchset (); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ mail.c:4153:14: note: 'cur' was declared here 4153 | SEARCHSET *cur; | ^~~ `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function 'newsrc_state': newsrc.c:468:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 468 | fread (s,(size_t) 1,size,f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c utf8.c:111:39: warning: missing braces around initializer [-Wmissing-braces] 111 | static const CHARSET utf8_csvalid[] = { | ^ utf8.c:344:38: warning: missing braces around initializer [-Wmissing-braces] 344 | static const SCRIPT utf8_scvalid[] = { | ^ utf8.c: In function 'ucs4_decompose': utf8.c:2526:10: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 2526 | return ret; | ^~~ utf8.c:2420:22: note: 'ret' was declared here 2420 | unsigned long i,ix,ret; | ^~~ `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_append': dummy.c:726:23: warning: operation on 'ts' may be undefined [-Wsequence-point] 726 | if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_canonicalize': dummy.c:801:28: warning: value computed is not used [-Wunused-value] 801 | for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; | ^~~~ dummy.c: In function 'dummy_scan_contents': dummy.c:381:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 381 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_delete': dummy.c:521:48: warning: '%.80s' directive argument is null [-Wformat-overflow=] 521 | 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] 97 | 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] 67 | read (d->fd,s->chunk,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` rfc822.c rfc822.c: In function 'rfc822_output': rfc822.c:2354:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2354 | char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ | ^~~ `cat CCTYPE` -c `cat CFLAGS` nntp.c nntp.c: In function 'nntp_mail': nntp.c:1886:8: warning: unused variable 'retry' [-Wunused-variable] 1886 | long retry = NIL; | ^~~~~ nntp.c:1885:8: warning: unused variable 'error' [-Wunused-variable] 1885 | long error = NIL; | ^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:763:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 763 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 764 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1099:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1099 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1100 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1101 | (size_t) 1,(size_t) *size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c imap4r1.c: In function 'imap_manage': imap4r1.c:680:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] 680 | if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && | ^~ `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c: In function 'pop3_header': pop3.c:846:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 846 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 847 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 848 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function 'unix_expunge': unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable] 852 | MESSAGECACHE *elt = mail_elt (stream,i); | ^~~ unix.c: In function 'unix_append': unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable] 1037 | unsigned long uidlocation = 0; | ^~~~~~~~~~~ unix.c: In function 'unix_open': unix.c:519:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 519 | 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] 630 | 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] 640 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 641 | 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] 707 | 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] 956 | 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] 982 | 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] 1152 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_rewrite': unix.c:2139:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2139 | 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] 2239 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_extend': unix.c:2285:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2285 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:2611:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2611 | read (sfd,s = (char *) fs_get (size + 1),size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2621:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2621 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2629 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2640:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2640 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1749:48: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 1749 | sprintf (err,"Discarding bogus %s header in message %lu", | ^~ 1750 | (char *) tmp,elt->msgno); | ~~~ In file included from /usr/include/stdio.h:964, from unix.c:40: In function 'sprintf', inlined from 'unix_parse' at unix.c:1749:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 38 and 1070 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c mbx.c: In function 'mbx_header': mbx.c:709:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 709 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:965:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 965 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1046:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1046 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1060:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1060 | 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] 1195 | 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] 1269 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rewrite': mbx.c:1757:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1757 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1781:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1781 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from mbx.c:37: In function 'sprintf', inlined from 'mbx_read_flags' at mbx.c:1515:5: /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 8 may overlap destination object '_33' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'mbx_update_status' at mbx.c:1599:7: /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 8 may overlap destination object '_36' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function 'mmdf_expunge': mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable] 991 | MESSAGECACHE *elt = mail_elt (stream,i); | ^~~ mmdf.c: In function 'mmdf_append': mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable] 1173 | unsigned long uidlocation = 0; | ^~~~~~~~~~~ mmdf.c: In function 'mmdf_open': mmdf.c:658:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 658 | 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] 769 | 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] 779 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | 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] 846 | 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] 1091 | 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] 1118 | 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] 1288 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2302:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2302 | 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] 2385 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2431:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2431 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c: In function 'tenex_fast': tenex.c:516:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | 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] 567 | 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] 572 | 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] 614 | read (LOCAL->fd,LOCAL->buf,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:629:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 629 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:799:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 799 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:890:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 890 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:917:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 917 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_copy': tenex.c:1008:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1008 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1016:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1016 | 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] 1150 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1456:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1456 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c: In function 'mtx_header': mtx.c:515:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 515 | read (LOCAL->fd,LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:710:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 710 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:801:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 801 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:827:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 827 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_copy': mtx.c:918:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 918 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:926:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 926 | 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] 1053 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` news.c news.c: In function 'news_canonicalize': news.c:286:34: warning: value computed is not used [-Wunused-value] 286 | for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; | ^~~~ news.c: In function 'news_select': news.c:408:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 408 | char *s = name->d_name; | ^~~~ news.c: In function 'news_valid': news.c:161:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 161 | 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] 228 | 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] 317 | 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:936:24: warning: too many arguments for format [-Wformat-extra-args] 936 | sprintf (tmp,"Message copy to MH mailbox failed: %.80s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_append': mh.c:1099:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1099 | long i,size,last,nfiles; | ^~~~ mh.c: In function 'mh_select': mh.c:1197:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1197 | char *s = name->d_name; | ^~~~ mh.c: In function 'mh_canonicalize': mh.c:1261:34: warning: value computed is not used [-Wunused-value] 1261 | for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; | ^~~~ mh.c: In function 'mh_path': mh.c:248:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 248 | 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_create': mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] 348 | int fd; | ^~ mx.c: In function 'mx_ping': mx.c:803:24: warning: too many arguments for format [-Wformat-extra-args] 803 | sprintf (tmp,"Message copy to MX mailbox failed: %.80s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_copy': mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] 904 | unsigned long i,j,uid,uidv; | ^~~ mx.c: In function 'mx_select': mx.c:1116:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1116 | char *s = name->d_name; | ^~~~ mx.c: In function 'mx_header': mx.c:636:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 636 | 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] 1177 | 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] 1269 | ftruncate (LOCAL->fd,size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mix.c mix.c: In function 'mix_rselect': mix.c:590:30: warning: passing argument 1 of 'mix_dirfmttest' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 590 | return mix_dirfmttest (name->d_name); | ~~~~^~~~~~~~ mix.c:285:28: note: expected 'char *' but argument is of type 'const char *' 285 | long mix_dirfmttest (char *name) | ~~~~~~^~~~ mix.c: In function 'mix_header': mix.c:709:7: warning: unused variable 'fd' [-Wunused-variable] 709 | int fd; | ^~ mix.c: In function 'mix_text': mix.c:772:17: warning: unused variable 'i' [-Wunused-variable] 772 | unsigned long i; | ^ mix.c: In function 'mix_ping': mix.c:927:15: warning: unused variable 'sfd' [-Wunused-variable] 927 | int mfd,ifd,sfd; | ^~~ mix.c:927:11: warning: unused variable 'ifd' [-Wunused-variable] 927 | int mfd,ifd,sfd; | ^~~ mix.c:927:7: warning: unused variable 'mfd' [-Wunused-variable] 927 | int mfd,ifd,sfd; | ^~~ mix.c: In function 'mix_expunge': mix.c:1024:11: warning: unused variable 'sfd' [-Wunused-variable] 1024 | int ifd,sfd; | ^~~ mix.c:1024:7: warning: unused variable 'ifd' [-Wunused-variable] 1024 | int ifd,sfd; | ^~~ mix.c: In function 'mix_select': mix.c:1157:27: warning: passing argument 1 of 'mix_dirfmttest' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1157 | if (mix_dirfmttest (name->d_name)) { | ~~~~^~~~~~~~ mix.c:285:28: note: expected 'char *' but argument is of type 'const char *' 285 | long mix_dirfmttest (char *name) | ~~~~~~^~~~ mix.c:1158:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1158 | for (c = *(s = name->d_name + sizeof (MIXNAME) - 1); c && isxdigit (c); | ^ mix.c: In function 'mix_burp_check': mix.c:1340:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1340 | sprintf (tmp,"Unexpected short mix message file %.80s %lu < %lu", | ~~^ | | | long unsigned int | %u 1341 | file,size,set->last); | ~~~~ | | | size_t {aka unsigned int} mix.c: In function 'mix_copy': mix.c:1410:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] 1410 | unsigned long j,uid,uidv; | ^~~ mix.c: In function 'mix_append_msg': mix.c:1638:26: warning: unused variable 'hoff' [-Wunused-variable] 1638 | unsigned long i,j,k,uf,hoff; | ^~~~ mix.c:1638:17: warning: unused variable 'i' [-Wunused-variable] 1638 | unsigned long i,j,k,uf,hoff; | ^ mix.c: In function 'mix_sortcache_update': mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2705:20: note: in expansion of macro 'SCRFMT' 2705 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:71:34: note: format string is defined here 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2705:20: note: in expansion of macro 'SCRFMT' 2705 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:71:40: note: format string is defined here 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2705:20: note: in expansion of macro 'SCRFMT' 2705 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:71:46: note: format string is defined here 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2705:20: note: in expansion of macro 'SCRFMT' 2705 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:71:54: note: format string is defined here 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2705:20: note: in expansion of macro 'SCRFMT' 2705 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:71:60: note: format string is defined here 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c: In function 'mix_copy': mix.c:1482:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1482 | ftruncate (fd,size); /* revert file */ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_append': mix.c:1600:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1600 | ftruncate (fd,size); /* revert all writes to file*/ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_meta_update': mix.c:2223:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2223 | ftruncate (LOCAL->mfd,i); /* and tie off at that point */ | ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_index_update': mix.c:2271:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2271 | ftruncate (fileno (idxf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2304:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2304 | if (ret) ftruncate (fileno (idxf),ftell (idxf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_status_update': mix.c:2352:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2352 | ftruncate (fileno (statf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2386:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2386 | if (ret) ftruncate (fileno (statf),ftell (statf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_update': mix.c:2730:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2730 | if (ret) ftruncate (fileno (f),ftell (f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_open': mix.c:2673:8: warning: 'fd' may be used uninitialized [-Wmaybe-uninitialized] 2673 | else fchmod (fd,sbuf.st_mode); | ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2471:7: note: 'fd' was declared here 2471 | int fd,refwd; | ^~ 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 '/usr/src/RPM/BUILD/imap-2010/c-client' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c mtest.c: In function 'mm_login': mtest.c:717:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 717 | fgets (user,NETMAXUSER-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccjuTPIP.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2010/mtest/../c-client/osdep.c:350:(.text.startup+0x402): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010/mtest' cd ipopd;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010/ipopd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c ipop2d.c: In function 'c_fold': ipop2d.c:333:10: warning: unused variable 'mb' [-Wunused-variable] 333 | NETMBX mb; | ^~ ipop2d.c:332:9: warning: unused variable 's' [-Wunused-variable] 332 | char *s = NIL,tmp[2*TMPLEN]; | ^ ipop2d.c: In function 'mm_login': ipop2d.c:652:3: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 652 | strncpy (username,*mb->user ? mb->user : user,NETMAXUSER-1); | ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccBX0HAF.ltrans0.ltrans.o: in function `ssl_onceonlyinit.part.0': /usr/src/RPM/BUILD/imap-2010/ipopd/../c-client/osdep.c:350:(.text+0x8a5a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c ipop3d.c: In function 'pass_login': ipop3d.c:654:8: warning: unused variable 'tmp' [-Wunused-variable] 654 | char tmp[MAILTMPLEN]; | ^~~ ipop3d.c: In function 'mm_login': ipop3d.c:1019:3: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 1019 | strncpy (username,*mb->user ? mb->user : user,NETMAXUSER-1); | ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccFIZ5Ba.ltrans1.ltrans.o: in function `ssl_onceonlyinit.part.0': /usr/src/RPM/BUILD/imap-2010/ipopd/../c-client/osdep.c:350:(.text+0x7baa): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010/ipopd' cd imapd;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010/imapd' `cat ../c-client/CCTYPE` -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 imapd.c: In function 'main': imapd.c:384:3: warning: enumeration value 'OPEN' not handled in switch [-Wswitch] 384 | switch (state) { /* do this after the banner */ | ^~~~~~ imapd.c:384:3: warning: enumeration value 'LOGOUT' not handled in switch [-Wswitch] imapd.c: In function 'fetch_rfc822_text': imapd.c:3427:9: warning: unused variable 'f' [-Wunused-variable] 3427 | int f = mail_elt (stream,i)->seen; | ^ `cat ../c-client/CCTYPE` -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 ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccAlDa3A.ltrans2.ltrans.o: in function `ssl_onceonlyinit.part.0': /usr/src/RPM/BUILD/imap-2010/imapd/../c-client/osdep.c:350:(.text+0x785a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010/imapd' cd mailutil;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c mailutil.c: In function 'mbxcopy': mailutil.c:597:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 597 | fgets (tmp,MAILTMPLEN-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailutil.c: In function 'mm_login': mailutil.c:896:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 896 | fgets (username,NETMAXUSER-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccfDIhfa.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2010/mailutil/../c-client/osdep.c:350:(.text.startup+0x642): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010/mailutil' cd mlock;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:62:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | write (1,"?",1); /* indicate "impossible" failure */ | ^~~~~~~~~~~~~~~ mlock.c: In function 'main': mlock.c:96:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 96 | chdir (dir); | ^~~~~~~~~~~ mlock.c:165:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | write (1,"-",1); /* hard failure */ | ^~~~~~~~~~~~~~~ mlock.c:170:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 170 | write (1,"+",1); /* indicate that all is well */ | ^~~~~~~~~~~~~~~ mlock.c:171:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | read (0,tmp,1); /* read continue signal from parent */ | ^~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010/mlock' cd dmail;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dmail.c:27: /usr/include/ctype.h: In function 'main': /usr/include/ctype.h:207:1: error: nested function 'tolower' declared 'extern' 207 | __NTH (tolower (int __c)) | ^~~~~ /usr/include/ctype.h:207:1: error: static declaration of 'tolower' follows non-static declaration In file included from dmail.c:140: /usr/include/ctype.h:122:12: note: previous declaration of 'tolower' with type 'int(int)' 122 | extern int tolower (int __c) __THROW; | ^~~~~~~ /usr/include/ctype.h:213:1: error: nested function 'toupper' declared 'extern' 213 | __NTH (toupper (int __c)) | ^~~~~ /usr/include/ctype.h:213:1: error: static declaration of 'toupper' follows non-static declaration /usr/include/ctype.h:125:12: note: previous declaration of 'toupper' with type 'int(int)' 125 | extern int toupper (int __c) __THROW; | ^~~~~~~ dmail.c: In function 'file_string_setpos': dmail.c:121:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 121 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [: dmail.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010/dmail' cd tmail;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2010/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tmail.c:26: /usr/include/ctype.h: In function 'main': /usr/include/ctype.h:207:1: error: nested function 'tolower' declared 'extern' 207 | __NTH (tolower (int __c)) | ^~~~~ /usr/include/ctype.h:207:1: error: static declaration of 'tolower' follows non-static declaration In file included from tmail.c:137: /usr/include/ctype.h:122:12: note: previous declaration of 'tolower' with type 'int(int)' 122 | extern int tolower (int __c) __THROW; | ^~~~~~~ /usr/include/ctype.h:213:1: error: nested function 'toupper' declared 'extern' 213 | __NTH (toupper (int __c)) | ^~~~~ /usr/include/ctype.h:213:1: error: static declaration of 'toupper' follows non-static declaration /usr/include/ctype.h:125:12: note: previous declaration of 'toupper' with type 'int(int)' 125 | extern int toupper (int __c) __THROW; | ^~~~~~~ tmail.c: In function 'file_string_setpos': tmail.c:121:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 121 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [: tmail.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2010/tmail' make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2010' make: Leaving directory '/usr/src/RPM/BUILD/imap-2010' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.92964 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/uw-imap-buildroot + : + /bin/rm -rf -- /usr/src/tmp/uw-imap-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd imap-2010 + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/man/man8 + install -p -m644 src/imapd/imapd.8 src/ipopd/ipopd.8 /usr/src/tmp/uw-imap-buildroot/usr/share/man/man8 + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/sbin + install -p -m755 ipopd/ipop2d ipopd/ipop3d imapd/imapd /usr/src/tmp/uw-imap-buildroot/usr/sbin + ln -s imapd /usr/src/tmp/uw-imap-buildroot/usr/sbin/rimapd + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/lib + install -p -m0644 /usr/src/RPM/SOURCES/uw-imap-2001a-README.IMAPS.ALT README.IMAPS + rm -f docs/SSLBUILD.ssl + mv docs/internal.txt . + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./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_qn6.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 /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./src/osdep/tops-20/shortsym.h /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./c-client/c-client.a /usr/src/tmp/uw-imap-buildroot/usr/lib/libc-client.a + install -p -m640 -D /usr/src/RPM/SOURCES/imap.pamd /usr/src/tmp/uw-imap-buildroot/etc/pam.d/imap + install -p -m640 -D /usr/src/RPM/SOURCES/imap.pamd /usr/src/tmp/uw-imap-buildroot/etc/pam.d/pop + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-imap.xinetd + d=uw-imap + install -p -m640 -D /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-imap + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop3.xinetd + d=uw-pop3 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop3 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-simap.xinetd + d=uw-simap + install -p -m640 -D /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-simap + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-spop3.xinetd + d=uw-spop3 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-spop3 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop2.xinetd + d=uw-pop2 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop2 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-imaps.xinetd + d=uw-imaps + install -p -m640 -D /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-imaps + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop3s.xinetd + d=uw-pop3s + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop3s.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop3s + mkdir -p /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs + touch /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/imapd.pem /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/ipop3d.pem + chmod 600 /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/imapd.pem /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/ipop3d.pem + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/uw-imap-buildroot (auto) Verifying and fixing files in /usr/src/tmp/uw-imap-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/uw-imap-buildroot/ (default) Compressing files in /usr/src/tmp/uw-imap-buildroot (auto) Adjusting library links in /usr/src/tmp/uw-imap-buildroot ./usr/lib: (from :0) ./var/lib: (from :0) Verifying ELF objects in /usr/src/tmp/uw-imap-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/sbin/ipop2d: uses non-LFS functions: alphasort fcntl fopen fstat fstatfs ftruncate lseek lstat open readdir scandir stat tmpfile truncate verify-elf: WARNING: ./usr/sbin/ipop3d: uses non-LFS functions: alphasort fcntl fopen fstat fstatfs ftruncate lseek lstat open readdir scandir stat tmpfile truncate verify-elf: WARNING: ./usr/sbin/imapd: uses non-LFS functions: alphasort fcntl fopen fstat fstatfs ftruncate lseek lstat open readdir scandir stat tmpfile truncate Splitting links to aliased files under /{,s}bin in /usr/src/tmp/uw-imap-buildroot Processing files: uw-imap-2010-alt1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.68806 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2010 + DOCDIR=/usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + export DOCDIR + rm -rf /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + /bin/mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + cp -prL README LICENSE docs/BUILD docs/CONFIG docs/FAQ.html docs/FAQ.txt docs/IPv6.txt docs/RELNOTES docs/SSLBUILD docs/Y2K docs/bugs.txt docs/calendar.txt docs/commndmt.txt docs/drivers.txt docs/formats.txt docs/imaprc.txt docs/locking.txt docs/md5.txt docs/mixfmt.txt docs/naming.txt docs/rfc /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + cp -prL README.IMAPS /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2010 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tHr6kI find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9Vh9Cb find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8ncJEK find-scriptlet-requires: FINDPACKAGE-COMMANDS: install sh Finding Requires(postun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.z6eVYv Adding an insignificant disttag (z) to Conflicts: IMAPD > uw-imap:2010-alt1.1 Adding an insignificant disttag (z) to Conflicts: POP3D > uw-imap:2010-alt1.1 Provides: IMAPD = uw-imap:2010-alt1.1, POP3D = uw-imap:2010-alt1.1, pam0(imap), pam0(pop) Requires: /var/lib/ssl, pam >= 0.72-ipl11mdk, /etc/pam.d, /etc/xinetd.d, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libcrypto.so.3 >= set:qlvV2iqX0LvOCnBamVIMombfkGyJtHJ5eT8wcRamivVfJ7Itu2ld0ZmqlGgsQFf5, libcrypto.so.3(OPENSSL_3.0.0), libpam(substack), libpam.so.0 >= set:jg5sOFGjKLOi2JaZk, libpam.so.0(LIBPAM_1.0), libssl.so.3 >= set:nih50Zi27GZ8xMBfHG0vGyEZpl8NqTjDqFB88iiKgnQ7xHJZ0VDs1Z3qoBnqHHM2kOItFNXZabyMZbkXd03ShMeZfd0, libssl.so.3(OPENSSL_3.0.0), pam0(system-auth), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /var/lib/ssl, /bin/sh, coreutils, sh, /sbin/service Requires(postun): /bin/sh, /sbin/service Conflicts: IMAPD < uw-imap:2010-alt1.1, IMAPD > uw-imap:2010-alt1.1:z, POP3D < uw-imap:2010-alt1.1, POP3D > uw-imap:2010-alt1.1:z, courier-imap, cyrus-imapd Obsoletes: imap < 1:2001a-alt1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I4XKs3 Creating uw-imap-debuginfo package Processing files: uw-imap-devel-2010-alt1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.17880 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2010 + DOCDIR=/usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2010 + export DOCDIR + rm -rf /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2010 + /bin/mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2010 + cp -prL internal.txt /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2010 + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2010 + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2010 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pVdW41 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Fjsoke find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a32.h:39:10: fatal error: ustat.h: No such file or directory 39 | #include | ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a32.h: cpp failed, trying c++ mode i586-alt-linux-cpp: fatal error: cannot execute 'cc1plus': posix_spawnp: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a32.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a41.h:39:10: fatal error: ustat.h: No such file or directory 39 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a41.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a52.h:39:10: fatal error: ustat.h: No such file or directory 39 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a52.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_art.h:38:10: fatal error: ustat.h: No such file or directory 38 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_art.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_asv.h:38:10: fatal error: ustat.h: No such file or directory 38 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_asv.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h:35:10: fatal error: machine/endian.h: No such file or directory 35 | #include /* needed for htons() prototypes */ | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_drs.h:39:10: fatal error: ustat.h: No such file or directory 39 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_drs.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_hpp.h:40:10: fatal error: ustat.h: No such file or directory 40 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_hpp.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_isc.h:31:10: fatal error: sys/bsdtypes.h: No such file or directory 31 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_isc.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_mnt.h:38:10: fatal error: portlib.h: No such file or directory 38 | #include | ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_mnt.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_nxt.h:29:10: fatal error: libc.h: No such file or directory 29 | #include | ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_nxt.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_ptx.h:39:10: fatal error: stropts.h: No such file or directory 39 | #include /* needed in daemons */ | ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_ptx.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qn6.h:42:10: fatal error: ustat.h: No such file or directory 42 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qn6.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qnx.h:38:10: fatal error: /usr/include/unix.h: No such file or directory 38 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qnx.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sc5.h:40:10: fatal error: ustat.h: No such file or directory 40 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sc5.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sco.h:40:10: fatal error: ustat.h: No such file or directory 40 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sco.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sgi.h:39:10: fatal error: ustat.h: No such file or directory 39 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sgi.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_shp.h:40:10: fatal error: ustat.h: No such file or directory 40 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_shp.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv2.h:39:10: fatal error: ustat.h: No such file or directory 39 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv2.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv4.h:40:10: fatal error: ustat.h: No such file or directory 40 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv4.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_soln.h:40:10: fatal error: ustat.h: No such file or directory 40 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_soln.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_solo.h:40:10: fatal error: ustat.h: No such file or directory 40 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_solo.h: cpp failed Adding an insignificant disttag (z) to Conflicts: uw-imap > 2010-alt1.1 Provides: libc-client-devel = 2010-alt1.1 Conflicts: uw-imap < 2010-alt1.1, uw-imap > 2010-alt1.1:z Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fws9r3 Processing files: uw-imap-debuginfo-2010-alt1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uTdOHE find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rS0DmI find-requires: running scripts (debuginfo) Requires: uw-imap = 2010-alt1.1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcrypto.so.3), debug(libpam.so.0), debug(libssl.so.3) Adding to uw-imap-debuginfo a strict dependency on uw-imap Wrote: /usr/src/RPM/RPMS/i586/uw-imap-2010-alt1.1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/uw-imap-devel-2010-alt1.1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/uw-imap-debuginfo-2010-alt1.1.i586.rpm (w2.lzdio) 97.31user 10.88system 0:44.74elapsed 241%CPU (0avgtext+0avgdata 67708maxresident)k 0inputs+0outputs (0major+2095267minor)pagefaults 0swaps 3.65user 2.66system 0:55.16elapsed 11%CPU (0avgtext+0avgdata 131380maxresident)k 0inputs+0outputs (0major+266614minor)pagefaults 0swaps