[MacPorts] #32306: glib2, glib2-devel: build fails when "python" is not 2.5 thru 2.7
MacPorts
noreply at macports.org
Wed Nov 30 17:09:05 PST 2011
#32306: glib2, glib2-devel: build fails when "python" is not 2.5 thru 2.7
---------------------------------+------------------------------------------
Reporter: gotyaoi@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: glib2, glib2-devel
---------------------------------+------------------------------------------
Comment(by ryandesign@…):
Replying to [comment:3 gale@…]:
> I am stuck on this one too.
You shouldn't be stuck on anything. The workaround is to use "sudo port
select python" to select a version of python between 2.5 and 2.7. After
glib2 is installed, you can re-select whatever other version of python you
usually prefer.
> So this particular error is easy to fix. But I'm
> not sure how easy it would be to go through
> the python code in glib2 ourselves and ensure
> that it is all compatible with Python 3.
> That's a job for upstream.
Right. I have no interest in learning python nor in fixing glib2's code
for them.
> The real issue is that since this port does still
> require Python 2 only, we need to make sure
> that is what it uses.
Right, that is what I want to do.
> (And we need a dependency
> to make sure that we actually have an appropriate
> version of Python around somewhere.)
In the spirit of the discussion [http://lists.macosforge.org/pipermail
/macports-dev/2011-August/015719.html A Plea to Reduce Dependences] I
would like to avoid adding a python dependency unless absolutely necessary
(i.e. on Tiger), since, as you rightly say, "glib2 is a direct or indirect
dependency for many, many ports" and I don't want to force everyone to
have a python port installed that they might not otherwise need.
--
Ticket URL: <https://trac.macports.org/ticket/32306#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list