[MacPorts] #17790: devel/mercurial fails with 'convert' extension
#17790: devel/mercurial fails with 'convert' extension -----------------------------------+---------------------------------------- Reporter: easieste@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Something in the devel/mercurial port has problems with the Python path when invoking the 'convert' extension. To reproduce the bug: 1) Add the extensions configuration to '~/.hgrc' [extensions] hgext.convert= 2) Try to invoke the 'hg convert' command (doesn't really matter where) cmd$ hg convert foo Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap I think something in mercurial is trying to use the Python interpreter under '/usr/bin' as opposed to the one provided by Macports. I verified that a mercurial-1.1.1 built to run "in place", works, so there is something divergent about Macports invocation of Mercurial. -- Ticket URL: <http://trac.macports.org/ticket/17790> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17790: devel/mercurial fails with 'convert' extension -----------------------------------+---------------------------------------- Reporter: easieste@… | Owner: deric@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mercurial -----------------------------------+---------------------------------------- Changes (by jmr@…): * port: => mercurial Comment: There was also an issue where the Python framework appeared to be a different version to the .dylib. I think that's meant to be fixed though? -- Ticket URL: <http://trac.macports.org/ticket/17790#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17790: devel/mercurial fails with 'convert' extension ------------------------------------+--------------------------------------- Reporter: easieste@… | Owner: deric@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: Port: mercurial | ------------------------------------+--------------------------------------- Changes (by deric@…): * status: new => closed * resolution: => worksforme Comment: This works for me, at least with the updated mercurial i commited in r44382. "> hg convert foo assuming destination foo-hg initializing destination foo-hg repository foo does not look like a CVS checkout foo does not look like a Git repo Subversion python bindings could not be loaded foo is not a local Mercurial repo foo does not look like a darcs repo foo does not look like a monotone repo foo does not look like a GNU Arch repo Bazaar modules could not be loaded abort: foo: missing or unsupported repository " -- Ticket URL: <http://trac.macports.org/ticket/17790#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17790: devel/mercurial fails with 'convert' extension ------------------------------------+--------------------------------------- Reporter: easieste@… | Owner: deric@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: Port: mercurial | ------------------------------------+--------------------------------------- Comment(by blb@…): Replying to [comment:1 jmr@…]:
There was also an issue where the Python framework appeared to be a different version to the .dylib. I think that's meant to be fixed though? Yes, that was #16111, fixed in python25 2.5.2_7, python24 2.4.6, and shouldn't be an issue at all with python26; not sure about python30 though.
-- Ticket URL: <http://trac.macports.org/ticket/17790#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17790: devel/mercurial fails with 'convert' extension ------------------------------------+--------------------------------------- Reporter: easieste@… | Owner: deric@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: Port: mercurial | ------------------------------------+--------------------------------------- Comment(by easieste@…): Looking a little closer at my Macports python installation, I saw it was confused (at best), with two versions of Python installed, and python_select pointing to the Apple supply Python. After deleting python24, re-installing python25, and pointing python_select at 'python25', the Mecurial 'convert' extension works. Thanks for the help. -- Ticket URL: <http://trac.macports.org/ticket/17790#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts