#32306: glib2 fails build ---------------------------------+------------------------------------------ Reporter: gotyaoi@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * keywords: python => * owner: macports-tickets@… => ryandesign@… Old description:
Specifically, it fails build when something that isn't python26 is set as the default using
port select --set python {not python26}
I had it set to python32, and was getting this godawful stacktrace. Unfortunately, I can't post my log as when it built right, the log vanished. The problem is that it's calling
/opt/local/bin/python
to run its tests, which in this case is a symlink to whatever you selected to be the default. python32 in my case, which is absolutely not what it was expecting. When it got set to python26 with
port select --set python python26
everything worked fine.
New description: Specifically, it fails build when something that isn't python26 is set as the default using {{{ port select --set python {not python26} }}} I had it set to python32, and was getting this godawful stacktrace. Unfortunately, I can't post my log as when it built right, the log vanished. The problem is that it's calling {{{ /opt/local/bin/python }}} to run its tests, which in this case is a symlink to whatever you selected to be the default. python32 in my case, which is absolutely not what it was expecting. When it got set to python26 with {{{ port select --set python python26 }}} everything worked fine. -- -- Ticket URL: <https://trac.macports.org/ticket/32306#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS