-
Notifications
You must be signed in to change notification settings - Fork 378
Spec build issue in Travis-Ci #107
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
Comments
What version of golang and protoc are you using to regenerate the golang
bindings?
…On Tue, Sep 19, 2017 at 6:54 AM, Silvan ***@***.***> wrote:
Travis-Ci fails on pr #99
<#99> which
builds fine on my machine. I can't really make out what the check is
stumbling about, any hints on that?
The error report can be found at https://travis-ci.org/
container-storage-interface/spec/jobs/277245464
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#107>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACPVLFAZrLmV9TFF71HEGyDlT0WD1_orks5sj51ggaJpZM4PcNhA>
.
|
I initially ran with golang 1.6.3 and libprotoc 2.6.1. Upon seeing the issue i upgrade to golang 1.8.3 and recompiled but the resulting files do not differ from the 1.6.3 compilation results. Maybe the libprotoc version is the culprit? |
yes, upgrade protoc
```
$ protoc --version
libprotoc 3.3.0
```
…On Tue, Sep 19, 2017 at 10:09 AM, Silvan ***@***.***> wrote:
I initially ran with golang 1.6.3 and libprotoc 2.6.1. Upon seeing the
issue i upgrade to golang 1.8.3 and recompiled but the resulting files do
not differ from the 1.6.3 compilation results. Maybe the libprotoc version
is the culprit?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#107 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACPVLO6QxGHE5Hs3e7c1u8F2Sr0Ewt4Rks5sj8r8gaJpZM4PcNhA>
.
|
@akutz Good pointer. Following up on your hint i checked and protoc 3.3.0 is indeed installed in spec/lib/go/protoc during the make build. But still the recompilation did not change the protobuf result. I manually added the 3.3.0 binary to PATH to take precedence over the system installation binaries and later added the spec/lib/go dir to the GOPATH but still no luck (compilation results do not differ from the submitted version). Besides running make clean / clobber in between tests i also tried manually removing the compilation results just to make sure. Next step i can think of is removing the system packages for libprotoc and install 3.3.0 system wide but if the make files do install a local libprotoc version this should be used, shouldn't it? I'm starting to think that the local libprotoc 3.3.0 was used all along already (me not noticing as it was not part of the general env paths but used in the local paths in the make process) and the issue lies somewhere else? |
Ok, found it. There were compilation artifacts in lib/go/ that weren't refreshed when recompiling and seemingly caused this. I kicked out everything but readme, Makefile and csi.go from that directory and reran the compilation, resulting in a new lib/go/csi/csi.pb.go file. This one the CI can work with. |
Travis-Ci fails on pr #99 which builds fine on my machine. I can't really make out what the check is stumbling about, any hints on that?
The error report can be found at https://travis-ci.org/container-storage-interface/spec/jobs/277245464
The text was updated successfully, but these errors were encountered: