[MacPorts] #70578: certsync fails to build: error: ‘SecCertificateCopySubjectSummary’ undeclared etc.

MacPorts noreply at macports.org
Sat Aug 17 22:58:30 UTC 2024


#70578: certsync fails to build: error: ‘SecCertificateCopySubjectSummary’
undeclared etc.
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  landonf
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  certsync
--------------------------+----------------------
 {{{
 --->  Building certsync
 certsync.m: In function ‘GetCertSubject’:
 certsync.m:115: error: ‘SecCertificateCopySubjectSummary’ undeclared
 (first use in this function)
 certsync.m:115: error: (Each undeclared identifier is reported only once
 certsync.m:115: error: for each function it appears in.)
 certsync.m:116: warning: implicit declaration of function
 ‘SecCertificateCopySubjectSummary’
 certsync.m:116: warning: passing argument 1 of ‘PLCFAutorelease’ makes
 pointer from integer without a cast
 certsync.m:122: error: ‘errSecSuccess’ undeclared (first use in this
 function)
 certsync.m: In function ‘ValidateSystemTrust’:
 certsync.m:161: error: ‘SecPolicyCreateBasicX509’ undeclared (first use in
 this function)
 certsync.m:162: warning: implicit declaration of function
 ‘SecPolicyCreateBasicX509’
 certsync.m:162: warning: assignment makes pointer from integer without a
 cast
 certsync.m:167: error: ‘errSecSuccess’ undeclared (first use in this
 function)
 certsync.m: In function ‘certificatesForTrustDomain’:
 certsync.m:271: error: ‘errSecSuccess’ undeclared (first use in this
 function)
 certsync.m: In function ‘exportCertificates’:
 certsync.m:410: error: ‘errSecSuccess’ undeclared (first use in this
 function)
 Command failed: /usr/bin/gcc-4.2  -Os  -mmacosx-version-min=10.6  -Wall
 certsync.m -o certsync  -L/opt/local/lib -Wl,-headerpad_max_install_names
 -arch ppc  -framework Foundation -framework Security -framework
 CoreServices
 Exit code: 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70578>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list