ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/mysql-proxy.spec'], False, '/var/lib/mock/centos5-rutgers-build-410-536/root/', None, 86400, True, 0, 72, 200, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/mysql-proxy.spec'] warning: Could not canonicalize hostname: omachi.rutgers.edu Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mysql-proxy-0.5.1-1.ru.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/mysql-proxy.spec'], False, '/var/lib/mock/centos5-rutgers-build-410-536/root/', None, 86400, True, 0, 72, 200, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/mysql-proxy.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.95995 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf mysql-proxy-0.5.1 + /bin/gzip -dc /builddir/build/SOURCES/mysql-proxy-0.5.1.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mysql-proxy-0.5.1 ++ /usr/bin/id -u + '[' 72 = 0 ']' ++ /usr/bin/id -u + '[' 72 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.95995 + umask 022 + cd /builddir/build/BUILD + cd mysql-proxy-0.5.1 + 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' + export FFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /bin/rm -f ./config.guess ++ basename ./config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess `/usr/lib/rpm/redhat/config.guess' -> `./config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /bin/rm -f ./config.sub ++ basename ./config.sub + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub `/usr/lib/rpm/redhat/config.sub' -> `./config.sub' + ./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=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info 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 a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for AIX... no checking for library containing strerror... none required 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for function prototypes... yes checking for string.h... (cached) yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether char is unsigned... no checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing hstrerror... none required checking for MySQL support... yes checking for mysql_config... /usr/bin/mysql_config checking for MySQL includes at... -I/usr/include/mysql checking errmsg.h usability... yes checking errmsg.h presence... yes checking for errmsg.h... yes checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking for pkg-config... /usr/bin/pkg-config checking for lua... yes checking for x86_64-koji-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LUA... yes checking for GLIB... yes checking for inet_ntoa... yes checking for inet_ntop... yes checking for event_init in -levent... yes checking event.h usability... yes checking event.h presence... yes checking for event.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating mysql-proxy.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/mysql-proxy-0.5.1' Making all in src make[2]: Entering directory `/builddir/build/BUILD/mysql-proxy-0.5.1/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT mysql_proxy-mysql-proxy.o -MD -MP -MF ".deps/mysql_proxy-mysql-proxy.Tpo" -c -o mysql_proxy-mysql-proxy.o `test -f 'mysql-proxy.c' || echo './'`mysql-proxy.c; \ then mv -f ".deps/mysql_proxy-mysql-proxy.Tpo" ".deps/mysql_proxy-mysql-proxy.Po"; else rm -f ".deps/mysql_proxy-mysql-proxy.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT mysql_proxy-network-mysqld.o -MD -MP -MF ".deps/mysql_proxy-network-mysqld.Tpo" -c -o mysql_proxy-network-mysqld.o `test -f 'network-mysqld.c' || echo './'`network-mysqld.c; \ then mv -f ".deps/mysql_proxy-network-mysqld.Tpo" ".deps/mysql_proxy-network-mysqld.Po"; else rm -f ".deps/mysql_proxy-network-mysqld.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT mysql_proxy-network-mysqld-proto.o -MD -MP -MF ".deps/mysql_proxy-network-mysqld-proto.Tpo" -c -o mysql_proxy-network-mysqld-proto.o `test -f 'network-mysqld-proto.c' || echo './'`network-mysqld-proto.c; \ then mv -f ".deps/mysql_proxy-network-mysqld-proto.Tpo" ".deps/mysql_proxy-network-mysqld-proto.Po"; else rm -f ".deps/mysql_proxy-network-mysqld-proto.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT mysql_proxy-network-mysqld-proxy.o -MD -MP -MF ".deps/mysql_proxy-network-mysqld-proxy.Tpo" -c -o mysql_proxy-network-mysqld-proxy.o `test -f 'network-mysqld-proxy.c' || echo './'`network-mysqld-proxy.c; \ then mv -f ".deps/mysql_proxy-network-mysqld-proxy.Tpo" ".deps/mysql_proxy-network-mysqld-proxy.Po"; else rm -f ".deps/mysql_proxy-network-mysqld-proxy.Tpo"; exit 1; fi mysql-proxy.c: In function 'log_func': mysql-proxy.c:47: warning: ignoring return value of 'write', declared with attribute warn_unused_result mysql-proxy.c:48: warning: ignoring return value of 'write', declared with attribute warn_unused_result network-mysqld.c:406: warning: 'dump_str' defined but not used if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT mysql_proxy-network-mysqld-server.o -MD -MP -MF ".deps/mysql_proxy-network-mysqld-server.Tpo" -c -o mysql_proxy-network-mysqld-server.o `test -f 'network-mysqld-server.c' || echo './'`network-mysqld-server.c; \ then mv -f ".deps/mysql_proxy-network-mysqld-server.Tpo" ".deps/mysql_proxy-network-mysqld-server.Po"; else rm -f ".deps/mysql_proxy-network-mysqld-server.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT mysql_proxy-network-mysqld-table.o -MD -MP -MF ".deps/mysql_proxy-network-mysqld-table.Tpo" -c -o mysql_proxy-network-mysqld-table.o `test -f 'network-mysqld-table.c' || echo './'`network-mysqld-table.c; \ then mv -f ".deps/mysql_proxy-network-mysqld-table.Tpo" ".deps/mysql_proxy-network-mysqld-table.Po"; else rm -f ".deps/mysql_proxy-network-mysqld-table.Tpo"; exit 1; fi network-mysqld-proxy.c:1085: warning: 'g_timeval_string' defined but not used network-mysqld-proxy.c:2260: warning: 'dumptable' defined but not used network-mysqld-server.c: In function 'network_mysqld_con_handle_stmt': network-mysqld-server.c:57: warning: unused variable 'packet_len' network-mysqld-server.c: In function 'server_read_query': network-mysqld-server.c:254: warning: unused variable 'send_sock' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o mysql-proxy mysql_proxy-mysql-proxy.o mysql_proxy-network-mysqld.o mysql_proxy-network-mysqld-proto.o mysql_proxy-network-mysqld-proxy.o mysql_proxy-network-mysqld-server.o mysql_proxy-network-mysqld-table.o -levent -L/lib64 -lglib-2.0 -llua -lm -ldl make[2]: Leaving directory `/builddir/build/BUILD/mysql-proxy-0.5.1/src' Making all in examples make[2]: Entering directory `/builddir/build/BUILD/mysql-proxy-0.5.1/examples' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/mysql-proxy-0.5.1/examples' make[2]: Entering directory `/builddir/build/BUILD/mysql-proxy-0.5.1' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/builddir/build/BUILD/mysql-proxy-0.5.1' make[1]: Leaving directory `/builddir/build/BUILD/mysql-proxy-0.5.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.62093 + umask 022 + cd /builddir/build/BUILD + cd mysql-proxy-0.5.1 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild + make install DESTDIR=/var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild SUBDIRS=src Making install in src make[1]: Entering directory `/builddir/build/BUILD/mysql-proxy-0.5.1/src' make[2]: Entering directory `/builddir/build/BUILD/mysql-proxy-0.5.1/src' test -z "/usr/sbin" || mkdir -p -- "/var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild/usr/sbin" /usr/bin/install -c 'mysql-proxy' '/var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild/usr/sbin/mysql-proxy' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/mysql-proxy-0.5.1/src' make[1]: Leaving directory `/builddir/build/BUILD/mysql-proxy-0.5.1/src' make[1]: Entering directory `/builddir/build/BUILD/mysql-proxy-0.5.1' make[2]: Entering directory `/builddir/build/BUILD/mysql-proxy-0.5.1' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/mysql-proxy-0.5.1' make[1]: Leaving directory `/builddir/build/BUILD/mysql-proxy-0.5.1' + rm examples/Makefile examples/Makefile.am examples/Makefile.in + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/mysql-proxy-0.5.1 extracting debug info from /var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild/usr/sbin/mysql-proxy 269 blocks + /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-java-repack-jars Processing files: mysql-proxy-0.5.1-1.ru Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.91968 + umask 022 + cd /builddir/build/BUILD + cd mysql-proxy-0.5.1 + DOCDIR=/var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild/usr/share/doc/mysql-proxy-0.5.1 + export DOCDIR + rm -rf /var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild/usr/share/doc/mysql-proxy-0.5.1 + /bin/mkdir -p /var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild/usr/share/doc/mysql-proxy-0.5.1 + cp -pr COPYING README NEWS /var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild/usr/share/doc/mysql-proxy-0.5.1 + cp -pr examples/ /var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild/usr/share/doc/mysql-proxy-0.5.1 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdl.so.2()(64bit) libevent-1.1a.so.1()(64bit) libglib-2.0.so.0()(64bit) liblua-5.1.so()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: mysql-proxy-debuginfo-0.5.1-1.ru Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild warning: Could not canonicalize hostname: omachi.rutgers.edu Wrote: /builddir/build/RPMS/mysql-proxy-0.5.1-1.ru.x86_64.rpm Wrote: /builddir/build/RPMS/mysql-proxy-debuginfo-0.5.1-1.ru.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.91968 + umask 022 + cd /builddir/build/BUILD + cd mysql-proxy-0.5.1 + rm -rf /var/tmp/mysql-proxy-0.5.1-1.ru-root-mockbuild + exit 0 Child returncode was: 0 LEAVE do -->