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

sbt 1.8.1 does not work on M1 Mac #7564

Open
GregoryDougherty opened this issue Sep 27, 2024 · 0 comments
Open

sbt 1.8.1 does not work on M1 Mac #7564

GregoryDougherty opened this issue Sep 27, 2024 · 0 comments

Comments

@GregoryDougherty
Copy link

Bug is full covered here:
sbt/sbt#7117

The error I was getting was this:

Exception in thread "sbt-socket-server" java.lang.NoClassDefFoundError: Could not initialize class org.scalasbt.ipcsocket.JNIUnixDomainSocketLibraryProvider
	at org.scalasbt.ipcsocket.UnixDomainSocketLibraryProvider.get(UnixDomainSocketLibraryProvider.java:26)
	at org.scalasbt.ipcsocket.UnixDomainSocketLibraryProvider.maxSocketLength(UnixDomainSocketLibraryProvider.java:31)
	at sbt.internal.server.Server$$anon$1$$anon$2.$anonfun$run$1(Server.scala:75)
	at scala.util.Try$.apply(Try.scala:213)
	at sbt.internal.server.Server$$anon$1$$anon$2.run(Server.scala:63)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: darwin/aarch64/libsbtipcsocket.dylib not found on classpath [in thread "main"]

This was trying to load set 1.10.2 in the cromwell directory

So I edited project/build.properties to have

sbt.version=1.8.2

And everything worked.

Share I submit a PR with that change?

@GregoryDougherty GregoryDougherty changed the title set 1.8.1 does not work on M1 Mac sbt 1.8.1 does not work on M1 Mac Sep 27, 2024
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