Opened 8 years ago

Closed 8 years ago

#52047 closed defect (duplicate)

go @1.7: error: 'SecCertificateCopyNormalizedSubjectContent' is unavailable

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: lion Cc:
Port: go

Description

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

Change History (1)

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Resolution: duplicate
Status: newclosed

Duplicate of #52036.

Note: See TracTickets for help on using tickets.