did anyone manage to compile a Kotlin Native project for linux in a docker container?
in my case, the build just keeps failing
currently, the error looks like "idunno, something didnt work" to me, so I have no idea how to even approach this
r
rnett
03/03/2022, 5:24 AM
Do you have gzip installed? Try untaring a gzipped
.tar.gz
file, it will probably reproduce the error
rnett
03/03/2022, 5:25 AM
I would think it's included by default but without knowing your container who knows
2 Fatal error. This means that some fatal, unrecoverable error occurred.
which isn't super helpful, but aside from gzip missing it's hard to imagine much else it could be
ephemient
03/03/2022, 6:33 AM
or maybe your container image uses some other tar implementation. tar is not really a unified format, https://www.gnu.org/software/tar/manual/html_node/Standard.html
looks like that particular tarball has GNU extensions, and I suppose it's possible that if your container uses some other implementation it might fail? (harder to imagine what that could be, because bsdtar and busybox tar should support GNU extensions, and I don't see a good reason why your container image would use anything more esoteric than that)
w
Wietlol
03/05/2022, 10:28 AM
installing gzip as well did indeed resolve the issue, thanks!