babashka-sci-dev

lispyclouds 2022-12-09T14:08:19.209759Z

moving the discussion on https://github.com/babashka/babashka/pull/1445 here @thiagokokada whats the thing that breaks when those two vars are set? this just for my info 🙂

kokada 2022-12-09T14:14:53.505229Z

It tried to run setup-musl script with BABASHKA_ARCH set as amd64

lispyclouds 2022-12-09T14:40:45.265889Z

Right and the error GraalVM only supports building static binaries on x86_64. comes from the setup-musl?

lispyclouds 2022-12-09T14:41:09.601589Z

i was thinking that var messes up the call to native-image somehow?

kokada 2022-12-09T14:59:39.610059Z

> Right and the error GraalVM only supports building static binaries on x86_64. comes from the setup-musl? Yes

lispyclouds 2022-12-09T15:00:27.687219Z

ahh i see it, been a while for me too 😅

kokada 2022-12-09T15:01:28.686089Z

BTW, the build error is probably some flaky test

kokada 2022-12-09T15:01:36.939019Z

It is not related to the bump at all

lispyclouds 2022-12-09T15:01:44.802039Z

yeah we've seen it before

lispyclouds 2022-12-09T15:01:55.226019Z

looks fine for me, merging it

kokada 2022-12-09T15:02:05.593289Z

thanks3

lispyclouds 2022-12-09T15:02:28.914469Z

maybe will try a rerun on the flaky one once

borkdude 2022-12-09T15:31:30.472989Z

thanks

borkdude 2022-12-09T15:36:03.609299Z

From the GraalVM slack: > Yeah, so just pick an old base image and use that. This is a very old and long-standing Linux problem. It bites everyone eventually and then you learn the hacks. ~20 years ago I wrote a tool that could compile native code on newer Linux distros/glibcs whilst enabling them to run on older distros, using a variety of obscure linker/compiler features. That sort of thing never became mainstream though because Linux distros assume they're the only distributor of binaries and everything gets compiled as a unit. Closed world assumption on a bigger scale. (edited)

borkdude 2022-12-09T15:36:15.096329Z

So I guess all graal projects should be mindful about it

borkdude 2022-12-09T15:37:10.561479Z

Perhaps it's better to just base off debian and then install everything yourself

lispyclouds 2022-12-09T16:00:45.557039Z

Still at some point we'll have the issue i guess. And on debian stable if we're updating could be quite a lot every 2 years or so