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

Broken build #17

Open
carueda opened this issue Feb 8, 2025 · 0 comments
Open

Broken build #17

carueda opened this issue Feb 8, 2025 · 0 comments

Comments

@carueda
Copy link
Member

carueda commented Feb 8, 2025

Just tried the following to have a sense of the status of building the ORR stack.

  • In the orr repo, tried to build the base image, docker build -f base.Dockerfile, but it now fails (see below) because of the sunset of Bintray. Appropriate adjustment would be needed.

  • Local dev env: For the orr-ont component, started from a fresh clone on my machine, but, unfortunately, sbt is not starting properly anymore (see below). This is not really surprising considering how old the sbt version and other dependencies are by now, so, in general, this one would be trickier to address.


Base image

docker build -f base.Dockerfile
[+] Building 11.5s (6/6) FINISHED                                                                                                                              docker:desktop-linux
 => [internal] load build definition from base.Dockerfile                                                                                                                      0.0s
 => => transferring dockerfile: 566B                                                                                                                                           0.0s
 => [internal] load metadata for docker.io/library/tomcat:8.5-jdk8-openjdk-slim                                                                                                2.1s
 => [auth] library/tomcat:pull token for registry-1.docker.io                                                                                                                  0.0s
 => [internal] load .dockerignore                                                                                                                                              0.0s
 => => transferring context: 56B                                                                                                                                               0.0s
 => [1/2] FROM docker.io/library/tomcat:8.5-jdk8-openjdk-slim@sha256:7a60c277c5947c8ab77e32f19a3b96e41501c0c6ed3b6f001a998a9e3a2f3bb0                                          4.1s
 => => resolve docker.io/library/tomcat:8.5-jdk8-openjdk-slim@sha256:7a60c277c5947c8ab77e32f19a3b96e41501c0c6ed3b6f001a998a9e3a2f3bb0                                          0.0s
 => => sha256:7a60c277c5947c8ab77e32f19a3b96e41501c0c6ed3b6f001a998a9e3a2f3bb0 549B / 549B                                                                                     0.0s
 => => sha256:4015b6e8cc8db11af172df5c0369552bc2a74cd69094b0756d21fc6b0b2a5393 1.57MB / 1.57MB                                                                                 0.7s
 => => sha256:0e86b181efa02db2dd92e3f621ee71d8ddebe2669b3dba8a0320d1d9419b1c7a 211B / 211B                                                                                     0.6s
 => => sha256:e1b1246cbc3955d4eef62888a02639e6b644365c927069fd150e207c36a4ee07 1.58kB / 1.58kB                                                                                 0.0s
 => => sha256:6bed2a08ff341d99b56825951554f2717a7562bfc14db6f0e336c2569fc1e5f0 13.29kB / 13.29kB                                                                               0.0s
 => => sha256:a9fe95647e78b5516c7e2327355b6996e2ea295cd76ae242cbfe87f016b4e760 30.05MB / 30.05MB                                                                               0.8s
 => => sha256:1a9f11ca763367757bd3bba0cc811ea410ed88cd485426d611545509f11f041f 104.99MB / 104.99MB                                                                             3.0s
 => => sha256:3f36a6be3e67f8886553c9141f53cc8a8af4daf26490a86ca04ab4d9edb9a7eb 138B / 138B                                                                                     1.1s
 => => extracting sha256:a9fe95647e78b5516c7e2327355b6996e2ea295cd76ae242cbfe87f016b4e760                                                                                      1.0s
 => => sha256:383823f11f98729a4c2872c66f84a41a1a2e8636ef440fdfc181b3f7da125b50 11.48MB / 11.48MB                                                                               2.2s
 => => extracting sha256:4015b6e8cc8db11af172df5c0369552bc2a74cd69094b0756d21fc6b0b2a5393                                                                                      0.1s
 => => extracting sha256:0e86b181efa02db2dd92e3f621ee71d8ddebe2669b3dba8a0320d1d9419b1c7a                                                                                      0.0s
 => => extracting sha256:1a9f11ca763367757bd3bba0cc811ea410ed88cd485426d611545509f11f041f                                                                                      0.8s
 => => extracting sha256:3f36a6be3e67f8886553c9141f53cc8a8af4daf26490a86ca04ab4d9edb9a7eb                                                                                      0.0s
 => => extracting sha256:383823f11f98729a4c2872c66f84a41a1a2e8636ef440fdfc181b3f7da125b50                                                                                      0.2s
 => ERROR [2/2] RUN apt update  && apt install -y curl gnupg2  && echo "deb https://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list  && curl -sL "http  5.2s
------

orr-ont component

❯ sbt
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by sbt.TrapExit$ (file:/Users/carueda/.sbt/boot/scala-2.10.4/org.scala-sbt/sbt/0.13.8/run-0.13.8.jar)
WARNING: Please consider reporting this to the maintainers of sbt.TrapExit$
WARNING: System::setSecurityManager will be removed in a future release
error: error while loading String, class file '/Users/carueda/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_11/rt.jar(java/lang/String.class)' is broken
(class java.lang.NullPointerException/Cannot invoke "scala.tools.nsc.Global$Run.typerPhase()" because the return value of "scala.tools.nsc.Global.currentRun()" is null)
[info] Loading project definition from /Users/carueda/github/mmisw/orr-ont_fresh_clone/project
[info] Updating {file:/Users/carueda/github/mmisw/orr-ont_fresh_clone/project/}orr-ont_fresh_clone-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-plus/9.0.4.v20130625/jetty-plus-9.0.4.v20130625.jar ...
[info] 	[SUCCESSFUL ] org.eclipse.jetty#jetty-plus;9.0.4.v20130625!jetty-plus.jar (140ms)
[info] Done updating.
java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
	at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1769)
	at java.base/java.util.regex.Matcher.reset(Matcher.java:415)
	at java.base/java.util.regex.Matcher.<init>(Matcher.java:252)
	at java.base/java.util.regex.Pattern.matcher(Pattern.java:1134)
	at java.base/java.util.regex.Pattern.split(Pattern.java:1262)
	at java.base/java.util.regex.Pattern.split(Pattern.java:1335)
	at sbt.IO$.pathSplit(IO.scala:744)
	at sbt.IO$.parseClasspath(IO.scala:859)
	at sbt.compiler.CompilerArguments.extClasspath(CompilerArguments.scala:62)
	at sbt.compiler.MixedAnalyzingCompiler$.withBootclasspath(MixedAnalyzingCompiler.scala:189)
	at sbt.compiler.MixedAnalyzingCompiler$.searchClasspathAndLookup(MixedAnalyzingCompiler.scala:167)
	at sbt.compiler.MixedAnalyzingCompiler$.apply(MixedAnalyzingCompiler.scala:177)
	at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138)
	at sbt.Compiler$.compile(Compiler.scala:128)
	at sbt.Compiler$.compile(Compiler.scala:114)
	at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:814)
	at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:805)
	at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:803)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:235)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
[error] (compile:compileIncremental) java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
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