Re: [meta-security][PATCH v2 1/1] suricata: update 7.0.13 -> 8.0.4

Clayton Casciato <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
> It looks like the Lua 5.5.0 upgrade in oe-core has non-trivially broken
> the 8.0.x suricata build.  There's a somewhat straightforward issue with
> a new argument to lua_newstate, but after that there are link errors that
> the more I poked around the more I'm thinking there's some oddness wrt 
> their vendoring a copy of Lua (5.4.8) for the Rust side of things.  I
> don't see any signs of the build process for the .c files under src 
> pointing at that source, but then AFAICT everything kind of gets lumped
> together when linking the final suricata binary...  If you have the time
> to try to untangle this, please do so, as I cannot guarantee that I get 
> to it in the next week or two.
>@
> Thanks,
>@
> Scott

Thanks for the hint, Scott!

It appears an external Lua implementation is not required at build time.

I instead configured a variable ("SURICATA_LUA_SYS_HEADER_DST") for v2: 
https://lists.yoctoproject.org/g/yocto-patches/topic/meta_security_patch_v2_0_1/118966848
https://lists.yoctoproject.org/g/yocto-patches/topic/meta_security_patch_v2_1_1/118966849

Clayton Casciato
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.