-
Notifications
You must be signed in to change notification settings - Fork 59
regression: some repos now fail with cross-version suffixes error on scala-xml #679
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
in scalajson's case I think oh but that isn't the chain, scala-reflect doesn't depend on scala-xml. the scala-xml dependency is scalatest's. |
not sure I have a complete list of failing projects in hand, but: I think all the failing projects are either:
|
from e.g. the kind-projector log,
note the missing |
I wonder exactly this when regressed, there might be a clue there. but Jenkins is down downgrading sbt-version from 0.13.17 to 0.13.16 doesn't help. running dbuild with oh, now this is interesting: scala/scala-xml#181 that looks very interesting /cc @ashawley |
darnit, rewinding scala-xml to scala/scala-xml@171a199 (October 2017) doesn't make the errors go away. sorry Aaron, false alarm |
Yeah, I wondered what fixing the exclusion rule would actually do to do the community build, but then the Typesafe Jenkins crashed, so I never found out, until... Ok, hope it is a false alarm. |
okay, I noticed something else the failing projects have in common: they are on sbt 1. and yeah, if I rewind kind-projector to typelevel/kind-projector@5729d05, before the sbt 1 move, the problem goes away. so that's progress at least, this is some sbt 0.13 vs sbt 1 difference |
using kind-projector as our guinea pig, on sbt 0.13.17
but on sbt 1.1.0
is the difference significant? not sure. it sure looks relevant. also fwiw |
Scalatest's xml dependency, from its
|
I wonder if this is a bug in dbuild's "Scala" build system. hypothesis: scala-compiler, scala-library, and scala-reflect all correctly lack the that would still leave me confused about the sbt 0.13 vs sbt 1 part, though... |
okay I bet we can deal with this by pulling scala-xml out of the "Scala" build system section, or maybe by not using that build system at all. which would be a nice simplification anyway actually trying it... |
thinking out loud:
|
another thought would be to use |
gah, that causes Scaladoc generation to fail in every project because scala-xml isn't on the classpath. we could inject scala-xml into every project, but then it's on the classpath all the time, not just for Scaladoc generation. |
new hope: I think this might be addressable just using dbuild's |
- cross-version: disabled
space: scala
@@ -117,6 +116,7 @@ build += {
{
name: "scala"
system: assemble
+ cross-version: binary
extra.parts.projects: [
{
set-version: ${vars.scala-version}
@@ -140,6 +140,10 @@ build += {
{
name: "scala-xml"
uri: "https://github.com/scala/scala-xml.git"
+ cross-version: standard this is promising, builds seem to be passing. I'm seeing:
which isn't ideal, we would prefer that the freshly built scala-xml be used. but it's hardly a show-stopper |
@cunei reading all of this over might amuse you. |
effectively, our config file was wrong before, but something changed in sbt 1 that exposed the previously latent bug. |
right now I'm testing with |
not sure when this started or what's going on, need to investigate. some of the failing repos are kind-projector, scalajson, akka-actor
The text was updated successfully, but these errors were encountered: