<FromGitter>
<Blacksmoke16> did you run `brew update` first?
* FromGitter
* djberg96 tries that
<straight-shoota>
or just brew install crystal
hightower2 has joined #crystal-lang
<FromGitter>
<djberg96> looks like that worked, thanks
hightower3 has joined #crystal-lang
<hightower3>
Hey so, I have a docker container which uses 'alpine' image and compiles something with 'crystal build --release --static'. With no changes in code, sometime in the past 7 days the compilation stopped working and instead reports: #16 16.66 BUG: called create_llvm_type for K (Exception)
<hightower3>
would you have any hints?
<FromGitter>
<Blacksmoke16> does it reproduce on `1.2` but not `1.1`? could just be a regression when it pulled the new image
<hightower3>
funny thing is it seems it's compiling with 1.0.0, which (at least I think) was used before as well. Or maybe the change happened from 0.35 to 1.0.0
<hightower3>
I'm gonna try downgrading the container image to lower version, just to have some starting point
<straight-shoota>
Which Crystal version are you using? 1.0.0? Please try with the latest release 1.2.1
<hightower3>
yeah, trying just now, thanks
<hightower3>
(trying with alpine:edge image)
<hightower3>
hm, with edge, the error is: #18 120.3 /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/crystal/core/openssl/digest.cr:75: undefined reference to `EVP_MD_size`
<hightower3>
(didn't yet check where that belongs in terms of solvability)
<hightower3>
(openssl is version 3 in edge)
<hightower3>
well, ok, will play around on my own, thanks for comments
<straight-shoota>
Otherwise, just pin openssl to 1.1.1 in your alpine container
<FromGitter>
<djberg96> oh lawdy, brew toast now
<hightower3>
straight-shoota, I commented the parts of code which used those things from openssl, and it did compile with crystal 1.2.1 from alpine:edge.
hightower3 has quit [Quit: Leaving]
casionaut has quit [Remote host closed the connection]