Skip to content

Conversation

@irozzo-1A
Copy link
Contributor

@irozzo-1A irozzo-1A commented Oct 16, 2025

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:

Running the k8smeta plugin with Falco 0.42.0-rc1 is causing the following crash:

Thu Oct 16 16:57:34 2025: [libs]: Trying to open the right engine!
free(): invalid pointer
Aborted

This PR simplifies the cmake scripts by using find_package and VCPKG, this guarantees that all the dependencies are correctly linked in the shared lib.
It also generate the gRPC files using protobuf_generate instead of using a custom command.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@poiana
Copy link
Contributor

poiana commented Oct 16, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: irozzo-1A
Once this PR has been reviewed and has the lgtm label, please assign leogr for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana added the size/L label Oct 16, 2025
@irozzo-1A irozzo-1A changed the title chore(k8smeta): simplify cmake scripts and use VCPKG for dependencies chore(k8smeta): simplify cmake scripts and use Vcpkg for dependencies Oct 17, 2025
@github-actions
Copy link

Rules files suggestions

@github-actions
Copy link

Rules files suggestions

@irozzo-1A irozzo-1A force-pushed the use-vcpkg-for-k8smeta branch from f8268f0 to c0da017 Compare October 17, 2025 10:44
@irozzo-1A irozzo-1A marked this pull request as ready for review October 17, 2025 11:02
@irozzo-1A irozzo-1A force-pushed the use-vcpkg-for-k8smeta branch from 8e6c9e4 to 9b73fc0 Compare October 17, 2025 11:15
@github-actions
Copy link

Rules files suggestions

@irozzo-1A irozzo-1A force-pushed the use-vcpkg-for-k8smeta branch from 9b73fc0 to b8cf808 Compare October 17, 2025 15:42
@irozzo-1A irozzo-1A marked this pull request as draft October 17, 2025 16:27
@irozzo-1A irozzo-1A force-pushed the use-vcpkg-for-k8smeta branch 3 times, most recently from 7c84c87 to cd5490e Compare October 18, 2025 00:54
@poiana poiana added size/XXL and removed size/L labels Oct 18, 2025
@github-actions
Copy link

Rules files suggestions

@github-actions
Copy link

Rules files suggestions

1 similar comment
@github-actions
Copy link

Rules files suggestions

Simplify the cmake scripts by using `find_package` and VCPKG.
Also generate the gRPC files using `protobuf_generate` instead of using
a custom command.

Signed-off-by: Iacopo Rozzo <[email protected]>
@irozzo-1A irozzo-1A force-pushed the use-vcpkg-for-k8smeta branch from a22c71e to 451f94b Compare October 23, 2025 10:28
@poiana poiana added size/L and removed size/XXL labels Oct 23, 2025
@github-actions
Copy link

Rules files suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants