pkgconf --modversion provided-module
segfaults #172
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?
Version:
1.4.1
from release tarballIssue
When
--modversion
is run on a module that is provided by some other module, a segfault occurs. This is independent of the way the version is specified for the provided module (=
,>
, etc.).Context
I'm currently experimenting with
Provides:
for various implementations of some reference implementation/standard. This is for use inmeson
, the libraries in question being BLAS, LAPACK and MPI.These are my
openblas.pc
,ompi.pc
andscalapack.pc
files:There is no
blas.pc
,lapack.pc
ormpi.pc
. A minimal working example for meson:Finding scalapack works, because meson effectively calls
$PKG_CONFIG scalapack --libs
, that resolves theRequires
properly. For blas on the other hand it is calling$PKG_CONFIG --modversion blas
, which produces a segfault.Not sure what the output of
pkgconf --modversion provided-module
should be. I don't think one can just print the version information of the provided module, as it would break drop-in compatibility withpkg-config
(which expects a version string, not stuff like!= 1.0.0
).this will be in pkgconf 1.4.2.