Mock Version: 1.0.28 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/glite-lbjp-common-db.spec'], False, '/var/lib/mock/sl-5-x86_64/root/', None, 0, True, False, 20124, 137, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/glite-lbjp-common-db.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/glite-lbjp-common-db-3.2.3-1.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/glite-lbjp-common-db.spec'], False, '/var/lib/mock/sl-5-x86_64/root/', None, 0, True, False, 20124, 137, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/glite-lbjp-common-db.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.99256 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf glite-lbjp-common-db-3.2.3 + /bin/gzip -dc /builddir/build/SOURCES/glite-lbjp-common-db-3.2.3.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd glite-lbjp-common-db-3.2.3 ++ /usr/bin/id -u + '[' 20124 = 0 ']' ++ /usr/bin/id -u + '[' 20124 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.99256 + umask 022 + cd /builddir/build/BUILD + cd glite-lbjp-common-db-3.2.3 + LANG=C + export LANG + unset DISPLAY + /usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=lib64 --project=emi --module lbjp-common.db Checking myproxy ... (using default /opt/globus) Checking gridsite-openssl ... (using default /opt/glite) Checking gsoap++ ... (using default /usr) Checking classads ... (using default /usr) Checking gsoap ... (using default /usr) Checking cppunit ... /usr Checking expat ... (using default /usr) Checking voms-2.0 ... (using default /opt/glite) Looking for some caffein ... (using default /usr/java/latest) Checking globus-gssapi-gsi ... (using default /opt/globus) Checking libcares ... (using default /opt/c-ares) Checking activemq-cpp ... (using default /opt/activemq-cpp-library) Writing config.status Building modules: lbjp-common.db Mode: single module Required externals: postgresql: /usr pkgconfig: - cppunit: /usr mysql-devel: /usr log4c: /usr libtool: - CPPUNIT_CFLAGS= CPPUNIT_LIBS=-lcppunit This is a poor-man configure, it's up to you to have sources and externals there Creating Makefile.inc + make libtool --mode=compile gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -I/usr/include -I/usr/include/mysql -c ./src/db-mysql.c mkdir .libs gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -I/usr/include -I/usr/include/mysql -c ./src/db-mysql.c -fPIC -DPIC -o .libs/db-mysql.o gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -I/usr/include -I/usr/include/mysql -c ./src/db-mysql.c -o db-mysql.o >/dev/null 2>&1 libtool --mode=compile gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -I/usr/include -I/usr/include/postgresql -c ./src/db-pg.c gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -I/usr/include -I/usr/include/postgresql -c ./src/db-pg.c -fPIC -DPIC -o .libs/db-pg.o gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -I/usr/include -I/usr/include/postgresql -c ./src/db-pg.c -o db-pg.o >/dev/null 2>&1 libtool --mode=compile gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -c ./src/db.c gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -c ./src/db.c -fPIC -DPIC -o .libs/db.o gcc -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -c ./src/db.c -o db.o >/dev/null 2>&1 libtool --mode=link gcc -rpath /usr/lib64 -L/usr/lib64 -version-info 5:3:2 -o libglite_lbu_db.la db-mysql.lo db-pg.lo db.lo -lglite_lbu_trio -lglite_lbu_log -L/usr/lib64 -L/usr/lib64/mysql -lmysqlclient -L/usr/lib64 -lpq gcc -shared .libs/db-mysql.o .libs/db-pg.o .libs/db.o -L/usr/lib64 -lglite_lbu_trio -lglite_lbu_log -L/usr/lib64/mysql -lmysqlclient -lpq -Wl,-soname -Wl,libglite_lbu_db.so.3 -o .libs/libglite_lbu_db.so.3.2.3 (cd .libs && rm -f libglite_lbu_db.so.3 && ln -s libglite_lbu_db.so.3.2.3 libglite_lbu_db.so.3) (cd .libs && rm -f libglite_lbu_db.so && ln -s libglite_lbu_db.so.3.2.3 libglite_lbu_db.so) ar cru .libs/libglite_lbu_db.a db-mysql.o db-pg.o db.o ranlib .libs/libglite_lbu_db.a creating libglite_lbu_db.la (cd .libs && rm -f libglite_lbu_db.la && ln -s ../libglite_lbu_db.la libglite_lbu_db.la) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.85386 + umask 022 + cd /builddir/build/BUILD + cd glite-lbjp-common-db-3.2.3 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869 + mkdir -p /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869 + make install DESTDIR=/var/tmp/glite-lbjp-common-db-3.2.3-1-s18869 mkdir -p /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64 mkdir -p /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/include/glite/lbu libtool --mode=install install -m 755 "libglite_lbu_db.la" "/var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64/libglite_lbu_db.la"; \ libtool --mode=install install -m 644 ./interface/db.h /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/include/glite/lbu install -m 755 .libs/libglite_lbu_db.so.3.2.3 /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64/libglite_lbu_db.so.3.2.3 (cd /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64 && { ln -s -f libglite_lbu_db.so.3.2.3 libglite_lbu_db.so.3 || { rm -f libglite_lbu_db.so.3 && ln -s libglite_lbu_db.so.3.2.3 libglite_lbu_db.so.3; }; }) (cd /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64 && { ln -s -f libglite_lbu_db.so.3.2.3 libglite_lbu_db.so || { rm -f libglite_lbu_db.so && ln -s libglite_lbu_db.so.3.2.3 libglite_lbu_db.so; }; }) install -m 755 .libs/libglite_lbu_db.lai /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64/libglite_lbu_db.la install -m 755 .libs/libglite_lbu_db.a /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64/libglite_lbu_db.a chmod 644 /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64/libglite_lbu_db.a ranlib /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64/libglite_lbu_db.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' install -m 644 ./interface/db.h /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/include/glite/lbu/db.h + find /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869 -name '*.la' -exec rm -rf '{}' ';' + find /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869 -name '*.a' -exec rm -rf '{}' ';' + find /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869 -name '*' -print + xargs -I '{}' -i bash -c 'chrpath -d {} > /dev/null 2>&1' Stripped RPATH + echo 'Stripped RPATH' + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/glite-lbjp-common-db-3.2.3 extracting debug info from /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/lib64/libglite_lbu_db.so.3.2.3 symlinked /usr/lib/debug/usr/lib64/libglite_lbu_db.so.3.2.3.debug to /usr/lib/debug/usr/lib64/libglite_lbu_db.so.debug symlinked /usr/lib/debug/usr/lib64/libglite_lbu_db.so.3.2.3.debug to /usr/lib/debug/usr/lib64/libglite_lbu_db.so.3.debug 134 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.44284 + umask 022 + cd /builddir/build/BUILD + cd glite-lbjp-common-db-3.2.3 + make check libtool --mode=compile g++ -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -c ./test/timezone.cpp -o timezone.lo -I/usr/include g++ -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -c ./test/timezone.cpp -I/usr/include -fPIC -DPIC -o .libs/timezone.o g++ -g -O0 -W -Wall -DVERSION=\"3.2.3\" -I/usr/include -I./src -I. -I./interface -D_GNU_SOURCE -DHAVE_SYSLOG_H=1 -DMYSQL_ENABLED=1 -DPSQL_ENABLED=1 -c ./test/timezone.cpp -I/usr/include -o timezone.o >/dev/null 2>&1 libtool --mode=link g++ -rpath /usr/lib64 -L/usr/lib64 -o timezone timezone.lo libglite_lbu_db.la -L/usr/lib64 -lcppunit g++ -o .libs/timezone .libs/timezone.o -L/usr/lib64 ./.libs/libglite_lbu_db.so -lglite_lbu_trio -lglite_lbu_log -L/usr/lib64/mysql -lmysqlclient -lpq -lcppunit -Wl,--rpath -Wl,/usr/lib64 creating timezone LD_LIBRARY_PATH=:/usr/lib64 ./timezone .... OK (4 tests) + exit 0 Processing files: glite-lbjp-common-db-3.2.3-1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.44284 + umask 022 + cd /builddir/build/BUILD + cd glite-lbjp-common-db-3.2.3 + DOCDIR=/var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/share/doc/glite-lbjp-common-db-3.2.3 + export DOCDIR + rm -rf /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/share/doc/glite-lbjp-common-db-3.2.3 + /bin/mkdir -p /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/share/doc/glite-lbjp-common-db-3.2.3 + cp -pr LICENSE project/ChangeLog /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869/usr/share/doc/glite-lbjp-common-db-3.2.3 + exit 0 Provides: libglite_lbu_db.so.3()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libglite_lbu_db.so.3()(64bit) libglite_lbu_log.so.1()(64bit) libglite_lbu_trio.so.2()(64bit) libmysqlclient.so.15()(64bit) libmysqlclient.so.15(libmysqlclient_15)(64bit) libpq.so.4()(64bit) rtld(GNU_HASH) Processing files: glite-lbjp-common-db-devel-3.2.3-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: glite-lbjp-common-db = 3.2.3-1 libglite_lbu_db.so.3()(64bit) Processing files: glite-lbjp-common-db-debuginfo-3.2.3-1 Provides: libglite_lbu_db.so.3.2.3.debug()(64bit) 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/glite-lbjp-common-db-3.2.3-1-s18869 Wrote: /builddir/build/RPMS/glite-lbjp-common-db-3.2.3-1.x86_64.rpm Wrote: /builddir/build/RPMS/glite-lbjp-common-db-devel-3.2.3-1.x86_64.rpm Wrote: /builddir/build/RPMS/glite-lbjp-common-db-debuginfo-3.2.3-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.44284 + umask 022 + cd /builddir/build/BUILD + cd glite-lbjp-common-db-3.2.3 + rm -rf /var/tmp/glite-lbjp-common-db-3.2.3-1-s18869 + exit 0 Child returncode was: 0 LEAVE do -->