mercurial: "hg convert" cannot find `svn' python bindings

Joshua Root jmr at macports.org
Sun Feb 22 09:30:08 PST 2009


Joerg van den Hoff wrote:
> --->  Deactivating libiconv @1.12_0
> Error: Deactivating libiconv 1.12_0 failed: Active version of libiconv is not 1.12_0 but 1.12_0+darwin_8.

> (only thing I'm not sure of is,  whether the `libiconv' error is irrelevant?)

It certainly shouldn't be happening...

> anyway, I now have a _ssl.so in
> 
> /opt/local/lib/python2.5/site-packages/_ssl.so
> 
> but `hg convert ...' (according to ktrace) now seemlingly looks only in
> 
> 25045 Python   NAMI  "/opt/local/bin/_ssl.so"
> 25045 Python   NAMI "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/_ssl.so"
> 25045 Python   NAMI "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin/_ssl.so"
> 25045 Python   NAMI "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/_ssl.so"
> 25045 Python   NAMI "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages/_ssl.so"
> 25045 Python   NAMI "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/_ssl.so"
> 25045 Python   NAMI "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/_ssl.so"
> 25045 Python   NAMI "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/_ssl.so"
> 25045 Python   NAMI "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/_ssl.so"
> 
> for the _ssl.so file...
> (strangely, `hg' no longer looks, e.g., in /opt/local/lib/svn-python2.5/_ssl.so as in
> my first `ktrace' run!?)

There is a symlink involved:

% ls -ld
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5

lrwxr-xr-x  1 root  admin  24  7 Jan 19:35
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
-> /opt/local/lib/python2.5

So probably it stops after
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/_ssl.so"
this time because it finds that file.

I don't know why the bindings can't be loaded, though.

- Josh


More information about the macports-users mailing list