[MacPorts] #52047: go @1.7: error: 'SecCertificateCopyNormalizedSubjectContent' is unavailable
MacPorts
noreply at macports.org
Thu Aug 18 02:15:28 PDT 2016
#52047: go @1.7: error: 'SecCertificateCopyNormalizedSubjectContent' is unavailable
--------------------------+-------------------------
Reporter: ryandesign@… | Owner: ciserlohn@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: lion | Port: go
--------------------------+-------------------------
go fails to build on Lion with:
{{{
# crypto/x509
crypto/x509/root_cgo_darwin.go:114:28: error:
'SecCertificateCopyNormalizedSubjectContent' is unavailable
CFDataRef subjectName =
SecCertificateCopyNormalizedSubjectContent(cert, &errRef);
^
/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:459:11:
note: function has been explicitly marked unavailable here
CFDataRef SecCertificateCopyNormalizedSubjectContent(SecCertificateRef
certificate, CFErrorRef *error)
^
crypto/x509/root_cgo_darwin.go:119:27: error:
'SecCertificateCopyNormalizedIssuerContent' is unavailable
CFDataRef issuerName =
SecCertificateCopyNormalizedIssuerContent(cert, &errRef);
^
/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:442:11:
note: function has been explicitly marked unavailable here
CFDataRef SecCertificateCopyNormalizedIssuerContent(SecCertificateRef
certificate, CFErrorRef *error)
^
2 errors generated.
}}}
https://build.macports.org/builders/ports-10.7_x86_64_legacy-
builder/builds/2076
--
Ticket URL: <https://trac.macports.org/ticket/52047>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list