Mock Version: 1.1.7 Mock Version: 1.1.7 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/python-pycurl.spec'], False, '/var/lib/mock/dist-f15-build-946847-140990/root/', None, 86400, True, 0, 418, 418, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/python-pycurl.spec'] sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: x86-06.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-pycurl-7.19.0-8.fc15.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-pycurl.spec'], False, '/var/lib/mock/dist-f15-build-946847-140990/root/', None, 86400, True, 0, 418, 418, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-pycurl.spec'] Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XY5b1R + 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 + echo 'Patch #1 (python-pycurl-fix-do_curl_reset-refcount.patch):' 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.ZI1ZIf + 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 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -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-i686-2.7 creating build/lib.linux-i686-2.7/curl copying python/curl/__init__.py -> build/lib.linux-i686-2.7/curl running build_ext building 'pycurl' extension creating build/temp.linux-i686-2.7 creating build/temp.linux-i686-2.7/src gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DHAVE_CURL_OPENSSL -fPIC -DHAVE_CURL_SSL=1 -I/usr/include/python2.7 -c src/pycurl.c -o build/temp.linux-i686-2.7/src/pycurl.o 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 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 src/pycurl.c: In function 'multi_socket_callback': 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 gcc -pthread -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DHAVE_CURL_OPENSSL build/temp.linux-i686-2.7/src/pycurl.o -L/usr/lib -lcurl -lpython2.7 -o build/lib.linux-i686-2.7/pycurl.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.el5WfH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 ++ dirname /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 + cd pycurl-7.19.0 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 Using curl-config (libcurl 7.21.3) running install running install_lib creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/lib creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/lib/python2.7/site-packages/curl copying build/lib.linux-i686-2.7/curl/__init__.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/lib/python2.7/site-packages/curl copying build/lib.linux-i686-2.7/pycurl.so -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/lib/python2.7/site-packages/curl/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpkb8pT1.py' /usr/bin/python -O /tmp/tmpkb8pT1.py removing /tmp/tmpkb8pT1.py running install_data creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl copying ChangeLog -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl copying COPYING -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl copying COPYING2 -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl copying INSTALL -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl copying README -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl copying TODO -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/html copying doc/callbacks.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/html copying doc/pycurl.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/html copying doc/curlshareobject.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/html copying doc/curlmultiobject.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/html copying doc/curlobject.html -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/html creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/examples copying examples/sfquery.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/examples copying examples/retriever-multi.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/examples copying examples/xmlrpc_curl.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/examples copying examples/retriever.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/examples copying examples/file_upload.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/examples copying examples/basicfirst.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/examples copying examples/linksys.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/examples creating /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_cb.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_socketopen.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_stringio.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi3.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_xmlrpc.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/util.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_gtk.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_ftp.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi6.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi_socket_select.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi_vs_thread.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_debug.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_post2.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_share.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi_socket.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi_timer.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_memleak.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi2.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi5.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_getinfo.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_multi4.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_post.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_internals.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests copying tests/test_post3.py -> /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/pycurl/tests running install_egg_info Writing /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/lib/python2.7/site-packages/pycurl-7.19.0-py2.7.egg-info + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/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-8.fc15.i386/usr/lib/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-8.fc15.i386/usr/lib/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.Dpm4aa + 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 (r27:82500, Sep 29 2010, 22:58:36) [GCC 4.5.1 20100924 (Red Hat 4.5.1-4)] 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, 'i386-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-i686-2.7/pycurl.so, compiled Dec 20 2010 19:44:48 All tests passed. + exit 0 Processing files: python-pycurl-7.19.0-8.fc15.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DSVnaF + umask 022 + cd /builddir/build/BUILD + cd pycurl-7.19.0 + DOCDIR=/builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/python-pycurl-7.19.0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/usr/share/doc/python-pycurl-7.19.0 + /bin/mkdir -p /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386/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-8.fc15.i386/usr/share/doc/python-pycurl-7.19.0 + exit 0 Provides: pycurl = 7.19.0-8.fc15 pycurl.so 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 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libcurl.so.4 libpthread.so.0 libpython2.7.so.1.0 python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-pycurl-debuginfo-7.19.0-8.fc15.i686 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 warning: Could not canonicalize hostname: x86-06.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/python-pycurl-7.19.0-8.fc15.i686.rpm Wrote: /builddir/build/RPMS/python-pycurl-debuginfo-7.19.0-8.fc15.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Vvax7g + umask 022 + cd /builddir/build/BUILD + cd pycurl-7.19.0 + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.19.0-8.fc15.i386 + exit 0 Child returncode was: 0 LEAVE do -->