Ineffective '--with-path' parameter in pkg-config call #214
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The pkgconf/pkg-config command provided by ubuntu doesn't have the
--with-path
parameter [1]. The build system of trace-cmd however relies on it, cf inmake-trace-cmd.sh
.Another issue is that the
--with-path
parameter doesn't modify the paths the pkg-config command uses to look for packages.Indeed:
The paths pkg-config uses are not modified. This means that in the
Makefile
of libtraceevent [2] and libtracefs [3] repositories, the following bit:are not picking the path where to install the libraries correctly, and using the '--with-path' parameter in 'make-trace-cmd.sh' is not effective.
It should be possible to reproduce this issue when coming to building
libtracefs
when following the steps in thePACKING
file:[1] http://manpages.ubuntu.com/manpages/hirsute/man1/pkg-config.1.html
[2] https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git
[3] https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
Closed as I filled the issue for the wrong project
--with-path
is a pkgconf addition. ubuntu uses freedesktop pkg-config, unless you explicitly install pkgconf itself.