<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 7 May 2020, at 4:41 pm, <a href="mailto:macports@parvis.nl" class="">macports@parvis.nl</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 2020-05-07, at 14:58, Christopher Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">see<div class=""><br class=""></div><div class=""><a href="https://github.com/macports/macports-ports/blob/master/python/py-pytorch/Portfile#L92" class="">https://github.com/macports/macports-ports/blob/master/python/py-pytorch/Portfile#L92</a></div><div class=""><br class=""></div><div class="">Chris</div></div></div></blockquote></div><div class=""><br class=""></div><div class="">thanks!</div><div class=""><br class=""></div><div class="">i had to add 'fetch.type git’ to Portfile to get it working.</div><div class=""><br class=""></div><div class="">but now destroot fails.</div><div class=""><br class=""></div><div class="">log:</div><div class="">----</div><div class=""><br class=""></div><div class=""><div class="">make: Entering directory `/opt/local/var/macports/build/_usr_local_macports_hfsinspect_sysutils_hfsinspect/hfsinspect/work/hfsinspect-02e0853'</div><div class="">+ echo 'Installing hfsinspect in /usr/local'</div><div class="">Installing hfsinspect in /usr/local</div><div class="">+ mkdir -p /usr/local/bin</div><div class="">+ install build/Darwin-x86_64/hfsinspect /usr/local/bin</div><div class="">install: /usr/local/bin/hfsinspect: Operation not permitted</div><div class="">make: *** [install] Error 71</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">what should i do now?</div></div></div></blockquote><div><br class=""></div><div>Any reference to /usr/local is wrong, macports does not use that location. The port file needs to configure the build to install to ${prefix} (which in default installations points to /opt/local).</div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">BTW: i tried to install py37-pytorch as a tutorial for me but it failed:</div><div class="">distutils.errors.DistutilsError: the `allow-hosts` option is not supported when using pip to install requirements.</div><div class=""><div class="">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 setup.py build_ext --inplace build -j8</div><div class="">Exit code: 1</div><div class="">Error: Failed to build py37-spaCy: command execution failed</div></div></div></div></blockquote><div><br class=""></div>Hmm, not seen that before..</div><div><br class=""></div><div>Chris</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></body></html>