+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/up-imapproxy.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: bogus date in %changelog: Tue Feb 04 2009 Rakesh Pandit 1.2.7-0.3.rc1 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o0eRnB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf squirrelmail-imap_proxy-1.2.8 + /usr/bin/xz -dc /builddir/build/SOURCES/squirrelmail-imap_proxy-20130726svn14389.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd squirrelmail-imap_proxy-1.2.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (up-imapproxy-aarch64.patch):' Patch #0 (up-imapproxy-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.guess patching file config.sub + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l0GPwh + umask 022 + cd /builddir/build/BUILD + cd squirrelmail-imap_proxy-1.2.8 + CFLAGS='-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 CFLAGS + CXXFLAGS='-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 CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for connect... yes checking for pthread_create in -lpthread... yes checking for mmap... yes checking for yp_get_default_domain in -lnsl... no configure: WARNING: nsl library not found!!! Wrappers will be disabled. checking for EVP_DigestInit in -lcrypto... yes checking for SSL_new in -lssl... yes checking for initscr in -lcurses... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for typedef nfds_t... yes checking for an ANSI C-conforming const... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for socket... yes checking for poll... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing default commands + '[' -d bin ']' + mkdir bin + make -j4 gcc -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 -I. -I./include -c -o src/icc.o src/icc.c gcc -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 -I. -I./include -c -o src/main.o src/main.c gcc -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 -I. -I./include -c -o src/imapcommon.o src/imapcommon.c gcc -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 -I. -I./include -c -o src/request.o src/request.c src/imapcommon.c: In function 'Get_Server_conn': src/imapcommon.c:547:16: error: storage size of 'mdctx' isn't known EVP_MD_CTX mdctx; ^~~~~ src/imapcommon.c:556:29: warning: pointer targets in passing argument 2 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&mdctx, md5pw, &md_len); ^~~~~ In file included from src/imapcommon.c:137:0: /usr/include/openssl/evp.h:519:12: note: expected 'unsigned char *' but argument is of type 'char *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ src/imapcommon.c:556:36: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&mdctx, md5pw, &md_len); ^ In file included from src/imapcommon.c:137:0: /usr/include/openssl/evp.h:519:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ src/imapcommon.c:934:19: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 ); ^~~~~~~~~~~~~~ In file included from src/imapcommon.c:137:0: /usr/include/openssl/evp.h:617:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/imapcommon.c:934:35: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 ); ^~~~~~~ In file included from src/imapcommon.c:137:0: /usr/include/openssl/evp.h:617:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/imapcommon.c:957:47: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] snprintf( SendBuf, BufLen, "A0001 LOGIN %s {%d}\r\n", ~^ %ld Username, strlen( Password ) ); ~~~~~~~~~~~~~~~~~~ src/main.c: In function 'main': src/main.c:453:10: warning: implicit declaration of function 'RAND_egd'; did you mean 'RAND_add'? [-Wimplicit-function-declaration] if ( RAND_egd( ( RAND_file_name( f_randfile, sizeof( f_randfile ) ) == f_randfile ) ? f_randfile : "/.rnd" ) ) ^~~~~~~~ RAND_add src/main.c:461:5: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] tls_ctx = SSL_CTX_new( TLSv1_client_method() ); ^~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from ./include/imapproxy.h:150, from src/main.c:230: /usr/include/openssl/ssl.h:1631:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ src/imapcommon.c:547:16: warning: unused variable 'mdctx' [-Wunused-variable] EVP_MD_CTX mdctx; ^~~~~ src/main.c:675:7: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] &sockaddrlen ); ^ In file included from src/main.c:206:0: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ src/main.c:704:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rc = pthread_create( &ThreadId, &attr, (void *)HandleRequest, (void *)clientsd ); ^ src/request.c: In function 'cmd_authenticate_login': src/request.c:717:22: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); ^~~~~~~~~~~~~~~ In file included from src/request.c:155:0: /usr/include/openssl/evp.h:617:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/request.c:717:39: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); ^~~~~~~~ In file included from src/request.c:155:0: /usr/include/openssl/evp.h:617:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/request.c:766:27: warning: pointer targets in passing argument 1 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign] rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 ); ^~~~~~~~ In file included from src/request.c:155:0: /usr/include/openssl/evp.h:624:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/request.c:766:37: warning: pointer targets in passing argument 2 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign] rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 ); ^~~~~~~~~~~~~~~ In file included from src/request.c:155:0: /usr/include/openssl/evp.h:624:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/request.c:774:22: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) ); ^~~~~~~~~~~~~~~ In file included from src/request.c:155:0: /usr/include/openssl/evp.h:617:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/request.c:774:39: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness [-Wpointer-sign] EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) ); ^~~~~~~~ In file included from src/request.c:155:0: /usr/include/openssl/evp.h:617:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/request.c:809:27: warning: pointer targets in passing argument 1 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign] rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 ); ^~~~~~~~ In file included from src/request.c:155:0: /usr/include/openssl/evp.h:624:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/request.c:809:37: warning: pointer targets in passing argument 2 of 'EVP_DecodeBlock' differ in signedness [-Wpointer-sign] rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 ); ^~~~~~~~~~~~~~~ In file included from src/request.c:155:0: /usr/include/openssl/evp.h:624:5: note: expected 'const unsigned char *' but argument is of type 'char *' int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); ^~~~~~~~~~~~~~~ src/request.c:813:9: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &sockaddrlen ) < 0 ) ^ In file included from src/request.c:140:0: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ src/request.c:894:5: warning: implicit declaration of function 'ICC_Invalidate'; did you mean 'SCT_validate'? [-Wimplicit-function-declaration] ICC_Invalidate(Server.conn->ICC); ^~~~~~~~~~~~~~ SCT_validate src/request.c: In function 'cmd_login': src/request.c:984:9: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &sockaddrlen ) < 0 ) ^ In file included from src/request.c:140:0: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ src/main.c: In function 'SetBannerAndCapability': src/main.c:1359:11: warning: implicit declaration of function 'Attempt_STARTTLS' [-Wimplicit-function-declaration] if ( Attempt_STARTTLS( &itd ) != 0 ) ^~~~~~~~~~~~~~~~ make: *** [Makefile:67: src/imapcommon.o] Error 1 make: *** Waiting for unfinished jobs.... src/main.c: In function 'verify_callback': src/main.c:1502:16: error: dereferencing pointer to incomplete type 'X509_STORE_CTX {aka struct x509_store_ctx_st}' switch (ctx->error) { ^~ src/main.c: In function 'Daemonize': src/main.c:987:12: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(2); dup(i); ^~~~~~ src/main.c:988:12: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(1); dup(i); ^~~~~~ src/main.c:989:12: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close(0); dup(i); ^~~~~~ At top level: src/main.c:192:14: warning: 'sourceAuthor' defined but not used [-Wunused-variable] static char *sourceAuthor = "$Author: jervfors $"; ^~~~~~~~~~~~ src/main.c:191:14: warning: 'sourceVersion' defined but not used [-Wunused-variable] static char *sourceVersion = "$Id: main.c 14387 2013-07-26 17:31:02Z jervfors $"; ^~~~~~~~~~~~~ src/main.c:190:14: warning: 'sourceRevision' defined but not used [-Wunused-variable] static char *sourceRevision = "$Revision: 14387 $"; ^~~~~~~~~~~~~~ make: *** [Makefile:67: src/main.o] Error 1 src/request.c: In function 'Raw_Proxy': src/request.c:1287:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, TraceBuf, strlen( TraceBuf ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1288:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, Server->ReadBuf, status ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1333:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, TraceBuf, strlen( TraceBuf ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1334:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, Client->ReadBuf, status ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1495:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, TraceBuf, strlen( TraceBuf ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1496:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, Server->ReadBuf, status ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1530:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, TraceBuf, strlen( TraceBuf ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1531:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, Client->ReadBuf, status ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c: In function 'cmd_trace': src/request.c:518:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, SendBuf, strlen( SendBuf ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:563:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( Tracefd, SendBuf, strlen( SendBuf ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /var/tmp/rpm-tmp.l0GPwh (%build) RPM build errors: bogus date in %changelog: Tue Feb 04 2009 Rakesh Pandit 1.2.7-0.3.rc1 Bad exit status from /var/tmp/rpm-tmp.l0GPwh (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff