Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/uw-imap.spec'], chrootPath='/var/lib/mock/f31-build-97887-32987/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/uw-imap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/uw-imap-2007f-24.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/uw-imap.spec'], chrootPath='/var/lib/mock/f31-build-97887-32987/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/uw-imap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wG7jEw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf imap-2007f + /usr/bin/gzip -dc /builddir/build/SOURCES/imap-2007f.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd imap-2007f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (imap-2007-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .paths --fuzz=0 + echo 'Patch #2 (imap-2004a-doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .doc --fuzz=0 + echo 'Patch #5 (imap-2007e-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflow --fuzz=0 + echo 'Patch #9 (imap-2007e-shared.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shared --fuzz=0 + echo 'Patch #10 (imap-2007e-authmd5.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .authmd5 --fuzz=0 + install -p -m644 /builddir/build/SOURCES/imap-password.pam imap.pam + echo 'Patch #12 (imap-2007f-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fmt-sec --fuzz=0 + echo 'Patch #13 (imap-2007e-poll.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .poll --fuzz=0 + echo 'Patch #14 (1006_openssl1.1_autoverify.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl11 --fuzz=0 + echo 'Patch #15 (imap-2007f-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldflags --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (imap-2007-paths.patch): patching file src/osdep/unix/Makefile Patch #2 (imap-2004a-doc.patch): patching file src/imapd/imapd.8 Hunk #1 succeeded at 16 (offset 13 lines). patching file src/ipopd/ipopd.8 Hunk #1 succeeded at 16 (offset 13 lines). Patch #5 (imap-2007e-overflow.patch): patching file src/c-client/rfc822.c Patch #9 (imap-2007e-shared.patch): patching file src/osdep/unix/Makefile Hunk #2 succeeded at 857 (offset 8 lines). Hunk #3 succeeded at 913 (offset 8 lines). Hunk #4 succeeded at 927 (offset 8 lines). Patch #10 (imap-2007e-authmd5.patch): patching file src/c-client/auth_md5.c Patch #12 (imap-2007f-format-security.patch): patching file src/osdep/unix/flocklnx.c Patch #13 (imap-2007e-poll.patch): patching file src/osdep/unix/os_lnx.c patching file src/osdep/unix/os_slx.c patching file src/osdep/unix/tcp_unix.c Patch #14 (1006_openssl1.1_autoverify.patch): patching file src/osdep/unix/ssl_unix.c Patch #15 (imap-2007f-ldflags.patch): patching file src/osdep/unix/Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ulPoxv + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + test -f /etc/profile.d/krb5-devel.sh + test -f /etc/profile.d/krb5.sh BUILDSTDERR: ++ krb5-config --prefix + GSSDIR=/usr BUILDSTDERR: ++ pkg-config --cflags openssl + export 'EXTRACFLAGS= ' + EXTRACFLAGS=' ' + export 'EXTRACFLAGS= -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + EXTRACFLAGS=' -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'EXTRACFLAGS= -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + EXTRACFLAGS=' -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + export 'EXTRACFLAGS= -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' + EXTRACFLAGS=' -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' + echo -e 'y\ny' BUILDSTDERR: ++ pwd + make -j4 lnp IP=6 'EXTRACFLAGS= -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' 'EXTRALDFLAGS= -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' EXTRAAUTHENTICATORS=gss 'SPECIALS=GSSDIR=/usr LOCKPGM=/usr/sbin/mlock SSLCERTS=/etc/pki/tls/certs SSLDIR=/etc/pki/tls SSLINCLUDE=/usr/include/openssl SSLKEYS=/etc/pki/tls/private SSLLIB=/usr/lib64' SSLTYPE=unix CCLIENTLIB=/builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 SHLIBBASE=c-client SHLIBNAME=libc-client.so.2007 BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in PARTIAL compliance with RFC 3501 security + requirements: + Compliant: ++ TLS/SSL encryption is supported + Non-compliant: ++ Unencrypted plaintext passwords are permitted + + In order to rectify this problem, you MUST build with: ++ SSLTYPE=unix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue this build anyway? Type y or n please: make[1]: Leaving directory '/builddir/build/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='-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' EXTRALDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=unix IP=6 EXTRASPECIALS='' BUILDTYPE=lnp make[1]: Entering directory '/builddir/build/BUILD/imap-2007f' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/imap-2007f' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign'\ EXTRALDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss'\ PASSWDTYPE=std SSLTYPE=unix IP=6\ GSSDIR=/usr LOCKPGM=/usr/sbin/mlock SSLCERTS=/etc/pki/tls/certs SSLDIR=/etc/pki/tls SSLINCLUDE=/usr/include/openssl SSLKEYS=/etc/pki/tls/private SSLLIB=/usr/lib64 make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/c-client' BUILDSTDERR: make build EXTRACFLAGS='-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' EXTRALDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' EXTRADRIVERS='mbox' EXTRAIn file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from osdep.h:43, BUILDSTDERR: from osdep.c:31: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from auths.c:2, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_gss.c: In function 'auth_gssapi_client': BUILDSTDERR: auth_gss.c:100:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 100 | if (chal.value = (*challenger) (stream,(unsigned long *) &chal.length)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_gss.c: In function 'auth_gssapi_server': BUILDSTDERR: auth_gss.c:339:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 339 | if (resp.value = (*responder) ("",0,(unsigned long *) &resp.length)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_gss.c:399:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: 399 | SERVER_LOG ("Failed to acquire credentials for %s",buf.value); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: 55 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: | ^ BUILDSTDERR: auth_gss.c:399:50: note: format string is defined here BUILDSTDERR: 399 | SERVER_LOG ("Failed to acquire credentials for %s",buf.value); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: | %p BUILDSTDERR: auth_gss.c:406:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: 406 | SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: 55 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: | ^ BUILDSTDERR: auth_gss.c:406:42: note: format string is defined here BUILDSTDERR: 406 | SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: | %p BUILDSTDERR: auth_gss.c:414:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: 414 | SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: 55 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: | ^ BUILDSTDERR: auth_gss.c:414:41: note: format string is defined here BUILDSTDERR: 414 | SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: | %p BUILDSTDERR: In file included from auths.c:3, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_ext.c: In function 'auth_external_client': BUILDSTDERR: auth_ext.c:62:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 62 | if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_ext.c:66:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 66 | if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from auths.c:4, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_md5.c: In function 'auth_md5_client': BUILDSTDERR: auth_md5.c:105:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 105 | if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_md5.c:120:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 120 | if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_md5.c: In function 'auth_md5_server': BUILDSTDERR: auth_md5.c:155:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 155 | if (user = (*responder) (chal,cl = strlen (chal),NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_md5.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 157 | if (hash = strrchr (user,' ')) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_md5.c:160:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 160 | if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: auth_md5.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 162 | if (p = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { BUILDSTDERR: | ^ BUILDSTDERR: auth_md5.c: In function 'apop_login': BUILDSTDERR: auth_md5.c:238:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 238 | if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: auth_md5.c:240:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 240 | if (s = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from auths.c:5, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_pla.c: In function 'auth_plain_client': BUILDSTDERR: auth_pla.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 66 | if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_pla.c:94:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 94 | if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_pla.c: In function 'auth_plain_server': BUILDSTDERR: auth_pla.c:123:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 123 | if (aid = (*responder) ("",0,&len)) { BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from auths.c:6, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_log.c: In function 'auth_login_client': BUILDSTDERR: auth_log.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 66 | if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_log.c:81:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 81 | if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_log.c: In function 'auth_login_server': BUILDSTDERR: auth_log.c:107:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 107 | if (user = (*responder) (PWD_USER,sizeof (PWD_USER),NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_log.c:108:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 108 | if (pass = (*responder) (PWD_PWD,sizeof (PWD_PWD),NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_log.c:110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 110 | if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'do_date': BUILDSTDERR: env_unix.c:514:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 514 | if (julian = t->tm_yday -julian) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: env_unix.c: In function 'valpwd': BUILDSTDERR: env_unix.c:669:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 669 | if (s = auth_md5_pwd (user)) { BUILDSTDERR: | ^ BUILDSTDERR: env_unix.c:676:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 676 | else if (pw = pwuser (user)) {/* can get user? */ BUILDSTDERR: | ^~ BUILDSTDERR: env_unix.c: In function 'dotlock_lock': BUILDSTDERR: env_unix.c:1251:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1251 | if (s = strrchr (base->lock,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from osdep.c:31: BUILDSTDERR: env_unix.c: In function 'lock_work': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: env_unix.c:1374:27: note: in expansion of macro 'flock' BUILDSTDERR: 1374 | if (op & LOCK_NB) i = flock (fd,op); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'dorc': BUILDSTDERR: env_unix.c:1582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1582 | if (d = mail_valid (NIL,"INBOX",NIL)) { BUILDSTDERR: | ^ BUILDSTDERR: env_unix.c:1595:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1595 | if (d = (DRIVER *) mail_parameters (NIL,GET_DRIVER,(void *) k)) BUILDSTDERR: | ^ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c: In function 'tcp_open': BUILDSTDERR: tcp_unix.c:175:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 175 | if (adr = ip_stringtoaddr (tmp,&adrlen,&family)) { BUILDSTDERR: | ^~~ BUILDSTDERR: tcp_unix.c:215:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 215 | if (stream->ictr = ctr) *(stream->iptr = stream->ibuf) = tmp[0]; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tcp_unix.c: In function 'tcp_aopen': BUILDSTDERR: tcp_unix.c:350:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 350 | if (adr = ip_stringtoaddr (host,&len,&i)) fs_give ((void **) &adr); BUILDSTDERR: | ^~~ BUILDSTDERR: tcp_unix.c: In function 'tcp_getbuffer': BUILDSTDERR: tcp_unix.c:526:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 526 | if (n = min (size,stream->ictr)) { BUILDSTDERR: | ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_clienthost': BUILDSTDERR: tcp_unix.c:832:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 832 | if (v = strchr (s,' ')) *v = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_name': BUILDSTDERR: tcp_unix.c:959:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 959 | if (t = tcp_name_valid (ip_sockaddrtoname (sadr))) { BUILDSTDERR: | ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_isclienthost': BUILDSTDERR: tcp_unix.c:1000:17: warning: unused variable 'sadrlen' [-Wunused-variable] BUILDSTDERR: 1000 | size_t adrlen,sadrlen,len; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: osdep.c: In function 'checkpw': BUILDSTDERR: osdep.c:164:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 164 | if (pw = ((pam_start ((char *) mail_parameters (NIL,GET_SERVICENAME,NIL), BUILDSTDERR: | ^~ BUILDSTDERR: osdep.c: In function 'ssl_start_work': BUILDSTDERR: osdep.c:460:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 460 | TLSv1_client_method () : BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/e_os2.h:13, BUILDSTDERR: from /usr/include/openssl/bio.h:13, BUILDSTDERR: from /usr/include/openssl/x509v3.h:13, BUILDSTDERR: from osdep.c:267: BUILDSTDERR: /usr/include/openssl/ssl.h:1871:45: note: declared here BUILDSTDERR: 1871 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:479:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 479 | if (s = (char *) mail_parameters (NIL,GET_SSLCAPATH,NIL)) BUILDSTDERR: | ^ BUILDSTDERR: osdep.c:483:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 483 | if (cert = PEM_read_bio_X509 (bio = BIO_new_mem_buf (s,sl),NIL,NIL,NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: osdep.c:492:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 492 | if (key = PEM_read_bio_PrivateKey (bio = BIO_new_mem_buf (t,tl), BUILDSTDERR: | ^~~ BUILDSTDERR: osdep.c:451:25: warning: unused variable 'scq' [-Wunused-variable] BUILDSTDERR: 451 | sslcertificatequery_t scq = BUILDSTDERR: | ^~~ BUILDSTDERR: osdep.c:450:19: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: 450 | char *s,*t,*err,tmp[MAILTMPLEN]; BUILDSTDERR: | ^~~ BUILDSTDERR: osdep.c:450:15: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: 450 | char *s,*t,*err,tmp[MAILTMPLEN]; BUILDSTDERR: | ^~~ BUILDSTDERR: osdep.c: In function 'ssl_server_init': BUILDSTDERR: osdep.c:955:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 955 | TLSv1_server_method () : BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/e_os2.h:13, BUILDSTDERR: from /usr/include/openssl/bio.h:13, BUILDSTDERR: from /usr/include/openssl/x509v3.h:13, BUILDSTDERR: from osdep.c:267: BUILDSTDERR: /usr/include/openssl/ssl.h:1870:45: note: declared here BUILDSTDERR: 1870 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:1007:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1007 | while (i = ERR_get_error ()) /* SSL failure */ BUILDSTDERR: | ^ BUILDSTDERR: osdep.c: In function 'ssl_genkey': BUILDSTDERR: osdep.c:1026:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 1026 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/openssl/e_os2.h:13, BUILDSTDERR: from /usr/include/openssl/bio.h:13, BUILDSTDERR: from /usr/include/openssl/x509v3.h:13, BUILDSTDERR: from osdep.c:267: BUILDSTDERR: /usr/include/openssl/rsa.h:234:1: note: declared here BUILDSTDERR: 234 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:1029:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1029 | while (i = ERR_get_error ()) BUILDSTDERR: | ^ BUILDSTDERR: osdep.c: At top level: BUILDSTDERR: osdep.c:299:14: warning: 'ssl_validate_cert' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 299 | static char *ssl_validate_cert (X509 *cert,char *host); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from auths.c:4, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_md5.c: In function 'auth_md5_pwd': BUILDSTDERR: auth_md5.c:195:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 195 | read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'pw_login': BUILDSTDERR: env_unix.c:785:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 785 | (ret = env_init (user,home))) chdir (myhomedir ()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: osdep.c:601:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] BUILDSTDERR: 601 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c: In function 'tcp_name': BUILDSTDERR: tcp_unix.c:953:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] BUILDSTDERR: 953 | sprintf (tmp,"Reverse DNS resolution %s",adr); BUILDSTDERR: | ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from osdep.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c:961:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 961 | if (flag) sprintf (ret = tmp,"%s %s",t,adr); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from osdep.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mail.c: In function 'mm_cache': BUILDSTDERR: mail.c:212:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 212 | if (stream->cache[i] = stream->cache[msgno]) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mail.c: In function 'mail_parameters': BUILDSTDERR: mail.c:385:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 385 | if (ret = (void *) d) d->flags &= ~DR_DISABLE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:390:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 390 | if (ret = (void *) d) d->flags |= DR_DISABLE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 395 | if (ret = (void *) a) a->flags &= ~AU_DISABLE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:400:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 400 | if (ret = (void *) a) a->flags |= AU_DISABLE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:405:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 405 | if (ret = (void *) a) a->flags &= ~AU_HIDE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:410:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 410 | if (ret = (void *) a) a->flags |= AU_HIDE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:644:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 644 | if (r = smtp_parameters (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c:645:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 645 | if (r = env_parameters (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c:646:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 646 | if (r = tcp_parameters (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c:648:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 648 | if (r = (*stream->dtb->parameters) (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c:652:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 652 | if (r = (d->parameters) (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_valid_net_parse_work': BUILDSTDERR: mail.c:766:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 766 | if (t = strpbrk (s = t,"/:=")) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:784:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 784 | if (t = strpbrk (v = t,"/:")) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_list': BUILDSTDERR: mail.c:919:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 919 | while (d = d->next); /* until at the end */ BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_lsub': BUILDSTDERR: mail.c:952:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 952 | while (d = d->next); /* until at the end */ BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_create': BUILDSTDERR: mail.c:996:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 996 | if (s = strpbrk (mailbox,"\015\012")) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:1012:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (s = mail_utf7_valid (mailbox)) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_rename': BUILDSTDERR: mail.c:1092:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1092 | if (s = mail_utf7_valid (newname)) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_open': BUILDSTDERR: mail.c:1199:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1199 | if (stream = mail_open (stream,s+1,options)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mail.c:1216:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1216 | if (stream = mail_open (stream,mb.mailbox,options)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mail.c:1243:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1243 | if (s = strpbrk (tmp,"/\\:")) *s++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_fetch_structure': BUILDSTDERR: mail.c:1543:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1543 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_message': BUILDSTDERR: mail.c:1655:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1655 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_header': BUILDSTDERR: mail.c:1725:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1725 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c:1778:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1778 | if (rt.data = (unsigned char *) BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_fetch_text': BUILDSTDERR: mail.c:1816:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1816 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_mime': BUILDSTDERR: mail.c:1871:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1871 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_body': BUILDSTDERR: mail.c:1954:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1954 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_partial_text': BUILDSTDERR: mail.c:2012:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2012 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_partial_body': BUILDSTDERR: mail.c:2082:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2082 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_msgno': BUILDSTDERR: mail.c:2232:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2232 | if (delta = ((last - first) / 2)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_search_default': BUILDSTDERR: mail.c:2386:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2386 | if (msg = utf8_badcharset (charset)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_append_multiple': BUILDSTDERR: mail.c:2612:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2612 | else if (d = mail_valid (stream,mailbox,NIL)) BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_gc': BUILDSTDERR: mail.c:2650:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2650 | if (elt = (MESSAGECACHE *) (*mailcache) (stream,i,CH_ELT)) BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_body': BUILDSTDERR: mail.c:2725:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2725 | if (pt = b->nested.part) while (--i && (pt = pt->next)); BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_parse_date': BUILDSTDERR: mail.c:3085:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3085 | if (t = gmtime (&tn)) { /* minus UTC minutes since midnight */ BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_uid_sequence': BUILDSTDERR: mail.c:3306:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3306 | if (x = mail_msgno (stream,i)) mail_elt (stream,x)->sequence = T; BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_match_lines': BUILDSTDERR: mail.c:3339:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3339 | while (lines = lines->next); BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_filter': BUILDSTDERR: mail.c:3371:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3371 | if (i = t - tmp) /* see if found in header */ BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_search_header_text': BUILDSTDERR: mail.c:3621:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3621 | if (h.data = (unsigned char *) s) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_search_text': BUILDSTDERR: mail.c:3672:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3672 | if (st = st->next) s = s->next = mail_newstringlist (); BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_search_body': BUILDSTDERR: mail.c:3754:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3754 | if (body = body->nested.msg->body) BUILDSTDERR: | ^~~~ BUILDSTDERR: mail.c:3771:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3771 | if (st.data = (unsigned char *) BUILDSTDERR: | ^~ BUILDSTDERR: mail.c:3778:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3778 | if (st.data = rfc822_qprint ((unsigned char *) s,i,&st.size)) { BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_search_string': BUILDSTDERR: mail.c:3806:16: warning: unused variable 'sc' [-Wunused-variable] BUILDSTDERR: 3806 | STRINGLIST **sc = st; BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_search_keyword': BUILDSTDERR: mail.c:3859:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3859 | } while (st = st->next); BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_search_addr': BUILDSTDERR: mail.c:3888:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3888 | if (tadr.personal = a->personal) k += 3 + 2*strlen (a->personal); BUILDSTDERR: | ^~~~ BUILDSTDERR: mail.c:3889:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3889 | if (tadr.adl = a->adl) k += 3 + 2*strlen (a->adl); BUILDSTDERR: | ^~~~ BUILDSTDERR: mail.c:3890:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3890 | if (tadr.host = a->host) k += 3 + 2*strlen (a->host); BUILDSTDERR: | ^~~~ BUILDSTDERR: mail.c: In function 'mail_criteria_string': BUILDSTDERR: mail.c:4125:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4125 | if (d = strtok_r (c,end,r)) n = strlen (d); BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_sort_loadcache': BUILDSTDERR: mail.c:4336:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4336 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4372:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4372 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4380:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4380 | if (v = strchr (v,':')) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4387:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4387 | if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:4405:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4405 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4413:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4413 | if (v = strchr (v,':')) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4420:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4420 | if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:4438:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4438 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4446:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4446 | if (v = strchr (v,':')) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4453:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4453 | if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:4472:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4472 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_strip_subject': BUILDSTDERR: mail.c:4506:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4506 | if (src.size = strlen (t)) { /* have non-empty subject? */ BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_sort_compare': BUILDSTDERR: mail.c:4662:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4662 | while (pgm = i ? NIL : pgm->next); BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_thread_orderedsubject': BUILDSTDERR: mail.c:4789:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4789 | if (lst = (*sorter) (stream,charset,spg,&pgm,flags & ~(SE_FREE | SE_UID))){ BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_thread_references': BUILDSTDERR: mail.c:4903:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4903 | if (env = mail_fetch_structure (stream,s->num,NIL,NIL)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:4951:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4951 | THREADLINKS); st = st->next; con = nxc) { BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_thread_parse_references': BUILDSTDERR: mail.c:5183:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5183 | if (t = mail_thread_parse_msgid (s,&s)) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:5187:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5187 | for (cur = ret; t = mail_thread_parse_msgid (s,&s); cur = cur->next) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_thread_c2node': BUILDSTDERR: mail.c:5289:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5289 | if (nxt = CHILD (con)) cur->next = mail_thread_c2node (stream,nxt,flags); BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_parse_flags': BUILDSTDERR: mail.c:5440:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5440 | if (n = strchr (t,' ')) *n++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'net_open_work': BUILDSTDERR: mail.c:6201:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 6201 | if (tstream = (*dv->open) (host,service,port | flags)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: mail.c: In function 'net_aopen': BUILDSTDERR: mail.c:6223:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 6223 | if (tstream = (*dv->aopen) (mb,service,user)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: mail.c: In function 'mail_parse_set': BUILDSTDERR: mail.c:4149:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 4149 | else cur = cur->next = mail_newsearchset (); BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'hash_reset': BUILDSTDERR: misc.c:318:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 318 | for (i = 0; i < hashtab->size; i++) if (ent = hashtab->table[i]) BUILDSTDERR: | ^~~ BUILDSTDERR: misc.c: In function 'hash_index': BUILDSTDERR: misc.c:335:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 335 | for (ret = 0; i = (unsigned int) *key++; ret += i) ret *= HASHMULT; BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'compare_cstring': BUILDSTDERR: misc.c:452:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 452 | for (; *s1 && *s2; s1++,s2++) if (i = (compare_uchar (*s1,*s2))) return i; BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'compare_csizedtext': BUILDSTDERR: misc.c:472:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 472 | if (i = (compare_uchar (*s1,*s))) return i; BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c: In function 'newsrc_newmessages': BUILDSTDERR: newsrc.c:126:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 126 | if (k = elt->private.uid - 1) { BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c: In function 'newsrc_write': BUILDSTDERR: newsrc.c:343:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 343 | if (f = fopen (newsrc,"rb")) {/* have existing newsrc file? */ BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c:368:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 368 | if (f = newsrc_create (stream,NIL)) bf = NIL; BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c:384:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 384 | if (f = newsrc_create (stream,T)) bf = NIL; BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c: In function 'newsrc_state': BUILDSTDERR: newsrc.c:468:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 468 | fread (s,(size_t) 1,size,f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: smanager.c: In function 'sm_subscribe': BUILDSTDERR: smanager.c:46:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 46 | if (f = fopen (db,"r")) { /* make sure not already there */ BUILDSTDERR: | ^ BUILDSTDERR: smanager.c:48:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 48 | if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: smanager.c: In function 'sm_unsubscribe': BUILDSTDERR: smanager.c:88:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 88 | if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: smanager.c: In function 'sm_read': BUILDSTDERR: smanager.c:119:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 119 | if (f = fopen (sbname,"r")) *sdb = (void *) f; BUILDSTDERR: | ^ BUILDSTDERR: smanager.c:123:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 123 | if (s = strchr (sbname,'\n')) *s = '\0'; BUILDSTDERR: | ^ AUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=unix 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="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpam -ldl" make[3]: Entering directory '/builddir/build/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 -g -O2 -pipe -fno-omit-frame-pointer '-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/sbin/mlock\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpam -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log make[4]: Entering directory '/builddir/build/BUILD/imap-2007f/c-client' echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /usr/lib/libk5crypto.a) && echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[4]: Leaving directory '/builddir/build/BUILD/imap-2007f/c-client' 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/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/pki/tls/certs\" -DSSL_KEY_DIRECTORY=\"/etc/pki/tls/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib64 -lssl -lcrypto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c cc -fPIC -DPIC -D_REENTRANT `cat CFLAGS` `cat OSCFLAGS` -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 ======================================================================== cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mail.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` misc.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` newsrc.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smanager.c BUILDSTDERR: cc -utf8.c:114:39: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 114 | static const CHARSET utf8_csvalid[] = { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c:347:38: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 347 | static const SCRIPT utf8_scvalid[] = { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c: In function 'utf8_rmap_cs': BUILDSTDERR: utf8.c:662:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 662 | else if (ret = utf8_rmap_gen (cs,currmap)) { BUILDSTDERR: | ^~~ BUILDSTDERR: utf8.c: In function 'utf8_rmaptext': BUILDSTDERR: utf8.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 794 | if (i = utf8_rmapsize (text,rmap,errch,iso2022jp)) { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c: In function 'utf8_csvalidmap': BUILDSTDERR: utf8.c:1293:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1293 | if (cs = utf8_charset (s)) { BUILDSTDERR: | ^~ BUILDSTDERR: utf8.c: In function 'ucs4_decompose': BUILDSTDERR: utf8.c:2395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2395 | if (m = (struct decomposemore *) *more) switch (m->type) { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c:2418:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2418 | if (i = ucs4_dbmploixtab[c - UCS4_BMPLOMIN]) { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c:2448:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2448 | if (i = ucs4_dbmphiixtab[c - UCS4_BMPHIMIN]) { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c: In function 'ucs4_decompose_recursive': BUILDSTDERR: utf8.c:2513:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2513 | if (mr = (RECURSIVEMORE *) *more) switch (mr->more->type) { BUILDSTDERR: | ^~ BUILDSTDERR: utf8.c:2533:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2533 | if (mr = mn) { /* did this value recurse on us? */ BUILDSTDERR: | ^~ BUILDSTDERR: utf8.c: In function 'ucs4_decompose': BUILDSTDERR: utf8.c:2497:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2497 | return ret; BUILDSTDERR: | ^~~ BUILDSTDERR: utf8aux.c: In function 'utf8_stringlist': BUILDSTDERR: utf8aux.c:47:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 47 | } while (st = st->next); BUILDSTDERR: | ^~ BUILDSTDERR: utf8aux.c: In function 'utf8_mime2text': BUILDSTDERR: utf8aux.c:136:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 136 | if (ls = strchr (cs,'*')) *ls = '\0'; BUILDSTDERR: | ^~ BUILDSTDERR: utf8aux.c: In function 'mime2_decode': BUILDSTDERR: utf8aux.c:241:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 241 | if (txt->data = (unsigned char *) rfc822_base64 (t,te - t,&txt->size)) BUILDSTDERR: | ^~~ BUILDSTDERR: dummy.c: In function 'dummy_scan': BUILDSTDERR: dummy.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 162 | if (s = strchr (test,'/')) *++s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: dummy.c:170:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 170 | if (s = strpbrk (test,"%*")) { BUILDSTDERR: | ^ BUILDSTDERR: dummy.c:176:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 176 | if (s = strrchr (file,'/')){/* find directory name */ BUILDSTDERR: | ^ BUILDSTDERR: dummy.c: In function 'dummy_lsub': BUILDSTDERR: dummy.c:233:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 233 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: dummy.c: In function 'dummy_list_work': BUILDSTDERR: dummy.c:282:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 282 | if (dp = opendir (tmp)) { /* do nothing if can't open directory */ BUILDSTDERR: | ^~ BUILDSTDERR: dummy.c:294:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 294 | if (!dir || dir[(len = strlen (dir)) - 1] == '/') while (d = readdir (dp)) BUILDSTDERR: | ^ BUILDSTDERR: dummy.c: In function 'dummy_create_path': BUILDSTDERR: dummy.c:485:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 485 | if (s = strrchr (path,'/')) { /* found superior to this name? */ BUILDSTDERR: | ^ BUILDSTDERR: dummy.c: In function 'dummy_append': BUILDSTDERR: dummy.c:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point] BUILDSTDERR: 728 | if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_canonicalize': BUILDSTDERR: dummy.c:803:28: warning: value computed is not used [-Wunused-value] BUILDSTDERR: 803 | for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: | ^~~~ BUILDSTDERR: dummy.c: In function 'dummy_scan_contents': BUILDSTDERR: dummy.c:383:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 383 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_list_work': BUILDSTDERR: dummy.c:313:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 313 | sprintf (path,"%s/",tmp); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from dummy.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'sprintf', BUILDSTDERR: inlined from 'dummy_delete' at dummy.c:523:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: warning: '%.80s' directive argument is null [-Wformat-overflow=] BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: netmsg.c: In function 'netmsg_slurp': BUILDSTDERR: netmsg.c:64:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 64 | if (f = fopen (tmp,"wb+")) unlink (tmp); BUILDSTDERR: | ^ BUILDSTDERR: netmsg.c:73:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 73 | while (s = net_getline (stream)) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from osdep.h:43, BUILDSTDERR: from fdstring.c:30: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: fdstring.c: In function 'fd_string_setpos': BUILDSTDERR: fdstring.c:94:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 94 | if (s->cursize = min (s->chunksize,SIZE (s))) { BUILDSTDERR: | ^ BUILDSTDERR: fdstring.c:97:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 97 | read ((long) s->data,s->curpos,(size_t) s->cursize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fdstring.c: In function 'fd_string_init': BUILDSTDERR: fdstring.c:67:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 67 | read (d->fd,s->chunk,(size_t) s->cursize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_msg_full': BUILDSTDERR: rfc822.c:155:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 155 | if (t = d = strchr (tmp,':')) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:204:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 204 | while (c = *d++) if (c != ' ') *t++ = c; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:218:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 218 | if (t = rfc822_parse_phrase (d)) *t = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:229:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 229 | while (c = *d++) if (c != ' ') *t++ = c; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_content': BUILDSTDERR: rfc822.c:381:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 381 | if (m = GETPOS (bs)) m--; /* get position in front of character */ BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:394:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 394 | if (k = j - 2) for (s = s1; i-- && *s++ == (c = SNX (bs)) && --k;); BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:449:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 449 | if (i = part->body.mime.text.size) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_content_header': BUILDSTDERR: rfc822.c:550:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 550 | if (t = strchr (name,' ')) *t = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_adrlist': BUILDSTDERR: rfc822.c:740:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 740 | else if (adr = rfc822_parse_address (lst,last,&string,host,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_address': BUILDSTDERR: rfc822.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 794 | if (adr = rfc822_parse_group (lst,last,string,defaulthost,depth)) last = adr; BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c:796:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 796 | else if (adr = rfc822_parse_mailbox (string,defaulthost)) { BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_group': BUILDSTDERR: rfc822.c:842:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 842 | if (adr = rfc822_parse_address (lst,last,string,defaulthost,depth+1)) { BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_mailbox': BUILDSTDERR: rfc822.c:901:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 901 | else if (end = rfc822_parse_phrase (s)) { BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_addrspec': BUILDSTDERR: rfc822.c:1030:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1030 | if (t = rfc822_parse_word (string,wspecials)) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_domain': BUILDSTDERR: rfc822.c:1098:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1098 | else if (t = rfc822_parse_word (string,wspecials)) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:1108:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1108 | if (string = rfc822_parse_domain (string,&t)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_word': BUILDSTDERR: rfc822.c:1175:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1175 | while (st = strchr (st,I2C_ESC)) BUILDSTDERR: | ^~ BUILDSTDERR: rfc822.c: In function 'rfc822_output_data': BUILDSTDERR: rfc822.c:1374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1374 | if (i = min (len,buf->end - buf->cur)) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_output_cat': BUILDSTDERR: rfc822.c:1622:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1622 | for (; s = strpbrk (src,"\\\""); src = s + 1) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_encode_body_7bit': BUILDSTDERR: rfc822.c:1740:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1740 | while (part = part->next); /* until done */ BUILDSTDERR: | ^~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_encode_body_8bit': BUILDSTDERR: rfc822.c:1808:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1808 | while (part = part->next); /* until done */ BUILDSTDERR: | ^~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_base64': BUILDSTDERR: rfc822.c:1964:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1964 | if (s = strpbrk (tmp,"\015\012")) *s = NIL; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_output': BUILDSTDERR: rfc822.c:2345:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2345 | char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c: In function 'nntp_list': BUILDSTDERR: nntp.c:353:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 353 | while (s = net_getline (LOCAL->nntpstream->netstream)) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:358:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 358 | if (t = strchr (s,' ')) { /* tie off after newsgroup name */ BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_lsub': BUILDSTDERR: nntp.c:397:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 397 | if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:399:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 399 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_canonicalize': BUILDSTDERR: nntp.c:430:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 430 | for (s = wildmat; s = strchr (s,'%'); *s = '*'); BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_status': BUILDSTDERR: nntp.c:556:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 556 | else if (state = newsrc_state (stream,name)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_overview': BUILDSTDERR: nntp.c:929:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 929 | for (t = v = s; c = *v++;) BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_parse_overview': BUILDSTDERR: nntp.c:1039:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1039 | if (t = strchr (ov->subject,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1042:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1042 | if (ov->date = strchr (t,'\t')) { BUILDSTDERR: | ^~ BUILDSTDERR: nntp.c:1049:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1049 | if (ov->message_id = strchr (ov->date,'\t')) { BUILDSTDERR: | ^~ BUILDSTDERR: nntp.c:1053:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1053 | if (ov->references = strchr (ov->message_id,'\t')) { BUILDSTDERR: | ^~ BUILDSTDERR: nntp.c:1057:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1057 | if (t = strchr (ov->references,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1062 | if (t = strchr (t,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1066:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1066 | if (ov->optional.xref = strchr (t,'\t')) BUILDSTDERR: | ^~ BUILDSTDERR: nntp.c: In function 'nntp_header': BUILDSTDERR: nntp.c:1099:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | if (f = netmsg_slurp (LOCAL->nntpstream->netstream,size,NIL)) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_text': BUILDSTDERR: nntp.c:89:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 89 | #define LOCAL ((NNTPLOCAL *) stream->local) BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1151:11: note: in expansion of macro 'LOCAL' BUILDSTDERR: 1151 | if (LOCAL->txt = netmsg_slurp (LOCAL->nntpstream->netstream, BUILDSTDERR: | ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_search': BUILDSTDERR: nntp.c:1216:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1216 | if (msg = utf8_badcharset (charset)) { BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c: In function 'nntp_search_msg': BUILDSTDERR: nntp.c:1269:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1269 | if (set = pgm->msgno) { /* must be inside this sequence */ BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c:1277:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1277 | if (set = pgm->uid) { /* must be inside this sequence */ BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c: In function 'nntp_sort_loadcache': BUILDSTDERR: nntp.c:1513:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1513 | for (t = v = s; c = *v++;) if ((c != '\012') && (c != '\015')) *t++ = c; BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1522:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1522 | if (t = strchr (v,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1524:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1524 | if (adr = rfc822_parse_address (&adr,adr,&v,BADHOST,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c:1529:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1529 | if (v = strchr (t,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_open_full': BUILDSTDERR: nntp.c:1679:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1679 | if (netstream = /* try to open ordinary connection */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: nntp.c:1720:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1720 | if (stream->netstream->stream = BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nntp.c: In function 'nntp_extensions': BUILDSTDERR: nntp.c:1817:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1817 | if (args = strchr (t,' ')) *args++ = '\0'; BUILDSTDERR: | ^~~~ BUILDSTDERR: nntp.c: In function 'nntp_mail': BUILDSTDERR: nntp.c:1916:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1916 | if (s = strstr (env->date," (")) *s = NIL; BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1887:8: warning: unused variable 'retry' [-Wunused-variable] BUILDSTDERR: 1887 | long retry = NIL; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable] BUILDSTDERR: 1886 | long error = NIL; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_soutr': BUILDSTDERR: nntp.c:2214:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2214 | while (t = strstr (s,"\015\012.")) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_mopen': BUILDSTDERR: nntp.c:764:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 764 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 765 | (size_t) 1,(size_t) k,f); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nntp.c: In function 'nntp_header': BUILDSTDERR: nntp.c:1100:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1100 | fread (elt->private.msg.header.text.data = BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1101 | (unsigned char *) fs_get ((size_t) *size + 3), BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1102 | (size_t) 1,(size_t) *size,f); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: smtp.c: In function 'smtp_open_full': BUILDSTDERR: smtp.c:172:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 172 | if (netstream = /* try to open ordinary connection */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: smtp.c: In function 'smtp_soutr': BUILDSTDERR: smtp.c:783:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 783 | while (t = strstr (s,"\015\012.")) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_lsub': BUILDSTDERR: imap4r1.c:505:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 505 | if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:507:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 507 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_manage': BUILDSTDERR: imap4r1.c:681:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 681 | if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && BUILDSTDERR: | ^~ BUILDSTDERR: imap4r1.c: In function 'imap_open': BUILDSTDERR: imap4r1.c:849:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 849 | else if (reply = imap_rimap (stream,"*imap",&mb,usr,tmp)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_close': BUILDSTDERR: imap4r1.c:1317:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1317 | if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:1317:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1317 | if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_structure': BUILDSTDERR: imap4r1.c:1499:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1499 | if (j = (set->last == 0xffffffff) ? stream->nmsgs : BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:1522:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1522 | if (k = (k > i) ? k - i : 0) BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_msgdata': BUILDSTDERR: imap4r1.c:1700:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1700 | else if (t = strstr (section,".HEADER")) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_uid': BUILDSTDERR: imap4r1.c:1884:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1884 | if (k = imap_uidlookahead) {/* build UID list */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_search': BUILDSTDERR: imap4r1.c:2048:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2048 | for (set = ss; set; set = set->next) if (i = set->first) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_gc': BUILDSTDERR: imap4r1.c:2650:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2650 | if (elt = (MESSAGECACHE *) (*mc) (stream,i,CH_ELT)) BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c: In function 'imap_capability': BUILDSTDERR: imap4r1.c:2705:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2705 | if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:2705:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2705 | if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_send': BUILDSTDERR: imap4r1.c:2927:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2927 | if (arglst = args) while (arg = *arglst++) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: imap4r1.c:2927:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2927 | if (arglst = args) while (arg = *arglst++) { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:2947:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2947 | if (reply = imap_send_astring (stream,tag,&s,&st,NIL,CMDBASE+MAXCOMMAND)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:2951:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2951 | if (reply = imap_send_literal (stream,tag,&s,arg->text)) return reply; BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:2959:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2959 | if (reply = imap_send_astring (stream,tag,&s,&list->text,NIL, BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:2963:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2963 | while (list = list->next); BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c:2967:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2967 | if (reply = imap_send_spgm (stream,tag,CMDBASE,&s,arg->text, BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3053:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3053 | if (reply = imap_send_astring (stream,tag,&s,&st,T,CMDBASE+MAXCOMMAND)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3075:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3075 | if (t = map->flags) { /* flags given? */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3087:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3087 | if (reply = imap_send_astring (stream,tag,&s,&st,NIL, BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3091:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3091 | if (reply = imap_send_literal (stream,tag,&s,map->message)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3121:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3121 | while (list = list->next); BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c: In function 'imap_send_spgm': BUILDSTDERR: imap4r1.c:3355:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3355 | if (hdr = pgm->header) do { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:3357:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3357 | if (reply = imap_send_astring (stream,tag,s,&hdr->line,NIL,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3360:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3360 | if (reply = imap_send_astring (stream,tag,s,&hdr->text,NIL,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3362:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3362 | } while (hdr = hdr->next); BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:3365:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3365 | if (reply = imap_send_spgm (stream,tag,base,s,pgo->first,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3368:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3368 | if (reply = imap_send_spgm (stream,tag,base,s,pgo->second,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3374 | if (reply = imap_send_spgm (stream,tag,base,s,pgl->pgm,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_send_sset': BUILDSTDERR: imap4r1.c:3452:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3452 | if (reply = imap_send_literal (stream,tag,s,&st)) return reply; BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3454:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3454 | if (reply = imap_send_sset (stream,tag,NIL,s,set,prefix,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_reply': BUILDSTDERR: imap4r1.c:3555:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3555 | if (reply = imap_parse_reply (stream,net_getline (LOCAL->netstream))) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_parse_unsolicited': BUILDSTDERR: imap4r1.c:3733:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3733 | while (prop = (strtok_r (t," )",&r))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c:3808:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3808 | else if (t = strchr (s = t,' ')) *t++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3907:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3907 | while (s = strtok_r (NIL," )",&r)); BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3911:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3911 | if (i = strtoul (t,NIL,10)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3920:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3920 | } while (t = strtok_r (NIL," ",&r)); BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3944:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3944 | if (s = reply->text) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4008:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4008 | if (t = strtok_r (reply->text+1," ",&r)) do { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4017:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4017 | while (t = strtok_r (NIL," ",&r)); BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4028:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4028 | if (t = imap_parse_astring (stream,&s,reply,&j)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4046:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4046 | if (s = reply->text) { /* parse namespace results */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4166:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4166 | else if (t = strchr (s,' ')) t = s; BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4169:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4169 | else if (t = strpbrk (s," )")) t = s; BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_response': BUILDSTDERR: imap4r1.c:4266:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4266 | if (s = strchr (strncpy (t = LOCAL->tmp,s,i),' ')) *s++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4275:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4275 | if (elt = (MESSAGECACHE *) (*mc) (stream,j,CH_ELT)) BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:4286:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4286 | if (s = strtok_r (s+1," ",&r)) do { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4300:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4300 | while (s = strtok_r (NIL," ",&r)); BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_astring': BUILDSTDERR: imap4r1.c:4845:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4845 | if (i = *txtptr - s) { /* atom ends at atom_special */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_string': BUILDSTDERR: imap4r1.c:4958:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4958 | if (rp) for (k = 0; j = min ((long) MAILTMPLEN,(long) i); i -= j) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4966:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4966 | for (st = string; st = strpbrk (st,"\015\012\011"); *st++ = ' '); BUILDSTDERR: | ^~ BUILDSTDERR: imap4r1.c: In function 'imap_parse_body_structure': BUILDSTDERR: imap4r1.c:5115:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5115 | if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c:5155:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5155 | if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:5165:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5165 | if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c:5176:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5176 | if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_language': BUILDSTDERR: imap4r1.c:5373:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5373 | else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_extension': BUILDSTDERR: imap4r1.c:5441:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5441 | if (i = strtoul (*txtptr,(char **) txtptr,10)) do BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_capabilities': BUILDSTDERR: imap4r1.c:5477:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5477 | if (thr = LOCAL->cap.threader) while (th = thr) { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:5477:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5477 | if (thr = LOCAL->cap.threader) while (th = thr) { BUILDSTDERR: | ^~ BUILDSTDERR: imap4r1.c:5520:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5520 | else if (s = strchr (t,'=')) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_reform_sequence': BUILDSTDERR: imap4r1.c:5609:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5609 | for (s = sequence; t = strpbrk (s,",:"); ) switch (*t++) { BUILDSTDERR: | ^ BUILDSTDERR: pop3.c: In function 'pop3_lsub': BUILDSTDERR: pop3.c:279:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 279 | if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) BUILDSTDERR: | ^ BUILDSTDERR: pop3.c:281:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 281 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: pop3.c: In function 'pop3_open': BUILDSTDERR: pop3.c:77:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 77 | #define LOCAL ((POP3LOCAL *) stream->local) BUILDSTDERR: | ^ BUILDSTDERR: pop3.c:429:11: note: in expansion of macro 'LOCAL' BUILDSTDERR: 429 | if (LOCAL->loser = mb.loser) strcat (tmp,"/loser"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: pop3.c: In function 'pop3_capa': BUILDSTDERR: pop3.c:499:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 499 | if (args = strchr (t,' ')) *args++ = '\0'; BUILDSTDERR: | ^~~~ BUILDSTDERR: pop3.c:510:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 510 | if (s = strchr(args,' ')){/* separate time from possible USER */ BUILDSTDERR: | ^ BUILDSTDERR: pop3.c:521:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 521 | if (s = strchr(args,' ')){/* separate time from possible USER */ BUILDSTDERR: | ^ BUILDSTDERR: pop3.c: In function 'pop3_header': BUILDSTDERR: pop3.c:843:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 843 | else if (elt->private.msg.header.text.size = pop3_cache (stream,elt)) BUILDSTDERR: | ^~~ BUILDSTDERR: pop3.c: In function 'pop3_expunge': BUILDSTDERR: pop3.c:947:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 947 | if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: pop3.c: In function 'pop3_header': BUILDSTDERR: pop3.c:848:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 848 | fread (elt->private.msg.header.text.data = (unsigned char *) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 849 | fs_get ((size_t) elt->private.msg.header.text.size + 1), BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 850 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_valid': BUILDSTDERR: unix.c:231:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: 231 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | stime BUILDSTDERR: unix.c: In function 'unix_rename': BUILDSTDERR: unix.c:418:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 418 | if (s = strrchr (s,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from unix.c:46: BUILDSTDERR: unix.c: In function 'unix_open': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: unix.c:530:5: note: in expansion of macro 'flock' BUILDSTDERR: 530 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: unix.c: In function 'unix_expunge': BUILDSTDERR: unix.c:845:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 845 | if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable] BUILDSTDERR: 852 | MESSAGECACHE *elt = mail_elt (stream,i); BUILDSTDERR: | ^~~ BUILDSTDERR: unix.c: In function 'unix_append': BUILDSTDERR: unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable] BUILDSTDERR: 1037 | unsigned long uidlocation = 0; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_append_msgs': BUILDSTDERR: unix.c:1257:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1257 | for (x = tmp; x = strchr (x,'\r'); --j) memmove (x,x+1,j-(x-tmp)); BUILDSTDERR: | ^ BUILDSTDERR: unix.c: In function 'unix_parse': BUILDSTDERR: unix.c:1483:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1483 | else if (i = sbuf.st_size - LOCAL->filesize) { BUILDSTDERR: | ^ BUILDSTDERR: unix.c:1770:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1770 | if (u = strpbrk (err,"\r\n")) *u = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: unix.c: In function 'unix_xstatus': BUILDSTDERR: unix.c:2015:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2015 | for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) BUILDSTDERR: | ^ BUILDSTDERR: unix.c:2037:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2037 | if (n = elt->user_flags) do { BUILDSTDERR: | ^ BUILDSTDERR: unix.c: In function 'unix_rewrite': BUILDSTDERR: unix.c:2101:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2101 | if (ret = unix_extend (stream,size)) { BUILDSTDERR: | ^~~ BUILDSTDERR: unix.c: In function 'unix_write': BUILDSTDERR: unix.c:2311:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2311 | if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { BUILDSTDERR: | ^ BUILDSTDERR: unix.c:2327:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2327 | if (j = min (i,f->protect - f->filepos)) { BUILDSTDERR: | ^ BUILDSTDERR: unix.c: In function 'unix_open': BUILDSTDERR: unix.c:519:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 519 | ftruncate (fd,i); /* make sure tied off */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_header': BUILDSTDERR: unix.c:630:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 630 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:640:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 640 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 641 | elt->private.msg.header.text.size); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_text_work': BUILDSTDERR: unix.c:707:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 707 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_copy': BUILDSTDERR: unix.c:956:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 956 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:982:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 982 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_append': BUILDSTDERR: unix.c:1152:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1152 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_rewrite': BUILDSTDERR: unix.c:2139:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2139 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2239:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2239 | ftruncate (LOCAL->fd,LOCAL->filesize = size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_extend': BUILDSTDERR: unix.c:2285:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2285 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'mbox_ping': BUILDSTDERR: unix.c:2611:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2611 | read (sfd,s = (char *) fs_get (size + 1),size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2621:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2621 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2629:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2629 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2640:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2640 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_parse': BUILDSTDERR: unix.c:1749:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] BUILDSTDERR: 1749 | sprintf (err,"Discarding bogus %s header in message %lu", BUILDSTDERR: | ^~ BUILDSTDERR: 1750 | (char *) tmp,elt->msgno); BUILDSTDERR: | ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from unix.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from mbx.c:42: BUILDSTDERR: mbx.c: In function 'mbx_isvalid': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mbx.c:233:12: note: in expansion of macro 'flock' BUILDSTDERR: 233 | if (flock (fd,LOCK_SH) || BUILDSTDERR: | ^~~~~ BUILDSTDERR: mbx.c:303:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: 303 | utime (tmp,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | utimes BUILDSTDERR: mbx.c: In function 'mbx_rename': BUILDSTDERR: mbx.c:480:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 480 | if (s = strrchr (tmp,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mbx.c: In function 'mbx_ping': BUILDSTDERR: mbx.c:825:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 825 | else if (ret = mbx_parse (stream)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c:829:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 829 | if (elt = mbx_elt (stream,i,LOCAL->expok)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c: In function 'mbx_expunge': BUILDSTDERR: mbx.c:888:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 888 | if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c:895:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 895 | else if (nexp = mbx_rewrite (stream,&reclaimed,sequence ? -1 : 1)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: mbx.c: In function 'mbx_snarf': BUILDSTDERR: mbx.c:938:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 938 | if (j = hdrlen + txtlen) { BUILDSTDERR: | ^ BUILDSTDERR: mbx.c: In function 'mbx_copy': BUILDSTDERR: mbx.c:1035:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1035 | if (s = stream->user_flags[find_rightmost_bit (&j)]) BUILDSTDERR: | ^ BUILDSTDERR: mbx.c:1044:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1044 | if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c: In function 'mbx_hdrpos': BUILDSTDERR: mbx.c:1644:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1644 | if (*size = elt->private.msg.header.text.size) return ret; BUILDSTDERR: | ^ BUILDSTDERR: mbx.c: In function 'mbx_rewrite': BUILDSTDERR: mbx.c:1736:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1736 | if (m = (elt = mbx_elt (stream,i,NIL))->private.special.offset - ppos) { BUILDSTDERR: | ^ BUILDSTDERR: mbx.c:1776:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1776 | if (m = (LOCAL->filesize -= delta) - pos) { BUILDSTDERR: | ^ BUILDSTDERR: mbx.c:1795:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1795 | if (elt = mbx_elt (stream,i,T)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c: In function 'mbx_header': BUILDSTDERR: mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 709 | read (LOCAL->fd,s = LOCAL->buf,*length); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_snarf': BUILDSTDERR: mbx.c:965:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 965 | ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_copy': BUILDSTDERR: mbx.c:1046:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1046 | read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c:1060:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1060 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_append': BUILDSTDERR: mbx.c:1195:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1195 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_parse': BUILDSTDERR: mbx.c:1269:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1269 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_rewrite': BUILDSTDERR: mbx.c:1757:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1757 | read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c:1781:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1781 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_isvalid': BUILDSTDERR: mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: 382 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | stime BUILDSTDERR: mmdf.c: In function 'mmdf_rename': BUILDSTDERR: mmdf.c:557:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 557 | if (s = strrchr (s,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from mmdf.c:34: BUILDSTDERR: mmdf.c: In function 'mmdf_open': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mmdf.c:669:5: note: in expansion of macro 'flock' BUILDSTDERR: 669 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_expunge': BUILDSTDERR: mmdf.c:984:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 984 | if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable] BUILDSTDERR: 991 | MESSAGECACHE *elt = mail_elt (stream,i); BUILDSTDERR: | ^~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append': BUILDSTDERR: mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable] BUILDSTDERR: 1173 | unsigned long uidlocation = 0; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append_msgs': BUILDSTDERR: mmdf.c:1394:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1394 | for (x = tmp; x = strpbrk (x,"\01\r"); --j) memmove (x,x+1,j-(x-tmp)); BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c: In function 'mmdf_parse': BUILDSTDERR: mmdf.c:1612:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1612 | else if (i = sbuf.st_size - LOCAL->filesize) { BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c:1934:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1934 | if (u = strpbrk (err,"\r\n")) *u = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c: In function 'mmdf_xstatus': BUILDSTDERR: mmdf.c:2178:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2178 | for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2200 | if (n = elt->user_flags) do { BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c: In function 'mmdf_rewrite': BUILDSTDERR: mmdf.c:2264:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2264 | if (ret = mmdf_extend (stream,size)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mmdf.c: In function 'mmdf_write': BUILDSTDERR: mmdf.c:2457:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2457 | if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c:2473:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2473 | if (j = min (i,f->protect - f->filepos)) { BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c: In function 'mmdf_open': BUILDSTDERR: mmdf.c:658:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 658 | ftruncate (fd,i); /* make sure tied off */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_header': BUILDSTDERR: mmdf.c:769:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 769 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:779:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 779 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 780 | elt->private.msg.header.text.size); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_text_work': BUILDSTDERR: mmdf.c:846:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 846 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_copy': BUILDSTDERR: mmdf.c:1091:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1091 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:1118:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1118 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append': BUILDSTDERR: mmdf.c:1288:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1288 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_rewrite': BUILDSTDERR: mmdf.c:2302:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2302 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:2385:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2385 | ftruncate (LOCAL->fd,LOCAL->filesize = size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_extend': BUILDSTDERR: mmdf.c:2431:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2431 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_parse': BUILDSTDERR: mmdf.c:1913:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] BUILDSTDERR: 1913 | sprintf (err,"Discarding bogus %s header in message %lu", BUILDSTDERR: | ^~ BUILDSTDERR: 1914 | (char *) tmp,elt->msgno); BUILDSTDERR: | ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from mmdf.c:28: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_isvalid': BUILDSTDERR: tenex.c:206:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: 206 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | stime BUILDSTDERR: In file included from tenex.c:47: BUILDSTDERR: tenex.c: In function 'tenex_rename': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: tenex.c:315:7: note: in expansion of macro 'flock' BUILDSTDERR: 315 | if (flock (fd,LOCK_EX|LOCK_NB)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: tenex.c:324:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 324 | if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ BUILDSTDERR: | ^ BUILDSTDERR: tenex.c: In function 'tenex_snarf': BUILDSTDERR: tenex.c:772:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 772 | if (j = hdrlen + txtlen) { BUILDSTDERR: | ^ BUILDSTDERR: tenex.c: In function 'tenex_fast': BUILDSTDERR: tenex.c:516:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 516 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_header': BUILDSTDERR: tenex.c:567:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 567 | read (LOCAL->fd,LOCAL->buf,*length = i); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:572:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 572 | read (LOCAL->fd,s,i); /* slurp the data */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_text': BUILDSTDERR: tenex.c:614:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 614 | read (LOCAL->fd,LOCAL->buf,i); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:629:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 629 | read (LOCAL->fd,s,i); /* slurp the data */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_snarf': BUILDSTDERR: tenex.c:799:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 799 | ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_expunge': BUILDSTDERR: tenex.c:890:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 890 | read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:917:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 917 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_copy': BUILDSTDERR: tenex.c:1008:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1008 | read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:1016:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1016 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_append': BUILDSTDERR: tenex.c:1150:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1150 | ftruncate (fd,sbuf.st_size);/* revert file */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_hdrpos': BUILDSTDERR: tenex.c:1456:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1456 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_isvalid': BUILDSTDERR: mtx.c:199:2: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: 199 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | utimes BUILDSTDERR: In file included from mtx.c:42: BUILDSTDERR: mtx.c: In function 'mtx_rename': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mtx.c:308:7: note: in expansion of macro 'flock' BUILDSTDERR: 308 | if (flock (fd,LOCK_EX|LOCK_NB)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: mtx.c:317:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 317 | if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ BUILDSTDERR: | ^ BUILDSTDERR: mtx.c: In function 'mtx_snarf': BUILDSTDERR: mtx.c:683:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 683 | if (j = hdrlen + txtlen) { BUILDSTDERR: | ^ BUILDSTDERR: mtx.c: In function 'mtx_header': BUILDSTDERR: mtx.c:515:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 515 | read (LOCAL->fd,LOCAL->buf,*length); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_snarf': BUILDSTDERR: mtx.c:710:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 710 | ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_expunge': BUILDSTDERR: mtx.c:801:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 801 | read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c:827:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 827 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_copy': BUILDSTDERR: mtx.c:918:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 918 | read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c:926:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 926 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_append': BUILDSTDERR: mtx.c:1053:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1053 | ftruncate (fd,sbuf.st_size);/* revert file */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_list': BUILDSTDERR: news.c:218:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 218 | if (s = strchr (pattern,'.')) *++s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: news.c:234:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 234 | if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { BUILDSTDERR: | ^ BUILDSTDERR: news.c:234:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 234 | if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { BUILDSTDERR: | ^ BUILDSTDERR: news.c:243:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 243 | } while (t = strtok_r (NIL,"\n",&r)); BUILDSTDERR: | ^ BUILDSTDERR: news.c: In function 'news_canonicalize': BUILDSTDERR: news.c:286:34: warning: value computed is not used [-Wunused-value] BUILDSTDERR: 286 | for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: | ^~~~ BUILDSTDERR: news.c: In function 'news_open': BUILDSTDERR: news.c:368:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 368 | while (s = strchr (s,'.')) *s = '/'; BUILDSTDERR: | ^ BUILDSTDERR: news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from news.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from news.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_select': BUILDSTDERR: news.c:409:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 409 | while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: news.c: In function 'news_valid': BUILDSTDERR: news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 161 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_list': BUILDSTDERR: news.c:228:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 228 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phile.c: In function 'phile_open': BUILDSTDERR: phile.c:292:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 292 | if (k = t->tm_yday - k) i += ((k < 0) == (abs (k) == 1)) ? -24*60 : 24*60; BUILDSTDERR: | ^ BUILDSTDERR: phile.c:309:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 309 | if (pw = getpwuid (sbuf.st_uid)) strcpy (tmp,pw->pw_name); BUILDSTDERR: | ^~ BUILDSTDERR: phile.c:321:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 321 | if (i = phile_type (buf->data,buf->size,&j)) { BUILDSTDERR: | ^ BUILDSTDERR: phile.c:317:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 317 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c: In function 'mh_path': BUILDSTDERR: mh.c:257:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 257 | if (v = strpbrk (s," \t")) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_dirfmttest': BUILDSTDERR: mh.c:330:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 330 | while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_scan': BUILDSTDERR: mh.c:349:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 349 | if (s = strchr (test,'/')) *++s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mh.c:362:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 362 | if (s = strpbrk (test,"%*")) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c:369:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 369 | if (s = strrchr (file,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_lsub': BUILDSTDERR: mh.c:407:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_list_work': BUILDSTDERR: mh.c:431:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 431 | if (dp = opendir (curdir)) { /* open directory */ BUILDSTDERR: | ^~ BUILDSTDERR: mh.c:432:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 432 | while (d = readdir (dp)) /* scan, ignore . and numeric names */ BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_delete': BUILDSTDERR: mh.c:516:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 516 | if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mh.c:519:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 519 | while (d = readdir (dirp)) if (mh_dirfmttest (d->d_name)) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_rename': BUILDSTDERR: mh.c:556:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 556 | if (s = strrchr (mh_file (tmp1,newname),'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_ping': BUILDSTDERR: mh.c:865:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 865 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:865:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 865 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:889:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 889 | if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: | ^ BUILDSTDERR: mh.c:939:17: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 939 | sprintf (tmp,"Message copy to MH mailbox failed: %.80s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c: In function 'mh_expunge': BUILDSTDERR: mh.c:983:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 983 | if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: mh.c: In function 'mh_append': BUILDSTDERR: mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:1138:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1138 | if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: | ^ BUILDSTDERR: mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1102 | long i,size,last,nfiles; BUILDSTDERR: | ^~~~ BUILDSTDERR: mh.c: In function 'mh_select': BUILDSTDERR: mh.c:1201:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1201 | while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_canonicalize': BUILDSTDERR: mh.c:1264:34: warning: value computed is not used [-Wunused-value] BUILDSTDERR: 1264 | for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: | ^~~~ BUILDSTDERR: mh.c: In function 'mh_setdate': BUILDSTDERR: mh.c:1282:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: 1282 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | utimes BUILDSTDERR: mh.c: In function 'mh_path': BUILDSTDERR: mh.c:251:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 251 | read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_dirfmttest': BUILDSTDERR: mx.c:242:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 242 | while (c = *name++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_scan_contents': BUILDSTDERR: mx.c:277:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:289:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 289 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_create': BUILDSTDERR: mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] BUILDSTDERR: 348 | int fd; BUILDSTDERR: | ^~ BUILDSTDERR: mx.c: In function 'mx_delete': BUILDSTDERR: mx.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 395 | if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mx.c:398:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 398 | while (d = readdir (dirp)) if (mx_select (d)) { BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_rename': BUILDSTDERR: mx.c:441:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 441 | if (s = strrchr (mx_file (tmp1,newname),'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:469:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 469 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_ping': BUILDSTDERR: mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:752:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 752 | if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: | ^ BUILDSTDERR: mx.c:803:17: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 803 | sprintf (tmp,"Message copy to MX mailbox failed: %.80s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_expunge': BUILDSTDERR: mx.c:847:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 847 | if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: mx.c: In function 'mx_copy': BUILDSTDERR: mx.c:939:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 939 | if (ret = ((fd = open (mx_fast_work (stream,elt),O_RDONLY,NIL)) BUILDSTDERR: | ^~~ BUILDSTDERR: mx.c:949:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 949 | if (j = elt->user_flags) do BUILDSTDERR: | ^ BUILDSTDERR: mx.c:950:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 950 | if (t = stream->user_flags[find_rightmost_bit (&j)]) BUILDSTDERR: | ^ BUILDSTDERR: mx.c:960:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 960 | if (ret = mx_append_msg (astream,tmp,elt,&st,dest)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 904 | unsigned long i,j,uid,uidv; BUILDSTDERR: | ^~~ BUILDSTDERR: mx.c: In function 'mx_select': BUILDSTDERR: mx.c:1117:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1117 | while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: In file included from mx.c:35: BUILDSTDERR: mx.c: In function 'mx_lockindex': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mx.c:1173:5: note: in expansion of macro 'flock' BUILDSTDERR: 1173 | flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: mx.c:1189:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1189 | if (s = strchr (t = ++s,'\n')) { BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_setdate': BUILDSTDERR: mx.c:1286:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: 1286 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | utimes BUILDSTDERR: mx.c: In function 'mx_header': BUILDSTDERR: mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 636 | read (fd,LOCAL->buf,elt->rfc822_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_lockindex': BUILDSTDERR: mx.c:1177:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1177 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_unlockindex': BUILDSTDERR: mx.c:1269:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1269 | ftruncate (LOCAL->fd,size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_scan_contents': BUILDSTDERR: mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 324 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 324 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:336:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 336 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_create': BUILDSTDERR: mix.c:63:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:63:16: note: in definition of macro 'MTAFMT' BUILDSTDERR: 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:63:36: note: format string is defined here BUILDSTDERR: 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: In file included from mix.c:33: BUILDSTDERR: mix.c: In function 'mix_delete': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mix.c:471:50: note: in expansion of macro 'flock' BUILDSTDERR: 471 | else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: mix.c:480:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 480 | if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c:483:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 483 | while (d = readdir (dirp)) if (mix_dirfmttest (d->d_name)) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_rename': BUILDSTDERR: mix.c:531:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 531 | if (s = strrchr (tmp1,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 556 | for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:569:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 569 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_open': BUILDSTDERR: mix.c:636:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 636 | if (silent = stream->silent) LOCAL->internal = T; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mix.c: In function 'mix_header': BUILDSTDERR: mix.c:754:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 754 | if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable] BUILDSTDERR: 711 | int fd; BUILDSTDERR: | ^~ BUILDSTDERR: mix.c: In function 'mix_text': BUILDSTDERR: mix.c:774:17: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 774 | unsigned long i; BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_ping': BUILDSTDERR: mix.c:965:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 965 | if (snarfok = mail_append_full (stream,"INBOX",flags,date,&msg)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: mix.c:990:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 990 | if (statf = mix_parse (stream,&idxf,LONGT, BUILDSTDERR: | ^~~~~ BUILDSTDERR: mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable] BUILDSTDERR: 929 | int mfd,ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable] BUILDSTDERR: 929 | int mfd,ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable] BUILDSTDERR: 929 | int mfd,ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c: In function 'mix_expunge': BUILDSTDERR: mix.c:1038:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1038 | else if (statf = mix_parse (stream,&idxf,LONGT, BUILDSTDERR: | ^~~~~ BUILDSTDERR: mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1054 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1054 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1110 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable] BUILDSTDERR: 1026 | int ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable] BUILDSTDERR: 1026 | int ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c: In function 'mix_burp': BUILDSTDERR: mix.c:1236:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1236 | else if (ret = !truncate (LOCAL->buf,burp->set.last)) BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1219 | void *s; BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_burp_check': BUILDSTDERR: mix.c:1340:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1340 | } while (set = set->next); BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c: In function 'mix_copy': BUILDSTDERR: mix.c:1378:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1378 | else if (ret = ((astream = mail_open (NIL,mailbox,OP_SILENT)) && BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:23: note: format string is defined here BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:64: note: format string is defined here BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:1403:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1403 | if (msgf = mix_data_open (astream,&fd,&size,newsize)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c:1432:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1432 | if (j = elt->user_flags) do BUILDSTDERR: | ^ BUILDSTDERR: mix.c:1455:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1455 | if (ret = (mix_meta_update (astream) && BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1405 | unsigned long j,uid,uidv; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c: In function 'mix_append': BUILDSTDERR: mix.c:1519:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1519 | if (ret = compare_cstring (mailbox,"INBOX") ? BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:1536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1536 | if (ret = ((astream = mail_open (NIL,mailbox,OP_SILENT)) && BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:23: note: format string is defined here BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:64: note: format string is defined here BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:1555:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1555 | if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c: In function 'mix_append_msg': BUILDSTDERR: mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable] BUILDSTDERR: 1632 | unsigned long i,j,k,uf,hoff; BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 1632 | unsigned long i,j,k,uf,hoff; BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_parse': BUILDSTDERR: mix.c:1743:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1743 | else if (s = mix_meta_slurp (stream,&i)) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c:1750:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1750 | if (s = strstr (t = s,"\015\012")) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c:1779:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1779 | if (t = strchr (k = t,' ')) *t++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_index_update': BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:22: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:63: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:69: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:75: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:81: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:87: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c: In function 'mix_status_update': BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:22: note: format string is defined here BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:28: note: format string is defined here BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:39: note: format string is defined here BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c: In function 'mix_data_open': BUILDSTDERR: mix.c:2425:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2425 | if (msgf = fdopen (*fd,"r+b")) fseek (msgf,*size,SEEK_SET); BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_open': BUILDSTDERR: mix.c:2489:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2489 | if (i = mail_msgno (stream,uid)) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_sortcache_update': BUILDSTDERR: mix.c:2668:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2668 | if (sl = s->references) /* count length of references */ BUILDSTDERR: | ^~ BUILDSTDERR: mix.c: In function 'mix_read_record': BUILDSTDERR: mix.c:2723:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2723 | if (s = strchr (buf,'\012')) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_copy': BUILDSTDERR: mix.c:1477:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1477 | ftruncate (fd,size); /* revert file */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_append': BUILDSTDERR: mix.c:1594:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1594 | ftruncate (fd,size); /* revert all writes to file*/ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_meta_update': BUILDSTDERR: mix.c:2209:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2209 | ftruncate (LOCAL->mfd,i); /* and tie off at that point */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_index_update': BUILDSTDERR: mix.c:2255:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2255 | ftruncate (fileno (idxf),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:2288:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2288 | if (ret) ftruncate (fileno (idxf),ftell (idxf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_status_update': BUILDSTDERR: mix.c:2335:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2335 | ftruncate (fileno (statf),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:2369:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2369 | if (ret) ftruncate (fileno (statf),ftell (statf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_update': BUILDSTDERR: mix.c:2697:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2697 | if (ret) ftruncate (fileno (f),ftell (f)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_open': BUILDSTDERR: mix.c:2640:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2640 | else fchmod (fd,sbuf.st_mode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from osdep.h:43, BUILDSTDERR: from osdep.c:31: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from auths.c:2, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_gss.c: In function 'auth_gssapi_client': BUILDSTDERR: auth_gss.c:100:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 100 | if (chal.value = (*challenger) (stream,(unsigned long *) &chal.length)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_gss.c: In function 'auth_gssapi_server': BUILDSTDERR: auth_gss.c:339:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 339 | if (resp.value = (*responder) ("",0,(unsigned long *) &resp.length)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_gss.c:399:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: 399 | SERVER_LOG ("Failed to acquire credentials for %s",buf.value); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: 55 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: | ^ BUILDSTDERR: auth_gss.c:399:50: note: format string is defined here BUILDSTDERR: 399 | SERVER_LOG ("Failed to acquire credentials for %s",buf.value); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: | %p BUILDSTDERR: auth_gss.c:406:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: 406 | SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: 55 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: | ^ BUILDSTDERR: auth_gss.c:406:42: note: format string is defined here BUILDSTDERR: 406 | SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: | %p BUILDSTDERR: auth_gss.c:414:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: 414 | SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void * BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: 55 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: | ^ BUILDSTDERR: auth_gss.c:414:41: note: format string is defined here BUILDSTDERR: 414 | SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: | %p BUILDSTDERR: In file included from auths.c:3, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_ext.c: In function 'auth_external_client': BUILDSTDERR: auth_ext.c:62:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 62 | if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_ext.c:66:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 66 | if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from auths.c:4, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_md5.c: In function 'auth_md5_client': BUILDSTDERR: auth_md5.c:105:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 105 | if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_md5.c:120:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 120 | if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_md5.c: In function 'auth_md5_server': BUILDSTDERR: auth_md5.c:155:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 155 | if (user = (*responder) (chal,cl = strlen (chal),NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_md5.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 157 | if (hash = strrchr (user,' ')) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_md5.c:160:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 160 | if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: auth_md5.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 162 | if (p = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { BUILDSTDERR: | ^ BUILDSTDERR: auth_md5.c: In function 'apop_login': BUILDSTDERR: auth_md5.c:238:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 238 | if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: auth_md5.c:240:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 240 | if (s = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from auths.c:5, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_pla.c: In function 'auth_plain_client': BUILDSTDERR: auth_pla.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 66 | if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_pla.c:94:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 94 | if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_pla.c: In function 'auth_plain_server': BUILDSTDERR: auth_pla.c:123:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 123 | if (aid = (*responder) ("",0,&len)) { BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from auths.c:6, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_log.c: In function 'auth_login_client': BUILDSTDERR: auth_log.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 66 | if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_log.c:81:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 81 | if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: auth_log.c: In function 'auth_login_server': BUILDSTDERR: auth_log.c:107:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 107 | if (user = (*responder) (PWD_USER,sizeof (PWD_USER),NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_log.c:108:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 108 | if (pass = (*responder) (PWD_PWD,sizeof (PWD_PWD),NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: auth_log.c:110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 110 | if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'do_date': BUILDSTDERR: env_unix.c:514:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 514 | if (julian = t->tm_yday -julian) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: env_unix.c: In function 'valpwd': BUILDSTDERR: env_unix.c:669:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 669 | if (s = auth_md5_pwd (user)) { BUILDSTDERR: | ^ BUILDSTDERR: env_unix.c:676:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 676 | else if (pw = pwuser (user)) {/* can get user? */ BUILDSTDERR: | ^~ BUILDSTDERR: env_unix.c: In function 'dotlock_lock': BUILDSTDERR: env_unix.c:1251:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1251 | if (s = strrchr (base->lock,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from osdep.c:31: BUILDSTDERR: env_unix.c: In function 'lock_work': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: env_unix.c:1374:27: note: in expansion of macro 'flock' BUILDSTDERR: 1374 | if (op & LOCK_NB) i = flock (fd,op); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'dorc': BUILDSTDERR: env_unix.c:1582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1582 | if (d = mail_valid (NIL,"INBOX",NIL)) { BUILDSTDERR: | ^ BUILDSTDERR: env_unix.c:1595:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1595 | if (d = (DRIVER *) mail_parameters (NIL,GET_DRIVER,(void *) k)) BUILDSTDERR: | ^ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c: In function 'tcp_open': BUILDSTDERR: tcp_unix.c:175:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 175 | if (adr = ip_stringtoaddr (tmp,&adrlen,&family)) { BUILDSTDERR: | ^~~ BUILDSTDERR: tcp_unix.c:215:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 215 | if (stream->ictr = ctr) *(stream->iptr = stream->ibuf) = tmp[0]; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tcp_unix.c: In function 'tcp_aopen': BUILDSTDERR: tcp_unix.c:350:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 350 | if (adr = ip_stringtoaddr (host,&len,&i)) fs_give ((void **) &adr); BUILDSTDERR: | ^~~ BUILDSTDERR: tcp_unix.c: In function 'tcp_getbuffer': BUILDSTDERR: tcp_unix.c:526:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 526 | if (n = min (size,stream->ictr)) { BUILDSTDERR: | ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_clienthost': BUILDSTDERR: tcp_unix.c:832:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 832 | if (v = strchr (s,' ')) *v = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_name': BUILDSTDERR: tcp_unix.c:959:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 959 | if (t = tcp_name_valid (ip_sockaddrtoname (sadr))) { BUILDSTDERR: | ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_isclienthost': BUILDSTDERR: tcp_unix.c:1000:17: warning: unused variable 'sadrlen' [-Wunused-variable] BUILDSTDERR: 1000 | size_t adrlen,sadrlen,len; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: osdep.c: In function 'checkpw': BUILDSTDERR: osdep.c:164:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 164 | if (pw = ((pam_start ((char *) mail_parameters (NIL,GET_SERVICENAME,NIL), BUILDSTDERR: | ^~ BUILDSTDERR: osdep.c: In function 'ssl_start_work': BUILDSTDERR: osdep.c:460:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 460 | TLSv1_client_method () : BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/e_os2.h:13, BUILDSTDERR: from /usr/include/openssl/bio.h:13, BUILDSTDERR: from /usr/include/openssl/x509v3.h:13, BUILDSTDERR: from osdep.c:267: BUILDSTDERR: /usr/include/openssl/ssl.h:1871:45: note: declared here BUILDSTDERR: 1871 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:479:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 479 | if (s = (char *) mail_parameters (NIL,GET_SSLCAPATH,NIL)) BUILDSTDERR: | ^ BUILDSTDERR: osdep.c:483:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 483 | if (cert = PEM_read_bio_X509 (bio = BIO_new_mem_buf (s,sl),NIL,NIL,NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: osdep.c:492:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 492 | if (key = PEM_read_bio_PrivateKey (bio = BIO_new_mem_buf (t,tl), BUILDSTDERR: | ^~~ BUILDSTDERR: osdep.c:451:25: warning: unused variable 'scq' [-Wunused-variable] BUILDSTDERR: 451 | sslcertificatequery_t scq = BUILDSTDERR: | ^~~ BUILDSTDERR: osdep.c:450:19: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: 450 | char *s,*t,*err,tmp[MAILTMPLEN]; BUILDSTDERR: | ^~~ BUILDSTDERR: osdep.c:450:15: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: 450 | char *s,*t,*err,tmp[MAILTMPLEN]; BUILDSTDERR: | ^~~ BUILDSTDERR: osdep.c: In function 'ssl_server_init': BUILDSTDERR: osdep.c:955:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 955 | TLSv1_server_method () : BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/e_os2.h:13, BUILDSTDERR: from /usr/include/openssl/bio.h:13, BUILDSTDERR: from /usr/include/openssl/x509v3.h:13, BUILDSTDERR: from osdep.c:267: BUILDSTDERR: /usr/include/openssl/ssl.h:1870:45: note: declared here BUILDSTDERR: 1870 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:1007:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1007 | while (i = ERR_get_error ()) /* SSL failure */ BUILDSTDERR: | ^ BUILDSTDERR: osdep.c: In function 'ssl_genkey': BUILDSTDERR: osdep.c:1026:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 1026 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/openssl/e_os2.h:13, BUILDSTDERR: from /usr/include/openssl/bio.h:13, BUILDSTDERR: from /usr/include/openssl/x509v3.h:13, BUILDSTDERR: from osdep.c:267: BUILDSTDERR: /usr/include/openssl/rsa.h:234:1: note: declared here BUILDSTDERR: 234 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:1029:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1029 | while (i = ERR_get_error ()) BUILDSTDERR: | ^ BUILDSTDERR: osdep.c: At top level: BUILDSTDERR: osdep.c:299:14: warning: 'ssl_validate_cert' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 299 | static char *ssl_validate_cert (X509 *cert,char *host); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from auths.c:4, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_md5.c: In function 'auth_md5_pwd': BUILDSTDERR: auth_md5.c:195:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 195 | read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'pw_login': BUILDSTDERR: env_unix.c:785:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 785 | (ret = env_init (user,home))) chdir (myhomedir ()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: osdep.c:601:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] BUILDSTDERR: 601 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c: In function 'tcp_name': BUILDSTDERR: tcp_unix.c:953:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] BUILDSTDERR: 953 | sprintf (tmp,"Reverse DNS resolution %s",adr); BUILDSTDERR: | ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from osdep.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c:961:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 961 | if (flag) sprintf (ret = tmp,"%s %s",t,adr); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from osdep.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mail.c: In function 'mm_cache': BUILDSTDERR: mail.c:212:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 212 | if (stream->cache[i] = stream->cache[msgno]) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mail.c: In function 'mail_parameters': BUILDSTDERR: mail.c:385:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 385 | if (ret = (void *) d) d->flags &= ~DR_DISABLE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:390:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 390 | if (ret = (void *) d) d->flags |= DR_DISABLE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 395 | if (ret = (void *) a) a->flags &= ~AU_DISABLE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:400:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 400 | if (ret = (void *) a) a->flags |= AU_DISABLE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:405:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 405 | if (ret = (void *) a) a->flags &= ~AU_HIDE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:410:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 410 | if (ret = (void *) a) a->flags |= AU_HIDE; BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:644:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 644 | if (r = smtp_parameters (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c:645:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 645 | if (r = env_parameters (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c:646:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 646 | if (r = tcp_parameters (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c:648:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 648 | if (r = (*stream->dtb->parameters) (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c:652:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 652 | if (r = (d->parameters) (function,value)) ret = r; BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_valid_net_parse_work': BUILDSTDERR: mail.c:766:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 766 | if (t = strpbrk (s = t,"/:=")) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:784:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 784 | if (t = strpbrk (v = t,"/:")) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_list': BUILDSTDERR: mail.c:919:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 919 | while (d = d->next); /* until at the end */ BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_lsub': BUILDSTDERR: mail.c:952:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 952 | while (d = d->next); /* until at the end */ BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_create': BUILDSTDERR: mail.c:996:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 996 | if (s = strpbrk (mailbox,"\015\012")) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:1012:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (s = mail_utf7_valid (mailbox)) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_rename': BUILDSTDERR: mail.c:1092:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1092 | if (s = mail_utf7_valid (newname)) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_open': BUILDSTDERR: mail.c:1199:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1199 | if (stream = mail_open (stream,s+1,options)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mail.c:1216:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1216 | if (stream = mail_open (stream,mb.mailbox,options)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mail.c:1243:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1243 | if (s = strpbrk (tmp,"/\\:")) *s++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_fetch_structure': BUILDSTDERR: mail.c:1543:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1543 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_message': BUILDSTDERR: mail.c:1655:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1655 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_header': BUILDSTDERR: mail.c:1725:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1725 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c:1778:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1778 | if (rt.data = (unsigned char *) BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_fetch_text': BUILDSTDERR: mail.c:1816:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1816 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_mime': BUILDSTDERR: mail.c:1871:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1871 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_body': BUILDSTDERR: mail.c:1954:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1954 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_partial_text': BUILDSTDERR: mail.c:2012:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2012 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_partial_body': BUILDSTDERR: mail.c:2082:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2082 | if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_msgno': BUILDSTDERR: mail.c:2232:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2232 | if (delta = ((last - first) / 2)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_search_default': BUILDSTDERR: mail.c:2386:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2386 | if (msg = utf8_badcharset (charset)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_append_multiple': BUILDSTDERR: mail.c:2612:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2612 | else if (d = mail_valid (stream,mailbox,NIL)) BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_gc': BUILDSTDERR: mail.c:2650:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2650 | if (elt = (MESSAGECACHE *) (*mailcache) (stream,i,CH_ELT)) BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_body': BUILDSTDERR: mail.c:2725:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2725 | if (pt = b->nested.part) while (--i && (pt = pt->next)); BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_parse_date': BUILDSTDERR: mail.c:3085:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3085 | if (t = gmtime (&tn)) { /* minus UTC minutes since midnight */ BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_uid_sequence': BUILDSTDERR: mail.c:3306:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3306 | if (x = mail_msgno (stream,i)) mail_elt (stream,x)->sequence = T; BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_match_lines': BUILDSTDERR: mail.c:3339:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3339 | while (lines = lines->next); BUILDSTDERR: | ^~~~~ BUILDSTDERR: mail.c: In function 'mail_filter': BUILDSTDERR: mail.c:3371:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3371 | if (i = t - tmp) /* see if found in header */ BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_search_header_text': BUILDSTDERR: mail.c:3621:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3621 | if (h.data = (unsigned char *) s) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_search_text': BUILDSTDERR: mail.c:3672:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3672 | if (st = st->next) s = s->next = mail_newstringlist (); BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_search_body': BUILDSTDERR: mail.c:3754:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3754 | if (body = body->nested.msg->body) BUILDSTDERR: | ^~~~ BUILDSTDERR: mail.c:3771:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3771 | if (st.data = (unsigned char *) BUILDSTDERR: | ^~ BUILDSTDERR: mail.c:3778:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3778 | if (st.data = rfc822_qprint ((unsigned char *) s,i,&st.size)) { BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_search_string': BUILDSTDERR: mail.c:3806:16: warning: unused variable 'sc' [-Wunused-variable] BUILDSTDERR: 3806 | STRINGLIST **sc = st; BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_search_keyword': BUILDSTDERR: mail.c:3859:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3859 | } while (st = st->next); BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_search_addr': BUILDSTDERR: mail.c:3888:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3888 | if (tadr.personal = a->personal) k += 3 + 2*strlen (a->personal); BUILDSTDERR: | ^~~~ BUILDSTDERR: mail.c:3889:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3889 | if (tadr.adl = a->adl) k += 3 + 2*strlen (a->adl); BUILDSTDERR: | ^~~~ BUILDSTDERR: mail.c:3890:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3890 | if (tadr.host = a->host) k += 3 + 2*strlen (a->host); BUILDSTDERR: | ^~~~ BUILDSTDERR: mail.c: In function 'mail_criteria_string': BUILDSTDERR: mail.c:4125:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4125 | if (d = strtok_r (c,end,r)) n = strlen (d); BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_sort_loadcache': BUILDSTDERR: mail.c:4336:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4336 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4372:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4372 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4380:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4380 | if (v = strchr (v,':')) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4387:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4387 | if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:4405:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4405 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4413:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4413 | if (v = strchr (v,':')) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4420:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4420 | if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:4438:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4438 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4446:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4446 | if (v = strchr (v,':')) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:4453:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4453 | if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:4472:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4472 | for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_strip_subject': BUILDSTDERR: mail.c:4506:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4506 | if (src.size = strlen (t)) { /* have non-empty subject? */ BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_sort_compare': BUILDSTDERR: mail.c:4662:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4662 | while (pgm = i ? NIL : pgm->next); BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_thread_orderedsubject': BUILDSTDERR: mail.c:4789:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4789 | if (lst = (*sorter) (stream,charset,spg,&pgm,flags & ~(SE_FREE | SE_UID))){ BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_thread_references': BUILDSTDERR: mail.c:4903:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4903 | if (env = mail_fetch_structure (stream,s->num,NIL,NIL)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c:4951:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4951 | THREADLINKS); st = st->next; con = nxc) { BUILDSTDERR: | ^~ BUILDSTDERR: mail.c: In function 'mail_thread_parse_references': BUILDSTDERR: mail.c:5183:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5183 | if (t = mail_thread_parse_msgid (s,&s)) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c:5187:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5187 | for (cur = ret; t = mail_thread_parse_msgid (s,&s); cur = cur->next) { BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'mail_thread_c2node': BUILDSTDERR: mail.c:5289:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5289 | if (nxt = CHILD (con)) cur->next = mail_thread_c2node (stream,nxt,flags); BUILDSTDERR: | ^~~ BUILDSTDERR: mail.c: In function 'mail_parse_flags': BUILDSTDERR: mail.c:5440:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5440 | if (n = strchr (t,' ')) *n++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mail.c: In function 'net_open_work': BUILDSTDERR: mail.c:6201:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 6201 | if (tstream = (*dv->open) (host,service,port | flags)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: mail.c: In function 'net_aopen': BUILDSTDERR: mail.c:6223:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 6223 | if (tstream = (*dv->aopen) (mb,service,user)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: mail.c: In function 'mail_parse_set': BUILDSTDERR: mail.c:4149:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 4149 | else cur = cur->next = mail_newsearchset (); BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'hash_reset': BUILDSTDERR: misc.c:318:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 318 | for (i = 0; i < hashtab->size; i++) if (ent = hashtab->table[i]) BUILDSTDERR: | ^~~ BUILDSTDERR: misc.c: In function 'hash_index': BUILDSTDERR: misc.c:335:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 335 | for (ret = 0; i = (unsigned int) *key++; ret += i) ret *= HASHMULT; BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'compare_cstring': BUILDSTDERR: misc.c:452:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 452 | for (; *s1 && *s2; s1++,s2++) if (i = (compare_uchar (*s1,*s2))) return i; BUILDSTDERR: | ^ BUILDSTDERR: misc.c: In function 'compare_csizedtext': BUILDSTDERR: misc.c:472:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 472 | if (i = (compare_uchar (*s1,*s))) return i; BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c: In function 'newsrc_newmessages': BUILDSTDERR: newsrc.c:126:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 126 | if (k = elt->private.uid - 1) { BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c: In function 'newsrc_write': BUILDSTDERR: newsrc.c:343:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 343 | if (f = fopen (newsrc,"rb")) {/* have existing newsrc file? */ BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c:368:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 368 | if (f = newsrc_create (stream,NIL)) bf = NIL; BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c:384:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 384 | if (f = newsrc_create (stream,T)) bf = NIL; BUILDSTDERR: | ^ BUILDSTDERR: newsrc.c: In function 'newsrc_state': BUILDSTDERR: newsrc.c:468:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 468 | fread (s,(size_t) 1,size,f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: smanager.c: In function 'sm_subscribe': BUILDSTDERR: smanager.c:46:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 46 | if (f = fopen (db,"r")) { /* make sure not already there */ BUILDSTDERR: | ^ BUILDSTDERR: smanager.c:48:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 48 | if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: smanager.c: In function 'sm_unsubscribe': BUILDSTDERR: smanager.c:88:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 88 | if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: smanager.c: In function 'sm_read': BUILDSTDERR: smanager.c:119:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 119 | if (f = fopen (sbname,"r")) *sdb = (void *) f; BUILDSTDERR: | ^ BUILDSTDERR: smanager.c:123:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 123 | if (s = strchr (sbname,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: utf8.c:114:39: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 114 | static const CHARSET utf8_csvalid[] = { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c:347:38: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 347 | static const SCRIPT utf8_scvalid[] = { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c: In function 'utf8_rmap_cs': BUILDSTDERR: utf8.c:662:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 662 | else if (ret = utf8_rmap_gen (cs,currmap)) { BUILDSTDERR: | ^~~ BUILDSTDERR: utf8.c: In function 'utf8_rmaptext': BUILDSTDERR: utf8.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 794 | if (i = utf8_rmapsize (text,rmap,errch,iso2022jp)) { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c: In function 'utf8_csvalidmap': BUILDSTDERR: utf8.c:1293:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1293 | if (cs = utf8_charset (s)) { BUILDSTDERR: | ^~ BUILDSTDERR: utf8.c: In function 'ucs4_decompose': BUILDSTDERR: utf8.c:2395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2395 | if (m = (struct decomposemore *) *more) switch (m->type) { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c:2418:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2418 | if (i = ucs4_dbmploixtab[c - UCS4_BMPLOMIN]) { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c:2448:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2448 | if (i = ucs4_dbmphiixtab[c - UCS4_BMPHIMIN]) { BUILDSTDERR: | ^ BUILDSTDERR: utf8.c: In function 'ucs4_decompose_recursive': BUILDSTDERR: utf8.c:2513:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2513 | if (mr = (RECURSIVEMORE *) *more) switch (mr->more->type) { BUILDSTDERR: | ^~ BUILDSTDERR: utf8.c:2533:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2533 | if (mr = mn) { /* did this value recurse on us? */ BUILDSTDERR: | ^~ BUILDSTDERR: utf8.c: In function 'ucs4_decompose': BUILDSTDERR: utf8.c:2497:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2497 | return ret; BUILDSTDERR: | ^~~ BUILDSTDERR: utf8aux.c: In function 'utf8_stringlist': BUILDSTDERR: utf8aux.c:47:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 47 | } while (st = st->next); BUILDSTDERR: | ^~ BUILDSTDERR: utf8aux.c: In function 'utf8_mime2text': BUILDSTDERR: utf8aux.c:136:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 136 | if (ls = strchr (cs,'*')) *ls = '\0'; BUILDSTDERR: | ^~ BUILDSTDERR: utf8aux.c: In function 'mime2_decode': BUILDSTDERR: utf8aux.c:241:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 241 | if (txt->data = (unsigned char *) rfc822_base64 (t,te - t,&txt->size)) BUILDSTDERR: | ^~~ BUILDSTDERR: dummy.c: In function 'dummy_scan': BUILDSTDERR: dummy.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 162 | if (s = strchr (test,'/')) *++s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: dummy.c:170:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 170 | if (s = strpbrk (test,"%*")) { BUILDSTDERR: | ^ BUILDSTDERR: dummy.c:176:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 176 | if (s = strrchr (file,'/')){/* find directory name */ BUILDSTDERR: | ^ BUILDSTDERR: dummy.c: In function 'dummy_lsub': BUILDSTDERR: dummy.c:233:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 233 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: dummy.c: In function 'dummy_list_work': BUILDSTDERR: dummy.c:282:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 282 | if (dp = opendir (tmp)) { /* do nothing if can't open directory */ BUILDSTDERR: | ^~ BUILDSTDERR: dummy.c:294:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 294 | if (!dir || dir[(len = strlen (dir)) - 1] == '/') while (d = readdir (dp)) BUILDSTDERR: | ^ BUILDSTDERR: dummy.c: In function 'dummy_create_path': BUILDSTDERR: dummy.c:485:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 485 | if (s = strrchr (path,'/')) { /* found superior to this name? */ BUILDSTDERR: | ^ BUILDSTDERR: dummy.c: In function 'dummy_append': BUILDSTDERR: dummy.c:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point] BUILDSTDERR: 728 | if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_canonicalize': BUILDSTDERR: dummy.c:803:28: warning: value computed is not used [-Wunused-value] BUILDSTDERR: 803 | for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: | ^~~~ BUILDSTDERR: dummy.c: In function 'dummy_scan_contents': BUILDSTDERR: dummy.c:383:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 383 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_list_work': BUILDSTDERR: dummy.c:313:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 313 | sprintf (path,"%s/",tmp); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from dummy.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'sprintf', BUILDSTDERR: inlined from 'dummy_delete' at dummy.c:523:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: warning: '%.80s' directive argument is null [-Wformat-overflow=] BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: netmsg.c: In function 'netmsg_slurp': BUILDSTDERR: netmsg.c:64:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 64 | if (f = fopen (tmp,"wb+")) unlink (tmp); BUILDSTDERR: | ^ BUILDSTDERR: netmsg.c:73:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 73 | while (s = net_getline (stream)) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from osdep.h:43, BUILDSTDERR: from fdstring.c:30: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: fdstring.c: In function 'fd_string_setpos': BUILDSTDERR: fdstring.c:94:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 94 | if (s->cursize = min (s->chunksize,SIZE (s))) { BUILDSTDERR: | ^ BUILDSTDERR: fdstring.c:97:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 97 | read ((long) s->data,s->curpos,(size_t) s->cursize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fdstring.c: In function 'fd_string_init': BUILDSTDERR: fdstring.c:67:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 67 | read (d->fd,s->chunk,(size_t) s->cursize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_msg_full': BUILDSTDERR: rfc822.c:155:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 155 | if (t = d = strchr (tmp,':')) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:204:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 204 | while (c = *d++) if (c != ' ') *t++ = c; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:218:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 218 | if (t = rfc822_parse_phrase (d)) *t = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:229:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 229 | while (c = *d++) if (c != ' ') *t++ = c; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_content': BUILDSTDERR: rfc822.c:381:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 381 | if (m = GETPOS (bs)) m--; /* get position in front of character */ BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:394:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 394 | if (k = j - 2) for (s = s1; i-- && *s++ == (c = SNX (bs)) && --k;); BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:449:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 449 | if (i = part->body.mime.text.size) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_content_header': BUILDSTDERR: rfc822.c:550:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 550 | if (t = strchr (name,' ')) *t = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_adrlist': BUILDSTDERR: rfc822.c:740:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 740 | else if (adr = rfc822_parse_address (lst,last,&string,host,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_address': BUILDSTDERR: rfc822.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 794 | if (adr = rfc822_parse_group (lst,last,string,defaulthost,depth)) last = adr; BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c:796:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 796 | else if (adr = rfc822_parse_mailbox (string,defaulthost)) { BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_group': BUILDSTDERR: rfc822.c:842:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 842 | if (adr = rfc822_parse_address (lst,last,string,defaulthost,depth+1)) { BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_mailbox': BUILDSTDERR: rfc822.c:901:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 901 | else if (end = rfc822_parse_phrase (s)) { BUILDSTDERR: | ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_addrspec': BUILDSTDERR: rfc822.c:1030:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1030 | if (t = rfc822_parse_word (string,wspecials)) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_domain': BUILDSTDERR: rfc822.c:1098:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1098 | else if (t = rfc822_parse_word (string,wspecials)) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c:1108:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1108 | if (string = rfc822_parse_domain (string,&t)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_word': BUILDSTDERR: rfc822.c:1175:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1175 | while (st = strchr (st,I2C_ESC)) BUILDSTDERR: | ^~ BUILDSTDERR: rfc822.c: In function 'rfc822_output_data': BUILDSTDERR: rfc822.c:1374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1374 | if (i = min (len,buf->end - buf->cur)) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_output_cat': BUILDSTDERR: rfc822.c:1622:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1622 | for (; s = strpbrk (src,"\\\""); src = s + 1) { BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_encode_body_7bit': BUILDSTDERR: rfc822.c:1740:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1740 | while (part = part->next); /* until done */ BUILDSTDERR: | ^~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_encode_body_8bit': BUILDSTDERR: rfc822.c:1808:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1808 | while (part = part->next); /* until done */ BUILDSTDERR: | ^~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_base64': BUILDSTDERR: rfc822.c:1964:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1964 | if (s = strpbrk (tmp,"\015\012")) *s = NIL; BUILDSTDERR: | ^ BUILDSTDERR: rfc822.c: In function 'rfc822_output': BUILDSTDERR: rfc822.c:2345:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2345 | char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c: In function 'nntp_list': BUILDSTDERR: nntp.c:353:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 353 | while (s = net_getline (LOCAL->nntpstream->netstream)) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:358:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 358 | if (t = strchr (s,' ')) { /* tie off after newsgroup name */ BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_lsub': BUILDSTDERR: nntp.c:397:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 397 | if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:399:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 399 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_canonicalize': BUILDSTDERR: nntp.c:430:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 430 | for (s = wildmat; s = strchr (s,'%'); *s = '*'); BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_status': BUILDSTDERR: nntp.c:556:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 556 | else if (state = newsrc_state (stream,name)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_overview': BUILDSTDERR: nntp.c:929:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 929 | for (t = v = s; c = *v++;) BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_parse_overview': BUILDSTDERR: nntp.c:1039:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1039 | if (t = strchr (ov->subject,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1042:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1042 | if (ov->date = strchr (t,'\t')) { BUILDSTDERR: | ^~ BUILDSTDERR: nntp.c:1049:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1049 | if (ov->message_id = strchr (ov->date,'\t')) { BUILDSTDERR: | ^~ BUILDSTDERR: nntp.c:1053:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1053 | if (ov->references = strchr (ov->message_id,'\t')) { BUILDSTDERR: | ^~ BUILDSTDERR: nntp.c:1057:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1057 | if (t = strchr (ov->references,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1062 | if (t = strchr (t,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1066:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1066 | if (ov->optional.xref = strchr (t,'\t')) BUILDSTDERR: | ^~ BUILDSTDERR: nntp.c: In function 'nntp_header': BUILDSTDERR: nntp.c:1099:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | if (f = netmsg_slurp (LOCAL->nntpstream->netstream,size,NIL)) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_text': BUILDSTDERR: nntp.c:89:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 89 | #define LOCAL ((NNTPLOCAL *) stream->local) BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1151:11: note: in expansion of macro 'LOCAL' BUILDSTDERR: 1151 | if (LOCAL->txt = netmsg_slurp (LOCAL->nntpstream->netstream, BUILDSTDERR: | ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_search': BUILDSTDERR: nntp.c:1216:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1216 | if (msg = utf8_badcharset (charset)) { BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c: In function 'nntp_search_msg': BUILDSTDERR: nntp.c:1269:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1269 | if (set = pgm->msgno) { /* must be inside this sequence */ BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c:1277:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1277 | if (set = pgm->uid) { /* must be inside this sequence */ BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c: In function 'nntp_sort_loadcache': BUILDSTDERR: nntp.c:1513:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1513 | for (t = v = s; c = *v++;) if ((c != '\012') && (c != '\015')) *t++ = c; BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1522:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1522 | if (t = strchr (v,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1524:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1524 | if (adr = rfc822_parse_address (&adr,adr,&v,BADHOST,0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: nntp.c:1529:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1529 | if (v = strchr (t,'\t')) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_open_full': BUILDSTDERR: nntp.c:1679:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1679 | if (netstream = /* try to open ordinary connection */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: nntp.c:1720:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1720 | if (stream->netstream->stream = BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nntp.c: In function 'nntp_extensions': BUILDSTDERR: nntp.c:1817:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1817 | if (args = strchr (t,' ')) *args++ = '\0'; BUILDSTDERR: | ^~~~ BUILDSTDERR: nntp.c: In function 'nntp_mail': BUILDSTDERR: nntp.c:1916:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1916 | if (s = strstr (env->date," (")) *s = NIL; BUILDSTDERR: | ^ BUILDSTDERR: nntp.c:1887:8: warning: unused variable 'retry' [-Wunused-variable] BUILDSTDERR: 1887 | long retry = NIL; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable] BUILDSTDERR: 1886 | long error = NIL; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_soutr': BUILDSTDERR: nntp.c:2214:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2214 | while (t = strstr (s,"\015\012.")) { BUILDSTDERR: | ^ BUILDSTDERR: nntp.c: In function 'nntp_mopen': BUILDSTDERR: nntp.c:764:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 764 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 765 | (size_t) 1,(size_t) k,f); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nntp.c: In function 'nntp_header': BUILDSTDERR: nntp.c:1100:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1100 | fread (elt->private.msg.header.text.data = BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1101 | (unsigned char *) fs_get ((size_t) *size + 3), BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1102 | (size_t) 1,(size_t) *size,f); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: smtp.c: In function 'smtp_open_full': BUILDSTDERR: smtp.c:172:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 172 | if (netstream = /* try to open ordinary connection */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: smtp.c: In function 'smtp_soutr': BUILDSTDERR: smtp.c:783:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 783 | while (t = strstr (s,"\015\012.")) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_lsub': BUILDSTDERR: imap4r1.c:505:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 505 | if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:507:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 507 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_manage': BUILDSTDERR: imap4r1.c:681:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 681 | if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && BUILDSTDERR: | ^~ BUILDSTDERR: imap4r1.c: In function 'imap_open': BUILDSTDERR: imap4r1.c:849:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 849 | else if (reply = imap_rimap (stream,"*imap",&mb,usr,tmp)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_close': BUILDSTDERR: imap4r1.c:1317:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1317 | if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:1317:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1317 | if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_structure': BUILDSTDERR: imap4r1.c:1499:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1499 | if (j = (set->last == 0xffffffff) ? stream->nmsgs : BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:1522:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1522 | if (k = (k > i) ? k - i : 0) BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_msgdata': BUILDSTDERR: imap4r1.c:1700:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1700 | else if (t = strstr (section,".HEADER")) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_uid': BUILDSTDERR: imap4r1.c:1884:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1884 | if (k = imap_uidlookahead) {/* build UID list */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_search': BUILDSTDERR: imap4r1.c:2048:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2048 | for (set = ss; set; set = set->next) if (i = set->first) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_gc': BUILDSTDERR: imap4r1.c:2650:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2650 | if (elt = (MESSAGECACHE *) (*mc) (stream,i,CH_ELT)) BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c: In function 'imap_capability': BUILDSTDERR: imap4r1.c:2705:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2705 | if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:2705:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2705 | if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_send': BUILDSTDERR: imap4r1.c:2927:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2927 | if (arglst = args) while (arg = *arglst++) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: imap4r1.c:2927:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2927 | if (arglst = args) while (arg = *arglst++) { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:2947:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2947 | if (reply = imap_send_astring (stream,tag,&s,&st,NIL,CMDBASE+MAXCOMMAND)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:2951:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2951 | if (reply = imap_send_literal (stream,tag,&s,arg->text)) return reply; BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:2959:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2959 | if (reply = imap_send_astring (stream,tag,&s,&list->text,NIL, BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:2963:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2963 | while (list = list->next); BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c:2967:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2967 | if (reply = imap_send_spgm (stream,tag,CMDBASE,&s,arg->text, BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3053:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3053 | if (reply = imap_send_astring (stream,tag,&s,&st,T,CMDBASE+MAXCOMMAND)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3075:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3075 | if (t = map->flags) { /* flags given? */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3087:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3087 | if (reply = imap_send_astring (stream,tag,&s,&st,NIL, BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3091:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3091 | if (reply = imap_send_literal (stream,tag,&s,map->message)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3121:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3121 | while (list = list->next); BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c: In function 'imap_send_spgm': BUILDSTDERR: imap4r1.c:3355:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3355 | if (hdr = pgm->header) do { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:3357:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3357 | if (reply = imap_send_astring (stream,tag,s,&hdr->line,NIL,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3360:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3360 | if (reply = imap_send_astring (stream,tag,s,&hdr->text,NIL,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3362:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3362 | } while (hdr = hdr->next); BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:3365:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3365 | if (reply = imap_send_spgm (stream,tag,base,s,pgo->first,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3368:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3368 | if (reply = imap_send_spgm (stream,tag,base,s,pgo->second,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3374 | if (reply = imap_send_spgm (stream,tag,base,s,pgl->pgm,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_send_sset': BUILDSTDERR: imap4r1.c:3452:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3452 | if (reply = imap_send_literal (stream,tag,s,&st)) return reply; BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c:3454:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3454 | if (reply = imap_send_sset (stream,tag,NIL,s,set,prefix,limit)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_reply': BUILDSTDERR: imap4r1.c:3555:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3555 | if (reply = imap_parse_reply (stream,net_getline (LOCAL->netstream))) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_parse_unsolicited': BUILDSTDERR: imap4r1.c:3733:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3733 | while (prop = (strtok_r (t," )",&r))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c:3808:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3808 | else if (t = strchr (s = t,' ')) *t++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3907:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3907 | while (s = strtok_r (NIL," )",&r)); BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3911:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3911 | if (i = strtoul (t,NIL,10)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3920:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3920 | } while (t = strtok_r (NIL," ",&r)); BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:3944:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3944 | if (s = reply->text) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4008:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4008 | if (t = strtok_r (reply->text+1," ",&r)) do { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4017:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4017 | while (t = strtok_r (NIL," ",&r)); BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4028:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4028 | if (t = imap_parse_astring (stream,&s,reply,&j)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4046:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4046 | if (s = reply->text) { /* parse namespace results */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4166:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4166 | else if (t = strchr (s,' ')) t = s; BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4169:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4169 | else if (t = strpbrk (s," )")) t = s; BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_response': BUILDSTDERR: imap4r1.c:4266:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4266 | if (s = strchr (strncpy (t = LOCAL->tmp,s,i),' ')) *s++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4275:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4275 | if (elt = (MESSAGECACHE *) (*mc) (stream,j,CH_ELT)) BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:4286:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4286 | if (s = strtok_r (s+1," ",&r)) do { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4300:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4300 | while (s = strtok_r (NIL," ",&r)); BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_astring': BUILDSTDERR: imap4r1.c:4845:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4845 | if (i = *txtptr - s) { /* atom ends at atom_special */ BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_string': BUILDSTDERR: imap4r1.c:4958:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4958 | if (rp) for (k = 0; j = min ((long) MAILTMPLEN,(long) i); i -= j) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:4966:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4966 | for (st = string; st = strpbrk (st,"\015\012\011"); *st++ = ' '); BUILDSTDERR: | ^~ BUILDSTDERR: imap4r1.c: In function 'imap_parse_body_structure': BUILDSTDERR: imap4r1.c:5115:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5115 | if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c:5155:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5155 | if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c:5165:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5165 | if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) BUILDSTDERR: | ^~~~ BUILDSTDERR: imap4r1.c:5176:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5176 | if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_language': BUILDSTDERR: imap4r1.c:5373:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5373 | else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_extension': BUILDSTDERR: imap4r1.c:5441:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5441 | if (i = strtoul (*txtptr,(char **) txtptr,10)) do BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_capabilities': BUILDSTDERR: imap4r1.c:5477:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5477 | if (thr = LOCAL->cap.threader) while (th = thr) { BUILDSTDERR: | ^~~ BUILDSTDERR: imap4r1.c:5477:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5477 | if (thr = LOCAL->cap.threader) while (th = thr) { BUILDSTDERR: | ^~ BUILDSTDERR: imap4r1.c:5520:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5520 | else if (s = strchr (t,'=')) { BUILDSTDERR: | ^ BUILDSTDERR: imap4r1.c: In function 'imap_reform_sequence': BUILDSTDERR: imap4r1.c:5609:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 5609 | for (s = sequence; t = strpbrk (s,",:"); ) switch (*t++) { BUILDSTDERR: | ^ BUILDSTDERR: pop3.c: In function 'pop3_lsub': BUILDSTDERR: pop3.c:279:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 279 | if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) BUILDSTDERR: | ^ BUILDSTDERR: pop3.c:281:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 281 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: pop3.c: In function 'pop3_open': BUILDSTDERR: pop3.c:77:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 77 | #define LOCAL ((POP3LOCAL *) stream->local) BUILDSTDERR: | ^ BUILDSTDERR: pop3.c:429:11: note: in expansion of macro 'LOCAL' BUILDSTDERR: 429 | if (LOCAL->loser = mb.loser) strcat (tmp,"/loser"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: pop3.c: In function 'pop3_capa': BUILDSTDERR: pop3.c:499:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 499 | if (args = strchr (t,' ')) *args++ = '\0'; BUILDSTDERR: | ^~~~ BUILDSTDERR: pop3.c:510:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 510 | if (s = strchr(args,' ')){/* separate time from possible USER */ BUILDSTDERR: | ^ BUILDSTDERR: pop3.c:521:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 521 | if (s = strchr(args,' ')){/* separate time from possible USER */ BUILDSTDERR: | ^ BUILDSTDERR: pop3.c: In function 'pop3_header': BUILDSTDERR: pop3.c:843:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 843 | else if (elt->private.msg.header.text.size = pop3_cache (stream,elt)) BUILDSTDERR: | ^~~ BUILDSTDERR: pop3.c: In function 'pop3_expunge': BUILDSTDERR: pop3.c:947:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 947 | if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: pop3.c: In function 'pop3_header': BUILDSTDERR: pop3.c:848:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 848 | fread (elt->private.msg.header.text.data = (unsigned char *) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 849 | fs_get ((size_t) elt->private.msg.header.text.size + 1), BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 850 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_valid': BUILDSTDERR: unix.c:231:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: 231 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | stime BUILDSTDERR: unix.c: In function 'unix_rename': BUILDSTDERR: unix.c:418:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 418 | if (s = strrchr (s,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from unix.c:46: BUILDSTDERR: unix.c: In function 'unix_open': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: unix.c:530:5: note: in expansion of macro 'flock' BUILDSTDERR: 530 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: unix.c: In function 'unix_expunge': BUILDSTDERR: unix.c:845:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 845 | if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable] BUILDSTDERR: 852 | MESSAGECACHE *elt = mail_elt (stream,i); BUILDSTDERR: | ^~~ BUILDSTDERR: unix.c: In function 'unix_append': BUILDSTDERR: unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable] BUILDSTDERR: 1037 | unsigned long uidlocation = 0; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_append_msgs': BUILDSTDERR: unix.c:1257:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1257 | for (x = tmp; x = strchr (x,'\r'); --j) memmove (x,x+1,j-(x-tmp)); BUILDSTDERR: | ^ BUILDSTDERR: unix.c: In function 'unix_parse': BUILDSTDERR: unix.c:1483:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1483 | else if (i = sbuf.st_size - LOCAL->filesize) { BUILDSTDERR: | ^ BUILDSTDERR: unix.c:1770:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1770 | if (u = strpbrk (err,"\r\n")) *u = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: unix.c: In function 'unix_xstatus': BUILDSTDERR: unix.c:2015:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2015 | for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) BUILDSTDERR: | ^ BUILDSTDERR: unix.c:2037:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2037 | if (n = elt->user_flags) do { BUILDSTDERR: | ^ BUILDSTDERR: unix.c: In function 'unix_rewrite': BUILDSTDERR: unix.c:2101:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2101 | if (ret = unix_extend (stream,size)) { BUILDSTDERR: | ^~~ BUILDSTDERR: unix.c: In function 'unix_write': BUILDSTDERR: unix.c:2311:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2311 | if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { BUILDSTDERR: | ^ BUILDSTDERR: unix.c:2327:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2327 | if (j = min (i,f->protect - f->filepos)) { BUILDSTDERR: | ^ BUILDSTDERR: unix.c: In function 'unix_open': BUILDSTDERR: unix.c:519:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 519 | ftruncate (fd,i); /* make sure tied off */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_header': BUILDSTDERR: unix.c:630:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 630 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:640:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 640 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 641 | elt->private.msg.header.text.size); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_text_work': BUILDSTDERR: unix.c:707:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 707 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_copy': BUILDSTDERR: unix.c:956:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 956 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:982:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 982 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_append': BUILDSTDERR: unix.c:1152:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1152 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_rewrite': BUILDSTDERR: unix.c:2139:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2139 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2239:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2239 | ftruncate (LOCAL->fd,LOCAL->filesize = size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_extend': BUILDSTDERR: unix.c:2285:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2285 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'mbox_ping': BUILDSTDERR: unix.c:2611:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2611 | read (sfd,s = (char *) fs_get (size + 1),size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2621:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2621 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2629:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2629 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2640:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2640 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_parse': BUILDSTDERR: unix.c:1749:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] BUILDSTDERR: 1749 | sprintf (err,"Discarding bogus %s header in message %lu", BUILDSTDERR: | ^~ BUILDSTDERR: 1750 | (char *) tmp,elt->msgno); BUILDSTDERR: | ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from unix.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from mbx.c:42: BUILDSTDERR: mbx.c: In function 'mbx_isvalid': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mbx.c:233:12: note: in expansion of macro 'flock' BUILDSTDERR: 233 | if (flock (fd,LOCK_SH) || BUILDSTDERR: | ^~~~~ BUILDSTDERR: mbx.c:303:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: 303 | utime (tmp,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | utimes BUILDSTDERR: mbx.c: In function 'mbx_rename': BUILDSTDERR: mbx.c:480:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 480 | if (s = strrchr (tmp,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mbx.c: In function 'mbx_ping': BUILDSTDERR: mbx.c:825:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 825 | else if (ret = mbx_parse (stream)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c:829:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 829 | if (elt = mbx_elt (stream,i,LOCAL->expok)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c: In function 'mbx_expunge': BUILDSTDERR: mbx.c:888:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 888 | if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c:895:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 895 | else if (nexp = mbx_rewrite (stream,&reclaimed,sequence ? -1 : 1)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: mbx.c: In function 'mbx_snarf': BUILDSTDERR: mbx.c:938:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 938 | if (j = hdrlen + txtlen) { BUILDSTDERR: | ^ BUILDSTDERR: mbx.c: In function 'mbx_copy': BUILDSTDERR: mbx.c:1035:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1035 | if (s = stream->user_flags[find_rightmost_bit (&j)]) BUILDSTDERR: | ^ BUILDSTDERR: mbx.c:1044:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1044 | if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c: In function 'mbx_hdrpos': BUILDSTDERR: mbx.c:1644:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1644 | if (*size = elt->private.msg.header.text.size) return ret; BUILDSTDERR: | ^ BUILDSTDERR: mbx.c: In function 'mbx_rewrite': BUILDSTDERR: mbx.c:1736:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1736 | if (m = (elt = mbx_elt (stream,i,NIL))->private.special.offset - ppos) { BUILDSTDERR: | ^ BUILDSTDERR: mbx.c:1776:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1776 | if (m = (LOCAL->filesize -= delta) - pos) { BUILDSTDERR: | ^ BUILDSTDERR: mbx.c:1795:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1795 | if (elt = mbx_elt (stream,i,T)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mbx.c: In function 'mbx_header': BUILDSTDERR: mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 709 | read (LOCAL->fd,s = LOCAL->buf,*length); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_snarf': BUILDSTDERR: mbx.c:965:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 965 | ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_copy': BUILDSTDERR: mbx.c:1046:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1046 | read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c:1060:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1060 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_append': BUILDSTDERR: mbx.c:1195:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1195 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_parse': BUILDSTDERR: mbx.c:1269:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1269 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_rewrite': BUILDSTDERR: mbx.c:1757:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1757 | read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c:1781:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1781 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_isvalid': BUILDSTDERR: mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: 382 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | stime BUILDSTDERR: mmdf.c: In function 'mmdf_rename': BUILDSTDERR: mmdf.c:557:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 557 | if (s = strrchr (s,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from mmdf.c:34: BUILDSTDERR: mmdf.c: In function 'mmdf_open': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mmdf.c:669:5: note: in expansion of macro 'flock' BUILDSTDERR: 669 | flock (LOCAL->ld,LOCK_UN); /* release the lock */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_expunge': BUILDSTDERR: mmdf.c:984:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 984 | if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable] BUILDSTDERR: 991 | MESSAGECACHE *elt = mail_elt (stream,i); BUILDSTDERR: | ^~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append': BUILDSTDERR: mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable] BUILDSTDERR: 1173 | unsigned long uidlocation = 0; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append_msgs': BUILDSTDERR: mmdf.c:1394:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1394 | for (x = tmp; x = strpbrk (x,"\01\r"); --j) memmove (x,x+1,j-(x-tmp)); BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c: In function 'mmdf_parse': BUILDSTDERR: mmdf.c:1612:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1612 | else if (i = sbuf.st_size - LOCAL->filesize) { BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c:1934:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1934 | if (u = strpbrk (err,"\r\n")) *u = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c: In function 'mmdf_xstatus': BUILDSTDERR: mmdf.c:2178:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2178 | for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2200 | if (n = elt->user_flags) do { BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c: In function 'mmdf_rewrite': BUILDSTDERR: mmdf.c:2264:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2264 | if (ret = mmdf_extend (stream,size)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mmdf.c: In function 'mmdf_write': BUILDSTDERR: mmdf.c:2457:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2457 | if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c:2473:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2473 | if (j = min (i,f->protect - f->filepos)) { BUILDSTDERR: | ^ BUILDSTDERR: mmdf.c: In function 'mmdf_open': BUILDSTDERR: mmdf.c:658:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 658 | ftruncate (fd,i); /* make sure tied off */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_header': BUILDSTDERR: mmdf.c:769:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 769 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:779:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 779 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 780 | elt->private.msg.header.text.size); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_text_work': BUILDSTDERR: mmdf.c:846:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 846 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_copy': BUILDSTDERR: mmdf.c:1091:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1091 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:1118:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1118 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append': BUILDSTDERR: mmdf.c:1288:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1288 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_rewrite': BUILDSTDERR: mmdf.c:2302:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2302 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:2385:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2385 | ftruncate (LOCAL->fd,LOCAL->filesize = size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_extend': BUILDSTDERR: mmdf.c:2431:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2431 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_parse': BUILDSTDERR: mmdf.c:1913:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] BUILDSTDERR: 1913 | sprintf (err,"Discarding bogus %s header in message %lu", BUILDSTDERR: | ^~ BUILDSTDERR: 1914 | (char *) tmp,elt->msgno); BUILDSTDERR: | ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from mmdf.c:28: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_isvalid': BUILDSTDERR: tenex.c:206:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: 206 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | stime BUILDSTDERR: In file included from tenex.c:47: BUILDSTDERR: tenex.c: In function 'tenex_rename': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: tenex.c:315:7: note: in expansion of macro 'flock' BUILDSTDERR: 315 | if (flock (fd,LOCK_EX|LOCK_NB)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: tenex.c:324:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 324 | if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ BUILDSTDERR: | ^ BUILDSTDERR: tenex.c: In function 'tenex_snarf': BUILDSTDERR: tenex.c:772:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 772 | if (j = hdrlen + txtlen) { BUILDSTDERR: | ^ BUILDSTDERR: tenex.c: In function 'tenex_fast': BUILDSTDERR: tenex.c:516:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 516 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_header': BUILDSTDERR: tenex.c:567:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 567 | read (LOCAL->fd,LOCAL->buf,*length = i); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:572:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 572 | read (LOCAL->fd,s,i); /* slurp the data */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_text': BUILDSTDERR: tenex.c:614:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 614 | read (LOCAL->fd,LOCAL->buf,i); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:629:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 629 | read (LOCAL->fd,s,i); /* slurp the data */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_snarf': BUILDSTDERR: tenex.c:799:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 799 | ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_expunge': BUILDSTDERR: tenex.c:890:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 890 | read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:917:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 917 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_copy': BUILDSTDERR: tenex.c:1008:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1008 | read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:1016:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1016 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_append': BUILDSTDERR: tenex.c:1150:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1150 | ftruncate (fd,sbuf.st_size);/* revert file */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_hdrpos': BUILDSTDERR: tenex.c:1456:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1456 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_isvalid': BUILDSTDERR: mtx.c:199:2: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: 199 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | utimes BUILDSTDERR: In file included from mtx.c:42: BUILDSTDERR: mtx.c: In function 'mtx_rename': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mtx.c:308:7: note: in expansion of macro 'flock' BUILDSTDERR: 308 | if (flock (fd,LOCK_EX|LOCK_NB)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: mtx.c:317:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 317 | if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ BUILDSTDERR: | ^ BUILDSTDERR: mtx.c: In function 'mtx_snarf': BUILDSTDERR: mtx.c:683:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 683 | if (j = hdrlen + txtlen) { BUILDSTDERR: | ^ BUILDSTDERR: mtx.c: In function 'mtx_header': BUILDSTDERR: mtx.c:515:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 515 | read (LOCAL->fd,LOCAL->buf,*length); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_snarf': BUILDSTDERR: mtx.c:710:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 710 | ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_expunge': BUILDSTDERR: mtx.c:801:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 801 | read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c:827:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 827 | ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_copy': BUILDSTDERR: mtx.c:918:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 918 | read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c:926:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 926 | ftruncate (fd,sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_append': BUILDSTDERR: mtx.c:1053:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1053 | ftruncate (fd,sbuf.st_size);/* revert file */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_list': BUILDSTDERR: news.c:218:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 218 | if (s = strchr (pattern,'.')) *++s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: news.c:234:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 234 | if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { BUILDSTDERR: | ^ BUILDSTDERR: news.c:234:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 234 | if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { BUILDSTDERR: | ^ BUILDSTDERR: news.c:243:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 243 | } while (t = strtok_r (NIL,"\n",&r)); BUILDSTDERR: | ^ BUILDSTDERR: news.c: In function 'news_canonicalize': BUILDSTDERR: news.c:286:34: warning: value computed is not used [-Wunused-value] BUILDSTDERR: 286 | for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: | ^~~~ BUILDSTDERR: news.c: In function 'news_open': BUILDSTDERR: news.c:368:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 368 | while (s = strchr (s,'.')) *s = '/'; BUILDSTDERR: | ^ BUILDSTDERR: news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from news.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 370 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from news.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_select': BUILDSTDERR: news.c:409:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 409 | while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: news.c: In function 'news_valid': BUILDSTDERR: news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 161 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_list': BUILDSTDERR: news.c:228:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 228 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phile.c: In function 'phile_open': BUILDSTDERR: phile.c:292:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 292 | if (k = t->tm_yday - k) i += ((k < 0) == (abs (k) == 1)) ? -24*60 : 24*60; BUILDSTDERR: | ^ BUILDSTDERR: phile.c:309:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 309 | if (pw = getpwuid (sbuf.st_uid)) strcpy (tmp,pw->pw_name); BUILDSTDERR: | ^~ BUILDSTDERR: phile.c:321:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 321 | if (i = phile_type (buf->data,buf->size,&j)) { BUILDSTDERR: | ^ BUILDSTDERR: phile.c:317:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 317 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c: In function 'mh_path': BUILDSTDERR: mh.c:257:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 257 | if (v = strpbrk (s," \t")) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_dirfmttest': BUILDSTDERR: mh.c:330:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 330 | while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_scan': BUILDSTDERR: mh.c:349:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 349 | if (s = strchr (test,'/')) *++s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mh.c:362:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 362 | if (s = strpbrk (test,"%*")) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c:369:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 369 | if (s = strrchr (file,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_lsub': BUILDSTDERR: mh.c:407:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_list_work': BUILDSTDERR: mh.c:431:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 431 | if (dp = opendir (curdir)) { /* open directory */ BUILDSTDERR: | ^~ BUILDSTDERR: mh.c:432:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 432 | while (d = readdir (dp)) /* scan, ignore . and numeric names */ BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_delete': BUILDSTDERR: mh.c:516:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 516 | if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mh.c:519:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 519 | while (d = readdir (dirp)) if (mh_dirfmttest (d->d_name)) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_rename': BUILDSTDERR: mh.c:556:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 556 | if (s = strrchr (mh_file (tmp1,newname),'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_ping': BUILDSTDERR: mh.c:865:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 865 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:865:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 865 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:889:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 889 | if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: | ^ BUILDSTDERR: mh.c:939:17: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 939 | sprintf (tmp,"Message copy to MH mailbox failed: %.80s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c: In function 'mh_expunge': BUILDSTDERR: mh.c:983:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 983 | if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: mh.c: In function 'mh_append': BUILDSTDERR: mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1131 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:1138:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1138 | if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: | ^ BUILDSTDERR: mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1102 | long i,size,last,nfiles; BUILDSTDERR: | ^~~~ BUILDSTDERR: mh.c: In function 'mh_select': BUILDSTDERR: mh.c:1201:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1201 | while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: mh.c: In function 'mh_canonicalize': BUILDSTDERR: mh.c:1264:34: warning: value computed is not used [-Wunused-value] BUILDSTDERR: 1264 | for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: | ^~~~ BUILDSTDERR: mh.c: In function 'mh_setdate': BUILDSTDERR: mh.c:1282:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: 1282 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | utimes BUILDSTDERR: mh.c: In function 'mh_path': BUILDSTDERR: mh.c:251:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 251 | read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_dirfmttest': BUILDSTDERR: mx.c:242:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 242 | while (c = *name++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_scan_contents': BUILDSTDERR: mx.c:277:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 277 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:289:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 289 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_create': BUILDSTDERR: mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] BUILDSTDERR: 348 | int fd; BUILDSTDERR: | ^~ BUILDSTDERR: mx.c: In function 'mx_delete': BUILDSTDERR: mx.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 395 | if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mx.c:398:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 398 | while (d = readdir (dirp)) if (mx_select (d)) { BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_rename': BUILDSTDERR: mx.c:441:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 441 | if (s = strrchr (mx_file (tmp1,newname),'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 462 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:469:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 469 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_ping': BUILDSTDERR: mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 731 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:752:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 752 | if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: | ^ BUILDSTDERR: mx.c:803:17: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 803 | sprintf (tmp,"Message copy to MX mailbox failed: %.80s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_expunge': BUILDSTDERR: mx.c:847:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 847 | if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: | ^~~ BUILDSTDERR: mx.c: In function 'mx_copy': BUILDSTDERR: mx.c:939:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 939 | if (ret = ((fd = open (mx_fast_work (stream,elt),O_RDONLY,NIL)) BUILDSTDERR: | ^~~ BUILDSTDERR: mx.c:949:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 949 | if (j = elt->user_flags) do BUILDSTDERR: | ^ BUILDSTDERR: mx.c:950:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 950 | if (t = stream->user_flags[find_rightmost_bit (&j)]) BUILDSTDERR: | ^ BUILDSTDERR: mx.c:960:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 960 | if (ret = mx_append_msg (astream,tmp,elt,&st,dest)) { BUILDSTDERR: | ^~~ BUILDSTDERR: mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 904 | unsigned long i,j,uid,uidv; BUILDSTDERR: | ^~~ BUILDSTDERR: mx.c: In function 'mx_select': BUILDSTDERR: mx.c:1117:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1117 | while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: | ^ BUILDSTDERR: In file included from mx.c:35: BUILDSTDERR: mx.c: In function 'mx_lockindex': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mx.c:1173:5: note: in expansion of macro 'flock' BUILDSTDERR: 1173 | flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: mx.c:1189:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1189 | if (s = strchr (t = ++s,'\n')) { BUILDSTDERR: | ^ BUILDSTDERR: mx.c: In function 'mx_setdate': BUILDSTDERR: mx.c:1286:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: 1286 | utime (file,tp); /* set the times */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | utimes BUILDSTDERR: mx.c: In function 'mx_header': BUILDSTDERR: mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 636 | read (fd,LOCAL->buf,elt->rfc822_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_lockindex': BUILDSTDERR: mx.c:1177:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1177 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_unlockindex': BUILDSTDERR: mx.c:1269:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1269 | ftruncate (LOCAL->fd,size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_scan_contents': BUILDSTDERR: mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 324 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 324 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:336:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 336 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_create': BUILDSTDERR: mix.c:63:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:63:16: note: in definition of macro 'MTAFMT' BUILDSTDERR: 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:63:36: note: format string is defined here BUILDSTDERR: 63 | #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: In file included from mix.c:33: BUILDSTDERR: mix.c: In function 'mix_delete': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] BUILDSTDERR: 60 | #define flock safe_flock BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mix.c:471:50: note: in expansion of macro 'flock' BUILDSTDERR: 471 | else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: mix.c:480:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 480 | if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c:483:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 483 | while (d = readdir (dirp)) if (mix_dirfmttest (d->d_name)) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_rename': BUILDSTDERR: mix.c:531:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 531 | if (s = strrchr (tmp1,'/')) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 556 | for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:569:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 569 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_open': BUILDSTDERR: mix.c:636:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 636 | if (silent = stream->silent) LOCAL->internal = T; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mix.c: In function 'mix_header': BUILDSTDERR: mix.c:754:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 754 | if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable] BUILDSTDERR: 711 | int fd; BUILDSTDERR: | ^~ BUILDSTDERR: mix.c: In function 'mix_text': BUILDSTDERR: mix.c:774:17: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 774 | unsigned long i; BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_ping': BUILDSTDERR: mix.c:965:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 965 | if (snarfok = mail_append_full (stream,"INBOX",flags,date,&msg)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: mix.c:990:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 990 | if (statf = mix_parse (stream,&idxf,LONGT, BUILDSTDERR: | ^~~~~ BUILDSTDERR: mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable] BUILDSTDERR: 929 | int mfd,ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable] BUILDSTDERR: 929 | int mfd,ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable] BUILDSTDERR: 929 | int mfd,ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c: In function 'mix_expunge': BUILDSTDERR: mix.c:1038:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1038 | else if (statf = mix_parse (stream,&idxf,LONGT, BUILDSTDERR: | ^~~~~ BUILDSTDERR: mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1054 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(struct dirent *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: 257 | int (*__selector) (const struct dirent *), BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1054 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int (*)(const void *, const void *) BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /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 *)' BUILDSTDERR: 258 | int (*__cmp) (const struct dirent **, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 259 | const struct dirent **)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1110 | if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: | ^ BUILDSTDERR: mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable] BUILDSTDERR: 1026 | int ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable] BUILDSTDERR: 1026 | int ifd,sfd; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c: In function 'mix_burp': BUILDSTDERR: mix.c:1236:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1236 | else if (ret = !truncate (LOCAL->buf,burp->set.last)) BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1219 | void *s; BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_burp_check': BUILDSTDERR: mix.c:1340:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1340 | } while (set = set->next); BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c: In function 'mix_copy': BUILDSTDERR: mix.c:1378:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1378 | else if (ret = ((astream = mail_open (NIL,mailbox,OP_SILENT)) && BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:23: note: format string is defined here BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:64: note: format string is defined here BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:1403:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1403 | if (msgf = mix_data_open (astream,&fd,&size,newsize)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c:1432:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1432 | if (j = elt->user_flags) do BUILDSTDERR: | ^ BUILDSTDERR: mix.c:1455:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1455 | if (ret = (mix_meta_update (astream) && BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1405 | unsigned long j,uid,uidv; BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c: In function 'mix_append': BUILDSTDERR: mix.c:1519:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1519 | if (ret = compare_cstring (mailbox,"INBOX") ? BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:1536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1536 | if (ret = ((astream = mail_open (NIL,mailbox,OP_SILENT)) && BUILDSTDERR: | ^~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:23: note: format string is defined here BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:64: note: format string is defined here BUILDSTDERR: 69 | #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:1555:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1555 | if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c: In function 'mix_append_msg': BUILDSTDERR: mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable] BUILDSTDERR: 1632 | unsigned long i,j,k,uf,hoff; BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 1632 | unsigned long i,j,k,uf,hoff; BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_parse': BUILDSTDERR: mix.c:1743:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1743 | else if (s = mix_meta_slurp (stream,&i)) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c:1750:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1750 | if (s = strstr (t = s,"\015\012")) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c:1779:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1779 | if (t = strchr (k = t,' ')) *t++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_index_update': BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:22: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:63: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:69: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:75: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:81: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=] BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:87: note: format string is defined here BUILDSTDERR: 65 | #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c: In function 'mix_status_update': BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:22: note: format string is defined here BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:28: note: format string is defined here BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:39: note: format string is defined here BUILDSTDERR: 67 | #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: | ~~~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %08x BUILDSTDERR: mix.c: In function 'mix_data_open': BUILDSTDERR: mix.c:2425:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2425 | if (msgf = fdopen (*fd,"r+b")) fseek (msgf,*size,SEEK_SET); BUILDSTDERR: | ^~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_open': BUILDSTDERR: mix.c:2489:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2489 | if (i = mail_msgno (stream,uid)) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_sortcache_update': BUILDSTDERR: mix.c:2668:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2668 | if (sl = s->references) /* count length of references */ BUILDSTDERR: | ^~ BUILDSTDERR: mix.c: In function 'mix_read_record': BUILDSTDERR: mix.c:2723:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2723 | if (s = strchr (buf,'\012')) { BUILDSTDERR: | ^ BUILDSTDERR: mix.c: In function 'mix_copy': BUILDSTDERR: mix.c:1477:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1477 | ftruncate (fd,size); /* revert file */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_append': BUILDSTDERR: mix.c:1594:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1594 | ftruncate (fd,size); /* revert all writes to file*/ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_meta_update': BUILDSTDERR: mix.c:2209:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2209 | ftruncate (LOCAL->mfd,i); /* and tie off at that point */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_index_update': BUILDSTDERR: mix.c:2255:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2255 | ftruncate (fileno (idxf),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:2288:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2288 | if (ret) ftruncate (fileno (idxf),ftell (idxf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_status_update': BUILDSTDERR: mix.c:2335:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2335 | ftruncate (fileno (statf),sbuf.st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:2369:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2369 | if (ret) ftruncate (fileno (statf),ftell (statf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_update': BUILDSTDERR: mix.c:2697:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2697 | if (ret) ftruncate (fileno (f),ftell (f)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_open': BUILDSTDERR: mix.c:2640:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2640 | else fchmod (fd,sbuf.st_mode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/bin/ld: osdep.so: in function `ssl_onceonlyinit': BUILDSTDERR: /builddir/build/BUILD/imap-2007f/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp' BUILDSTDERR: mtest.c: In function 'main': BUILDSTDERR: mtest.c:111:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 111 | if (suffix = strchr (tmp,',')) suffix[0] = '\0'; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mtest.c:132:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 132 | if (s = sm_read (&sdb)) { BUILDSTDERR: | ^ BUILDSTDERR: mtest.c:135:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 135 | while (s = sm_read (&sdb)); BUILDSTDERR: | ^ BUILDSTDERR: mtest.c: In function 'mm': BUILDSTDERR: mtest.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (arg = strchr (cmd,' ')) *arg++ = '\0'; BUILDSTDERR: | ^~~ BUILDSTDERR: mtest.c:205:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 205 | if (s = sm_read (&sdb)) { BUILDSTDERR: | ^ BUILDSTDERR: mtest.c:208:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 208 | while (s = sm_read (&sdb)); BUILDSTDERR: | ^ BUILDSTDERR: mtest.c: In function 'overview_header': BUILDSTDERR: mtest.c:393:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 393 | if (i = elt->user_flags) { BUILDSTDERR: | ^ BUILDSTDERR: mtest.c: In function 'header': BUILDSTDERR: mtest.c:431:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 431 | if (i = cache->user_flags) { BUILDSTDERR: | ^ BUILDSTDERR: mtest.c: In function 'display_body': BUILDSTDERR: mtest.c:468:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 468 | if (par = body->parameter) do BUILDSTDERR: | ^~~ BUILDSTDERR: mtest.c:470:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 470 | while (par = par->next); BUILDSTDERR: | ^~~ BUILDSTDERR: mtest.c: In function 'status': BUILDSTDERR: mtest.c:525:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 525 | if (i = imap_cap (stream)->auth) { BUILDSTDERR: | ^ BUILDSTDERR: mtest.c:528:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 528 | while (auth = mail_lookup_auth (find_rightmost_bit (&i) + 1)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: mtest.c:574:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 574 | if (i = imap_cap (stream)->extlevel) { BUILDSTDERR: | ^ BUILDSTDERR: mtest.c: In function 'prompt': BUILDSTDERR: mtest.c:598:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] BUILDSTDERR: 598 | gets (txt); BUILDSTDERR: | ^~~~ BUILDSTDERR: | fgets BUILDSTDERR: mtest.c: In function 'mm_login': BUILDSTDERR: mtest.c:710:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 710 | if (s = strchr (user,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mtest.c: In function 'smtptest': BUILDSTDERR: mtest.c:797:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 797 | if (stream = smtp_open (hostlist,debug)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mtest.c:804:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 804 | if (stream = nntp_open (newslist,debug)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mtest.c: In function 'mm_login': BUILDSTDERR: mtest.c:708:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 708 | fgets (user,NETMAXUSER-1,stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8aux.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` siglocal.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` dummy.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pseudo.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` netmsg.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` flstring.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` fdstring.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` rfc822.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` nntp.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smtp.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` imap4r1.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pop3.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` unix.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mbx.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mmdf.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` tenex.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mtx.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` news.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` phile.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mh.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mx.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mix.c 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 cc -fPIC -DPIC -D_REENTRANT `cat CFLAGS` `cat OSCFLAGS` -c osdep.c -o osdep.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mail.c -o mail.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` misc.c -o misc.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` newsrc.c -o newsrc.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smanager.c -o smanager.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8.c -o utf8.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8aux.c -o utf8aux.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` siglocal.c -o siglocal.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` dummy.c -o dummy.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pseudo.c -o pseudo.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` netmsg.c -o netmsg.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` flstring.c -o flstring.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` fdstring.c -o fdstring.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` rfc822.c -o rfc822.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` nntp.c -o nntp.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smtp.c -o smtp.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` imap4r1.c -o imap4r1.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pop3.c -o pop3.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` unix.c -o unix.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mbx.c -o mbx.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mmdf.c -o mmdf.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` tenex.c -o tenex.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mtx.c -o mtx.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` news.c -o news.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` phile.c -o phile.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mh.c -o mh.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mx.c -o mx.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mix.c -o mix.so gcc -shared -Wl,-soname,libc-client.so.2007 -o libc-client.so.2007 osdep.so mail.so misc.so newsrc.so smanager.so utf8.so utf8aux.so siglocal.so dummy.so pseudo.so netmsg.so flstring.so fdstring.so rfc822.so nntp.so smtp.so imap4r1.so pop3.so unix.so mbx.so mmdf.so tenex.so mtx.so news.so phile.so mh.so mx.so mix.so `cat LDFLAGS` ln -s libc-client.so.2007 libc-client.so make[3]: Leaving directory '/builddir/build/BUILD/imap-2007f/c-client' make[2]: Leaving directory '/builddir/build/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 '/builddir/build/BUILD/imap-2007f/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c BUILDSTDERR: `cat ../c-client/CCTYPE` -I../c-cli/usr/bin/ld: mtest.o: in function `prompt': BUILDSTDERR: /builddir/build/BUILD/imap-2007f/mtest/mtest.c:598: warning: the `gets' function is dangerous and should not be used. BUILDSTDERR: ipop2d.c: In function 'c_helo': BUILDSTDERR: ipop2d.c:299:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 299 | if (s = strchr (u,'*')) *s++ = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: ipop2d.c: In function 'c_fold': BUILDSTDERR: ipop2d.c:358:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 358 | if (j = (stream = mail_open (stream,t,NIL)) ? stream->nmsgs : 0) { BUILDSTDERR: | ^ BUILDSTDERR: ipop2d.c: In function 'c_retr': BUILDSTDERR: ipop2d.c:432:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 432 | if (t = mail_fetch_text (stream,msg[current],NIL,&i,FT_RETURNSTRINGSTRUCT)) BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../c-client/osdep.h:44, BUILDSTDERR: from ../c-client/c-client.h:42, BUILDSTDERR: from ipop2d.c:36: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'mm_login' at ipop2d.c:652:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ipop3d.c: In function 'main': BUILDSTDERR: ipop3d.c:195:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 195 | if (s = ssl_start_tls (NIL)) fs_give ((void **) &s); BUILDSTDERR: | ^ BUILDSTDERR: ipop3d.c:197:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 197 | if (i = !mail_parameters (NIL,GET_DISABLEPLAINTEXT,NIL)) BUILDSTDERR: | ^ BUILDSTDERR: ipop3d.c:222:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 222 | if (initial = strtok (NIL,"\015\012")) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ipop3d.c:275:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 275 | if (t = ssl_start_tls (pgmname)) { BUILDSTDERR: | ^ BUILDSTDERR: ipop3d.c:291:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 291 | if (s = strchr (t,':')) { BUILDSTDERR: | ^ BUILDSTDERR: ipop3d.c: In function 'pass_login': BUILDSTDERR: ipop3d.c:664:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 664 | if (t = strchr (user,'*')) *t++ ='\0'; BUILDSTDERR: | ^ BUILDSTDERR: ipop3d.c: In function 'mbxopen': BUILDSTDERR: ipop3d.c:780:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 780 | if (j = stream->nmsgs) { /* if mailbox non-empty */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../c-client/osdep.h:44, BUILDSTDERR: from ../c-client/c-client.h:42, BUILDSTDERR: from ipop3d.c:35: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'mm_login' at ipop3d.c:1019:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: imapd.c: In function 'main': BUILDSTDERR: imapd.c:327:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 327 | if (s = strchr (proxy,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:400:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 400 | if (t = strchr (cmdbuf,' ')) *t = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:514:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 514 | else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: imapd.c:574:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 574 | if (s = strchr (user,'*')) *s++ ='\0'; BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:592:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 592 | else if (lsterr = ssl_start_tls (pgmname)) response = lose; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: imapd.c:731:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 731 | } while (s = strtok (NIL," ")); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:741:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 741 | else if (slst = mail_sort (stream,cs,spg,pgm,uid ? SE_UID:NIL)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: imapd.c:770:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { BUILDSTDERR: | ^~~ BUILDSTDERR: imapd.c:848:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 848 | if (s = snarf (&arg)) charset = cpystr (s); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:966:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 966 | if (t = strpbrk (tmp,"\r\n")) *t = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:1132:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1132 | } while (t = strtok (NIL," ")); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:1217:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1217 | if (n = ns[i]) { BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:1237:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1237 | if (p = n->param) do { BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:1244:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1244 | } while (p = p->next); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:1246:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1246 | } while (n = n->next); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:1379:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1379 | while (i = (litplus.size > MAILTMPLEN) ? MAILTMPLEN : litplus.size) { BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:1394:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1394 | if (t = strchr (tmp,'\012')) { BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:1498:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1498 | if (lgoh = (logouthook_t) mail_parameters (NIL,GET_LOGOUTHOOK,NIL)) BUILDSTDERR: | ^~~~ BUILDSTDERR: imapd.c: In function 'parse_astring': BUILDSTDERR: imapd.c:2042:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2042 | if (*size = i) break; /* got atom if non-empty */ BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:2099:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2099 | if (*del = *t) { /* have a delimiter? */ BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'snarf_list': BUILDSTDERR: imapd.c:2177:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2177 | if (c = *t) { /* have a delimiter? */ BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'parse_stringlist': BUILDSTDERR: imapd.c:2218:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2218 | if (t = *s) { /* need to reload strtok() state? */ BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'fetch_work': BUILDSTDERR: imapd.c:2646:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2646 | if (list = (*t == '(')) t++; /* skip open paren */ BUILDSTDERR: | ^~~~ BUILDSTDERR: imapd.c:2647:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2647 | if (s = strtok (t," ")) do { /* parse attribute list */ BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'fetch_body_part_binary': BUILDSTDERR: imapd.c:2968:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2968 | if (cst.data = rfc822_base64 (st.data,st.size,&cst.size)) break; BUILDSTDERR: | ^~~ BUILDSTDERR: imapd.c:2976:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2976 | if (cst.data = rfc822_qprint (st.data,st.size,&cst.size)) break; BUILDSTDERR: | ^~~ BUILDSTDERR: imapd.c: In function 'fetch_flags': BUILDSTDERR: imapd.c:3172:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3172 | if (u = elt->user_flags) do /* any user flags? */ BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:3173:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3173 | if (t = stream->user_flags[find_rightmost_bit (&u)]) put_flag (&c,t); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'fetch_rfc822_text': BUILDSTDERR: imapd.c:3312:9: warning: unused variable 'f' [-Wunused-variable] BUILDSTDERR: 3312 | int f = mail_elt (stream,i)->seen; BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'pbodystructure': BUILDSTDERR: imapd.c:3366:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3366 | if (part = body->nested.part) BUILDSTDERR: | ^~~~ BUILDSTDERR: imapd.c: In function 'pbody': BUILDSTDERR: imapd.c:3451:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3451 | if (part = body->nested.part) BUILDSTDERR: | ^~~~ BUILDSTDERR: imapd.c: In function 'pparam': BUILDSTDERR: imapd.c:3505:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3505 | if (param = param->next) PBOUT (' '); BUILDSTDERR: | ^~~~~ BUILDSTDERR: imapd.c: In function 'paddr': BUILDSTDERR: imapd.c:3531:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3531 | } while (a = a->next); /* until end of address */ BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'pset': BUILDSTDERR: imapd.c:3550:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3550 | if (cur = cur->next) PBOUT (','); BUILDSTDERR: | ^~~ BUILDSTDERR: imapd.c: In function 'pastringlist': BUILDSTDERR: imapd.c:3690:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3690 | } while (s = s->next); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'pnstringorlist': BUILDSTDERR: imapd.c:3707:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3707 | } while (s = s->next); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'ptext': BUILDSTDERR: imapd.c:3765:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3765 | if (s = txt->data) while (i && ((PBOUT ((c = *s++) ? c : 0x80) != EOF))) --i; BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'pthread': BUILDSTDERR: imapd.c:3782:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3782 | if (t = thr->next) { /* any subsequent nodes? */ BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'pcapability': BUILDSTDERR: imapd.c:3830:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3830 | if (s = ssl_start_tls (NIL)) fs_give ((void **) &s); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'proxycopy': BUILDSTDERR: imapd.c:4025:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4025 | if (mail_elt (stream,i)->spare = mail_elt (stream,i)->sequence) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: imapd.c: In function 'proxy_append': BUILDSTDERR: imapd.c:4080:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4080 | if (i = elt->user_flags) do BUILDSTDERR: | ^ BUILDSTDERR: imapd.c: In function 'append_msg': BUILDSTDERR: imapd.c:4112:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4112 | if (t = ad->flags) fs_give ((void **) &ad->flags); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:4113:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4113 | if (t = ad->date) fs_give ((void **) &ad->date); BUILDSTDERR: | ^ BUILDSTDERR: imapd.c:4114:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4114 | if (t = ad->msg) fs_give ((void **) &ad->msg); BUILDSTDERR: | ^ BUILDSTDERR: mailutil.c: In function 'main': BUILDSTDERR: mailutil.c:284:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 284 | else if (source = mail_open (NIL,src,((i || rwcopyp) ? NIL : OP_READONLY) | BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mailutil.c:295:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 295 | else if (source = mail_open (NIL,src,((i || rwcopyp) ? NIL : OP_READONLY) | BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mailutil.c:376:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 376 | if (t = strchr (tmp+1,'\n')) *t = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mailutil.c:384:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 384 | while (c = *t1++) { /* swap delimiters then */ BUILDSTDERR: | ^ BUILDSTDERR: mailutil.c:396:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 396 | if (source = mail_open (source,tmp+1,(debugp ? OP_DEBUG : NIL) | BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mailutil.c: In function 'mbxcopy': BUILDSTDERR: mailutil.c:595:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 595 | if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mailutil.c:624:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 624 | for (i = 0; i < NUSERFLAGS; ++i) if (t = source->user_flags[i]) { BUILDSTDERR: | ^ BUILDSTDERR: mailutil.c: In function 'mm_login': BUILDSTDERR: mailutil.c:895:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 895 | if (s = strchr (username,'\n')) *s = '\0'; BUILDSTDERR: | ^ BUILDSTDERR: mailutil.c: In function 'mbxcopy': BUILDSTDERR: mailutil.c:594:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 594 | fgets (tmp,MAILTMPLEN-1,stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mailutil.c: In function 'mm_login': BUILDSTDERR: mailutil.c:893:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 893 | fgets (username,NETMAXUSER-1,stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mlock.c: In function 'die': BUILDSTDERR: mlock.c:60:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] BUILDSTDERR: 60 | write (1,"?",1); /* indicate "impossible" failure */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | fwrite BUILDSTDERR: mlock.c: In function 'main': BUILDSTDERR: mlock.c:75:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration] BUILDSTDERR: 75 | if (!grp || (grp->gr_gid != getegid ())) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | getgrgid BUILDSTDERR: mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] BUILDSTDERR: 94 | chdir (dir); BUILDSTDERR: | ^~~~~ BUILDSTDERR: mlock.c:113:30: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] BUILDSTDERR: 113 | if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) BUILDSTDERR: | ^~~~ BUILDSTDERR: mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] BUILDSTDERR: 114 | unlink (lock); /* time out lock if enough time has passed */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mlock.c:123:23: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] BUILDSTDERR: 123 | (unsigned long) getpid ()); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mlock.c:125:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] BUILDSTDERR: 125 | gethostname (hitch + len,MAXHOSTNAMELEN); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | gethostbyname BUILDSTDERR: mlock.c:132:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] BUILDSTDERR: 132 | close (ld); /* close the hitching-post */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: | pclose BUILDSTDERR: mlock.c:138:11: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] BUILDSTDERR: 138 | i = link (hitch,lock) ? errno : 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: mlock.c:161:20: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] BUILDSTDERR: 161 | if (tries--) sleep (1); /* sleep 1 second and try again */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: mlock.c:169:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] BUILDSTDERR: 169 | read (0,tmp,1); /* read continue signal from parent */ BUILDSTDERR: | ^~~~ BUILDSTDERR: | fread BUILDSTDERR: dmail.c: In function 'file_string_setpos': BUILDSTDERR: dmail.c:120:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 120 | if (s->cursize = min (s->chunksize,SIZE (s))) { BUILDSTDERR: | ^ BUILDSTDERR: dmail.c: In function 'main': BUILDSTDERR: dmail.c:162:35: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] BUILDSTDERR: 162 | if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dmail.c: In function 'deliver': BUILDSTDERR: dmail.c:229:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 229 | if (mailbox = strchr (user,'+')) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dmail.c: In function 'file_string_setpos': BUILDSTDERR: dmail.c:123:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 123 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dmail.c: In function 'delivery_unsafe': BUILDSTDERR: dmail.c:443:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 443 | sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ../c-client/osdep.h:43, BUILDSTDERR: from ../c-client/c-client.h:42, BUILDSTDERR: from dquota.c:29: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: tmail.c: In function 'file_string_setpos': BUILDSTDERR: tmail.c:121:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 121 | if (s->cursize = min (s->chunksize,SIZE (s))) { BUILDSTDERR: | ^ BUILDSTDERR: tmail.c: In function 'main': BUILDSTDERR: tmail.c:171:37: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] BUILDSTDERR: 171 | if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: tmail.c: In function 'getusername': BUILDSTDERR: tmail.c:605:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 605 | if (*t = strchr (s,'+')) { /* have a mailbox specifier? */ BUILDSTDERR: | ^ BUILDSTDERR: tmail.c: In function 'file_string_setpos': BUILDSTDERR: tmail.c:124:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 124 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tmail.c: In function 'delivery_unsafe': BUILDSTDERR: tmail.c:564:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 564 | sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ../c-client/osdep.h:43, BUILDSTDERR: from ../c-client/c-client.h:42, BUILDSTDERR: from tquota.c:29: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ent `cat ../c-client/CFLAGS` -o mtest mtest.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/mtest' cd ipopd;make make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/ipopd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/ipopd' cd imapd;make make[2]: Entering directory '/builddir/build/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 `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 /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/imapd' cd mailutil;make make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/mailutil' cd mlock;make || true make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/mlock' cd dmail;make || true make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/dmail' cd tmail;make || true make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/tmail' make[1]: Leaving directory '/builddir/build/BUILD/imap-2007f' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UNIeRs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64 + cd imap-2007f + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/lib64/ + install -p -m644 ./c-client/c-client.a /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/lib64/ + ln -s c-client.a /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/lib64/libc-client.a + install -p -m755 ./c-client/libc-client.so.2007 /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/lib64/ + touch c-client.cf + install -p -m644 -D c-client.cf /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/c-client.cf + ln -s libc-client.so.2007 /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/lib64/libc-client.so + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/include/imap/ + install -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 /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/include/imap/ + install -m644 ./c-client/linkage.c /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/include/imap/ + install -m644 ./src/osdep/tops-20/shortsym.h /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/include/imap/ + install -p -D -m644 src/imapd/imapd.8 /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/man/man8/imapd.8uw + install -p -D -m644 src/ipopd/ipopd.8 /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/man/man8/ipopd.8uw + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin + install -p -m755 ipopd/ipop2d ipopd/ipop3d /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/ + install -p -m755 imapd/imapd /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/ + install -p -m755 mlock/mlock /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/ + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/ + install -p -m755 dmail/dmail mailutil/mailutil mtest/mtest tmail/tmail /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/man/man1/ + install -p -m644 src/dmail/dmail.1 src/mailutil/mailutil.1 src/tmail/tmail.1 /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/man/man1/ + install -p -m644 -D imap.pam /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/pam.d/imap + install -p -m644 -D imap.pam /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/pam.d/pop + install -p -m644 -D /builddir/build/SOURCES/imap-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/xinetd.d/imap + install -p -m644 -D /builddir/build/SOURCES/imaps-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/xinetd.d/imaps + install -p -m644 -D /builddir/build/SOURCES/ipop2-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/xinetd.d/ipop2 + install -p -m644 -D /builddir/build/SOURCES/ipop3-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/xinetd.d/ipop3 + install -p -m644 -D /builddir/build/SOURCES/pop3s-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/xinetd.d/pop3s + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/pki/tls/certs + touch /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/pki/tls/certs/imapd.pem /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/etc/pki/tls/certs/ipop3d.pem + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2007f-24.fc31 --unique-debug-suffix -2007f-24.fc31.riscv64 --unique-debug-src-base uw-imap-2007f-24.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/imap-2007f BUILDSTDERR: 7347 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/dmail explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/mtest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/tmail explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/mailutil extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/dmail extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/mtest extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/tmail extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/bin/mailutil explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/imapd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/lib64/libc-client.so.2007 extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/imapd extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/lib64/libc-client.so.2007 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/ipop2d explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/ipop3d extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/ipop2d extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/ipop3d explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/mlock extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/sbin/mlock original debug info size: 3412kB, size after compression: 3088kB /usr/lib/rpm/sepdebugcrcfix: Updated 9 CRC32s, 0 CRC32s did match. Processing files: uw-imap-2007f-24.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vhDmBt + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + DOCDIR=/builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/uw-imap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/uw-imap + cp -pr docs/SSLBUILD /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/uw-imap + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(uw-imap) = 2007f-24.fc31 uw-imap = 2007f-24.fc31 uw-imap(riscv-64) = 2007f-24.fc31 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh openssl Requires(postun): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc-client.so.2007()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Obsoletes: imap < 1:2007f Processing files: libc-client-2007f-24.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.THfJYt + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + DOCDIR=/builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/libc-client + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/libc-client + cp -pr LICENSE.txt /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/libc-client + cp -pr NOTICE /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/libc-client + cp -pr SUPPORT /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/libc-client + cp -pr docs/RELNOTES /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/libc-client + cp -pr docs/FAQ.txt docs/IPv6.txt docs/bugs.txt docs/calendar.txt docs/commndmt.txt docs/drivers.txt docs/formats.txt docs/imaprc.txt docs/internal.txt docs/locking.txt docs/md5.txt docs/mixfmt.txt docs/naming.txt /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64/usr/share/doc/libc-client + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(libc-client) = 2007f-24.fc31 libc-client = 2007f-24.fc31 libc-client(riscv-64) = 2007f-24.fc31 libc-client.so.2007()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Obsoletes: libc-client2004d < 1:2004d-2 libc-client2004e < 2004e-2 libc-client2004g < 2004g-7 libc-client2006 < 2006k-2 libc-client2007 < 2007-2 Processing files: uw-imap-devel-2007f-24.fc31.riscv64 Provides: libc-client-devel = 2007f-24.fc31 uw-imap-devel = 2007f-24.fc31 uw-imap-devel(riscv-64) = 2007f-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc-client.so.2007()(64bit) Obsoletes: imap-devel < 1:2007f libc-client-devel < 2007f-24.fc31 Processing files: uw-imap-static-2007f-24.fc31.riscv64 Provides: uw-imap-static = 2007f-24.fc31 uw-imap-static(riscv-64) = 2007f-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: uw-imap-utils-2007f-24.fc31.riscv64 Provides: uw-imap-utils = 2007f-24.fc31 uw-imap-utils(riscv-64) = 2007f-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc-client.so.2007()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Obsoletes: imap-utils < 1:2007f Processing files: uw-imap-debugsource-2007f-24.fc31.riscv64 Provides: uw-imap-debugsource = 2007f-24.fc31 uw-imap-debugsource(riscv-64) = 2007f-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: uw-imap-debuginfo-2007f-24.fc31.riscv64 Provides: debuginfo(build-id) = 0f7d6c57182ee27854907638d1541d331d307594 debuginfo(build-id) = b2d4f4d6d24730c9cbdc54908de56fa1ac530d75 debuginfo(build-id) = e9f48f4f2e82852048a1c5b686b0fb048440e0f6 uw-imap-debuginfo = 2007f-24.fc31 uw-imap-debuginfo(riscv-64) = 2007f-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: uw-imap-debugsource(riscv-64) = 2007f-24.fc31 Processing files: libc-client-debuginfo-2007f-24.fc31.riscv64 Provides: debuginfo(build-id) = 236aaad11d918fa1412e76c876f923775928783a libc-client-debuginfo = 2007f-24.fc31 libc-client-debuginfo(riscv-64) = 2007f-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: uw-imap-debugsource(riscv-64) = 2007f-24.fc31 Processing files: uw-imap-utils-debuginfo-2007f-24.fc31.riscv64 Provides: debuginfo(build-id) = 209a8680c7525371c2037d92934d93be8d203e7b debuginfo(build-id) = 2548bdf3f7fb3fe4d1ca12989272b8bf33602949 debuginfo(build-id) = 5caef88bb3a1cc3cd5603a0d1372b200d2d21c18 debuginfo(build-id) = a49608dfe19aa2df3c2c2aa6c13dec6f0f4465a2 debuginfo(build-id) = d4a9782c37e4787579a9dd4fe073a995de479d91 uw-imap-utils-debuginfo = 2007f-24.fc31 uw-imap-utils-debuginfo(riscv-64) = 2007f-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: uw-imap-debugsource(riscv-64) = 2007f-24.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64 Wrote: /builddir/build/RPMS/uw-imap-2007f-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-devel-2007f-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-utils-2007f-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-debuginfo-2007f-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libc-client-2007f-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-utils-debuginfo-2007f-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libc-client-debuginfo-2007f-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-debugsource-2007f-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-static-2007f-24.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yhRYat + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + /usr/bin/rm -rf /builddir/build/BUILDROOT/uw-imap-2007f-24.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0