+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/uw-imap.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 30: %{version} warning: Macro expanded in comment on line 124: %{version}-%{release} warning: bogus date in %changelog: Tue May 18 2008 Rex Dieter 2007a1-3 warning: bogus date in %changelog: Thu Jul 16 2004 Rex Dieter 1:2004-0.fdr.5.a Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IUvZux + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf imap-2007f + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/imap-2007f.tar.gz + 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):' Patch #1 (imap-2007-paths.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .paths --fuzz=0 patching file src/osdep/unix/Makefile + echo 'Patch #2 (imap-2004a-doc.patch):' Patch #2 (imap-2004a-doc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .doc --fuzz=0 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). + echo 'Patch #5 (imap-2007e-overflow.patch):' Patch #5 (imap-2007e-overflow.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflow --fuzz=0 patching file src/c-client/rfc822.c + echo 'Patch #9 (imap-2007e-shared.patch):' Patch #9 (imap-2007e-shared.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shared --fuzz=0 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). + echo 'Patch #10 (imap-2007e-authmd5.patch):' Patch #10 (imap-2007e-authmd5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .authmd5 --fuzz=0 patching file src/c-client/auth_md5.c + install -p -m644 /builddir/build/SOURCES/imap-password.pam imap.pam + echo 'Patch #12 (imap-2007f-format-security.patch):' Patch #12 (imap-2007f-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fmt-sec --fuzz=0 patching file src/osdep/unix/flocklnx.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WUbr06 + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + test -f /etc/profile.d/krb5-devel.sh + test -f /etc/profile.d/krb5.sh ++ krb5-config --prefix + GSSDIR=/usr ++ 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 ' + 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 ' + 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 -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 -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 -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 -fno-strict-aliasing -Wno-pointer-sign' + echo -e 'y\ny' ++ 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 -fno-strict-aliasing -Wno-pointer-sign' EXTRALDFLAGS= 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 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 -fno-strict-aliasing -Wno-pointer-sign' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=unix IP=6 EXTRASPECIALS='' BUILDTYPE=lnp make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. 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 -fno-strict-aliasing -Wno-pointer-sign'\ EXTRALDFLAGS=''\ 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' 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 -fno-strict-aliasing -Wno-pointer-sign' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='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="-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 -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 -lpam -ldl > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers 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 >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c cc -fPIC -DPIC -D_REENTRANT `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from osdep.h:43, from osdep.c:31: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from auths.c:2:0, from env_unix.c:260, from osdep.c:50: auth_gss.c: In function 'auth_gssapi_client': auth_gss.c:100:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (chal.value = (*challenger) (stream,(unsigned long *) &chal.length)) { ^~~~ auth_gss.c: In function 'auth_gssapi_server': auth_gss.c:339:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (resp.value = (*responder) ("",0,(unsigned long *) &resp.length)) { ^~~~ auth_gss.c:399:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Failed to acquire credentials for %s",buf.value); ^ ~~~~~ auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ auth_gss.c:406:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); ^ ~~~~~~ auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ auth_gss.c:414:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); ^ ~~~~~~ auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ In file included from auths.c:3:0, from env_unix.c:260, from osdep.c:50: auth_ext.c: In function 'auth_external_client': auth_ext.c:62:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) { ^~~~~~~~~ auth_ext.c:66:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) ^~~~~~~~~ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:50: auth_md5.c: In function 'auth_md5_client': auth_md5.c:105:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) { ^~~~~~~~~ auth_md5.c:120:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) ^~~~~~~~~ auth_md5.c: In function 'auth_md5_server': auth_md5.c:155:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (user = (*responder) (chal,cl = strlen (chal),NIL)) { ^~~~ auth_md5.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (hash = strrchr (user,' ')) { ^~~~ auth_md5.c:160:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (authuser = strchr (user,'*')) *authuser++ = '\0'; ^~~~~~~~ auth_md5.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { ^ auth_md5.c: In function 'apop_login': auth_md5.c:238:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (authuser = strchr (user,'*')) *authuser++ = '\0'; ^~~~~~~~ auth_md5.c:240:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { ^ In file included from auths.c:5:0, from env_unix.c:260, from osdep.c:50: auth_pla.c: In function 'auth_plain_client': auth_pla.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) { ^~~~~~~~~ auth_pla.c:94:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) ^~~~~~~~~ auth_pla.c: In function 'auth_plain_server': auth_pla.c:123:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (aid = (*responder) ("",0,&len)) { ^~~ In file included from auths.c:6:0, from env_unix.c:260, from osdep.c:50: auth_log.c: In function 'auth_login_client': auth_log.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) { ^~~~~~~~~ auth_log.c:81:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) ^~~~~~~~~ auth_log.c: In function 'auth_login_server': auth_log.c:107:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (user = (*responder) (PWD_USER,sizeof (PWD_USER),NIL)) { ^~~~ auth_log.c:108:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pass = (*responder) (PWD_PWD,sizeof (PWD_PWD),NIL)) { ^~~~ auth_log.c:110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (authuser = strchr (user,'*')) *authuser++ = '\0'; ^~~~~~~~ In file included from osdep.c:50:0: env_unix.c: In function 'do_date': env_unix.c:514:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (julian = t->tm_yday -julian) ^~~~~~ env_unix.c: In function 'valpwd': env_unix.c:669:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = auth_md5_pwd (user)) { ^ env_unix.c:676:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (pw = pwuser (user)) {/* can get user? */ ^~ env_unix.c: In function 'dotlock_lock': env_unix.c:1251:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (base->lock,'/')) { ^ In file included from osdep.c:31:0: env_unix.c: In function 'lock_work': osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] #define flock safe_flock ^ env_unix.c:1374:27: note: in expansion of macro 'flock' if (op & LOCK_NB) i = flock (fd,op); ^~~~~ In file included from osdep.c:50:0: env_unix.c: In function 'dorc': env_unix.c:1582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (d = mail_valid (NIL,"INBOX",NIL)) { ^ env_unix.c:1595:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (d = (DRIVER *) mail_parameters (NIL,GET_DRIVER,(void *) k)) ^ In file included from osdep.c:53:0: tcp_unix.c: In function 'tcp_open': tcp_unix.c:175:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (adr = ip_stringtoaddr (tmp,&adrlen,&family)) { ^~~ tcp_unix.c:215:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (stream->ictr = ctr) *(stream->iptr = stream->ibuf) = tmp[0]; ^~~~~~ tcp_unix.c: In function 'tcp_aopen': tcp_unix.c:364:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (adr = ip_stringtoaddr (host,&len,&i)) fs_give ((void **) &adr); ^~~ tcp_unix.c: In function 'tcp_getbuffer': tcp_unix.c:540:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (n = min (size,stream->ictr)) { ^ tcp_unix.c: In function 'tcp_clienthost': tcp_unix.c:858:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v = strchr (s,' ')) *v = '\0'; ^ tcp_unix.c: In function 'tcp_name': tcp_unix.c:985:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = tcp_name_valid (ip_sockaddrtoname (sadr))) { ^ tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1026:17: warning: unused variable 'sadrlen' [-Wunused-variable] size_t adrlen,sadrlen,len; ^~~~~~~ osdep.c: In function 'checkpw': osdep.c:163:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pw = ((pam_start ((char *) mail_parameters (NIL,GET_SERVICENAME,NIL), ^~ osdep.c: In function 'ssl_start_work': osdep.c:459:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] TLSv1_client_method () : ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from osdep.c:267: /usr/include/openssl/ssl.h:1631:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ osdep.c:470:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = (char *) mail_parameters (NIL,GET_SSLCAPATH,NIL)) ^ osdep.c:474:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cert = PEM_read_bio_X509 (bio = BIO_new_mem_buf (s,sl),NIL,NIL,NIL)) { ^~~~ osdep.c:483:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (key = PEM_read_bio_PrivateKey (bio = BIO_new_mem_buf (t,tl), ^~~ osdep.c:509:49: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}' if (scq) return (*scq) (err,host,cert ? cert->name : "???") ? NIL : ""; ^~ osdep.c: In function 'ssl_validate_cert': osdep.c:564:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (s += 4,'/')) *t = '\0'; ^ osdep.c: In function 'ssl_server_init': osdep.c:942:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] TLSv1_server_method () : ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from osdep.c:267: /usr/include/openssl/ssl.h:1630:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ ^ osdep.c:994:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (i = ERR_get_error ()) /* SSL failure */ ^ osdep.c: In function 'ssl_genkey': osdep.c:1013:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { ^~ In file included from /usr/include/openssl/rsa.h:13:0, from /usr/include/openssl/x509.h:31, from /usr/include/openssl/x509v3.h:14, from osdep.c:266: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ osdep.c:1016:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (i = ERR_get_error ()) ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:50: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:195:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:50:0: env_unix.c: In function 'pw_login': env_unix.c:785:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:932: osdep.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/imap-2007f/c-client' make[2]: *** [Makefile:499: lnp] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/c-client' make[1]: *** [Makefile:688: OSTYPE] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/imap-2007f' make: *** [Makefile:311: lnp] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.WUbr06 (%build) RPM build errors: Macro expanded in comment on line 30: %{version} Macro expanded in comment on line 124: %{version}-%{release} bogus date in %changelog: Tue May 18 2008 Rex Dieter 2007a1-3 bogus date in %changelog: Thu Jul 16 2004 Rex Dieter 1:2004-0.fdr.5.a Bad exit status from /var/tmp/rpm-tmp.WUbr06 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff