Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/lua-dbi.spec'], False, '/var/lib/mock/epel-6-x86_64-mockbuilder-1729/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/lua-dbi.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} warning: Could not canonicalize hostname: i-00018f20 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/lua-dbi-0.5-9.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/lua-dbi.spec'], False, '/var/lib/mock/epel-6-x86_64-mockbuilder-1729/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/lua-dbi.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1N07Lc + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf lua-dbi-0.5 + /bin/mkdir -p lua-dbi-0.5 + cd lua-dbi-0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/luadbi.0.5.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #2 (lua-dbi-0.5-pgsql_transaction.patch): + echo 'Patch #2 (lua-dbi-0.5-pgsql_transaction.patch):' + /bin/cat /builddir/build/SOURCES/lua-dbi-0.5-pgsql_transaction.patch + /usr/bin/patch -p1 -b --suffix .pgsql_transaction --fuzz=0 patching file dbd/postgresql/connection.c + find . -name '*.[ch]' -print -exec chmod -x '{}' ';' ./dbd/sqlite3/dbd_sqlite3.h ./dbd/sqlite3/statement.c ./dbd/sqlite3/main.c ./dbd/sqlite3/connection.c ./dbd/db2/statement.c ./dbd/db2/main.c ./dbd/db2/connection.c ./dbd/db2/dbd_db2.h ./dbd/mysql/statement.c ./dbd/mysql/main.c ./dbd/mysql/connection.c ./dbd/mysql/dbd_mysql.h ./dbd/postgresql/dbd_postgresql.h ./dbd/postgresql/statement.c ./dbd/postgresql/main.c ./dbd/postgresql/connection.c ./dbd/oracle/statement.c ./dbd/oracle/dbd_oracle.h ./dbd/oracle/main.c ./dbd/oracle/connection.c ./dbd/common.h ./dbd/common.c Patch #1 (lua-dbi-RH-build52.patch): + echo 'Patch #1 (lua-dbi-RH-build52.patch):' + /bin/cat /builddir/build/SOURCES/lua-dbi-RH-build52.patch + /usr/bin/patch -p1 -b --suffix .RH-build52 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6boU65 + umask 022 + cd /builddir/build/BUILD + cd lua-dbi-0.5 + LANG=C + export LANG + unset DISPLAY + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' + make -j3 LIBDIR=/usr/lib64 mkdir -p build gcc -c -o build/dbd_common.o dbd/common.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . gcc -c -o build/dbd_mysql_main.o dbd/mysql/main.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . gcc -c -o build/dbd_mysql_connection.o dbd/mysql/connection.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . In file included from dbd/mysql/dbd_mysql.h:7, from dbd/mysql/main.c:2: /usr/include/mysql/mysql.h:132: warning: ISO C90 does not support 'long long' gcc -c -o build/dbd_mysql_statement.o dbd/mysql/statement.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . In file included from dbd/mysql/dbd_mysql.h:7, from dbd/mysql/connection.c:2: /usr/include/mysql/mysql.h:132: warning: ISO C90 does not support 'long long' gcc -c -o build/dbd_postgresql_main.o dbd/postgresql/main.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . gcc -c -o build/dbd_postgresql_connection.o dbd/postgresql/connection.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . gcc -c -o build/dbd_postgresql_statement.o dbd/postgresql/statement.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . gcc -c -o build/dbd_sqlite3_main.o dbd/sqlite3/main.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . In file included from dbd/mysql/dbd_mysql.h:7, from dbd/mysql/statement.c:2: /usr/include/mysql/mysql.h:132: warning: ISO C90 does not support 'long long' gcc -c -o build/dbd_sqlite3_connection.o dbd/sqlite3/connection.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . gcc -c -o build/dbd_sqlite3_statement.o dbd/sqlite3/statement.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . build/dbd_common.o build/dbd_mysql_main.o build/dbd_mysql_connection.o build/dbd_mysql_statement.o -o dbdmysql.so -L/usr/lib64/mysql -lmysqlclient gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . build/dbd_common.o build/dbd_postgresql_main.o build/dbd_postgresql_connection.o build/dbd_postgresql_statement.o -o dbdpostgresql.so -lpq gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -g -pedantic -Wall -O2 -shared -fpic -I /usr/include/ -I /usr/include/mysql -I /usr/include/pgsql/server -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . build/dbd_common.o build/dbd_sqlite3_main.o build/dbd_sqlite3_connection.o build/dbd_sqlite3_statement.o -o dbdsqlite3.so -lsqlite3 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JXVSB0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64 + cd lua-dbi-0.5 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/share/lua/5.1 + mkdir -p /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/lib64/lua/5.1 + cp -p dbdmysql.so dbdpostgresql.so dbdsqlite3.so /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/lib64/lua/5.1 + cp -p DBI.lua /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/share/lua/5.1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/lua-dbi-0.5 extracting debug info from /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/lib64/lua/5.1/dbdmysql.so extracting debug info from /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/lib64/lua/5.1/dbdsqlite3.so extracting debug info from /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/lib64/lua/5.1/dbdpostgresql.so 119 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: lua-dbi-0.5-9.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mnIezY + umask 022 + cd /builddir/build/BUILD + cd lua-dbi-0.5 + DOCDIR=/builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/share/doc/lua-dbi-0.5 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/share/doc/lua-dbi-0.5 + /bin/mkdir -p /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/share/doc/lua-dbi-0.5 + cp -pr README COPYING /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64/usr/share/doc/lua-dbi-0.5 + exit 0 Provides: dbdmysql.so()(64bit) dbdpostgresql.so()(64bit) dbdsqlite3.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/lua libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libmysqlclient.so.16()(64bit) libmysqlclient.so.16(libmysqlclient_16)(64bit) libpq.so.5()(64bit) libsqlite3.so.0()(64bit) rtld(GNU_HASH) Processing files: lua-dbi-debuginfo-0.5-9.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64 warning: Could not canonicalize hostname: i-00018f20 Wrote: /builddir/build/RPMS/lua-dbi-0.5-9.el6.x86_64.rpm Wrote: /builddir/build/RPMS/lua-dbi-debuginfo-0.5-9.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LZPqpT + umask 022 + cd /builddir/build/BUILD + cd lua-dbi-0.5 + rm -rf /builddir/build/BUILDROOT/lua-dbi-0.5-9.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->