[MacPorts] #52036: go @1.7_0: crypto/x509 build fails with "'SecCertificateCopyNormalizedSubjectContent' is unavailable"

MacPorts noreply at macports.org
Wed Oct 12 10:21:35 CEST 2016


#52036: go @1.7_0: crypto/x509 build fails with
"'SecCertificateCopyNormalizedSubjectContent' is unavailable"
---------------------+-------------------------
  Reporter:  eric@…  |      Owner:  ciserlohn@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.4
Resolution:          |   Keywords:  lion
      Port:  go      |
---------------------+-------------------------

Comment (by scottm@…):

 This issue seems to be caused by line 10 of
 src/crypto/x509/root_cgo_darwin.go file, which appears as: [[br]]
 `#cgo CFLAGS: -mmacosx-version-min=10.6
 -D__MAC_OS_X_VERSION_MAX_ALLOWED=1060`

 The value of 1060 for !__MAC_OS_X_VERSION_MAX_ALLOWED represents OSX 10.6,
 which conflicts with compiling it on lion.  Removing this restriction
 allows successful compilation.

 I didn't research beyond just getting it to build on my box -- but from
 the look of it, I don't understand how it could be compiled anywhere.

-- 
Ticket URL: <https://trac.macports.org/ticket/52036#comment:4>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list