Fork me on GitHub
#babashka
<
2024-04-26
>
borkdude14:04:17

I'm working on an issue with Windows, bbin and deps.clj: https://github.com/babashka/bbin/issues/80 Unfortunately my Windows PC won't boot again (I probably need to replace the power supply...) so if anyone wants to help verify/find the problem, you're welcome

1
mmer14:04:21

Its not caused by the fact that windows does not support symlinks ( at least not like linux ) just guessing.

borkdude14:04:04

the exception seems to happen when trying to relativize a file which is from a different root (which means, I think, on Windows: from a different drive, e.g. c:/dude and d:/dude )

borkdude14:04:01

also, Windows 11 and Windows 10 both support symbolic links I read on some webpage. So the issue could be that on CI some .gitlib folder really lives on a different drive, which then causes the above problem

borkdude14:04:28

but this is damn hard to verify without my windows pc

mmer14:04:44

You are beyond my understanding - hope you find a fix and/or fixer.

borkdude14:04:02

Perhaps someone with Windows can at least try to run the bbin tests locally to see if they get the same exception locally (with a new version of bb)

Ingy döt Net14:04:11

@U04V15CAJ you can run GHA tmate action in windows and shell in

borkdude14:04:38

aha, let me check that out, thanks

borkdude15:04:04

thanks, I'm in. And as I was suspecting, the path here starts with /d/.. while some other stuff is on /c/.. and thus you can't relativize the path

🙌 1
borkdude15:04:24

also my PC started working again. Just a break solves about everything it seems

😂 2
borkdude18:04:54

I've fixed the problem in bb but now I'm trying to get a custom bb installed on Windows. How the heck do I add this binary to the Windows path. This fails: https://github.com/babashka/bbin/actions/runs/8852919505/job/24312593493

borkdude20:04:01

ok, hacked that this way: installed bb using github actions and then in shell bash under windows:

cp bb.exe "$(which bb)"
😏

borkdude20:04:47

and confirmed that the fix fixed the issue. boy oh boy, this Windows issue took my entire day... good weekend everyone

❤️ 1
borkdude20:04:36

thanks for that tmate action, that was gold

Ingy döt Net21:04:19

You're very welcome. Glad I could help you a tiny bit for all the help you've given me.

❤️ 2