-
Notifications
You must be signed in to change notification settings - Fork 1.2k
tinkey commandline compile issues / bazel 0.16 and 0.17 / centos 7 / Oracle java 8 #131
Comments
We haven't touched Tinkey for a while, so this looks like a bug in Bazel. The error message is "-Xbootclasspath/p is no longer a supported option", so it seems that this is Java being upset with Bazel. Which Java version are you using? |
I am using Java 8: |
I tried with 0.17.2 and encountered an issue similar to I'm fixing it, and it looks like everything works fine again. |
…est). Kokoro hasn't failed because its macOS and Ubuntu machines are using old Bazel versions. Related issues: #131 #136 bazelbuild/bazel#5997 bazelbuild/bazel#5594 PiperOrigin-RevId: 215787620 GitOrigin-RevId: 7b978f1374938e4b839f8357fc50d36b7ab96be5
Bazel 0.17.2 should work fine. Please reopen if you still have any issues. Thanks! |
…est). Kokoro hasn't failed because its macOS and Ubuntu machines are using old Bazel versions. Related issues: #131 #136 bazelbuild/bazel#5997 bazelbuild/bazel#5594 PiperOrigin-RevId: 215787620 GitOrigin-RevId: 7b978f1374938e4b839f8357fc50d36b7ab96be5
…est). Kokoro hasn't failed because its macOS and Ubuntu machines are using old Bazel versions. Related issues: #131 #136 bazelbuild/bazel#5997 bazelbuild/bazel#5594 PiperOrigin-RevId: 215787620 GitOrigin-RevId: 7b978f1374938e4b839f8357fc50d36b7ab96be5
I had issues with compiling tinkey with recent versions of bazel. For bazel 0.16.2 the javax.crypto package was not available (bazelbuild/bazel#5726); I was also unable to build with 0.17.1 which should have addressed this issue, but the build failed with a different error. See error output below. Note the bazel 0.16.2 run includes an attempt to 'fix' the bootclasspath, but fails with the same error without the bootclasspath argument.
I was able to build tinkey by reverting to bazel 0.15.2.
bazel 0.16.2
bazel 0.17.1
The text was updated successfully, but these errors were encountered: