<86>Jun 16 02:05:02 userdel[146742]: delete user 'rooter' <86>Jun 16 02:05:02 userdel[146742]: removed group 'rooter' owned by 'rooter' <86>Jun 16 02:05:02 userdel[146742]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 16 02:05:02 groupadd[146761]: group added to /etc/group: name=rooter, GID=1799 <86>Jun 16 02:05:02 groupadd[146761]: group added to /etc/gshadow: name=rooter <86>Jun 16 02:05:02 groupadd[146761]: new group: name=rooter, GID=1799 <86>Jun 16 02:05:02 useradd[146775]: new user: name=rooter, UID=1799, GID=1799, home=/root, shell=/bin/bash <86>Jun 16 02:05:02 userdel[146801]: delete user 'builder' <86>Jun 16 02:05:02 userdel[146801]: removed group 'builder' owned by 'builder' <86>Jun 16 02:05:02 userdel[146801]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 02:05:02 groupadd[146815]: group added to /etc/group: name=builder, GID=1800 <86>Jun 16 02:05:02 groupadd[146815]: group added to /etc/gshadow: name=builder <86>Jun 16 02:05:02 groupadd[146815]: new group: name=builder, GID=1800 <86>Jun 16 02:05:02 useradd[146824]: new user: name=builder, UID=1800, GID=1800, home=/usr/src, shell=/bin/bash warning: line 64: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found <13>Jun 16 02:05:05 rpmi: libp11-kit-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 16 02:05:05 rpmi: libtasn1-4.19.0-alt1 p10+309071.100.2.1 1668522760 installed <13>Jun 16 02:05:05 rpmi: rpm-macros-alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 16 02:05:05 rpmi: alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 16 02:05:05 rpmi: ca-certificates-2022.09.15-alt1 p10+308004.100.2.1 1665748370 installed <13>Jun 16 02:05:05 rpmi: ca-trust-0.1.6-alt1 p10+344774.100.1.1 1712685728 installed <13>Jun 16 02:05:06 rpmi: p11-kit-trust-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 16 02:05:06 rpmi: libcrypto1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 02:05:06 rpmi: libssl1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 02:05:06 rpmi: rpm-macros-pam0-1.5.2-alt1 p10+284708.100.1.1 1630966651 installed <13>Jun 16 02:05:06 rpmi: libpam0-devel-1.5.2-alt1 p10+284708.100.1.1 1630966651 installed <13>Jun 16 02:05:06 rpmi: libssl-devel-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed warning: line 64: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Building target platforms: x86_64 Building for target x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.47212 + 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.83465 + 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/lib64 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/lib64 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 -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 -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' 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/lib64 -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from osdep.c:31: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from osdep.c:31: env_unix.c: In function 'lock_work': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-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:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] 460 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:267: /usr/include/openssl/ssl.h:1894:45: note: declared here 1894 | 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:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] 955 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:267: /usr/include/openssl/ssl.h:1893:45: note: declared here 1893 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:1026:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] 1026 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { | ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:267: /usr/include/openssl/rsa.h:235:1: note: declared here 235 | 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:51: env_unix.c: In function 'pw_login': env_unix.c:785:37: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 785 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:54: 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:866, from osdep.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:54: tcp_unix.c:961:42: warning: '__builtin___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 file included from /usr/include/stdio.h:866, from osdep.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __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 in this function [-Wmaybe-uninitialized] 4149 | else cur = cur->next = mail_newsearchset (); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function 'newsrc_state': newsrc.c:468:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 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 in this function [-Wmaybe-uninitialized] 2497 | return 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from dummy.c:30: In function 'sprintf', inlined from 'dummy_delete' at dummy.c:523:5: /usr/include/bits/stdio2.h:38:10: warning: '%.80s' directive argument is null [-Wformat-overflow=] 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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:25, from osdep.h:43, from fdstring.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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:2: 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:2: 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:4: 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:2: 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:2: 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:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2621 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2629 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2640:4: 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:34: 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:866, from unix.c:40: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c In file included from mbx.c:42: mbx.c: In function 'mbx_isvalid': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ mbx.c:233:12: 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:2: 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:4: 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:6: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function 'mmdf_isvalid': mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean '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:4: 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:2: 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:2: 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:4: 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:2: 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:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 890 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:917:2: 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:2: 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:2: 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:2: 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:2: 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:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 801 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:827:2: 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:2: 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:939:17: 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 *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from mh.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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 *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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 *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:803:17: 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; | ^~~ In file included from mx.c:35: 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:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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:63:16: note: in definition of macro 'MTAFMT' 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 In file included from mix.c:33: 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 *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | 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 *) In file included from osdep.h:47, from mix.c:33: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | 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_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:69:16: note: in definition of macro 'MSRFMT' 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:69:16: note: in definition of macro 'MSRFMT' 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:65:16: note: in definition of macro 'IXRFMT' 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:67:16: note: in definition of macro 'STRFMT' 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_copy': mix.c:1477:2: 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:4: 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:4: 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:4: 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 in this function [-Wmaybe-uninitialized] 2640 | else fchmod (fd,sbuf.st_mode); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2007f/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp' ld: mtest.o: in function `smtptest': /usr/src/RPM/BUILD/imap-2007f/mtest/mtest.c:782: warning: the `gets' function is dangerous and should not be used. 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]; | ^ In file included from /usr/include/string.h:532, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from ipop2d.c:36: In function 'strncpy', inlined from 'mm_login' at ipop2d.c:652:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2007f/c-client/osdep.c:338: 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]; | ^~~ In file included from /usr/include/string.h:532, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from ipop3d.c:35: In function 'strncpy', inlined from 'mm_login' at ipop3d.c:1019:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2007f/c-client/osdep.c:338: 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: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2007f/c-client/osdep.c:338: 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:2: 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: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2007f/c-client/osdep.c:338: 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: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:23: 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: 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 in this function [-Wmaybe-uninitialized] 443 | sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) 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:25, from ../c-client/osdep.h:43, from ../c-client/c-client.h:42, from dquota.c:29: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2007f/c-client/osdep.c:338: 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: 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 in this function [-Wmaybe-uninitialized] 564 | sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) 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:25, from ../c-client/osdep.h:43, from ../c-client/c-client.h:42, from tquota.c:29: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2007f/c-client/osdep.c:338: 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.91744 + 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/lib64 + 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/lib64/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/lib64: (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) Processing files: uw-imap-2007f-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.4472 + 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.Q9pHhv 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.XMRPat 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.RThSXu 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.oQtG7t 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, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libcrypto.so.1.1()(64bit) >= set:qlvV2iqX0LvOCnBamVIMombfkGyJtHJ5eT8wcRamivVfJ7Itu2ld0ZmqlGgsQFf5, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libpam(substack), libpam.so.0()(64bit) >= set:jg5sOFGjKLOi2JaZk, libpam.so.0(LIBPAM_1.0)(64bit), libssl.so.1.1()(64bit) >= set:mhh50mMzRSeAZABxxqb62vaWz6HYGs49iJpmflVEvb0o5ik9inXaUbSXRy8KvpXdUuoQi44SSoi6pxZHx4d1, libssl.so.1.1(OPENSSL_1_1_0)(64bit), 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.RqLLFv Creating uw-imap-debuginfo package Processing files: uw-imap-devel-2007f-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.91210 + 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.Jd4l1u 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.DKQolu 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 x86_64-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.R9stSs Processing files: uw-imap-debuginfo-2007f-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Zb0H1s find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.l7yRhs find-requires: running scripts (debuginfo) Requires: uw-imap = 2007f-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libpam.so.0), debug64(libssl.so.1.1) Adding to uw-imap-debuginfo a strict dependency on uw-imap Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-2007f-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-devel-2007f-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-debuginfo-2007f-alt1.x86_64.rpm (w2T16.xzdio) 18.61user 7.74system 0:31.23elapsed 84%CPU (0avgtext+0avgdata 82404maxresident)k 0inputs+0outputs (0major+1395831minor)pagefaults 0swaps 3.32user 2.55system 0:40.83elapsed 14%CPU (0avgtext+0avgdata 128812maxresident)k 0inputs+0outputs (0major+201745minor)pagefaults 0swaps --- uw-imap-2007f-alt1.x86_64.rpm.repo 2023-06-20 17:27:41.000000000 +0000 +++ uw-imap-2007f-alt1.x86_64.rpm.hasher 2024-06-16 02:05:40.159637517 +0000 @@ -138,5 +138,5 @@ File: /etc/xinetd.d/uw-spop3 100640 root:root 7a69e44e68fa358d1a4c35993d16a825 -File: /usr/sbin/imapd 100755 root:root 83c7ea06454bc22ac4cf15f85abbbab6 -File: /usr/sbin/ipop2d 100755 root:root 0770e907d29bbdba324b139cdf5889c1 -File: /usr/sbin/ipop3d 100755 root:root 8200852f70e4a698be43b9806567c04d +File: /usr/sbin/imapd 100755 root:root 637c8819147bd32d2e3d0c9315022560 +File: /usr/sbin/ipop2d 100755 root:root 846d980d6a54b7771860c0e9f0e10177 +File: /usr/sbin/ipop3d 100755 root:root 364d741bf36372a7ad0542e713c64d1a File: /usr/sbin/rimapd 120777 root:root imapd @@ -218,2 +218,2 @@ File: /var/lib/ssl/certs/ipop3d.pem 100600 root:root -RPMIdentity: 113d7726de6a62beeb289e282bcd773639069d4a0ed5f8d53fe9b8ef978b15cd35769bae11a7ff76c73174d8e27c117f6678cd8f003534b071fb911f4f1a31cd +RPMIdentity: e32fd62c3843d266803eeb8e2ab2e18effcd99fddb92503e191eddfd48d120502d30b77f83e941af65d0cb5ee5b85df7717176938b798cca7afebfd6da594375 --- uw-imap-debuginfo-2007f-alt1.x86_64.rpm.repo 2023-06-20 17:27:41.000000000 +0000 +++ uw-imap-debuginfo-2007f-alt1.x86_64.rpm.hasher 2024-06-16 02:05:40.236638535 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/0a 40755 root:root -/usr/lib/debug/.build-id/0a/94a2a0a7c0088ce0968ca9741ae07032f636af 120777 root:root ../../../../sbin/ipop2d -/usr/lib/debug/.build-id/0a/94a2a0a7c0088ce0968ca9741ae07032f636af.debug 120777 root:root ../../usr/sbin/ipop2d.debug -/usr/lib/debug/.build-id/32 40755 root:root -/usr/lib/debug/.build-id/32/4765933d43de52c8fb922b21fca4916368d111 120777 root:root ../../../../sbin/imapd -/usr/lib/debug/.build-id/32/4765933d43de52c8fb922b21fca4916368d111.debug 120777 root:root ../../usr/sbin/imapd.debug -/usr/lib/debug/.build-id/af 40755 root:root -/usr/lib/debug/.build-id/af/0a07ef4287979dc14b0d91009b962aa777f2c8 120777 root:root ../../../../sbin/ipop3d -/usr/lib/debug/.build-id/af/0a07ef4287979dc14b0d91009b962aa777f2c8.debug 120777 root:root ../../usr/sbin/ipop3d.debug +/usr/lib/debug/.build-id/6a 40755 root:root +/usr/lib/debug/.build-id/6a/5fb10d814f047940c90f79482f4292aa050298 120777 root:root ../../../../sbin/ipop3d +/usr/lib/debug/.build-id/6a/5fb10d814f047940c90f79482f4292aa050298.debug 120777 root:root ../../usr/sbin/ipop3d.debug +/usr/lib/debug/.build-id/9f 40755 root:root +/usr/lib/debug/.build-id/9f/100f3dee1af350610b27f83358520822cbf22d 120777 root:root ../../../../sbin/imapd +/usr/lib/debug/.build-id/9f/100f3dee1af350610b27f83358520822cbf22d.debug 120777 root:root ../../usr/sbin/imapd.debug +/usr/lib/debug/.build-id/b0 40755 root:root +/usr/lib/debug/.build-id/b0/07b6c64c5342dd556b2db63e42b5f2171ad079 120777 root:root ../../../../sbin/ipop2d +/usr/lib/debug/.build-id/b0/07b6c64c5342dd556b2db63e42b5f2171ad079.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:p10+320471.100.2.1 -File: /usr/lib/debug/.build-id/0a 40755 root:root -File: /usr/lib/debug/.build-id/0a/94a2a0a7c0088ce0968ca9741ae07032f636af 120777 root:root ../../../../sbin/ipop2d -File: /usr/lib/debug/.build-id/0a/94a2a0a7c0088ce0968ca9741ae07032f636af.debug 120777 root:root ../../usr/sbin/ipop2d.debug -File: /usr/lib/debug/.build-id/32 40755 root:root -File: /usr/lib/debug/.build-id/32/4765933d43de52c8fb922b21fca4916368d111 120777 root:root ../../../../sbin/imapd -File: /usr/lib/debug/.build-id/32/4765933d43de52c8fb922b21fca4916368d111.debug 120777 root:root ../../usr/sbin/imapd.debug -File: /usr/lib/debug/.build-id/af 40755 root:root -File: /usr/lib/debug/.build-id/af/0a07ef4287979dc14b0d91009b962aa777f2c8 120777 root:root ../../../../sbin/ipop3d -File: /usr/lib/debug/.build-id/af/0a07ef4287979dc14b0d91009b962aa777f2c8.debug 120777 root:root ../../usr/sbin/ipop3d.debug -File: /usr/lib/debug/usr/sbin/imapd.debug 100644 root:root 9935a0be25a1c306198226d337bd6e94 -File: /usr/lib/debug/usr/sbin/ipop2d.debug 100644 root:root 940e9e5d0c5390450869d144ffde7338 -File: /usr/lib/debug/usr/sbin/ipop3d.debug 100644 root:root 7eb5ff1edcaf61a1e6af882d526ee964 +File: /usr/lib/debug/.build-id/6a 40755 root:root +File: /usr/lib/debug/.build-id/6a/5fb10d814f047940c90f79482f4292aa050298 120777 root:root ../../../../sbin/ipop3d +File: /usr/lib/debug/.build-id/6a/5fb10d814f047940c90f79482f4292aa050298.debug 120777 root:root ../../usr/sbin/ipop3d.debug +File: /usr/lib/debug/.build-id/9f 40755 root:root +File: /usr/lib/debug/.build-id/9f/100f3dee1af350610b27f83358520822cbf22d 120777 root:root ../../../../sbin/imapd +File: /usr/lib/debug/.build-id/9f/100f3dee1af350610b27f83358520822cbf22d.debug 120777 root:root ../../usr/sbin/imapd.debug +File: /usr/lib/debug/.build-id/b0 40755 root:root +File: /usr/lib/debug/.build-id/b0/07b6c64c5342dd556b2db63e42b5f2171ad079 120777 root:root ../../../../sbin/ipop2d +File: /usr/lib/debug/.build-id/b0/07b6c64c5342dd556b2db63e42b5f2171ad079.debug 120777 root:root ../../usr/sbin/ipop2d.debug +File: /usr/lib/debug/usr/sbin/imapd.debug 100644 root:root 676909abfa947b053913d96f6fe52a1c +File: /usr/lib/debug/usr/sbin/ipop2d.debug 100644 root:root 801beabcbb0790d34790ec584e689cbf +File: /usr/lib/debug/usr/sbin/ipop3d.debug 100644 root:root 23a1989fae4a1a8c877ce251fe693ac4 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: 6b446aeb3a375a6c0a67d53efb06880b6a4b8c69bfd69f8cc8278290b4b35d08fe099760bf0719c32d3412217a545f26144287726a87bbba7a5cb12ff47c123f +RPMIdentity: aa810808e0c9f353e7a417e0b4bac17fc1ae68843ff122c4dd06b0a533c81dc272003ec02ca99504cbdb95cc9a89bd88b178e56523460fd245c44af6a4abd00b