Mock Version: 1.1.8 Mock Version: 1.1.8 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-pycurl.spec'], False, '/var/lib/mock/dist-f15-build-992094-147498/root/', None, 86400, True, 0, 496, 496, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-pycurl.spec'] sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: x86-18.phx2.fedoraproject.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-pycurl-7.19.0-9.fc15.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-pycurl.spec'], False, '/var/lib/mock/dist-f15-build-992094-147498/root/', None, 86400, True, 0, 496, 496, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-pycurl.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8DMuzz + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf pycurl-7.19.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pycurl-7.19.0.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pycurl-7.19.0 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-pycurl-no-static-libs.patch):' Patch #0 (python-pycurl-no-static-libs.patch): + /bin/cat /builddir/build/SOURCES/python-pycurl-no-static-libs.patch + /usr/bin/patch -s -p0 --fuzz=0 Patch #1 (python-pycurl-fix-do_curl_reset-refcount.patch): + echo 'Patch #1 (python-pycurl-fix-do_curl_reset-refcount.patch):' + /bin/cat /builddir/build/SOURCES/python-pycurl-fix-do_curl_reset-refcount.patch + /usr/bin/patch -s -p1 --fuzz=0 + chmod a-x examples/basicfirst.py examples/file_upload.py examples/linksys.py examples/retriever-multi.py examples/retriever.py examples/sfquery.py examples/xmlrpc_curl.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OPBygY + umask 022 + cd /builddir/build/BUILD + cd pycurl-7.19.0 + 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 -DHAVE_CURL_OPENSSL' + /usr/bin/python setup.py build Using curl-config (libcurl 7.21.3) running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/curl copying python/curl/__init__.py -> build/lib.linux-x86_64-2.7/curl running build_ext building 'pycurl' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAVE_CURL_OPENSSL -fPIC -DHAVE_CURL_SSL=1 -I/usr/include/python2.7 -c src/pycurl.c -o build/temp.linux-x86_64-2.7/src/pycurl.o src/pycurl.c: In function 'multi_socket_callback': src/pycurl.c:2352:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] src/pycurl.c:2356:11: warning: call to '_curl_easy_getinfo_err_string' declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default] src/pycurl.c: In function 'do_multi_info_read': src/pycurl.c:2844:15: warning: call to '_curl_easy_getinfo_err_string' declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default] In function 'util_curl_unsetopt', inlined from 'do_curl_unsetopt' at src/pycurl.c:1552:5: src/pycurl.c:1477:9: warning: call to '_curl_easy_setopt_err_CURLSH' declared with attribute warning: curl_easy_setopt expects a CURLSH* argument for this option [enabled by default] gcc -pthread -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAVE_CURL_OPENSSL build/temp.linux-x86_64-2.7/src/pycurl.o -L/usr/lib64 -lcurl -lpython2.7 -o build/lib.linux-x86_64-2.7/pycurl.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YG4X0p + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 ++ dirname /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 + cd pycurl-7.19.0 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 Using curl-config (libcurl 7.21.3) running install running install_lib creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/pycurl.so -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64/python2.7/site-packages/curl copying build/lib.linux-x86_64-2.7/curl/__init__.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64/python2.7/site-packages/curl byte-compiling /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64/python2.7/site-packages/curl/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpPKqUT0.py' /usr/bin/python -O /tmp/tmpPKqUT0.py removing /tmp/tmpPKqUT0.py running install_data creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl copying ChangeLog -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl copying COPYING -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl copying COPYING2 -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl copying INSTALL -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl copying README -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl copying TODO -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/html copying doc/curlshareobject.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/html copying doc/pycurl.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/html copying doc/curlobject.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/html copying doc/callbacks.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/html copying doc/curlmultiobject.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/html creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/examples copying examples/file_upload.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/examples copying examples/xmlrpc_curl.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/examples copying examples/retriever.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/examples copying examples/linksys.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/examples copying examples/basicfirst.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/examples copying examples/retriever-multi.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/examples copying examples/sfquery.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/examples creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi_timer.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi_vs_thread.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi_socket.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_post2.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_ftp.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_getinfo.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_xmlrpc.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi5.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_internals.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_gtk.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/util.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_socketopen.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_debug.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_memleak.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_post3.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi4.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_stringio.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_share.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi2.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi_socket_select.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_post.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_cb.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi6.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests copying tests/test_multi3.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl/tests running install_egg_info Writing /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64/python2.7/site-packages/pycurl-7.19.0-py2.7.egg-info + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/pycurl + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/pycurl-7.19.0 extracting debug info from /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/lib64/python2.7/site-packages/pycurl.so 246 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/python-pycurl-7.19.0-9.fc15.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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CDix3S + umask 022 + cd /builddir/build/BUILD + cd pycurl-7.19.0 + unset DISPLAY + export 'PYTHONPATH=/builddir/build/BUILD/pycurl-7.19.0/build/lib*' + PYTHONPATH='/builddir/build/BUILD/pycurl-7.19.0/build/lib*' + /usr/bin/python tests/test_internals.py -q gc: collectable gc: collectable gc: collectable gc: collectable Python 2.7.1 (r271:86832, Jan 21 2011, 20:06:50) [GCC 4.5.1 20101130 (Red Hat 4.5.1-6)] PycURL libcurl/7.21.3 NSS/3.12.9.0 Beta zlib/1.2.5 libidn/1.19 libssh2/1.2.7 (compiled against 0x71503) PycURL version info (3, '7.21.3', 464131, 'x86_64-redhat-linux-gnu', 1725, 'NSS/3.12.9.0 Beta', 0, '1.2.5', ('dict', 'file', 'ftp', 'ftps', 'gopher', 'http', 'https', 'imap', 'imaps', 'ldap', 'ldaps', 'pop3', 'pop3s', 'rtsp', 'scp', 'sftp', 'smtp', 'smtps', 'telnet', 'tftp'), None, 0, '1.19') build/lib.linux-x86_64-2.7/pycurl.so, compiled Feb 9 2011 07:19:22 All tests passed. + exit 0 Processing files: python-pycurl-7.19.0-9.fc15.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qtvCkn + umask 022 + cd /builddir/build/BUILD + cd pycurl-7.19.0 + DOCDIR=/builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/python-pycurl-7.19.0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/python-pycurl-7.19.0 + /bin/mkdir -p /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/python-pycurl-7.19.0 + cp -pr COPYING COPYING2 ChangeLog README TODO examples doc tests /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64/usr/share/doc/python-pycurl-7.19.0 + exit 0 Provides: pycurl = 7.19.0-9.fc15 pycurl.so()(64bit) 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) libcurl.so.4()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-pycurl-debuginfo-7.19.0-9.fc15.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 warning: Could not canonicalize hostname: x86-18.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/python-pycurl-7.19.0-9.fc15.x86_64.rpm Wrote: /builddir/build/RPMS/python-pycurl-debuginfo-7.19.0-9.fc15.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TvrM0T + umask 022 + cd /builddir/build/BUILD + cd pycurl-7.19.0 + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-9.fc15.x86_64 + exit 0 Child returncode was: 0 LEAVE do -->