Opened 19 years ago

Closed 19 years ago

#3150 closed defect (fixed)

py-psycopg broken on Mac OS X 10.4 and 10.4.1

Reported by: m@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

The py-psycopg port has been broken since I upgraded to Max OS X 10.4 "Tiger". /opt/local/etc/ports/variants.conf contain "+ipv6 +no_x11 -mod_dav_svn -mac-os-x-server- mod_dav_svn +python +perl -javahl" as the only line, but commenting it out doesn't change anything. All other port(1) configuration files are unchanged from the defaults.

Transcript:

% sudo port -cs install py-psycopg ---> Fetching py-psycopg ---> Verifying checksum(s) for py-psycopg ---> Extracting py-psycopg ---> Configuring py-psycopg ---> Building py-psycopg Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_python_py- psycopg/work/psycopg-1.1.18" && make" returned error 2 Command output: gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/ Python.framework/Versions/2.4/include/python2.4 -I/Library/Frameworks/Python.framework/ Versions/2.4/lib/python2.4/config -DPACKAGE_NAME=\"psycopg\" -DPACKAGE_TARNAME=\"psycopg \" -DPACKAGE_VERSION=\"1.1.18\" -DPACKAGE_STRING=\"psycopg\ 1.1.18\" - DPACKAGE_BUGREPORT=\"psycopg@…\" -DHAVE_LIBCRYPTO=1 -DHAVE_ASPRINTF=1 -I/ opt/local/lib/python2.4/site-packages/mx/DateTime/mxDateTime/ -I/opt/local/include/ -I/opt/ local/includepostgresql/server -DHAVE_PQFREENOTIFY -DNDEBUG -D_REENTRANT -D_GNU_SOURCE -DPOSTGRESQL_MAJOR=7 -DPOSTGRESQL_MINOR=4 -c ././module.c -o ./module.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4 -I/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config - DPACKAGE_NAME=\"psycopg\" -DPACKAGE_TARNAME=\"psycopg\" -DPACKAGE_VERSION=\"1.1.18\" -DPACKAGE_STRING=\"psycopg\ 1.1.18\" -DPACKAGE_BUGREPORT=\"psycopg@…\" - DHAVE_LIBCRYPTO=1 -DHAVE_ASPRINTF=1 -I/opt/local/lib/python2.4/site-packages/mx/DateTime/ mxDateTime/ -I/opt/local/include/ -I/opt/local/includepostgresql/server -DHAVE_PQFREENOTIFY - DNDEBUG -D_REENTRANT -D_GNU_SOURCE -DPOSTGRESQL_MAJOR=7 -DPOSTGRESQL_MINOR=4 - c ././connection.c -o ./connection.o /opt/local/lib/python2.4/site-packages/mx/DateTime/mxDateTime/mxDateTime.h:271: warning: 'mxDateTime_ImportModuleAndAPI' defined but not used gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4 -I/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config - DPACKAGE_NAME=\"psycopg\" -DPACKAGE_TARNAME=\"psycopg\" -DPACKAGE_VERSION=\"1.1.18\" -DPACKAGE_STRING=\"psycopg\ 1.1.18\" -DPACKAGE_BUGREPORT=\"psycopg@…\" - DHAVE_LIBCRYPTO=1 -DHAVE_ASPRINTF=1 -I/opt/local/lib/python2.4/site-packages/mx/DateTime/ mxDateTime/ -I/opt/local/include/ -I/opt/local/includepostgresql/server -DHAVE_PQFREENOTIFY - DNDEBUG -D_REENTRANT -D_GNU_SOURCE -DPOSTGRESQL_MAJOR=7 -DPOSTGRESQL_MINOR=4 - c ././cursor.c -o ./cursor.o /opt/local/lib/python2.4/site-packages/mx/DateTime/mxDateTime/mxDateTime.h:271: warning: 'mxDateTime_ImportModuleAndAPI' defined but not used gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4 -I/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config - DPACKAGE_NAME=\"psycopg\" -DPACKAGE_TARNAME=\"psycopg\" -DPACKAGE_VERSION=\"1.1.18\" -DPACKAGE_STRING=\"psycopg\ 1.1.18\" -DPACKAGE_BUGREPORT=\"psycopg@…\" - DHAVE_LIBCRYPTO=1 -DHAVE_ASPRINTF=1 -I/opt/local/lib/python2.4/site-packages/mx/DateTime/ mxDateTime/ -I/opt/local/include/ -I/opt/local/includepostgresql/server -DHAVE_PQFREENOTIFY - DNDEBUG -D_REENTRANT -D_GNU_SOURCE -DPOSTGRESQL_MAJOR=7 -DPOSTGRESQL_MINOR=4 - c ././typeobj.c -o ./typeobj.o /opt/local/lib/python2.4/site-packages/mx/DateTime/mxDateTime/mxDateTime.h:271: warning: 'mxDateTime_ImportModuleAndAPI' defined but not used gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4 -I/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config - DPACKAGE_NAME=\"psycopg\" -DPACKAGE_TARNAME=\"psycopg\" -DPACKAGE_VERSION=\"1.1.18\" -DPACKAGE_STRING=\"psycopg\ 1.1.18\" -DPACKAGE_BUGREPORT=\"psycopg@…\" - DHAVE_LIBCRYPTO=1 -DHAVE_ASPRINTF=1 -I/opt/local/lib/python2.4/site-packages/mx/DateTime/ mxDateTime/ -I/opt/local/include/ -I/opt/local/includepostgresql/server -DHAVE_PQFREENOTIFY - DNDEBUG -D_REENTRANT -D_GNU_SOURCE -DPOSTGRESQL_MAJOR=7 -DPOSTGRESQL_MINOR=4 - c ././typemod.c -o ./typemod.o ././typemod.c: In function 'new_psyco_bufferobject': ././typemod.c:239: warning: pointer targets in assignment differ in signedness ././typemod.c:312: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness ././typemod.c: At top level: /opt/local/lib/python2.4/site-packages/mx/DateTime/mxDateTime/mxDateTime.h:271: warning: 'mxDateTime_ImportModuleAndAPI' defined but not used gcc -L/Library/Frameworks/Python.framework/Versions/2.4/lib -L/opt/local/lib -lssl -bundle - undefined dynamic_lookup ./module.o ./connection.o ./cursor.o ./typeobj.o ./typemod.o -L/Library/ Frameworks/Python.framework/Versions/2.4/lib -lpq -lcrypto -ldl -o ./psycopgmodule.so /usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 collect2: ld returned 1 exit status make: * [psycopgmodule.so] Error 1

Change History (2)

comment:1 Changed 19 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to mww@…

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

fixed!

Note: See TracTickets for help on using tickets.