[MacPorts] #45585: Yosemite py27-cython installs but does not function properly. Hasfix
#45585: Yosemite py27-cython installs but does not function properly. Hasfix -----------------------+-------------------------------- Reporter: pjkim00@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Keywords: hasfix | Port: py27-cython -----------------------+-------------------------------- Recently upgraded to Yosemite and reinstalling ports. Had problem building py27-numpy (see ticket #45505) with following error message: {{{ File "Cython/Compiler/Parsing.py", line 26, in init Cython.Compiler.Parsing (Cython/Compiler/Parsing.c:55936) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/Cython/Compiler/ModuleNode.py", line 2922, in <module> capsule_utility_code = UtilityCode.load("Capsule") File "Cython/Compiler/Code.py", line 240, in Cython.Compiler.Code.UtilityCodeBase.load (Cython/Compiler/Code.c:7277) self.write("\n") }}} I tried compiling a simple cython example from cython.org and it failed as well with a similar error message. I tracked down the problem to a set of duplicate files in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/Cython that ended with .mp_1411412732. i.e. there was a Capsule.c and Capsule.c.mp_1411412732 and this was true for almost every file in the directory. I notices a similar problem in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/Cython/Compiler I created a new directory in each of these directories with "sudo mkdir tmp" followed by "mv * mp_1411412732 tmp" The simple cython example now compiles and py27-numpy builds and installs correctly and ipython installs correctly and inkscape installs correctly. I wish I could say I haspatch, but I have not yet mastered that part of port-fu. -- Ticket URL: <https://trac.macports.org/ticket/45585> MacPorts <https://www.macports.org/> Ports system for OS X
#45585: Yosemite py27-cython installs but does not function properly. Hasfix --------------------------+------------------------ Reporter: pjkim00@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: py27-cython | --------------------------+------------------------ Changes (by ryandesign@…): * keywords: hasfix => * owner: macports-tickets@… => stromnov@… Comment: The *.mp_* files get created when you forcibly activate a port when the files already existed. There's nothing to do here, really, except remind you not to forcibly activate ports. -- Ticket URL: <https://trac.macports.org/ticket/45585#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#45585: Yosemite py27-cython installs but does not function properly. Hasfix --------------------------+------------------------ Reporter: pjkim00@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: py27-cython | --------------------------+------------------------ Comment (by jmr@…): Cython could probably do better filename matching to avoid this, but that would be a matter for upstream. -- Ticket URL: <https://trac.macports.org/ticket/45585#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#45585: Yosemite py27-cython installs but does not function properly. Hasfix --------------------------+------------------------ Reporter: pjkim00@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: py27-cython | --------------------------+------------------------ Changes (by larryv@…): * cc: vm@… (added) Comment: Has duplicate #45824. -- Ticket URL: <https://trac.macports.org/ticket/45585#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#45585: Yosemite py27-cython installs but does not function properly. Hasfix --------------------------+------------------------ Reporter: pjkim00@… | Owner: stromnov@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: wontfix | Keywords: Port: py27-cython | --------------------------+------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => wontfix Comment: I think this is not our bug. Report it to the developers of Cython. -- Ticket URL: <https://trac.macports.org/ticket/45585#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts