alternative for github clone with submodules

macports at macports at
Thu May 7 15:41:32 UTC 2020

> On 2020-05-07, at 14:58, Christopher Jones <jonesc at> wrote:
> see
> <>
> Chris


i had to add 'fetch.type git’ to Portfile to get it working.

but now destroot fails.


make: Entering directory `/opt/local/var/macports/build/_usr_local_macports_hfsinspect_sysutils_hfsinspect/hfsinspect/work/hfsinspect-02e0853'
+ echo 'Installing hfsinspect in /usr/local'
Installing hfsinspect in /usr/local
+ mkdir -p /usr/local/bin
+ install build/Darwin-x86_64/hfsinspect /usr/local/bin
install: /usr/local/bin/hfsinspect: Operation not permitted
make: *** [install] Error 71

what should i do now?

BTW: i tried to install py37-pytorch as a tutorial for me but it failed:
distutils.errors.DistutilsError: the `allow-hosts` option is not supported when using pip to install requirements.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spaCy/py37-spaCy/work/spaCy-2.2.4" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 build_ext --inplace build -j8
Exit code: 1
Error: Failed to build py37-spaCy: command execution failed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list