Open Apteryks opened 5 months ago
A workaround is to remove the @SINSP_PKG_CONFIG_INCLUDES@
template variable from the userspace/libsinsp/libsinsp.pc.in
source file before configuration.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten
/remove-lifecycle rotten
Describe the bug
Notice the references to
/tmp/guix-build-falcosecurity-libs-0.15.1-drv-0
in the pkg-configlibsinsp.pc
file, as shown by the grep command below:This then causes issues like:
With CMake when one tries to use it with
pkg_check_modules
.How to reproduce it
Build it in a different location than its installation prefix.
Expected behaviour
The pkg-config file include directives in CFLAGS should refer to the installed files in their final location (installation prefix), not those from the build tree.
Environment