alternative for github clone with submodules -> make: *** [install] Error 71
Christopher Jones
jonesc at hep.phy.cam.ac.uk
Thu May 7 16:27:58 UTC 2020
destroy -> destroot ( blame auto-correct…. )
> On 7 May 2020, at 5:21 pm, Christopher Jones <jonesc at hep.phy.cam.ac.uk> wrote:
>
>
>
>> On 7 May 2020, at 5:11 pm, macports at parvis.nl <mailto:macports at parvis.nl> wrote:
>>
>>
>>> On 2020-05-07, at 17:46, Christopher Jones <jonesc at hep.phy.cam.ac.uk <mailto:jonesc at hep.phy.cam.ac.uk>> wrote:
>>>
>>> On 7 May 2020, at 4:41 pm, macports at parvis.nl <mailto:macports at parvis.nl> wrote:
>>>> ...
>>>>
>>>> but now destroot fails.
>>>>
>>>> log:
>>>> ----
>>>>
>>>> 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?
>>>
>>> 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).
>>
>> typical OOPS moment.
>> changed Portfile: build.cmd make PREFIX=${prefix}
>>
>> make: Entering directory `/opt/local/var/macports/build/_usr_local_macports_hfsinspect_sysutils_hfsinspect/hfsinspect/work/hfsinspect-02e0853'
>> + echo 'Installing hfsinspect in /opt/local'
>> Installing hfsinspect in /opt/local
>> + mkdir -p /opt/local/bin
>> + install build/Darwin-x86_64/hfsinspect /opt/local/bin
>> install: /opt/local/bin/hfsinspect: Operation not permitted
>> make: *** [install] Error 71
>
>
> 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.
>
> cheers Chris
>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200507/6fe3fa65/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200507/6fe3fa65/attachment-0001.bin>
More information about the macports-dev
mailing list