Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/PyGreSQL.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/PyGreSQL.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/PyGreSQL-4.0-9.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/PyGreSQL.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/PyGreSQL.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aW7XYJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyGreSQL-4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyGreSQL-4.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyGreSQL-4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (PyGreSQL-set-decimal.patch):' Patch #1 (PyGreSQL-set-decimal.patch): + /usr/bin/cat /builddir/build/SOURCES/PyGreSQL-set-decimal.patch + /usr/bin/patch -p1 --fuzz=0 patching file pgdb.py + chmod 755 tutorial + chmod 644 tutorial/advanced.py tutorial/basics.py tutorial/func.py tutorial/syscat.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.plrYig + umask 022 + cd /builddir/build/BUILD + cd PyGreSQL-4.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.7 copying pg.py -> build/lib.linux-x86_64-2.7 copying pgdb.py -> build/lib.linux-x86_64-2.7 running build_ext building '_pg' extension creating build/temp.linux-x86_64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -Iinclude -I/usr/include -I/usr/include/pgsql/server -I/usr/include/python2.7 -c pgmodule.c -o build/temp.linux-x86_64-2.7/pgmodule.o -O2 In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from pgmodule.c:43: /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] #define _XOPEN_SOURCE 600 ^ In file included from /usr/include/stdio.h:27:0, from include/c.h:67, from include/postgres.h:47, from pgmodule.c:32: /usr/include/features.h:170:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ pgmodule.c: In function 'pgsetdefpasswd': pgmodule.c:3444:14: warning: variable 'old' set but not used [-Wunused-but-set-variable] PyObject *old; ^ gcc -pthread -shared -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic build/temp.linux-x86_64-2.7/pgmodule.o -L/usr/lib64 -L/usr/lib64 -lpq -lpython2.7 -o build/lib.linux-x86_64-2.7/_pg.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MjKt1O + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 + cd PyGreSQL-4.0 + rm -rf /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 creating /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr creating /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/pg.py -> /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/_pg.so -> /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/pgdb.py -> /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/site-packages/pg.py to pg.pyc byte-compiling /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/site-packages/pgdb.py to pgdb.pyc writing byte-compilation script '/tmp/tmp3kUuOd.py' /usr/bin/python -O /tmp/tmp3kUuOd.py removing /tmp/tmp3kUuOd.py running install_egg_info Writing /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/site-packages/PyGreSQL-4.0-py2.7.egg-info + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/PyGreSQL-4.0 extracting debug info from /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/site-packages/_pg.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. cpio: PyGreSQL-4.0/include/postgres_ext.h: Cannot stat: No such file or directory 168 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/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/lib64/python2.7/ using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: PyGreSQL-4.0-9.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RxF1Fo + umask 022 + cd /builddir/build/BUILD + cd PyGreSQL-4.0 + DOCDIR=/builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/share/doc/PyGreSQL-4.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/share/doc/PyGreSQL-4.0 + cp -pr docs/announce.txt docs/changelog.txt docs/future.txt docs/install.txt docs/pg.txt docs/pgdb.txt docs/readme.txt /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/share/doc/PyGreSQL-4.0 + cp -pr tutorial /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64/usr/share/doc/PyGreSQL-4.0 + exit 0 Provides: PyGreSQL = 4.0-9.el7 PyGreSQL(x86-64) = 4.0-9.el7 postgresql-python = 8.5.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.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.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpq.so.5()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: postgresql-python < 8.5 Processing files: PyGreSQL-debuginfo-4.0-9.el7.x86_64 Provides: PyGreSQL-debuginfo = 4.0-9.el7 PyGreSQL-debuginfo(x86-64) = 4.0-9.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Wrote: /builddir/build/RPMS/PyGreSQL-4.0-9.el7.x86_64.rpm Wrote: /builddir/build/RPMS/PyGreSQL-debuginfo-4.0-9.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uwMLE9 + umask 022 + cd /builddir/build/BUILD + cd PyGreSQL-4.0 + rm -rf /builddir/build/BUILDROOT/PyGreSQL-4.0-9.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->