alternative for github clone with submodules -> make: *** [install] Error 71

macports at parvis.nl macports at parvis.nl
Fri May 8 18:55:57 UTC 2020


> On 2020-05-08, at 09:35, Ryan Schmidt <ryandesign at macports.org> wrote:
>> 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
> 
> According to the Makefile
> 
> https://github.com/ahknight/hfsinspect/blob/master/Makefile <https://github.com/ahknight/hfsinspect/blob/master/Makefile>
> 
> it should only be printing "Installing hfsinspect in ..." if you ran "make install", which should only be happening in the destroot phase, not the build phase.
> 
> The Makefile doesn't seem to support DESTDIR, so you'll need to address that as well, for example using "makefile.has_destdir no" after you've included the makefile 1.0 portgroup.


i cannot find the makefile 1.0 portgroup in the guide.


added to portfile:

makefile.has_destdir no
destroot.destdir PREFIX=${destroot}/${prefix}

and now it works.

thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200508/91471ad4/attachment.html>


More information about the macports-dev mailing list