babashka-sci-dev

borkdude 2022-03-28T12:09:29.603239Z

@thiagokokada The static build of clj-kondo is failing, but I don't know why. If you have time, maybe you could take a peek to see if something looks weird?

kokada 2022-03-28T12:10:20.436499Z

Can you link the build logs 👀 ?

kokada 2022-03-28T12:11:45.566479Z

Just found it

kokada 2022-03-28T12:12:05.575849Z

zlib-1.2.11.tar.gz: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match

kokada 2022-03-28T12:13:02.495989Z

Probably from here

kokada 2022-03-28T12:13:10.891499Z

Now, why the checksum changed?

kokada 2022-03-28T12:13:22.249069Z

It shouldn't

kokada 2022-03-28T12:14:02.282149Z

Huh... There is a new 1.2.12 release

kokada 2022-03-28T12:14:07.154879Z

So this should be updated anyway

kokada 2022-03-28T12:15:28.806599Z

It seem they removed the 1.2.11 release:

curl 

<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

kokada 2022-03-28T12:15:33.708869Z

So this makes sense

kokada 2022-03-28T12:15:50.999719Z

I can open a PR to bump it to 1.2.12

kokada 2022-03-28T12:16:08.795779Z

Also probably it could have returned a better error instead of a checksum mismatch

borkdude 2022-03-28T12:18:18.328629Z

Aaah ok thanks!

borkdude 2022-03-28T12:18:24.454539Z

Please, PR welcome

borkdude 2022-03-28T12:18:29.943819Z

Same probably applies to bb too

kokada 2022-03-28T12:26:04.072449Z

https://github.com/clj-kondo/clj-kondo/pull/1634

borkdude 2022-03-28T12:26:45.383309Z

Thanks a lot, you rule!

kokada 2022-03-28T12:27:41.289709Z

You rule @borkdude! I am just trying to help where I can 🙂

❤️ 1
borkdude 2022-03-28T12:09:38.258139Z

cc @rahul080327

borkdude 2022-03-28T15:31:38.282979Z

@thiagokokada I applied your patch to babashka: https://app.circleci.com/pipelines/github/babashka/babashka/5504/workflows/37d41683-acd9-4183-944d-8013036426d7/jobs/27500 But it seems to result in zip bugs :(

kokada 2022-03-28T15:34:29.977169Z

How are those CRCs being calculated 🤔 ?

borkdude 2022-03-28T15:34:41.536479Z

it seems setup-musl is still using zlib 1.11

borkdude 2022-03-28T15:35:27.648179Z

I'll ping Fabio

kokada 2022-03-28T15:35:55.160859Z

Yeah, I think it is better to ask GraalVM devs

kokada 2022-03-28T15:36:11.195739Z

We can workaround for now by using 1.2.11, but there is a reason that zlib devs removed it from download

kokada 2022-03-28T15:36:36.833349Z

It seems that it has some serious bugs: > Due to the bug fixes, any installations of 1.2.11 should be replaced with 1.2.12.

borkdude 2022-03-28T15:38:14.727879Z

@thiagokokada Maybe you can try to join here: https://graalvm.slack.com/archives/CN9KSFB40/p1648481789750829 Then we can discuss with the graal team

borkdude 2022-03-28T15:43:00.787719Z

files this bug: https://github.com/oracle/graal/issues/4439

kokada 2022-03-28T15:49:14.046639Z

Not sure how this would help

borkdude 2022-03-28T15:49:56.444119Z

Me neither

borkdude 2022-03-28T15:50:39.820269Z

All linux pods depend on musl :/

borkdude 2022-03-28T15:53:17.841849Z

It seems the old one is available here: https://www.zlib.net/fossils/zlib-1.2.11.tar.gz

borkdude 2022-03-28T15:55:14.006539Z

gonna try it

kokada 2022-03-28T16:02:06.814879Z

Well, I was just opening a PR: https://github.com/babashka/babashka/pull/1222/files

borkdude 2022-03-28T16:03:03.478089Z

Feel free to resolve the conflict by just using yours

borkdude 2022-03-28T16:03:06.492439Z

and I'll merge

kokada 2022-03-28T16:06:20.673239Z

Fixed the conflict

kokada 2022-03-28T16:06:25.145059Z

Just to be clear, I didn't test it

kokada 2022-03-28T16:06:31.879859Z

So maybe it is better to wait CI to run

kokada 2022-03-28T16:08:07.974039Z

Well, or we can test it on master 😅

kokada 2022-03-28T16:08:32.055759Z

Anyway, hope the GraalVM folks eventually update the zlib from their side

borkdude 2022-03-28T16:09:34.851539Z

thanks ;)

borkdude 2022-03-28T16:09:37.231459Z

yes

kokada 2022-03-28T16:09:52.008699Z

BTW, I am trying to access the GraalVM Slack but it seems I can't create an account 🤔 ?

borkdude 2022-03-28T16:11:11.997099Z

https://www.graalvm.org/slack-invitation/

kokada 2022-03-28T16:14:06.161689Z

thanks3