You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Error in userspace/sysdig/CMakeLists.txt:
Imported target "PkgConfig::LIBSINSP" includes non-existent path
"/tmp/guix-build-falcosecurity-libs-0.15.1.drv-0/source"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
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.
A workaround is to remove the @SINSP_PKG_CONFIG_INCLUDES@ template variable from the userspace/libsinsp/libsinsp.pc.in source file before configuration.
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
The text was updated successfully, but these errors were encountered: