[MacPorts] #60121: git-lfs @2.10.0 build cannot find <sys/clonefile.h> on macOS 10.11

MacPorts noreply at macports.org
Sun Feb 23 18:45:37 UTC 2020


#60121: git-lfs @2.10.0 build cannot find <sys/clonefile.h> on macOS 10.11
------------------------+-----------------------
  Reporter:  snowflake  |      Owner:  raimue
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.99
Resolution:  fixed      |   Keywords:  legacy-os
      Port:  git-lfs    |
------------------------+-----------------------

Comment (by snowflake):

 There is an upstream PR at https://github.com/git-lfs/git-lfs/issues/3999

 It's about building on 10.11.6

 bk2204 commented on Jan 23 2020 and suggested building with
 ```CGO_ENABLED=0```

 I tried ```make CGO_ENABLED=0``` and within 2 seconds there was a 12MB
 git-lfs executable in the bin directory.  I've no idea if it works, but it
 certainly gave help if invoked.

-- 
Ticket URL: <https://trac.macports.org/ticket/60121#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list