8000 [ci] Travis CI macos builds failing for forks · Issue #1996 · skycoin/skycoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[ci] Travis CI macos builds failing for forks #1996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
olemis opened this issue Oct 31, 2018 · 0 comments
Closed

[ci] Travis CI macos builds failing for forks #1996

olemis opened this issue Oct 31, 2018 · 0 comments
Assignees
Labels
stdev wip Work in progress

Comments

@olemis
Copy link
Contributor
olemis commented Oct 31, 2018

Builds used to brew install gcc=6.4.0-2 . Nonetheless gcc@6 formula was upgraded so as to install gcc=6.5.0 . Since then macos builds fail as explained in Homebrew/homebrew-core#33543 . See also Homebrew/homebrew-core#33544 .

@olemis olemis self-assigned this Oct 31, 2018
@olemis olemis added wip Work in progress stdev labels Oct 31, 2018
olemis added a commit to simelo/skycoin that referenced this issue Oct 31, 2018
olemis added a commit to simelo/skycoin that referenced this issue Oct 31, 2018
olemis added a commit to simelo/skycoin that referenced this issue Oct 31, 2018
olemis added a commit to simelo/skycoin that referenced this issue Nov 2, 2018
... since gcc@6 fails as follows
```
$ CC=gcc-6 make test-libc

mkdir -p build/usr/tmp build/usr/lib build/usr/include

mkdir -p build/libskycoin bin include

rm -Rf build/libskycoin/libskycoin.a

go build -buildmode=c-archive -o build/libskycoin/libskycoin.a  ./lib/cgo/api.webrpc.client.go ./lib/cgo/cipher.address.go ./lib/cgo/cipher.bitcoin.go ./lib/cgo/cipher.crypto.go ./lib/cgo/cipher.hash.go ./lib/cgo/cli.create_rawtx.go ./lib/cgo/coin.outputs.go ./lib/cgo/libsky_error.go ./lib/cgo/libsky_handle.go ./lib/cgo/libsky_mem.go ./lib/cgo/main.go ./lib/cgo/wallet.wallet.go ./lib/cgo/wallet_option.go

# crypto/x509

In file included from /usr/include/Availability.h:190:0,

                 from /usr/include/sys/time.h:69,

                 from /usr/include/sys/sysctl.h:82,

                 from /Users/travis/.gimme/versions/go1.11.1.darwin.amd64/src/crypto/x509/root_cgo_darwin.go:14:

/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h:53:34: error: "introduced" undeclared here (not in a function)

     kCFISO8601DateFormatWithYear API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 0),

                                  ^

/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:777:39: error: "deprecated" undeclared here (not in a function)

 const CFStringRef kCFURLLabelColorKey API_DEPRECATED("Use NSURLLabelColorKey", macosx(10.6, 10.12), ios(4.0, 10.0), watchos(2.0, 3.0), tvos(9.0, 10.0));

                                       ^

/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:777:39: error: "message" undeclared here (not in a function)

 const CFStringRef kCFURLLabelColorKey API_DEPRECATE const CFStringRef kCFURLLabelColorKey A 10.12), io const CFStringRef kCFURLLabelColorKey A0, 10.0));

                                       ^

In file included from /System/Library/Frameworks/Security.framework/HeadeIn file included from /System/Library/Frameworks/Security.framework/HeadeIn file included from /System/Library/Frameworks/Security.frarom /Users/travis/.gimme/versions/go1.11.1.darwin.amd64/src/crypto/x509/root_cgo_darwin.go:17:

/System/Library/Frameworks/Security.framework/Headers/Authorization.h:192:7: error: variably modified "bytes" at file scope

  char bytes[kAuthorizationExternalFormLength];

       ^~~~~

make: *** [build/libskycoin/libskycoin.a] Error 2
```

p.s. commented out previous build steps to speed up the build
olemis added a commit to simelo/skycoin that referenced this issue Nov 2, 2018
olemis added a commit to simelo/skycoin that referenced this issue Nov 2, 2018
olemis added a commit to simelo/skycoin that referenced this issue Nov 2, 2018
olemis added a commit to simelo/skycoin that referenced this issue Nov 2, 2018
@gz-c gz-c closed this as completed in #2003 Nov 2, 2018
gz-c added a commit that referenced this issue Nov 2, 2018
[ci] fixes #1996 - Correct version of brew gcc@6 formula to restore macos Travis builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdev wip Work in progress
Projects
None yet
Development

No branches or pull requests

1 participant
0