Skip to content
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

aggregation appears broken in sbt 1.0.4 #748

Closed
2 of 9 tasks
ucbjrl opened this issue Dec 21, 2017 · 0 comments
Closed
2 of 9 tasks

aggregation appears broken in sbt 1.0.4 #748

ucbjrl opened this issue Dec 21, 2017 · 0 comments

Comments

@ucbjrl
Copy link
Contributor

ucbjrl commented Dec 21, 2017

Note: for support questions, you are strongly advised to use Stack Overflow.

This repository's issues are reserved for feature requests and bug reports.

  • Type of issue

    • Bug report
    • Feature request
    • Other enhancement
  • If the current behavior is a bug, please provide the steps to reproduce the problem:

    • What is the current behavior?
sbt +clean +publishLocal
...
[info] Done compiling.
[info] Packaging /nscratch/ucbjrl/chisel3/target/scala-2.12/chisel3_2.12-3.1-SNAPSHOT.jar ...
[info] Done packaging.
[warn] 11 warnings found
[info] Main Scala API documentation successful.
[info] Packaging /nscratch/ucbjrl/chisel3/target/scala-2.12/chisel3_2.12-3.1-SNAPSHOT-javadoc.jar ...
[info] Done packaging.
[info] :: delivering :: edu.berkeley.cs#chisel3_2.12;3.1-SNAPSHOT :: 3.1-SNAPSHOT :: integration :: Thu Dec 21 11:59:06 PST 2017
[info] -delivering ivy file to /nscratch/ucbjrl/chisel3/target/scala-2.12/ivy-3.1-SNAPSHOT.xml
[info] -published chisel3_2.12 to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.12/3.1-SNAPSHOT/poms/chisel3_2.12.pom
[info] -published chisel3_2.12 to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.12/3.1-SNAPSHOT/jars/chisel3_2.12.jar
[info] -published chisel3_2.12 to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.12/3.1-SNAPSHOT/srcs/chisel3_2.12-sources.jar
[info] -published chisel3_2.12 to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.12/3.1-SNAPSHOT/docs/chisel3_2.12-javadoc.jar
[info] -published ivy to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.12/3.1-SNAPSHOT/ivys/ivy.xml
[error] java.lang.IllegalStateException: Ivy file not found in cache for edu.berkeley.cs#chiselfrontend_2.12;3.1-SNAPSHOT!
[error] (69%)   at sbt.internal.librarymanagement.ResolutionCache.getResolvedModuleDescriptor(ResolutionCache.scala:66)
[error] (70%)   at org.apache.ivy.core.deliver.DeliverEngine.deliver(DeliverEngine.java:111)
[error] (71%)   at org.apache.ivy.Ivy.deliver(Ivy.java:601)
[error] (71%)   at sbt.internal.librarymanagement.IvyActions$.$a
...
  • What is the expected behavior?
...
[info] Done packaging.
[info]  published chisel3_2.11 to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.11/3.1-SNAPSHOT/poms/chisel3_2.11.pom
[info]  published chisel3_2.11 to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.11/3.1-SNAPSHOT/jars/chisel3_2.11.jar
[info]  published chisel3_2.11 to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.11/3.1-SNAPSHOT/srcs/chisel3_2.11-sources.jar
[info]  published chisel3_2.11 to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.11/3.1-SNAPSHOT/docs/chisel3_2.11-javadoc.jar
[info]  published ivy to /nscratch/ucbjrl/ivy/local/edu.berkeley.cs/chisel3_2.11/3.1-SNAPSHOT/ivys/ivy.xml
[success] Total time: 34 s, completed Dec 21, 2017 12:05:01 PM
[info] Setting version to 2.12.4
[info] Reapplying settings...
...
  • Please tell us about your environment:
    Darwin ucbjrlMBP.local 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64 x86_64
    Linux ferry 4.4.0-92-generic Drowning in warnings in chisel3 #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

  • What is the use case for changing the behavior?
    Correct publishing of chisel3.

  • Impact

    • no functional change
    • API addition (no impact on existing code)
    • API modification
    • unknown
  • Development Phase

    • request
    • proposal
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. Stack Overflow, gitter, etc)

The following sequence almost works:

sbt +clean +compile
sbt +publishLocal

except that it publishes the individual chiselfrontend and coremacros jars.

The following sequence works correctly:

sbt "++2.11.12" clean publishLocal
sbt "++2.12.4" clean publishLocal

i.e., selectively publishing each Scala version independently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant