Created
July 23, 2020 10:17
-
-
Save anirudhjain75/6401290181f9a9cbbc84b2ff1fba3a1b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GIT_VERSION=v0.4.0-beta.4 | |
GIT_COMMITSHA=872558385ac096da417be24afaff029a5b0c9b34 | |
cd cmd; go clean; pwd && rm meshery; go mod tidy; go build -tags draft -a -o meshery; \ | |
SAAS_BASE_URL=https://meshery.layer5.io \ | |
PORT=9081 \ | |
DEBUG=true \ | |
ADAPTER_URLS="mesherylocal.layer5.io:10000 mesherylocal.layer5.io:10001 mesherylocal.layer5.io:10002 mesherylocal.layer5.io:10003 mesherylocal.layer5.io:10004 mesherylocal.layer5.io:10008" \ | |
./meshery; \ | |
cd .. | |
/Users/cyna/Projects/meshery/cmd | |
rm: meshery: No such file or directory | |
# crypto/x509 | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:43:57: error: use of undeclared identifier 'kSecTrustSettingsDomainUser' | |
OSStatus err = SecTrustSettingsCopyTrustSettings(cert, kSecTrustSettingsDomainUser, &trustSettings); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:50:49: error: use of undeclared identifier 'kSecTrustSettingsDomainAdmin' | |
err = SecTrustSettingsCopyTrustSettings(cert, kSecTrustSettingsDomainAdmin, &trustSettings); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:57:10: error: use of undeclared identifier 'kSecTrustSettingsResultUnspecified'; did you mean 'kSecTrustResultUnspecified'? | |
return kSecTrustSettingsResultUnspecified; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
kSecTrustResultUnspecified | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:89:5: note: 'kSecTrustResultUnspecified' declared here | |
kSecTrustResultUnspecified CF_ENUM_AVAILABLE(10_3, 2_0) = 4, | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:64:10: error: use of undeclared identifier 'kSecTrustSettingsResultTrustRoot' | |
return kSecTrustSettingsResultTrustRoot; | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:100:13: error: use of undeclared identifier 'kSecTrustSettingsResultTrustRoot'; did you mean '_kSecTrustSettingsResult'? | |
result = kSecTrustSettingsResultTrustRoot; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
_kSecTrustSettingsResult | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:70:14: note: '_kSecTrustSettingsResult' declared here | |
CFStringRef _kSecTrustSettingsResult = CFStringCreateWithCString( | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:108:17: error: use of undeclared identifier 'kSecTrustSettingsResultTrustRoot'; did you mean '_kSecTrustSettingsResult'? | |
if (result == kSecTrustSettingsResultTrustRoot) { | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
_kSecTrustSettingsResult | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:70:14: note: '_kSecTrustSettingsResult' declared here | |
CFStringRef _kSecTrustSettingsResult = CFStringCreateWithCString( | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:110:24: error: use of undeclared identifier 'kSecTrustSettingsResultTrustAsRoot'; did you mean '_kSecTrustSettingsResult'? | |
} else if (result == kSecTrustSettingsResultTrustAsRoot) { | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
_kSecTrustSettingsResult | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:70:14: note: '_kSecTrustSettingsResult' declared here | |
CFStringRef _kSecTrustSettingsResult = CFStringCreateWithCString( | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:112:24: error: use of undeclared identifier 'kSecTrustSettingsResultDeny'; did you mean '_kSecTrustSettingsResult'? | |
} else if (result == kSecTrustSettingsResultDeny) { | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
_kSecTrustSettingsResult | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:70:14: note: '_kSecTrustSettingsResult' declared here | |
CFStringRef _kSecTrustSettingsResult = CFStringCreateWithCString( | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:125:12: error: use of undeclared identifier 'kSecTrustSettingsResultUnspecified'; did you mean 'kSecTrustResultUnspecified'? | |
result = kSecTrustSettingsResultUnspecified; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
kSecTrustResultUnspecified | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:89:5: note: 'kSecTrustResultUnspecified' declared here | |
kSecTrustResultUnspecified CF_ENUM_AVAILABLE(10_3, 2_0) = 4, | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:166:73: error: use of undeclared identifier 'kSecTrustSettingsResultInvalid'; did you mean 'kSecTrustResultInvalid'? | |
fprintf(stderr, "crypto/x509: kSecTrustSettingsResultInvalid = %d\n", kSecTrustSettingsResultInvalid); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
kSecTrustResultInvalid | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:85:5: note: 'kSecTrustResultInvalid' declared here | |
kSecTrustResultInvalid CF_ENUM_AVAILABLE(10_3, 2_0) = 0, | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:167:75: error: use of undeclared identifier 'kSecTrustSettingsResultTrustRoot' | |
fprintf(stderr, "crypto/x509: kSecTrustSettingsResultTrustRoot = %d\n", kSecTrustSettingsResultTrustRoot); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:168:77: error: use of undeclared identifier 'kSecTrustSettingsResultTrustAsRoot' | |
fprintf(stderr, "crypto/x509: kSecTrustSettingsResultTrustAsRoot = %d\n", kSecTrustSettingsResultTrustAsRoot); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:169:70: error: use of undeclared identifier 'kSecTrustSettingsResultDeny' | |
fprintf(stderr, "crypto/x509: kSecTrustSettingsResultDeny = %d\n", kSecTrustSettingsResultDeny); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:170:77: error: use of undeclared identifier 'kSecTrustSettingsResultUnspecified'; did you mean 'kSecTrustResultUnspecified'? | |
fprintf(stderr, "crypto/x509: kSecTrustSettingsResultUnspecified = %d\n", kSecTrustSettingsResultUnspecified); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
kSecTrustResultUnspecified | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:89:5: note: 'kSecTrustResultUnspecified' declared here | |
kSecTrustResultUnspecified CF_ENUM_AVAILABLE(10_3, 2_0) = 4, | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:176:2: error: use of undeclared identifier 'SecTrustSettingsDomain' | |
SecTrustSettingsDomain domains[] = { kSecTrustSettingsDomainSystem, | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:179:26: error: use of undeclared identifier 'domains' | |
int numDomains = sizeof(domains)/sizeof(SecTrustSettingsDomain); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:179:42: error: use of undeclared identifier 'SecTrustSettingsDomain' | |
int numDomains = sizeof(domains)/sizeof(SecTrustSettingsDomain); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:189:51: error: use of undeclared identifier 'domains' | |
OSStatus err = SecTrustSettingsCopyCertificates(domains[i], &certs); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:202:8: error: use of undeclared identifier 'domains' | |
if (domains[i] == kSecTrustSettingsDomainSystem) { | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:202:22: error: use of undeclared identifier 'kSecTrustSettingsDomainSystem' | |
if (domains[i] == kSecTrustSettingsDomainSystem) { | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:207:14: error: use of undeclared identifier 'kSecTrustSettingsResultTrustRoot' | |
result = kSecTrustSettingsResultTrustRoot; | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:235:18: error: use of undeclared identifier 'kSecTrustSettingsResultTrustRoot' | |
if (result == kSecTrustSettingsResultTrustRoot) { | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:243:25: error: use of undeclared identifier 'kSecTrustSettingsResultTrustAsRoot' | |
} else if (result == kSecTrustSettingsResultTrustAsRoot) { | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:251:25: error: use of undeclared identifier 'kSecTrustSettingsResultDeny' | |
} else if (result == kSecTrustSettingsResultDeny) { | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:253:25: error: use of undeclared identifier 'kSecTrustSettingsResultUnspecified'; did you mean 'kSecTrustResultUnspecified'? | |
} else if (result == kSecTrustSettingsResultUnspecified) { | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
kSecTrustResultUnspecified | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:89:5: note: 'kSecTrustResultUnspecified' declared here | |
kSecTrustResultUnspecified CF_ENUM_AVAILABLE(10_3, 2_0) = 4, | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:264:30: error: use of undeclared identifier 'kSecFormatX509Cert' | |
err = SecItemExport(cert, kSecFormatX509Cert, kSecItemPemArmour, NULL, &data); | |
^ | |
/usr/local/go/src/crypto/x509/root_cgo_darwin.go:264:50: error: use of undeclared identifier 'kSecItemPemArmour' | |
err = SecItemExport(cert, kSecFormatX509Cert, kSecItemPemArmour, NULL, &data); | |
^ | |
27 errors generated. | |
/bin/sh: ./meshery: No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment