[MacPorts] #52036: go @1.7 build error
MacPorts
noreply at macports.org
Tue Aug 16 23:16:01 PDT 2016
#52036: go @1.7 build error
--------------------+--------------------------------
Reporter: eric@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port:
--------------------+--------------------------------
Latest go failed to build… and then tried to reinstall it with:
{{{
$ sudo port clean --all go
$ sudo port -v -s upgrade go
}}}
Last part:
{{{
# 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.
cmd/link
cmd/compile/internal/gc
cmd/compile/internal/amd64
cmd/compile/internal/arm64
cmd/compile/internal/arm
cmd/compile/internal/ppc64
cmd/compile/internal/mips64
cmd/compile/internal/s390x
cmd/compile/internal/x86
cmd/compile
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go/go/work/go/src"
&& ./make.bash
Exit code: 2
Error: org.macports.build for port go returned: command execution failed
Warning: targets not executed for go: org.macports.install
org.macports.build org.macports.destroot
Please see the log file for port go for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go/go/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
}}}
-----
//Attaching the log file.//
--
Ticket URL: <https://trac.macports.org/ticket/52036>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list