Skip to content

Error downloading org.eclipse.jdt:ecj:3.28.0.v20211021-2009 #359

Description

@svenkeidel

Hi all,

I tried to build the newest version of OPAL develop in the JCG docker container we created for the total-recall artifact:

ARG OPAL_BRANCH="develop"
ARG OPAL_COMMIT_ID="3d4711a74a27c13679eebac6b08852f95a907e3e"
ARG OPAL_DIR="/home/$USER/OPAL"
RUN git clone https://github.com/stg-tud/opal.git ${OPAL_DIR} && \
    cd ${OPAL_DIR} && \
    git checkout ${OPAL_BRANCH} && \
    git reset --hard ${OPAL_COMMIT_ID} && \
    sbt publishLocal

The last command fails with

131.2 [info] [launcher] getting org.scala-sbt sbt 1.11.7  (this may take some time)...
142.0 [info] [launcher] getting Scala 2.12.20 (for sbt)...
142.8 [info] welcome to sbt 1.11.7 (Temurin Java 1.8.0_342)
146.0 [info] loading settings for project root from libraries.sbt, opal-plugins.sbt, plugins.sbt...
146.5 [info] loading project definition from /home/JCG/OPAL/DEVELOPING_OPAL/plugins/sbt-java-fixture-compiler/project
148.6 [info] loading settings for project sbt-java-fixture-compiler from build.sbt...
148.7 [info] loading project definition from /home/JCG/OPAL/project
155.2 [warn] 
155.2 [warn]    Note: Unresolved dependencies path:
155.2 [error] sbt.librarymanagement.ResolveException: Error downloading org.eclipse.jdt:ecj:3.28.0.v20211021-2009
155.2 [error]   Not found
155.2 [error]   Not found
155.2 [error]   not found: https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.28.0.v20211021-2009/ecj-3.28.0.v20211021-2009.pom
155.2 [error]   not found: /home/JCG/.ivy2/localorg.eclipse.jdt/ecj/3.28.0.v20211021-2009/ivys/ivy.xml
155.2 [error]   not found: https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/ecj/3.28.0.v20211021-2009/ecj-3.28.0.v20211021-2009.pom
155.2 [error]   not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.eclipse.jdt/ecj/3.28.0.v20211021-2009/ivys/ivy.xml
155.2 [error]   not found: https://repo.typesafe.com/typesafe/ivy-releases/org.eclipse.jdt/ecj/3.28.0.v20211021-2009/ivys/ivy.xml
155.2 [error]   at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:347)
155.2 [error]   at lmcoursier.CoursierDependencyResolution.$anonfun$update$39(CoursierDependencyResolution.scala:316)
155.2 [error]   at scala.util.Either$LeftProjection.map(Either.scala:573)
155.2 [error]   at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:316)
155.2 [error]   at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
155.2 [error]   at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:60)
155.2 [error]   at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:142)
155.2 [error]   at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:74)
155.2 [error]   at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:144)
155.2 [error]   at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:131)
155.2 [error]   at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:220)
155.2 [error]   at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:169)
155.2 [error]   at sbt.Classpaths$.$anonfun$updateTask0$1(Defaults.scala:3993)
155.2 [error]   at scala.Function1.$anonfun$compose$1(Function1.scala:49)
155.2 [error]   at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
155.2 [error]   at sbt.std.Transform$$anon$4.work(Transform.scala:69)
155.2 [error]   at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
155.2 [error]   at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
155.2 [error]   at sbt.Execute.work(Execute.scala:292)
155.2 [error]   at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
155.2 [error]   at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
155.2 [error]   at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
155.2 [error]   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
155.2 [error]   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
155.2 [error]   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
155.2 [error]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
155.2 [error]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
155.2 [error]   at java.lang.Thread.run(Thread.java:750)
155.2 [error] (ProjectRef(uri("file:/home/JCG/OPAL/DEVELOPING_OPAL/plugins/sbt-java-fixture-compiler/"), "sbt-java-fixture-compiler") / update) sbt.librarymanagement.ResolveException: Error downloading org.eclipse.jdt:ecj:3.28.0.v20211021-2009
155.2 [error]   Not found
155.2 [error]   Not found
155.2 [error]   not found: https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.28.0.v20211021-2009/ecj-3.28.0.v20211021-2009.pom
155.2 [error]   not found: /home/JCG/.ivy2/localorg.eclipse.jdt/ecj/3.28.0.v20211021-2009/ivys/ivy.xml
155.2 [error]   not found: https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/ecj/3.28.0.v20211021-2009/ecj-3.28.0.v20211021-2009.pom
155.2 [error]   not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.eclipse.jdt/ecj/3.28.0.v20211021-2009/ivys/ivy.xml
155.2 [error]   not found: https://repo.typesafe.com/typesafe/ivy-releases/org.eclipse.jdt/ecj/3.28.0.v20211021-2009/ivys/ivy.xml

AI suggested we'd add resolvers += "Eclipse Repository" at "https://eclipse.org" to the build.sbt to fix it.

Any ideas?

Thanks,
Sven

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions