ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
renich has quit [Remote host closed the connection]
renich has joined #crystal-lang
ur5us_ has joined #crystal-lang
renich has quit [Read error: Connection reset by peer]
<FromGitter> <shootingfly> I meet a problem when doing `shards install` in docker. Can anyone help me? ⏎ ⏎ It works in my MacOS, ⏎ ⏎ ```code paste, see link``` ... [https://gitter.im/crystal-lang/crystal?at=62427a8bc61ef0178e968026]
<FromGitter> <Blacksmoke16> @shootingfly what happens if you run like `cat /dev/urandom | base64 | head -c 5` on that server
<FromGitter> <Blacksmoke16> pretty sure the gist of it is your kernel is too old ⏎ ⏎ > getrandom() was introduced in version 3.17 of the Linux kernel.
<FromGitter> <Blacksmoke16> https://crystal-lang.org/reference/1.3/platform_support.html#tier-1 assuming the `2.6.18+` references the linux kernel version supported, that either needs updated, or this is a bug and something needs to be done to handle this
<FromGitter> <shootingfly> > @shootingfly what happens if you run like `cat /dev/urandom | base64 | head -c 5` on that server
<FromGitter> <shootingfly> > @shootingfly what happens if you run like `cat /dev/urandom | base64 | head -c 5` on that server ⏎ ⏎ Gh72p
<FromGitter> <Blacksmoke16> okay yea, it exists but the syscall doesnt so it fails. I'd prob file an issue for it
<FromGitter> <Blacksmoke16> outcome is either a) update min required linux kernel version, or b) fallback on something if this syscall isn't implemented
She has left #crystal-lang [Just seeing how things are here.]
ur5us_ has quit [Ping timeout: 260 seconds]
jmdaemon has quit [Ping timeout: 272 seconds]
jmdaemon has joined #crystal-lang
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]
jmdaemon has joined #crystal-lang
ur5us_ has joined #crystal-lang
<FromGitter> <moe:busyloop.net> @shootingfly: fwiw, if you don't want to upgrade your jenkins host - jenkins has great support for remote agents. you can spin up a VM with a recent kernel on DO or vultr and have jenkins use it to perform your build in minutes https://www.jenkins.io/doc/book/using/using-agents/
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #crystal-lang
ur5us_ has quit [Ping timeout: 245 seconds]
<FromGitter> <shootingfly> I degrate my Crystal version from 1.3.3 to 1.2.2. Now it works. It is also wrong in v1.3
ur5us has joined #crystal-lang
<FromGitter> <shootingfly> Shootingfly @shootingfly 15:28 ⏎ @Blacksmoke16 @moe:busyloop.net It works well now. I degrate Crystal version from v1.3.3 to v1.2.2 . It is also wrong in v1.3.0.
<FromGitter> <shootingfly> @Blacksmoke16 @moe:busyloop.net It works well now. I degrate Crystal version from v1.3.3 to v1.2.2 . It is also wrong in v1.3.0.
<FromGitter> <shootingfly> > okay yea, it exists but the syscall doesnt so it fails. I'd prob file an issue for it ⏎ ⏎ Thanks.
<FromGitter> <shootingfly> > @shootingfly: fwiw, if you don't want to upgrade your jenkins host - jenkins has great support for remote agents. you can spin up a VM with a recent kernel on DO or vultr and have jenkins use it to perform your build in minutes https://www.jenkins.io/doc/book/using/using-agents/ ⏎ ⏎ Thanks. I will ask my ops partner to try it.
<FromGitter> <moe:busyloop.net> yup, that said, upgrading your jenkins host may also be a good idea in general. ⏎ your kernel is 9yrs old - crystal is likely not the only software that will complain ;)
<FromGitter> <shootingfly> > yup, that said, upgrading your jenkins host may also be a good idea in general. ⏎ > your kernel is 9yrs old - crystal is likely not the only software that will complain ;) ⏎ ⏎ I think you are right. I always upgrade softwares to the latest. But I have no permission to upgrade jenkins and kernel, it is my partner'job. [https://gitter.im/crystal-lang/crystal?at=6242b81b6b91242320582db2]
jmdaemon has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 250 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 260 seconds]
taupiqueur_ has joined #crystal-lang
yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
yxhuvud has joined #crystal-lang
taupiqueur_ has quit [Ping timeout: 272 seconds]
<FromGitter> <Blacksmoke16> Oh interesting
<FromGitter> <Blacksmoke16> Must be a regression then, so definitely file an issue
<FromGitter> <moe:busyloop.net> mh. i don't think crystal team should spend extra work to support ancient kernels. ⏎ apparently `getrandom` was added in 2017; https://lwn.net/Articles/711013/
taupiqueur has joined #crystal-lang
taupiqueur_ has joined #crystal-lang
taupiqueur has quit [Read error: Connection reset by peer]
taupiqueur has joined #crystal-lang
taupiqueur_ has quit [Ping timeout: 256 seconds]
jmdaemon has joined #crystal-lang
taupiqueur_ has joined #crystal-lang
taupiqueur has quit [Ping timeout: 272 seconds]
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]
jmdaemon has joined #crystal-lang
renich has joined #crystal-lang
taupiqueur has joined #crystal-lang
taupiqueur_ has quit [Ping timeout: 260 seconds]
ur5us has joined #crystal-lang
taupiqueur has quit [Ping timeout: 272 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Quit: taupiqueur]
renich has quit [Remote host closed the connection]
renich has joined #crystal-lang
ur5us has quit [Ping timeout: 260 seconds]