destroy -> destroot ( blame auto-correct…. )

> On 7 May 2020, at 5:21 pm, Christopher Jones <jon...@hep.phy.cam.ac.uk> wrote:
> 
> 
> 
>> On 7 May 2020, at 5:11 pm, macpo...@parvis.nl <mailto:macpo...@parvis.nl> 
>> wrote:
>> 
>> 
>>> On 2020-05-07, at 17:46, Christopher Jones <jon...@hep.phy.cam.ac.uk 
>>> <mailto:jon...@hep.phy.cam.ac.uk>> wrote:
>>> 
>>> On 7 May 2020, at 4:41 pm, macpo...@parvis.nl <mailto:macpo...@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
> 
>> 
>> 
>> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to