|
|
Log in / Subscribe / Register

Kaitai not (really) included in Fedora

Kaitai not (really) included in Fedora

Posted Mar 1, 2023 14:17 UTC (Wed) by pebolle (guest, #35204)
Parent article: Some useful tools for binary formats

kaitai looks interesting. I wanted to play around with it on Fedora. Turns out there is only a python3-kaitaistruct package. Fedora doesn't seem to ship the ksc, the compiler.

I guess Fedora doesn't ship the compiler because Fedora last contained SBT, the Scala build tool, in Fedora 29. That's about five years ago. And SBT is mentioned as a requirement for building the compiler. So I fear playing with this in Fedora requires a lot of yak shaving, involving a language (Scala) that I know only by name.

Has anyone tried to do this nevertheless?

(It's a bit odd that Fedora ships that Python package, because it apparently only allows you to run ksc generated Python code, but not to generate kaitai code by itself. As you seem to need that compiler to do that.)

So my playing around with kaitai stopped after discovering that Fedora doesn't include the tools to do it easily. Which took me an embarrassing amount of time.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds