Opened 15 years ago

Closed 6 years ago

#21030 closed defect (wontfix)

postgresql84 8.4.0 +python variant fails to build with incompatible python in /Library/Frameworks

Reported by: chairos@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: postgresql84

Description

jon@euterpe:~$ sudo port clean postgresql84
Password:
--->  Cleaning postgresql84
jon@euterpe:~$ sudo port install -d postgresql84 +python
--->  Computing dependencies for postgresql84
--->  Fetching postgresql84
--->  Verifying checksum(s) for postgresql84
--->  Extracting postgresql84
--->  Configuring postgresql84
--->  Building postgresql84
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgresql84/work/postgresql-8.4.0" && /usr/bin/gnumake -j2 " returned error 2
Command output:       _PLyDict_FromTuple in plpython.o
      _PLy_trigger_build_args in plpython.o
      _PLy_trigger_build_args in plpython.o
      _PLy_trigger_build_args in plpython.o
      _PLy_trigger_build_args in plpython.o
      _PLy_modify_tuple in plpython.o
      _PLy_trigger_handler in plpython.o
      _PLy_function_build_args in plpython.o
      _PLySequence_ToTuple in plpython.o
      _PLyMapping_ToTuple in plpython.o
      _PLyObject_ToTuple in plpython.o
      _PLy_function_handler in plpython.o
      _PLy_function_handler in plpython.o
      _PLy_output in plpython.o
      _PLy_spi_execute_fetch_result in plpython.o
      _PLy_spi_execute_plan in plpython.o
  "_PyMapping_Check", referenced from:
      _PLy_function_handler in plpython.o
  "_PyType_IsSubtype", referenced from:
      _PLy_modify_tuple in plpython.o
      _PLy_modify_tuple in plpython.o
      _PLy_trigger_handler in plpython.o
      _PLy_spi_prepare in plpython.o
      _PLy_spi_execute_plan in plpython.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[3]: *** [plpython.so] Error 1
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.

Attachments (1)

log.txt (384.4 KB) - added by chairos@… 15 years ago.
build log

Download all attachments as: .zip

Change History (15)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: mww@… removed
Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 15 years ago by tobypeterson

Please attach the output of sudo port -d install postgresql84 +python (after cleaning of course)

comment:3 in reply to:  2 ; Changed 15 years ago by chairos@…

Replying to toby@…:

Please attach the output of sudo port -d install postgresql84 +python (after cleaning of course)

Um, I put that in the ticket. Did I not get it right?

comment:4 in reply to:  3 Changed 15 years ago by chairos@…

Replying to chairos@…:

Replying to toby@…:

Please attach the output of sudo port -d install postgresql84 +python (after cleaning of course)

Um, I put that in the ticket. Did I not get it right?

Nevermind. Here you go.

Changed 15 years ago by chairos@…

Attachment: log.txt added

build log

comment:5 Changed 15 years ago by tobypeterson

WTF @ /Library/Frameworks//Python.framework/Python

comment:6 Changed 15 years ago by chairos@…

What would really be awesome is if we could upgrade the port to use python26, not python25 (once python26 will build again, of course).

comment:7 Changed 15 years ago by chairos@…

Well, I made a local ports repo and added a python26 variant, now that python26 works. Got the same error, with /Library/Frameworks//Python.framework/Python action going on. Gonna just build without plpython for now, but that's really weird.

comment:8 Changed 15 years ago by Veence (Vincent)

I've tried it, it works for me. There is an issue with the universal build, but I'll report it in a separate ticket.

-> port installed postgresql84
The following ports are currently installed:
  postgresql84 @8.4.1_0+python+universal (active)

I've python26 installed

comment:9 Changed 15 years ago by chairos@…

Still no luck here.

comment:10 Changed 14 years ago by jan.fabry@…

I had this problem until I removed an old MacPython installation in /Library/Frameworks/Python.framework, which was ppc/i386, not i386/x86_64. I did apply the changes Vince proposed (#21358). It seems to work now.

comment:11 in reply to:  10 Changed 14 years ago by Veence (Vincent)

Replying to jan.fabry@…:

I had this problem until I removed an old MacPython installation in /Library/Frameworks/Python.framework, which was ppc/i386, not i386/x86_64. I did apply the changes Vince proposed (#21358). It seems to work now.

Since they seem to work and have not been integrated yet, I should maybe commit them?

comment:12 Changed 13 years ago by jmroot (Joshua Root)

Summary: postgresql84 8.4.0 +python variant fails to build on Snow Leopardpostgresql84 8.4.0 +python variant fails to build with incompatible python in /Library/Frameworks

comment:13 Changed 7 years ago by mf2k (Frank Schima)

Cc: jyrkiwahlstedt removed
Owner: changed from mww@… to jyrkiwahlstedt
Status: newassigned

comment:14 Changed 6 years ago by jyrkiwahlstedt

Resolution: wontfix
Status: assignedclosed

8.4 has been eol'd ages ago, so everybody should be using a newer version anyway now.

Note: See TracTickets for help on using tickets.