Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/up-imapproxy.spec'], False, '/var/lib/mock/centos6-rutgers-staging-build-3381-5614/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/up-imapproxy.spec'] warning: Could not canonicalize hostname: opus3.rutgers.edu Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/up-imapproxy-1.2.7-3.ru6.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/up-imapproxy.spec'], False, '/var/lib/mock/centos6-rutgers-staging-build-3381-5614/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/up-imapproxy.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lHxWdY + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf up-imapproxy-1.2.7rc3 + /bin/tar -xf /builddir/build/SOURCES/up-imapproxy-1.2.7rc3.tar.gz + cd up-imapproxy-1.2.7rc3 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.abMDCf + umask 022 + cd /builddir/build/BUILD + cd up-imapproxy-1.2.7rc3 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-koji-linux-gnu --host=x86_64-koji-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --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 x86_64-koji-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... x86_64-koji-linux-gnu checking host system type... x86_64-koji-linux-gnu checking target system type... x86_64-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... yes checking for request_init in -lwrap... no checking for EVP_DigestInit in -lcrypto... configure: WARNING: Wrappers library not found!!! Wrappers will be disabled. 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 + make -j2 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/icc.o src/icc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/main.o src/main.c src/main.c: In function 'main': src/main.c:667: warning: pointer targets in passing argument 3 of 'accept' differ in signedness /usr/include/sys/socket.h:214: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' src/main.c:696: warning: cast to pointer from integer of different size src/main.c: In function 'Daemonize': src/main.c:967: warning: ignoring return value of 'dup', declared with attribute warn_unused_result src/main.c:968: warning: ignoring return value of 'dup', declared with attribute warn_unused_result src/main.c:969: warning: ignoring return value of 'dup', declared with attribute warn_unused_result src/main.c: At top level: src/main.c:203: warning: 'rcsId' defined but not used src/main.c:204: warning: 'rcsSource' defined but not used src/main.c:205: warning: 'rcsAuthor' defined but not used gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/imapcommon.o src/imapcommon.c src/imapcommon.c: In function 'Get_Server_conn': src/imapcommon.c:410: warning: pointer targets in passing argument 2 of 'EVP_DigestFinal' differ in signedness /usr/include/openssl/evp.h:518: note: expected 'unsigned char *' but argument is of type 'char *' src/imapcommon.c:410: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness /usr/include/openssl/evp.h:518: note: expected 'unsigned int *' but argument is of type 'int *' src/imapcommon.c:700: warning: format '%d' expects type 'int', but argument 5 has type 'size_t' src/imapcommon.c:700: warning: format '%d' expects type 'int', but argument 5 has type 'size_t' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/request.o src/request.c src/request.c: In function 'cmd_trace': src/request.c:531: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c:576: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c: In function 'cmd_authenticate_login': src/request.c:729: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness /usr/include/openssl/evp.h:592: note: expected 'unsigned char *' but argument is of type 'char *' src/request.c:729: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness /usr/include/openssl/evp.h:592: note: expected 'const unsigned char *' but argument is of type 'char *' src/request.c:778: warning: pointer targets in passing argument 1 of 'EVP_DecodeBlock' differ in signedness /usr/include/openssl/evp.h:599: note: expected 'unsigned char *' but argument is of type 'char *' src/request.c:778: warning: pointer targets in passing argument 2 of 'EVP_DecodeBlock' differ in signedness /usr/include/openssl/evp.h:599: note: expected 'const unsigned char *' but argument is of type 'char *' src/request.c:786: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness /usr/include/openssl/evp.h:592: note: expected 'unsigned char *' but argument is of type 'char *' src/request.c:786: warning: pointer targets in passing argument 2 of 'EVP_EncodeBlock' differ in signedness /usr/include/openssl/evp.h:592: note: expected 'const unsigned char *' but argument is of type 'char *' src/request.c:821: warning: pointer targets in passing argument 1 of 'EVP_DecodeBlock' differ in signedness /usr/include/openssl/evp.h:599: note: expected 'unsigned char *' but argument is of type 'char *' src/request.c:821: warning: pointer targets in passing argument 2 of 'EVP_DecodeBlock' differ in signedness /usr/include/openssl/evp.h:599: note: expected 'const unsigned char *' but argument is of type 'char *' src/request.c:825: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness /usr/include/sys/socket.h:133: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' src/request.c: In function 'cmd_login': src/request.c:972: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness /usr/include/sys/socket.h:133: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' src/request.c: In function 'Raw_Proxy': src/request.c:1242: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c:1243: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c:1288: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c:1289: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c:1450: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c:1451: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c:1485: warning: ignoring return value of 'write', declared with attribute warn_unused_result src/request.c:1486: warning: ignoring return value of 'write', declared with attribute warn_unused_result gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/hash.o src/hash.c src/hash.c: In function 'Hash': src/hash.c:84: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/becomenonroot.o src/becomenonroot.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/config.o src/config.c In file included from /usr/include/stdio.h:932, from /usr/include/openssl/bio.h:65, from /usr/include/openssl/evp.h:75, from src/request.c:168: In function 'snprintf', inlined from 'cmd_authenticate_login' at src/request.c:784, inlined from 'HandleRequest' at src/request.c:1761: /usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/logging.o src/logging.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/threads.o src/threads.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/select.o src/select.c src/select.c: In function 'Populate_Select_Cache': src/select.c:356: warning: format '%d' expects type 'int', but argument 4 has type 'struct IMAPConnectionDescriptor *' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -I./include -c -o src/pimpstat.o src/pimpstat.c gcc -o bin/in.imapproxyd ./src/icc.o ./src/main.o ./src/imapcommon.o ./src/request.o ./src/hash.o ./src/becomenonroot.o ./src/config.o ./src/logging.o ./src/threads.o ./src/select.o -lssl -lcrypto -lpthread gcc -o bin/pimpstat ./src/pimpstat.o ./src/config.o -lcurses + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5myTqM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64 ++ dirname /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64 + cd up-imapproxy-1.2.7rc3 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64 + install -D -m 0644 -p scripts/imapproxy.conf /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/etc/imapproxy.conf + install -D -m 0755 -p /builddir/build/SOURCES/imapproxy.init /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/etc/rc.d/init.d/imapproxy + install -d -m 0755 /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/sbin + install -m 0755 bin/in.imapproxyd bin/pimpstat /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/sbin + install -d -m 0755 /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/var/run + touch /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/var/run/pimpstats + chmod 644 README README.debian README.known_issues README.ssl COPYING copyright ChangeLog + chmod 644 include/imapproxy.h src/main.c + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/up-imapproxy-1.2.7rc3 extracting debug info from /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/sbin/pimpstat extracting debug info from /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/sbin/in.imapproxyd 440 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: up-imapproxy-1.2.7-3.ru6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vqSmsk + umask 022 + cd /builddir/build/BUILD + cd up-imapproxy-1.2.7rc3 + DOCDIR=/builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/share/doc/up-imapproxy-1.2.7 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/share/doc/up-imapproxy-1.2.7 + /bin/mkdir -p /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/share/doc/up-imapproxy-1.2.7 + cp -pr COPYING ChangeLog README README.ssl /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/share/doc/up-imapproxy-1.2.7 + cp -pr copyright /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64/usr/share/doc/up-imapproxy-1.2.7 + exit 0 Provides: config(up-imapproxy) = 1.2.7-3.ru6 Requires(interp): /bin/sh /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 /sbin/chkconfig Requires(preun): /bin/sh /sbin/chkconfig /sbin/service Requires(postun): /bin/sh /sbin/service Requires: /bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libncurses.so.5()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libssl.so.10()(64bit) libtinfo.so.5()(64bit) rtld(GNU_HASH) Processing files: up-imapproxy-debuginfo-1.2.7-3.ru6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64 warning: Could not canonicalize hostname: opus3.rutgers.edu Wrote: /builddir/build/RPMS/up-imapproxy-1.2.7-3.ru6.x86_64.rpm Wrote: /builddir/build/RPMS/up-imapproxy-debuginfo-1.2.7-3.ru6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e65LQZ + umask 022 + cd /builddir/build/BUILD + cd up-imapproxy-1.2.7rc3 + rm -rf /builddir/build/BUILDROOT/up-imapproxy-1.2.7-3.ru6.x86_64 + exit 0 Child returncode was: 0 LEAVE do -->