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

MacPorts noreply at macports.org
Mon Feb 24 19:32:18 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):

 Replying to [comment:5 raimue]:
 > With `CGO_ENABLED=0`, the binary will not link with any C libraries and
 the downside could be that you will miss features. Often performance could
 also be affected because an unoptimized Go implementation will be used
 instead instead of a C library tuned for the target architecture. In this
 case, it looks like nothing else in git-lfs would need cgo, but I did not
 check any of the imported modules.

 Agreed.  I won't submit any patches but I'll probably keep it as a local
 ports.  For the amount I actually use it  (1 repository out of dozens) I
 can live with
 the performance hit and loss of features.

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


More information about the macports-tickets mailing list