build problem with suricata
Hi all,
Commit 4c195f6dd000231e5c7797cf0d9202b6339f861d "classes/cargo: merge oe_cargo_build into cargo_do_compile" [0] causes the suricata build to fail because suricata on scarthgap uses oe_cargo_build [1] which was removed by this commit.
I would be happy to do the change but I am not sure what the process is within meta-lts-mixins. Would it be a revert then of this commit or something else?
[0] https://git.openembedded.org/openembedded-core/commit/?id=a64ac03a6146555f1847cdf43e3f86d14f6e506d
[1] https://git.yoctoproject.org/meta-security/tree/recipes-ids/suricata/suricata_7.0.13.bb?h=scarthgap#n99
Patrick
Hi all,
Commit 4c195f6dd000231e5c7797cf0d9202b6339f861d "classes/cargo: merge oe_cargo_build into cargo_do_compile" [0] causes the suricata build to fail because suricata on scarthgap uses oe_cargo_build [1] which was removed by this commit.
I would be happy to do the change but I am not sure what the process is within meta-lts-mixins. Would it be a revert then of this commit or something else?
[0] https://git.openembedded.org/openembedded-core/commit/?id=a64ac03a6146555f1847cdf43e3f86d14f6e506d
[1] https://git.yoctoproject.org/meta-security/tree/recipes-ids/suricata/suricata_7.0.13.bb?h=scarthgap#n99
Patrick
Quoted 9 lines · On Thu, 26 Nov 2026, [email protected] wrote:
Hi all,
Commit
4c195f6dd000231e5c7797cf0d9202b6339f861d"classes/cargo: mergeoe_cargo_buildintocargo_do_compile" [0] causes the suricata build to fail because suricata on scarthgap usesoe_cargo_build[1] which was removed by this commit.I would be happy to do the change but I am not sure what the process is within meta-lts-mixins. Would it be a revert then of this commit or something else?
[0] https://git.openembedded.org/openembedded-core/commit/?id=a64ac03a6146555f1847cdf43e3f86d14f6e506d
[1] https://git.yoctoproject.org/meta-security/tree/recipes-ids/suricata/suricata_7.0.13.bb?h=scarthgap#n99
I do not intend to revert that change in scarthgap/rust, as the branch has over 18 months of maintenance remaining, and I do not want to increase the difficulty of backporting from oe-core master. As well, I believe from looking at what the suricata recipe was doing while fixing it for meta-security master branch that overriding oe_cargo_build should not be common. I've been getting sidetracked from updating scarthgap branch in meta-security, but I aim to get an update out in the next week or so, and will work in a fix for this.
Thanks,
Scott