<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=""><div class=""><br class=""></div>destroy -> destroot ( blame auto-correct…. )<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 7 May 2020, at 5:21 pm, 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=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 7 May 2020, at 5:11 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=us-ascii" 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 17:46, 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=""><div style="font-family: Menlo-Regular; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">On 7 May 2020, at 4:41 pm, <a href="mailto:macports@parvis.nl" class="">macports@parvis.nl</a> wrote:<br class=""><blockquote type="cite" class="">...<div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><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 class=""><br class=""></div><div class="">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></div></div></blockquote><div class=""><br class=""></div></div>typical OOPS moment. <div class="">changed Portfile: build.cmd make PREFIX=${prefix}</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 /opt/local'</div><div class="">Installing hfsinspect in /opt/local</div><div class="">+ mkdir -p /opt/local/bin</div><div class="">+ install build/Darwin-x86_64/hfsinspect /opt/local/bin</div><div class="">install: /opt/local/bin/hfsinspect: Operation not permitted</div><div class="">make: *** [install] Error 71</div></div></div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">If that error is occurring during the destroy phase, then thats the problem. The build should not attempt to write anything to the final installation destination at this point. If this is the problem you need to configure the build to respect the DESTROOT setting.</div><div class=""><br class=""></div><div class="">cheers Chris</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></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></body></html>