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

fix(ci): ensure release sbt version is the same as the build #1965

Merged
merged 1 commit into from
Dec 27, 2022
Merged

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Dec 27, 2022

I actually have no idea if this is the cause or not, but the windows native image is failing with what you see below:

[error] com.oracle.svm.core.util.UserError$UserException: Main entry point class '@C:\Users\RUNNER~1\AppData\Local\Temp\native-image-classpath14131537784930832467.txt' not found.
[error] 	at com.oracle.svm.core.util.UserError.abort(UserError.java:68)
[error] 	at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:313)
[error] 	at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:531)
[error] 	at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:119)
[error] 	at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:[56](https://github.com/scalacenter/bloop/actions/runs/3786069067/jobs/6436982906#step:8:57)8)
[error] Error: Image build request failed with exit status 1
[error] java.lang.RuntimeException: Failed to run List(C:/Users/runneradmin/.jabba/jdk/graalvm-ce-java11@21.1.0/bin/native-image.cmd, @C:\Users\RUNNER~1\AppData\Local\Temp\native-image-classpath14131537784930832467.txt, -H:Name=bloopgun-core, --no-server, --enable-http, --enable-https, -H:EnableURLProtocols=http,https, --enable-all-security-services, --no-fallback, -H:ReflectionConfigurationFiles=D:\a\bloop\bloop\bloopgun\src\main\graal\reflection.json, --allow-incomplete-classpath, -H:+ReportExceptionStackTraces, -J-Djava.security.properties=D:\a\bloop\bloop\bloopgun\src\main\graal\java.security.overrides, -Djava.security.properties=D:\a\bloop\bloop\bloopgun\src\main\graal\java.security.overrides, --initialize-at-build-time=scala.Symbol, --initialize-at-build-time=scala.Function1, --initialize-at-build-time=scala.Function2, --initialize-at-build-time=scala.runtime.StructuralCallSite, --initialize-at-build-time=scala.runtime.EmptyMethodCache, bloop.bloopgun.Bloopgun), exit status: 1

I don't fully understand why anything I changed would be affecting this, but the one thing that could possibly be a bit wonky is that the windows release is still using 1.7.2, which should actually be causing issues due to scala-xml issues. So no idea if that's being swallowed or what, but this is just an attempt tof ix that. Either way it should be updated to match the build version of sbt.

@ckipp01 ckipp01 requested review from tgodzik and adpi2 December 27, 2022 09:26
Copy link
Collaborator

@kpodsiad kpodsiad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

windows, why it has to be always you? ;)

@ckipp01
Copy link
Member Author

ckipp01 commented Dec 27, 2022

windows, why it has to be always you? ;)

lol my thoughts exactly. Right when I saw this I wondered how much time was spent chasing down stupid windows issues in open source.

Also I'm just going to merge as the ongoing CI here won't tell us anything about the change I'm making since it's only used in the windows release.

@ckipp01 ckipp01 merged commit cfc902d into main Dec 27, 2022
@ckipp01 ckipp01 deleted the sbtFix branch December 27, 2022 09:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants