<86>Dec 23 07:25:02 userdel[378716]: delete user 'rooter' <86>Dec 23 07:25:02 userdel[378716]: removed group 'rooter' owned by 'rooter' <86>Dec 23 07:25:02 userdel[378716]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 23 07:25:02 groupadd[378731]: group added to /etc/group: name=rooter, GID=1286 <86>Dec 23 07:25:02 groupadd[378731]: group added to /etc/gshadow: name=rooter <86>Dec 23 07:25:02 groupadd[378731]: new group: name=rooter, GID=1286 <86>Dec 23 07:25:02 useradd[378747]: new user: name=rooter, UID=1286, GID=1286, home=/root, shell=/bin/bash, from=none <86>Dec 23 07:25:02 userdel[378765]: delete user 'builder' <86>Dec 23 07:25:02 userdel[378765]: removed group 'builder' owned by 'builder' <86>Dec 23 07:25:02 userdel[378765]: removed shadow group 'builder' owned by 'builder' <86>Dec 23 07:25:02 groupadd[378783]: group added to /etc/group: name=builder, GID=1287 <86>Dec 23 07:25:02 groupadd[378783]: group added to /etc/gshadow: name=builder <86>Dec 23 07:25:02 groupadd[378783]: new group: name=builder, GID=1287 <86>Dec 23 07:25:02 useradd[378797]: new user: name=builder, UID=1287, GID=1287, home=/usr/src, shell=/bin/bash, from=none warning: line 64: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl sh: line 1: openssl-config: command not found sh: line 1: openssl-config: command not found sh: line 1: openssl-config: command not found sh: line 1: openssl-config: command not found sh: line 1: openssl-config: command not found sh: line 1: openssl-config: command not found sh: line 1: openssl-config: command not found <13>Dec 23 07:25:08 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Dec 23 07:25:08 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 23 07:25:08 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 23 07:25:08 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 23 07:25:09 rpmi: ca-certificates-2023.12.20-alt1 sisyphus+336902.300.1.1 1703105726 installed <13>Dec 23 07:25:09 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Dec 23 07:25:09 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Dec 23 07:25:09 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Dec 23 07:25:09 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Dec 23 07:25:09 rpmi: rpm-macros-pam0-1.5.3-alt1 sisyphus+320140.100.1.1 1683581440 installed <13>Dec 23 07:25:09 rpmi: libpam0-devel-1.5.3-alt1 sisyphus+320140.100.1.1 1683581446 installed <13>Dec 23 07:25:09 rpmi: libssl-devel-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed warning: line 64: 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-2007f-alt1.nosrc.rpm (w1.gzdio) warning: line 64: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Installing uw-imap-2007f-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.4093 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + echo Using release number alt1 Using release number alt1 + cd /usr/src/RPM/BUILD + rm -rf imap-2007f + echo 'Source #0 (imap-2007f.tar.bz2):' Source #0 (imap-2007f.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/imap-2007f.tar.bz2 + /bin/tar -xf - + cd imap-2007f + /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 patching file src/imapd/imapd.8 patching file src/ipopd/ipopd.8 patching file src/osdep/unix/Makefile patching file src/osdep/unix/tcp_unix.c + 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 26 with fuzz 1 (offset 8 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 + echo 'Patch #10 (imap-2007e-authmd5.patch):' Patch #10 (imap-2007e-authmd5.patch): + /usr/bin/patch -p1 -b --suffix .authmd5 patching file src/c-client/auth_md5.c Hunk #1 succeeded at 43 (offset 1 line). + echo 'Patch #13 (imap-2007e-poll.patch):' Patch #13 (imap-2007e-poll.patch): + /usr/bin/patch -p1 -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 + /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.98977 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2007f + 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-2007f' make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/usr/src/RPM/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='-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-2007f' make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 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-2007f' 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-2007f/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-2007f/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -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 /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from osdep.h:43, from osdep.c:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ env_unix.c: In function 'lock_work': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ env_unix.c:1374:27: note: in expansion of macro 'flock' 1374 | if (op & LOCK_NB) i = flock (fd,op); | ^~~~~ In file included from osdep.c:54: tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1000:17: warning: unused variable 'sadrlen' [-Wunused-variable] 1000 | size_t adrlen,sadrlen,len; | ^~~~~~~ osdep.c: In function 'ssl_start_work': osdep.c:460:40: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 460 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:268: /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:451:25: warning: unused variable 'scq' [-Wunused-variable] 451 | sslcertificatequery_t scq = | ^~~ osdep.c:450:19: warning: unused variable 'tmp' [-Wunused-variable] 450 | char *s,*t,*err,tmp[MAILTMPLEN]; | ^~~ osdep.c:450:15: warning: unused variable 'err' [-Wunused-variable] 450 | char *s,*t,*err,tmp[MAILTMPLEN]; | ^~~ osdep.c: In function 'ssl_server_init': osdep.c:955:40: warning: 'TLSv1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 955 | 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:970:5: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 970 | 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:1026:5: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1026 | 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:267: /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:299:14: warning: 'ssl_validate_cert' declared 'static' but never defined [-Wunused-function] 299 | static char *ssl_validate_cert (X509 *cert,char *host); | ^~~~~~~~~~~~~~~~~ In file included from auths.c:2, from env_unix.c:260, from osdep.c:51: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:196:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 196 | read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ env_unix.c: In function 'pw_login': env_unix.c:785:44: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 785 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ osdep.c: At top level: osdep.c:601:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] 601 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat) | ^~~~~~~~~~~~~~~~~~~~~ tcp_unix.c: In function 'tcp_name': tcp_unix.c:953:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] 953 | sprintf (tmp,"Reverse DNS resolution %s",adr); | ^~ ~~~ In file included from /usr/include/stdio.h:964, from osdep.c:32: In function 'sprintf', inlined from 'tcp_name' at tcp_unix.c:953: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:961:42: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 961 | if (flag) sprintf (ret = tmp,"%s %s",t,adr); | ^ In function 'sprintf', inlined from 'tcp_name' at tcp_unix.c:961: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:3806:16: warning: unused variable 'sc' [-Wunused-variable] 3806 | STRINGLIST **sc = st; | ^~ mail.c: In function 'mail_parse_set': mail.c:4149:26: warning: 'cur' may be used uninitialized [-Wmaybe-uninitialized] 4149 | else cur = cur->next = mail_newsearchset (); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ mail.c:4145:14: note: 'cur' was declared here 4145 | 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:114:39: warning: missing braces around initializer [-Wmissing-braces] 114 | static const CHARSET utf8_csvalid[] = { | ^ utf8.c:347:38: warning: missing braces around initializer [-Wmissing-braces] 347 | static const SCRIPT utf8_scvalid[] = { | ^ utf8.c: In function 'ucs4_decompose': utf8.c:2497:10: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 2497 | return ret; | ^~~ utf8.c:2391:22: note: 'ret' was declared here 2391 | 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:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point] 728 | if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_canonicalize': dummy.c:803:28: warning: value computed is not used [-Wunused-value] 803 | for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; | ^~~~ 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] 383 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_delete': dummy.c:523:48: warning: '%.80s' directive argument is null [-Wformat-overflow=] 523 | 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 In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from osdep.h:43, from fdstring.c:30: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2345:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2345 | 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:1887:8: warning: unused variable 'retry' [-Wunused-variable] 1887 | long retry = NIL; | ^~~~~ nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable] 1886 | long error = NIL; | ^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:764:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 764 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 765 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1100:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1100 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1101 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1102 | (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:681:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] 681 | if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && | ^~ `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] 848 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 849 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 850 | (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:9: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 231 | utime (file,tp); /* set the times */ | ^~~~~ | ctime In file included from unix.c:46: unix.c: In function 'unix_open': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ unix.c:530:5: note: in expansion of macro 'flock' 530 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ | ^~~~~ 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 In file included from mbx.c:42: mbx.c: In function 'mbx_isvalid': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mbx.c:233:19: note: in expansion of macro 'flock' 233 | if (flock (fd,LOCK_SH) || | ^~~~~ mbx.c:303:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 303 | utime (tmp,tp); /* set the times */ | ^~~~~ | utimes 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_isvalid': mmdf.c:382:9: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 382 | utime (file,tp); /* set the times */ | ^~~~~ | ctime In file included from mmdf.c:34: mmdf.c: In function 'mmdf_open': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mmdf.c:669:5: note: in expansion of macro 'flock' 669 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ | ^~~~~ 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_isvalid': tenex.c:206:9: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 206 | utime (file,tp); /* set the times */ | ^~~~~ | ctime In file included from tenex.c:47: tenex.c: In function 'tenex_rename': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ tenex.c:315:7: note: in expansion of macro 'flock' 315 | if (flock (fd,LOCK_EX|LOCK_NB)) { | ^~~~~ 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_isvalid': mtx.c:199:9: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 199 | utime (file,tp); /* set the times */ | ^~~~~ | utimes In file included from mtx.c:42: mtx.c: In function 'mtx_rename': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mtx.c:308:7: note: in expansion of macro 'flock' 308 | if (flock (fd,LOCK_EX|LOCK_NB)) { | ^~~~~ 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_open': news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:260:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 260 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | 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] 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:865:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 865 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:865:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 865 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:260:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 260 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:939:24: warning: too many arguments for format [-Wformat-extra-args] 939 | 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] 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:260:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 260 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1102 | long i,size,last,nfiles; | ^~~~ mh.c: In function 'mh_canonicalize': mh.c:1264:34: warning: value computed is not used [-Wunused-value] 1264 | for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; | ^~~~ mh.c: In function 'mh_setdate': mh.c:1282:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 1282 | utime (file,tp); /* set the times */ | ^~~~~ | utimes mh.c: In function 'mh_path': mh.c:251:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 251 | 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] 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:260:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 260 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_create': mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] 348 | int fd; | ^~ mx.c: In function 'mx_rename': mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:260:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 260 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_ping': mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:260:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 260 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ 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_lockindex': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mx.c:1173:5: note: in expansion of macro 'flock' 1173 | flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ | ^~~~~ mx.c: In function 'mx_setdate': mx.c:1286:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 1286 | utime (file,tp); /* set the times */ | ^~~~~ | utimes 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_scan_contents': mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 324 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) | ^~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 324 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:260:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 260 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | 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=] 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:420:16: note: in expansion of macro 'MTAFMT' 420 | fprintf (f,MTAFMT,now,0,now); | ^~~~~~ mix.c:63:36: note: format string is defined here 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c: In function 'mix_delete': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mix.c:471:50: note: in expansion of macro 'flock' 471 | else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) | ^~~~~ mix.c: In function 'mix_rename': mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 556 | for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); | ^~~~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_header': mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable] 711 | int fd; | ^~ mix.c: In function 'mix_text': mix.c:774:17: warning: unused variable 'i' [-Wunused-variable] 774 | unsigned long i; | ^ mix.c: In function 'mix_ping': mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable] 929 | int mfd,ifd,sfd; | ^~~ mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable] 929 | int mfd,ifd,sfd; | ^~~ mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable] 929 | int mfd,ifd,sfd; | ^~~ mix.c: In function 'mix_expunge': mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1054 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); | ^~~~~~~~~~ | | | int (*)(struct dirent *) /usr/include/dirent.h:259:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 259 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1054 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) /usr/include/dirent.h:260:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 260 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable] 1026 | int ifd,sfd; | ^~~ mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable] 1026 | int ifd,sfd; | ^~~ mix.c: In function 'mix_burp': mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable] 1219 | void *s; | ^ mix.c: In function 'mix_burp_check': mix.c:1336:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1336 | sprintf (tmp,"Unexpected short mix message file %.80s %lu < %lu", | ~~^ | | | long unsigned int | %u 1337 | file,size,set->last); | ~~~~ | | | size_t {aka unsigned int} 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=] 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1393:25: note: in expansion of macro 'MSRFMT' 1393 | sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); | ^~~~~~ mix.c:69:23: note: format string is defined here 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1393:25: note: in expansion of macro 'MSRFMT' 1393 | sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); | ^~~~~~ mix.c:69:64: note: format string is defined here 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] 1405 | unsigned long j,uid,uidv; | ^~~ 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=] 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1550:27: note: in expansion of macro 'MSRFMT' 1550 | sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); | ^~~~~~ mix.c:69:23: note: format string is defined here 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1550:27: note: in expansion of macro 'MSRFMT' 1550 | sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); | ^~~~~~ mix.c:69:64: note: format string is defined here 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c: In function 'mix_append_msg': mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable] 1632 | unsigned long i,j,k,uf,hoff; | ^~~~ mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable] 1632 | unsigned long i,j,k,uf,hoff; | ^ 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=] 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2237:22: note: in expansion of macro 'IXRFMT' 2237 | sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); | ^~~~~~ mix.c:65:22: note: format string is defined here 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=] 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2237:22: note: in expansion of macro 'IXRFMT' 2237 | sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); | ^~~~~~ mix.c:65:63: note: format string is defined here 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2237:22: note: in expansion of macro 'IXRFMT' 2237 | sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); | ^~~~~~ mix.c:65:69: note: format string is defined here 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=] 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2237:22: note: in expansion of macro 'IXRFMT' 2237 | sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); | ^~~~~~ mix.c:65:75: note: format string is defined here 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=] 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2237:22: note: in expansion of macro 'IXRFMT' 2237 | sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); | ^~~~~~ mix.c:65:81: note: format string is defined here 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=] 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2237:22: note: in expansion of macro 'IXRFMT' 2237 | sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); | ^~~~~~ mix.c:65:87: note: format string is defined here 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x 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=] 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2318:22: note: in expansion of macro 'STRFMT' 2318 | sprintf (tmp,STRFMT,0,0,0,0); | ^~~~~~ mix.c:67:22: note: format string is defined here 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2318:22: note: in expansion of macro 'STRFMT' 2318 | sprintf (tmp,STRFMT,0,0,0,0); | ^~~~~~ mix.c:67:28: note: format string is defined here 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2318:22: note: in expansion of macro 'STRFMT' 2318 | sprintf (tmp,STRFMT,0,0,0,0); | ^~~~~~ mix.c:67:39: note: format string is defined here 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c: In function 'mix_sortcache_update': mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2672:20: note: in expansion of macro 'SCRFMT' 2672 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:73:34: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2672:20: note: in expansion of macro 'SCRFMT' 2672 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:73:40: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2672:20: note: in expansion of macro 'SCRFMT' 2672 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:73:46: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2672:20: note: in expansion of macro 'SCRFMT' 2672 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:73:54: note: format string is defined here 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ~~~~^ | | | long unsigned int | %08x mix.c:73:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2672:20: note: in expansion of macro 'SCRFMT' 2672 | fprintf (f,SCRFMT,elt->private.uid,s->date, | ^~~~~~ mix.c:73:60: note: format string is defined here 73 | #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:1477:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1477 | ftruncate (fd,size); /* revert file */ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_append': mix.c:1594:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1594 | 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] 2209 | ftruncate (LOCAL->mfd,i); /* and tie off at that point */ | ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_index_update': mix.c:2255:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2255 | ftruncate (fileno (idxf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2288:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2288 | if (ret) ftruncate (fileno (idxf),ftell (idxf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_status_update': mix.c:2335:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2335 | ftruncate (fileno (statf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2369:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2369 | 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] 2697 | if (ret) ftruncate (fileno (f),ftell (f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_open': mix.c:2640:8: warning: 'fd' may be used uninitialized [-Wmaybe-uninitialized] 2640 | else fchmod (fd,sbuf.st_mode); | ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2438:7: note: 'fd' was declared here 2438 | 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-2007f/c-client' make[2]: Leaving directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/imap-2007f/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c mtest.c: In function 'prompt': mtest.c:598:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] 598 | gets (txt); | ^~~~ | fgets mtest.c: In function 'mm_login': mtest.c:708:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 708 | 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/ccKE9LNH.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2007f/mtest/mtest.c:598:(.text.startup+0x1f7): warning: the `gets' function is dangerous and should not be used. ld: /usr/src/tmp/ccKE9LNH.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2007f/mtest/../c-client/osdep.c:338:(.text.startup+0x3d2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2007f/mtest' cd ipopd;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2007f/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/ccWnEMLx.ltrans0.ltrans.o: in function `ssl_onceonlyinit.part.0': /usr/src/RPM/BUILD/imap-2007f/ipopd/../c-client/osdep.c:338:(.text+0x889a): 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/ccwVg5us.ltrans1.ltrans.o: in function `ssl_onceonlyinit.part.0': /usr/src/RPM/BUILD/imap-2007f/ipopd/../c-client/osdep.c:338:(.text+0x776a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2007f/ipopd' cd imapd;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2007f/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 'fetch_rfc822_text': imapd.c:3312:9: warning: unused variable 'f' [-Wunused-variable] 3312 | 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/ccIHUeGt.ltrans2.ltrans.o: in function `ssl_onceonlyinit.part.0': /usr/src/RPM/BUILD/imap-2007f/imapd/../c-client/osdep.c:338:(.text+0x767a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2007f/imapd' cd mailutil;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2007f/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:594:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 594 | 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] 893 | 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/ccSZ76N5.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2007f/mailutil/../c-client/osdep.c:338:(.text.startup+0x5e2): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2007f/mailutil' cd mlock;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2007f/mlock' `cat ../c-client/CCTYPE` `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] 60 | 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] 75 | if (!grp || (grp->gr_gid != getegid ())) | ^~~~~~~ | getgrgid mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 94 | chdir (dir); | ^~~~~ mlock.c:113:30: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 113 | if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) | ^~~~ mlock.c:43:1: note: 'time' is defined in header ''; did you forget to '#include '? 42 | #include +++ |+#include 43 | mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 114 | unlink (lock); /* time out lock if enough time has passed */ | ^~~~~~ mlock.c:123:30: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 123 | (unsigned long) getpid ()); | ^~~~~~ mlock.c:125:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] 125 | gethostname (hitch + len,MAXHOSTNAMELEN); | ^~~~~~~~~~~ | gethostbyname mlock.c:132:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 132 | close (ld); /* close the hitching-post */ | ^~~~~ | pclose mlock.c:138:11: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] 138 | i = link (hitch,lock) ? errno : 0; | ^~~~ mlock.c:161:20: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 161 | if (tries--) sleep (1); /* sleep 1 second and try again */ | ^~~~~ mlock.c:169:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 169 | read (0,tmp,1); /* read continue signal from parent */ | ^~~~ | fread `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2007f/mlock' cd dmail;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2007f/dmail' `cat ../c-client/CCTYPE` -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] 162 | if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); | ^~~~~~~ dmail.c:142:8: note: include '' or provide a declaration of 'isdigit' 141 | #include "linkage.c" +++ |+#include 142 | /* process all flags */ 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] 123 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmail.c: In function 'delivery_unsafe': dmail.c:443:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 443 | sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmail.c:421:11: note: 'type' was declared here 421 | u_short type; | ^~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ../c-client/osdep.h:43, from ../c-client/c-client.h:42, from dquota.c:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccnugCPS.ltrans0.ltrans.o: in function `.L1584': /usr/src/RPM/BUILD/imap-2007f/dmail/../c-client/osdep.c:338:(.text.startup+0x50d): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2007f/dmail' cd tmail;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2007f/tmail' `cat ../c-client/CCTYPE` -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] 171 | if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); | ^~~~~~~ tmail.c:140:8: note: include '' or provide a declaration of 'isdigit' 139 | #include "linkage.c" +++ |+#include 140 | /* make sure have some arguments */ 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] 124 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmail.c: In function 'delivery_unsafe': tmail.c:564:5: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 564 | sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmail.c:539:11: note: 'type' was declared here 539 | u_short type; | ^~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ../c-client/osdep.h:43, from ../c-client/c-client.h:42, from tquota.c:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccUR02WN.ltrans0.ltrans.o: in function `.L2517': /usr/src/RPM/BUILD/imap-2007f/tmail/../c-client/osdep.c:338:(.text.startup+0x39a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2007f/tmail' make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2007f' make: Leaving directory '/usr/src/RPM/BUILD/imap-2007f' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.26750 + 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:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd imap-2007f + 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_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 ./var/lib: (from :0) ./usr/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/imapd: 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/ipop2d: uses non-LFS functions: alphasort fcntl fopen fstat fstatfs ftruncate lseek lstat open readdir scandir stat tmpfile truncate Processing files: uw-imap-2007f-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.86856 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2007f + DOCDIR=/usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2007f + export DOCDIR + rm -rf /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2007f + /bin/mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2007f + cp -prL README LICENSE LICENSE.txt 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/draft 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-2007f + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2007f + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2007f + cp -prL README.IMAPS /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2007f + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2007f + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2007f + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EhBpqa 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.dHvseg 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.LHTZeb 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.k5FazA Adding an insignificant disttag (z) to Conflicts: IMAPD > uw-imap:2007f-alt1 Adding an insignificant disttag (z) to Conflicts: POP3D > uw-imap:2007f-alt1 Provides: IMAPD = uw-imap:2007f-alt1, POP3D = uw-imap:2007f-alt1, 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:2007f-alt1, IMAPD > uw-imap:2007f-alt1:z, POP3D < uw-imap:2007f-alt1, POP3D > uw-imap:2007f-alt1: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.hbPUnq Creating uw-imap-debuginfo package Processing files: uw-imap-devel-2007f-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.41263 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2007f + DOCDIR=/usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2007f + export DOCDIR + rm -rf /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2007f + /bin/mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2007f + cp -prL internal.txt /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2007f + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2007f + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2007f + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kGfTMM 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.m0aJGx 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': execvp: 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_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 > 2007f-alt1 Provides: libc-client-devel = 2007f-alt1 Conflicts: uw-imap < 2007f-alt1, uw-imap > 2007f-alt1:z Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qKV2mj Processing files: uw-imap-debuginfo-2007f-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.d8tgRm find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QNttA0 find-requires: running scripts (debuginfo) Requires: uw-imap = 2007f-alt1, /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-2007f-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/uw-imap-devel-2007f-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/uw-imap-debuginfo-2007f-alt1.i586.rpm (w2.lzdio) 230.19user 13.50system 2:07.62elapsed 190%CPU (0avgtext+0avgdata 65120maxresident)k 0inputs+0outputs (0major+2404236minor)pagefaults 0swaps 7.32user 2.75system 2:23.41elapsed 7%CPU (0avgtext+0avgdata 124324maxresident)k 0inputs+0outputs (0major+200917minor)pagefaults 0swaps --- uw-imap-2007f-alt1.i586.rpm.repo 2023-07-29 23:38:09.000000000 +0000 +++ uw-imap-2007f-alt1.i586.rpm.hasher 2023-12-23 07:27:21.336520227 +0000 @@ -142,5 +142,5 @@ File: /etc/xinetd.d/uw-spop3 100640 root:root 7a69e44e68fa358d1a4c35993d16a825 -File: /usr/sbin/imapd 100755 root:root bf64026d219ae08ca4c6ffae0a371236 -File: /usr/sbin/ipop2d 100755 root:root 8fd652a79fe9b885de58cb5760a67188 -File: /usr/sbin/ipop3d 100755 root:root 86023eff9245de563bb1b0cfd8f620ea +File: /usr/sbin/imapd 100755 root:root da04158a8caae1a1c52aeb69bbf3eae5 +File: /usr/sbin/ipop2d 100755 root:root 83db38aa7c9e27ed2653611cab8d04b6 +File: /usr/sbin/ipop3d 100755 root:root 0fe146cfe53fecf57a1b1c3d22777414 File: /usr/sbin/rimapd 120777 root:root imapd @@ -222,2 +222,2 @@ File: /var/lib/ssl/certs/ipop3d.pem 100600 root:root -RPMIdentity: e2ae07ea0aa37c43c947e2357c2639de57ced54ab878509e7798ed4a0a5e3c8b630b4934e45134d5fac1a18482820fabf21ed6fd2c992b13bad3880ac193b6b5 +RPMIdentity: 2f328f6f4f71ce86bec25593baa6c7894c8c373ff433781be6c03595922cd093e8971cc69793520b777a830721e755ef8d9a8e29c2f41a4c9a8873f88732759e --- uw-imap-debuginfo-2007f-alt1.i586.rpm.repo 2023-07-29 23:38:08.000000000 +0000 +++ uw-imap-debuginfo-2007f-alt1.i586.rpm.hasher 2023-12-23 07:27:21.431519676 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/16 40755 root:root -/usr/lib/debug/.build-id/16/a2ac33d0a23db93acac304f01dc57f45ede9e4 120777 root:root ../../../../sbin/ipop2d -/usr/lib/debug/.build-id/16/a2ac33d0a23db93acac304f01dc57f45ede9e4.debug 120777 root:root ../../usr/sbin/ipop2d.debug -/usr/lib/debug/.build-id/2d 40755 root:root -/usr/lib/debug/.build-id/2d/468397ed70b676843fb2652fdf675115b58db8 120777 root:root ../../../../sbin/ipop3d -/usr/lib/debug/.build-id/2d/468397ed70b676843fb2652fdf675115b58db8.debug 120777 root:root ../../usr/sbin/ipop3d.debug -/usr/lib/debug/.build-id/b7 40755 root:root -/usr/lib/debug/.build-id/b7/564a938a37ea1b28ff302849177def95b4d90f 120777 root:root ../../../../sbin/imapd -/usr/lib/debug/.build-id/b7/564a938a37ea1b28ff302849177def95b4d90f.debug 120777 root:root ../../usr/sbin/imapd.debug +/usr/lib/debug/.build-id/2b 40755 root:root +/usr/lib/debug/.build-id/2b/5a9e8031be722a5511dcd58dc6fd8c0d16b634 120777 root:root ../../../../sbin/ipop3d +/usr/lib/debug/.build-id/2b/5a9e8031be722a5511dcd58dc6fd8c0d16b634.debug 120777 root:root ../../usr/sbin/ipop3d.debug +/usr/lib/debug/.build-id/4a 40755 root:root +/usr/lib/debug/.build-id/4a/a1b17e3caf81f482c6ce19169b4474b4bcf8d7 120777 root:root ../../../../sbin/imapd +/usr/lib/debug/.build-id/4a/a1b17e3caf81f482c6ce19169b4474b4bcf8d7.debug 120777 root:root ../../usr/sbin/imapd.debug +/usr/lib/debug/.build-id/d2 40755 root:root +/usr/lib/debug/.build-id/d2/3dfa432ff4337d13e6345b18a0145b0e800b5b 120777 root:root ../../../../sbin/ipop2d +/usr/lib/debug/.build-id/d2/3dfa432ff4337d13e6345b18a0145b0e800b5b.debug 120777 root:root ../../usr/sbin/ipop2d.debug /usr/lib/debug/usr/sbin/imapd.debug 100644 root:root @@ -114,14 +114,14 @@ Provides: uw-imap-debuginfo = 2007f-alt1:sisyphus+326048.2100.1.1 -File: /usr/lib/debug/.build-id/16 40755 root:root -File: /usr/lib/debug/.build-id/16/a2ac33d0a23db93acac304f01dc57f45ede9e4 120777 root:root ../../../../sbin/ipop2d -File: /usr/lib/debug/.build-id/16/a2ac33d0a23db93acac304f01dc57f45ede9e4.debug 120777 root:root ../../usr/sbin/ipop2d.debug -File: /usr/lib/debug/.build-id/2d 40755 root:root -File: /usr/lib/debug/.build-id/2d/468397ed70b676843fb2652fdf675115b58db8 120777 root:root ../../../../sbin/ipop3d -File: /usr/lib/debug/.build-id/2d/468397ed70b676843fb2652fdf675115b58db8.debug 120777 root:root ../../usr/sbin/ipop3d.debug -File: /usr/lib/debug/.build-id/b7 40755 root:root -File: /usr/lib/debug/.build-id/b7/564a938a37ea1b28ff302849177def95b4d90f 120777 root:root ../../../../sbin/imapd -File: /usr/lib/debug/.build-id/b7/564a938a37ea1b28ff302849177def95b4d90f.debug 120777 root:root ../../usr/sbin/imapd.debug -File: /usr/lib/debug/usr/sbin/imapd.debug 100644 root:root a20f1e5388bc189ff791f025972e6ba7 -File: /usr/lib/debug/usr/sbin/ipop2d.debug 100644 root:root 596d703a162b4b36f0de51da142b8125 -File: /usr/lib/debug/usr/sbin/ipop3d.debug 100644 root:root 999fa9efad3312c580419b2100fb3f23 +File: /usr/lib/debug/.build-id/2b 40755 root:root +File: /usr/lib/debug/.build-id/2b/5a9e8031be722a5511dcd58dc6fd8c0d16b634 120777 root:root ../../../../sbin/ipop3d +File: /usr/lib/debug/.build-id/2b/5a9e8031be722a5511dcd58dc6fd8c0d16b634.debug 120777 root:root ../../usr/sbin/ipop3d.debug +File: /usr/lib/debug/.build-id/4a 40755 root:root +File: /usr/lib/debug/.build-id/4a/a1b17e3caf81f482c6ce19169b4474b4bcf8d7 120777 root:root ../../../../sbin/imapd +File: /usr/lib/debug/.build-id/4a/a1b17e3caf81f482c6ce19169b4474b4bcf8d7.debug 120777 root:root ../../usr/sbin/imapd.debug +File: /usr/lib/debug/.build-id/d2 40755 root:root +File: /usr/lib/debug/.build-id/d2/3dfa432ff4337d13e6345b18a0145b0e800b5b 120777 root:root ../../../../sbin/ipop2d +File: /usr/lib/debug/.build-id/d2/3dfa432ff4337d13e6345b18a0145b0e800b5b.debug 120777 root:root ../../usr/sbin/ipop2d.debug +File: /usr/lib/debug/usr/sbin/imapd.debug 100644 root:root fc1589520981f07aa650ea2c3a82df5f +File: /usr/lib/debug/usr/sbin/ipop2d.debug 100644 root:root d182ca3afdfe8123ece7b4401d260073 +File: /usr/lib/debug/usr/sbin/ipop3d.debug 100644 root:root ad02961e049a92f698018387b1839157 File: /usr/lib/debug/usr/sbin/rimapd.debug 120777 root:root imapd.debug @@ -220,2 +220,2 @@ File: /usr/src/debug/imap-2007f/ipopd/ipop3d.c 100644 root:root 192fc19db8087c5a742e0a3c4e8d5f60 -RPMIdentity: 30de00b936078d48ae85cbc66d261d78e5d78474b4bd7f9c0959ca9a3bd5fbbfb361ab1e4ae8c828c01d5c0469098f2c5d2440d8bcbce36006d7c81c5acea369 +RPMIdentity: 3305745d64f02766a145ca4c740d1e047377e91c5a78d3e3c2003d8c74144bea4c96059035000cd77cff06a95175a8e18e2df8c5d147e0551f076b6c7fa8265b --- uw-imap-devel-2007f-alt1.i586.rpm.repo 2023-07-29 23:38:09.000000000 +0000 +++ uw-imap-devel-2007f-alt1.i586.rpm.hasher 2023-12-23 07:27:21.505519247 +0000 @@ -160,5 +160,5 @@ File: /usr/include/uw-imap/utf8aux.h 100644 root:root 0014dc6e430a3f3faa766c69219aa198 -File: /usr/lib/libc-client.a 100644 root:root f056b27835cb0a12264278b084902f89 +File: /usr/lib/libc-client.a 100644 root:root 6673a091f14b4c6d12e264dc64528168 File: /usr/share/doc/uw-imap-devel-2007f 40755 root:root File: /usr/share/doc/uw-imap-devel-2007f/internal.txt 100644 root:root 542b2665a336b3d576275d4a76678466 -RPMIdentity: 68583fc1875dbcaed17ff04bc0d7edf0229b2d18668638e5ae392acb8fdbc169f457283ec114f6db38f1712f210a72369b08cd61992f27984bdbe98c78054034 +RPMIdentity: e7abe75f7094468e1cc0612103a7d722b709a423796037d211e366127fa6cd8abaee22c471080f4f32333243dafa05bcc1b8b6b5d238650019ef1fbd70a1712e