[pymvpa] Trouble installing py26-mvpa on Mac OS 10.6, "Git checkout failed"

N. Eiji Nawa eiji.nawa at nict.go.jp
Thu Apr 28 08:40:02 UTC 2011


Hello:

I'm a total newbie to PyMVPA/Python/MacPorts, so I apologize in advance if the solution to the problem I'm having is trivial!

The following error message error appears when I run

> sudo env http_proxy=proxy:<port number> port install py26-pymvpa +scipy +pynifti +hcluster +libsvm + matplotlib +pywavelet

--->  Computing dependencies for py26-pymvpa
--->  Fetching archive for py26-pymvpa
--->  Fetching py26-pymvpa
Error: Target org.macports.fetch returned: Git checkout failed
Log for py26-pymvpa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_python_py26-pymvpa/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I believe the relevant part of the file main.log is as follows:

[...]

:msg:archivefetch --->  Fetching py26-pymvpa
:debug:fetch fetch phase started at Thu Apr 28 16:42:07 JST 2011
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
:debug:fetch Executing org.macports.fetch (py26-pymvpa)
:debug:fetch Executing: /opt/local/bin/git clone -q https://github.com/PyMVPA/PyMVPA.git /opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_python_py26-pymvpa/work/py26-pymvpa-0.4 2>&1
:info:fetch warning: remote HEAD refers to nonexistent ref, unable to checkout.
:info:fetch 
:debug:fetch Executing GIT_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_python_py26-pymvpa/work/py26-pymvpa-0.4/.git GIT_WORK_TREE=/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_python_py26-pymvpa/work/py26-pymvpa-0.4 /opt/local/bin/git checkout -q maint/0.4 2>&1
:info:fetch error: pathspec 'maint/0.4' did not match any file(s) known to git.
:info:fetch shell command "GIT_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_python_py26-pymvpa/work/py26-pymvpa-0.4/.git GIT_WORK_TREE=/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_python_py26-pymvpa/work/py26-pymvpa-0.4 /opt/local/bin/git checkout -q maint/0.4 2>&1" returned error 1
:error:fetch Target org.macports.fetch returned: Git checkout failed
:debug:fetch Backtrace: Git checkout failed
    while executing
"gitfetch"
    (procedure "portfetch::fetch_main" line 14)
    invoked from within
"$procedure $targetname"

[...]

I looked for posts reporting similar errors but I couldn't find anything quite like -- another reason to believe that I'm doing something very wrong!

Any help will be greatly appreciated. Thank you very much for your time.

Eiji






More information about the Pkg-ExpPsy-PyMVPA mailing list