#27439: libzzip fails to build - xmlto validation failure ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libzzip xmlto ---------------------------------+------------------------------------------ Comment(by jabronson@…): Replying to [comment:8 guillaume.salagnac@…]:
This is indeed a python issue: this makedocs.py script is written for python2.X, so running it using a python 3.X causes syntax errors. [http://forums.gentoo.org/viewtopic-t-847778-start-0.html source]
To work around the problem, run {{{sudo /opt/local/bin/python_select python26-apple}}} and then libzzip will build fine.
Hi Guillaume, thanks for the info. The python selected on my system has been macports python26, not 3.X, but I tried your suggestion anyway: ran {{{python_select python26-apple && port clean libzzip && port install libzzip}}} and got the same error as in the main.log I attached, so this didn't help in my case. Any other ideas? -- Ticket URL: <https://trac.macports.org/ticket/27439#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS