Comments (12)
/cc @johnynek fyi
from rules_scala.
@damienmg I think this came from removing jdk
but what confuses me is that we are not explicitly using it. We are using jar
and a bazel rule that itself depends on jdk
.
Is seems strange that depending on jar
alone is not enough (shouldn't it declare its dependendency on jdk?) and a rule that depends on something that depends on jdk
(i guess the OSX error) shouldn't also be needed right? Otherwise users need to add the transitive deps, which seems wrong to me.
from rules_scala.
okay, this is an issue with 0.2.1
vs 0.2.2
. The runfiles path changed to include the workspace name in 0.2.2
. I'll fix this for 0.2.2
head when the homebrew rule ships, until then I assume a good group of people are still on 0.2.1
(including our devs at Stripe).
from rules_scala.
PS: I installed a VM with linux to test this, so I am fairly confident that I can repro the failures now. It would be great if we had a CI on the PRs so we didn't need to rely on this or pings from you, but I know I have mentioned that before.
In this case, bazel really changed between minor releases, so I don't see how we could have been correct without branches.
from rules_scala.
So the Linux error is because we cannot create executable filegroup with multiple files. So jar is a filegroup that point to the jar binary but the jar binary still requires some other library. On Linux we sandbox and undeclared dependencies doesn't get mounted in the sandbox, therefore the error.
The workspace name issue got fixed on version 0.2.2 (it got broken with load statement in the workspace file). Unfortunately, we have another problem and it is not yet merged in Homebrew (for a different reason).
@kchodorow have proposed a patch to TensorFlow Serving for making their use case works on both version.
I am still working on vetting PR. I have to cut the Bazel job in two for that and it's breaking currently because we have ourself an incompatible change. Sorry for that taking so long.
from rules_scala.
fyi we have deactivated the test until this bug is fixed. I have a fix for homebrew so I probably do a new release in the following days
from rules_scala.
Okay. Sorry about dragging on this. After the new release I'll try to add a
Travis CI build for multiple versions of Bazel so we don't have this issue
in the future.
On Wednesday, May 4, 2016, Damien Martin-Guillerez [email protected]
wrote:
fyi we have deactivated the test until this bug is fixed. I have a fix for
homebrew so I probably do a new release in the following days—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#49 (comment)
P. Oscar Boykin, Ph.D. | http://twitter.com/posco | http://pobox.com/~boykin
from rules_scala.
No problem, after the new release I should be able to activate PR vetting
(it's blocked because someone introduced yet another incompatibility in
Bazel, so we cannot build bazel with 0.2.2 either...).
On Thu, May 5, 2016 at 8:54 AM P. Oscar Boykin [email protected]
wrote:
Okay. Sorry about dragging on this. After the new release I'll try to add a
Travis CI build for multiple versions of Bazel so we don't have this issue
in the future.On Wednesday, May 4, 2016, Damien Martin-Guillerez <
[email protected]>
wrote:fyi we have deactivated the test until this bug is fixed. I have a fix
for
homebrew so I probably do a new release in the following days—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
<
#49 (comment)P. Oscar Boykin, Ph.D. | http://twitter.com/posco |
http://pobox.com/~boykin—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#49 (comment)
from rules_scala.
@damienmg should be fixed by #54 would be great to get added to CI again.
(I checked our tests on my linux vmware install, which passed).
from rules_scala.
@damienmg can you close this when you re-add us to CI?
from rules_scala.
Sure I am doing that right now :)
from rules_scala.
And it is green and you have PR vetting now.
You should accept the invitation to the bazelbuild org and make it visible so you can trigger yourself the builds :)
from rules_scala.
Related Issues (20)
- Upgrade CI tests to use Bazel 6 HOT 2
- rules_scala cause IJ plugin failures with Bazel@HEAD
- Support for specifying test classes and/or test cases when using junit tests HOT 4
- warning: [path] bad path element
- [Scala 2.13.12] Issue with scala.tools.nsc.reporters.Reporter when compiling
- FYI - Discussion for SIP-51: drop 2.13 library forwards binary compatibility
- rules_scala support for JDK 21 HOT 42
- Add add_opens and add_exports support HOT 1
- Scalafmt fails with Build without the bytes HOT 20
- Support Scala 3.3.1
- SemanticdbInfo.plugin_jar should be File not string HOT 2
- coverage creates the offline.jar into same directory for tests with different directories
- Bazel 7 - scala_proto_aspect rule must declare '@@bazel_tools//tools/jdk:toolchain_type' toolchain in order to use java_common HOT 1
- Can't run a bazel executable within bazel on Windows HOT 10
- javacopts order differs from java_library
- strict_deps_mode = error complains about dependencies that aren't referenced HOT 3
- use newer version of scalafmt
- How to set JVM version? rules_scala keeps insisting on using Java 11 HOT 1
- Unreadable test result HOT 2
- test_scala_proto_server test is flaky on MacOS CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_scala.