Mock Version: 1.2.6 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-psycopg2.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-1912/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=135user='mockbuild'timeout=0logger=uid=500) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-psycopg2.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False warning: Could not canonicalize hostname: i-00032cbb Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-psycopg2-2.6-2.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-psycopg2.spec '], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-1912/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=135user='mockbuild'timeout=0logger=uid=500) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-psycopg2.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yTvqs3 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf psycopg2-2.6 + /bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/psycopg2-2.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psycopg2-2.6 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rddNNN + umask 022 + cd /builddir/build/BUILD + cd psycopg2-2.6 + LANG=C + export LANG + unset DISPLAY + python setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.6 creating build/lib.linux-x86_64-2.6/psycopg2 copying lib/psycopg1.py -> build/lib.linux-x86_64-2.6/psycopg2 copying lib/errorcodes.py -> build/lib.linux-x86_64-2.6/psycopg2 copying lib/pool.py -> build/lib.linux-x86_64-2.6/psycopg2 copying lib/_json.py -> build/lib.linux-x86_64-2.6/psycopg2 copying lib/extensions.py -> build/lib.linux-x86_64-2.6/psycopg2 copying lib/_range.py -> build/lib.linux-x86_64-2.6/psycopg2 copying lib/extras.py -> build/lib.linux-x86_64-2.6/psycopg2 copying lib/__init__.py -> build/lib.linux-x86_64-2.6/psycopg2 copying lib/tz.py -> build/lib.linux-x86_64-2.6/psycopg2 creating build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_with.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/testutils.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_quote.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_cursor.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_green.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_copy.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_module.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_cancel.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_async.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_notify.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_lobject.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/testconfig.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_bugX000.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_transaction.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_types_extras.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/dbapi20.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_connection.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_dates.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/__init__.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_types_basic.py -> build/lib.linux-x86_64-2.6/psycopg2/tests copying tests/test_bug_gc.py -> build/lib.linux-x86_64-2.6/psycopg2/tests running build_ext building 'psycopg2._psycopg' extension creating build/temp.linux-x86_64-2.6 creating build/temp.linux-x86_64-2.6/psycopg gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-2.6/psycopg/psycopgmodule.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/green.c -o build/temp.linux-x86_64-2.6/psycopg/green.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/pqpath.c -o build/temp.linux-x86_64-2.6/psycopg/pqpath.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/utils.c -o build/temp.linux-x86_64-2.6/psycopg/utils.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/bytes_format.c -o build/temp.linux-x86_64-2.6/psycopg/bytes_format.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/connection_int.c -o build/temp.linux-x86_64-2.6/psycopg/connection_int.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/connection_type.c -o build/temp.linux-x86_64-2.6/psycopg/connection_type.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/cursor_int.c -o build/temp.linux-x86_64-2.6/psycopg/cursor_int.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/cursor_type.c -o build/temp.linux-x86_64-2.6/psycopg/cursor_type.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/diagnostics_type.c -o build/temp.linux-x86_64-2.6/psycopg/diagnostics_type.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/error_type.c -o build/temp.linux-x86_64-2.6/psycopg/error_type.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/lobject_int.c -o build/temp.linux-x86_64-2.6/psycopg/lobject_int.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/lobject_type.c -o build/temp.linux-x86_64-2.6/psycopg/lobject_type.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/notify_type.c -o build/temp.linux-x86_64-2.6/psycopg/notify_type.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/xid_type.c -o build/temp.linux-x86_64-2.6/psycopg/xid_type.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_asis.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_asis.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_binary.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_binary.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_datetime.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_datetime.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_list.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_list.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_pboolean.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_pboolean.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_pdecimal.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_pdecimal.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_pint.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_pint.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_pfloat.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_pfloat.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/adapter_qstring.c -o build/temp.linux-x86_64-2.6/psycopg/adapter_qstring.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/microprotocols.c -o build/temp.linux-x86_64-2.6/psycopg/microprotocols.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/microprotocols_proto.c -o build/temp.linux-x86_64-2.6/psycopg/microprotocols_proto.o -Wdeclaration-after-statement gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x080414 -I/usr/include/python2.6 -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/typecast.c -o build/temp.linux-x86_64-2.6/psycopg/typecast.o -Wdeclaration-after-statement gcc -pthread -shared build/temp.linux-x86_64-2.6/psycopg/psycopgmodule.o build/temp.linux-x86_64-2.6/psycopg/green.o build/temp.linux-x86_64-2.6/psycopg/pqpath.o build/temp.linux-x86_64-2.6/psycopg/utils.o build/temp.linux-x86_64-2.6/psycopg/bytes_format.o build/temp.linux-x86_64-2.6/psycopg/connection_int.o build/temp.linux-x86_64-2.6/psycopg/connection_type.o build/temp.linux-x86_64-2.6/psycopg/cursor_int.o build/temp.linux-x86_64-2.6/psycopg/cursor_type.o build/temp.linux-x86_64-2.6/psycopg/diagnostics_type.o build/temp.linux-x86_64-2.6/psycopg/error_type.o build/temp.linux-x86_64-2.6/psycopg/lobject_int.o build/temp.linux-x86_64-2.6/psycopg/lobject_type.o build/temp.linux-x86_64-2.6/psycopg/notify_type.o build/temp.linux-x86_64-2.6/psycopg/xid_type.o build/temp.linux-x86_64-2.6/psycopg/adapter_asis.o build/temp.linux-x86_64-2.6/psycopg/adapter_binary.o build/temp.linux-x86_64-2.6/psycopg/adapter_datetime.o build/temp.linux-x86_64-2.6/psycopg/adapter_list.o build/temp.linux-x86_64-2.6/psycopg/adapter_pboolean.o build/temp.linux-x86_64-2.6/psycopg/adapter_pdecimal.o build/temp.linux-x86_64-2.6/psycopg/adapter_pint.o build/temp.linux-x86_64-2.6/psycopg/adapter_pfloat.o build/temp.linux-x86_64-2.6/psycopg/adapter_qstring.o build/temp.linux-x86_64-2.6/psycopg/microprotocols.o build/temp.linux-x86_64-2.6/psycopg/microprotocols_proto.o build/temp.linux-x86_64-2.6/psycopg/typecast.o -L/usr/lib64 -L/usr/lib64 -lpython2.6 -lpq -o build/lib.linux-x86_64-2.6/psycopg2/_psycopg.so ++ find doc -iname '*.html' ++ find doc -iname '*.css' + for i in '`find doc -iname "*.css"`' + sed -i 's/\r//' doc/src/_static/psycopg.css + rm -f doc/html/.buildinfo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2PX76K + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64 + cd psycopg2-2.6 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64 + DoInstall python + PythonBinary=python ++ python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib(1))' + Python_SiteArch=/usr/lib64/python2.6/site-packages + mkdir -p /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 + python setup.py install --no-compile --root /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64 running install running build running build_py running build_ext running install_lib copying build/lib.linux-x86_64-2.6/psycopg2/psycopg1.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 copying build/lib.linux-x86_64-2.6/psycopg2/errorcodes.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 copying build/lib.linux-x86_64-2.6/psycopg2/pool.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 creating /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_with.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/testutils.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_quote.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_cursor.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_green.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_copy.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_module.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_cancel.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_async.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_notify.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_extras_dictcursor.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_lobject.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/testconfig.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_bugX000.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_transaction.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/dbapi20_tpc.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_types_extras.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_psycopg2_dbapi20.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/dbapi20.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_connection.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_dates.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/__init__.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_types_basic.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/tests/test_bug_gc.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests copying build/lib.linux-x86_64-2.6/psycopg2/_json.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 copying build/lib.linux-x86_64-2.6/psycopg2/extensions.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 copying build/lib.linux-x86_64-2.6/psycopg2/_range.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 copying build/lib.linux-x86_64-2.6/psycopg2/extras.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 copying build/lib.linux-x86_64-2.6/psycopg2/__init__.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 copying build/lib.linux-x86_64-2.6/psycopg2/tz.py -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 copying build/lib.linux-x86_64-2.6/psycopg2/_psycopg.so -> /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2 running install_egg_info Writing /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2-2.6-py2.6.egg-info + rm -rf /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/tests + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/psycopg2-2.6 extracting debug info from /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6/site-packages/psycopg2/_psycopg.so 960 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 Bytecompiling .py files below /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib/debug/usr/lib64/python2.6 using /usr/bin/python2.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/lib64/python2.6 using /usr/bin/python2.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-psycopg2-2.6-2.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1uTO2M + umask 022 + cd /builddir/build/BUILD + cd psycopg2-2.6 + DOCDIR=/builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/share/doc/python-psycopg2-2.6 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/share/doc/python-psycopg2-2.6 + /bin/mkdir -p /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/share/doc/python-psycopg2-2.6 + cp -pr AUTHORS LICENSE NEWS README.rst /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64/usr/share/doc/python-psycopg2-2.6 + exit 0 Provides: _psycopg.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) 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) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.6.so.1.0()(64bit) python(abi) = 2.6 rtld(GNU_HASH) Conflicts: python-psycopg2-zope < 2.6 Processing files: python-psycopg2-debuginfo-2.6-2.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64 warning: Could not canonicalize hostname: i-00032cbb Wrote: /builddir/build/RPMS/python-psycopg2-2.6-2.el6.x86_64.rpm Wrote: /builddir/build/RPMS/python-psycopg2-debuginfo-2.6-2.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SD7w60 + umask 022 + cd /builddir/build/BUILD + cd psycopg2-2.6 + rm -rf /builddir/build/BUILDROOT/python-psycopg2-2.6-2.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->