[MacPorts] #19442: librsvg incompatible with Python 3
#19442: librsvg incompatible with Python 3 ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: librsvg ----------------------------+----------------------------------------------- The python script rsvg uses the shell bang {{{ #!/usr/bin/env python }}} to access the python interpreter. So it gets whatever version of python is currently selected as current in MacPorts. But this script is not compatible with version >= 3.0 of Python: the script contains a print statement, but print has changed to a function in version >= 3.0 of Python. There may be additional incompatibilities, I have not checked. Note that this also implies that this port has a runtime dependency on Python which is missing from the portfile. See also #19441. -- Ticket URL: <http://trac.macports.org/ticket/19442> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19442: librsvg incompatible with Python 3 ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: librsvg ----------------------------+----------------------------------------------- Comment(by nox@…): That should be reported upstream instead of here. -- Ticket URL: <http://trac.macports.org/ticket/19442#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19442: librsvg incompatible with Python 3 ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: librsvg ----------------------------+----------------------------------------------- Comment(by gale@…): Replying to [comment:1 nox@…]:
That should be reported upstream instead of here.
OK, reported as http://bugzilla.gnome.org/show_bug.cgi?id=580325 . But I'm not sure they'll fix it so fast, it is more of a problem on MacPorts; see my comments to #199441. -- Ticket URL: <http://trac.macports.org/ticket/19442#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19442: librsvg incompatible with Python 3 -----------------------------+---------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: wontfix | Keywords: Port: librsvg | -----------------------------+---------------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => wontfix Comment: This is not really a bug - setting your default 'python' to Python 3.x is just asking for trouble. -- Ticket URL: <http://trac.macports.org/ticket/19442#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19442: librsvg incompatible with Python 3 -----------------------------+---------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: wontfix | Keywords: Port: librsvg | -----------------------------+---------------------------------------------- Comment(by gale@…): Why? Various versions of Python 3 have been considered "stable production versions" of Python for a long time now. Anyone doing serious development in Python will consider doing this. When a package/port depends on a legacy version, the standard behavior for packaging systems is to provide that dependency to the specific package, not to downgrade the entire system. That's why upstream considers this a MacPorts bug. But if it's really true that MacPorts won't support setting Python 3 as the default, then doing that should be removed as an option. As long as MacPorts officially supports setting Python 3 as the default - which I maintain it should - then this is certainly a bug in my opinion. Fact - when I configure my MacPorts in a reasonable and supported way, this package fails to build. Please explain why that's not a bug. -- Ticket URL: <http://trac.macports.org/ticket/19442#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19442: librsvg incompatible with Python 3 -----------------------------+---------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: wontfix | Keywords: Port: librsvg | -----------------------------+---------------------------------------------- Comment(by blb@…): Should be fixed in r55356. -- Ticket URL: <http://trac.macports.org/ticket/19442#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19442: librsvg incompatible with Python 3 -----------------------------+---------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: librsvg | -----------------------------+---------------------------------------------- Changes (by jmr@…): * status: closed => reopened * resolution: wontfix => -- Ticket URL: <http://trac.macports.org/ticket/19442#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19442: librsvg incompatible with Python 3 -----------------------------+---------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: librsvg | -----------------------------+---------------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/19442#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts