Opened 13 years ago

Closed 10 years ago

#16060 closed defect (worksforme)

ice-python25 does not build when python_select is in use

Reported by: aronnax@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: ice-python25

Description

ice-python25 cannot build if python_select is being used. ice-python25 expects to find the Python executable in the MacPorts Library folder, but python_select deletes the symbolic links to the Python executable in that directory.

--->  Fetching ice-python25
--->  Verifying checksum(s) for ice-python25
--->  Extracting ice-python25
--->  Applying patches to ice-python25
--->  Configuring ice-python25
--->  Building ice-python25 with target prefix=\"/opt/local\" ICE_HOME=\"/opt/local\" PYTHON_HOME=\"/opt/local/Library/Frameworks/Python.framework/Versions/2.5\" PYTHON_VERSION=python2.5 OPTIMIZE=\"yes\" all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ice-python25/work/Ice-3.3.0/py" && make prefix="/opt/local" ICE_HOME="/opt/local" PYTHON_HOME="/opt/local/Library/Frameworks/Python.framework/Versions/2.5" PYTHON_VERSION=python2.5 OPTIMIZE="yes" all " returned error 2
Command output: config/Make.rules.Darwin:19: *** Unable to find Python framework See config/Make.rules.Darwin.  Stop.

Change History (6)

comment:1 Changed 13 years ago by skymoo (Adam Mercer)

Cc: blair removed
Milestone: Port Bugs
Owner: changed from macports-tickets@… to blair@…

assign to maintainer

comment:2 Changed 13 years ago by blair (Blair Zajac)

What do you have python_select set to?

comment:3 Changed 13 years ago by raimue (Rainer Müller)

Cc: raimue@… added

python_select does not delete any files. It just adds symlinks when you select a version.

Maybe the binary is missing from python25 from the beginning? I can't see a reference to a specific file in the error output.

comment:4 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 11 years ago by raimue (Rainer Müller)

Cc: raimue@… removed

Cc Me!

comment:6 Changed 10 years ago by jmroot (Joshua Root)

Port: ice-python25 added
Resolution: worksforme
Status: newclosed

Builds fine for me with python26 selected.

Note: See TracTickets for help on using tickets.