graalvm

emccue 2023-11-07T15:56:04.001059Z

Has anyone seen an error like this before?

com.oracle.svm.hosted.NativeImageClassLoader @617faa95 tried to define prohibited package name: java.net.http

emccue 2023-11-07T18:25:08.723679Z

I don't know what the root cause was there, but switching to -jar fixed it^

emccue 2023-11-07T18:26:25.149129Z

separate issue though - is there a way to get github actions to build an exe with native image that works with m1 macs? This is my current config https://github.com/bowbahdoe/jresolve-cli/blob/main/.github/workflows/buildexe.yml (windows is broken, but i think i'll figure that out)

borkdude 2023-11-07T18:37:34.012479Z

No, GHA doesn't have aarch64 support

phronmophobic 2023-11-07T18:43:39.485039Z

I thought they did have aarch64 support, but it's just expensive: https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/

borkdude 2023-11-07T18:44:08.447359Z

yeah, no free support like cirrus

👍 1
emccue 2023-11-07T18:45:20.253309Z

what is cirrus?

borkdude 2023-11-07T18:45:48.422089Z

a CI

borkdude 2023-11-07T18:45:59.088689Z

babashka etc use it to build for m1 / aarch64

emccue 2023-11-07T18:46:26.737409Z

ah...bummer

emccue 2023-11-07T18:47:26.988019Z

well, anyways