babashka-sci-dev

borkdude 2024-10-02T12:45:45.371349Z

@rahul080327 for building aarch64 we use {:machine {:image "ubuntu-2004:202111-01"}} but this image is not available anymore. We used this image because it had the right minimum glibc version (2.31). so we need to either • use a different machine image that still has glibc 2.31 • accept a slightly higher glibc version in a different image which means you can't run bb on older environments

✅ 1
lispyclouds 2024-10-05T10:03:10.317079Z

thinking about this a bit more, since we favour the musl static bin more, made it the default for install.sh in all linuxes, do we phase out the dynamic bin? Do we know the usage for it?

lispyclouds 2024-10-05T10:03:27.398579Z

we dont care about glibc anymore then

borkdude 2024-10-05T10:04:30.955609Z

this is about the aarch64 binary which doesn't support musl

lispyclouds 2024-10-05T10:05:16.474479Z

ah yes, makes sense. yeah will think if/when it does

borkdude 2024-10-05T10:05:32.530769Z

> yeah will think if/when it does ?

lispyclouds 2024-10-05T10:06:05.457419Z

if the aarch64 starts supporting musl someday, we can think of removing the glibc ones

borkdude 2024-10-05T10:07:09.889609Z

yeah. another concern people sometimes have with a static binary is that they can't upgrade things that are deemed unsafe, but I guess we'll think about it when the day comes that aarch64 supports musl (in graalvm) which may take a long time

➕ 1
borkdude 2024-10-05T10:07:35.157179Z

as long as things just run, I don't have a reason to remove them

lispyclouds 2024-10-05T10:08:03.430209Z

yeah for me dropping some build infra is also nice

borkdude 2024-10-05T10:09:18.126159Z

hehe, https://github.com/babashka/babashka/commits/master/.circleci

borkdude 2024-10-02T12:47:05.888779Z

Any recommendations?

lispyclouds 2024-10-02T12:52:20.519669Z

I’m away from the computer for a while, this image is something built by circle right? Is it possible to use an older lein image from the docker repos? The ones that are marked “official”

borkdude 2024-10-02T12:57:45.791779Z

"ubuntu-2004:2024.05.1" works

lispyclouds 2024-10-02T12:58:14.271349Z

That has a newer glibc?

borkdude 2024-10-02T12:58:44.979199Z

does it?

borkdude 2024-10-02T12:58:59.494999Z

no it passes the check

borkdude 2024-10-02T12:59:03.808069Z

note that it's still 2004

borkdude 2024-10-02T12:59:07.516069Z

but with a tag from 2024

lispyclouds 2024-10-02T13:01:40.687729Z

Right, I have limited computing access now can’t check. If it passes the glibc check we should be good