Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404953 - dev-python/psycopg-2.4.4 fails to build with pypy
Summary: dev-python/psycopg-2.4.4 fails to build with pypy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 03:07 UTC by Patrick Lauer
Modified: 2012-02-20 08:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-02-20 03:07:13 UTC
running build_ext
building 'psycopg2._psycopg' extension
creating build-2.7-pypy-1.8/temp.linux-x86_64-2.7
creating build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/psycopgmodule.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/psycopgmodule.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/green.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/green.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/pqpath.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/pqpath.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/utils.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/utils.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/bytes_format.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/bytes_format.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/connection_int.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/connection_int.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/connection_type.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/connection_type.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/cursor_int.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/cursor_int.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/cursor_type.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/cursor_type.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/lobject_int.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/lobject_int.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/lobject_type.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/lobject_type.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/notify_type.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/notify_type.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/xid_type.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/xid_type.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/adapter_asis.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/adapter_asis.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/adapter_binary.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/adapter_binary.o -Wdeclaration-after-statement
cc -O2 -pipe -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.4 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/lib64/pypy1.8/include -I. -I/usr/include/postgresql-9.1 -I/usr/include/postgresql-9.1/server -c psycopg/adapter_datetime.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/psycopg/adapter_datetime.o -Wdeclaration-after-statement
psycopg/adapter_datetime.c: In function ‘_pydatetime_string_delta’:
psycopg/adapter_datetime.c:103:16: error: ‘PyDateTime_Delta’ has no member named ‘microseconds’
psycopg/adapter_datetime.c:112:32: error: ‘PyDateTime_Delta’ has no member named ‘days’
psycopg/adapter_datetime.c:112:43: error: ‘PyDateTime_Delta’ has no member named ‘seconds’
error: command 'cc' failed with exit status 1
 * ERROR: dev-python/psycopg-2.4.4 failed (compile phase):
 *   Building failed with PyPy 1.8 (Python 2.7) in distutils_building() function
Comment 1 Patrick Lauer gentoo-dev 2012-02-20 08:02:37 UTC
+  20 Feb 2012; Patrick Lauer <patrick@gentoo.org> psycopg-1.1.21.ebuild,
+  psycopg-2.4.1.ebuild, psycopg-2.4.2.ebuild, psycopg-2.4.4.ebuild:
+  Restricting pypy #404953