We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If $PKG_CONFIG contains an absolute path, that path will be used to run pkg-config.
It tries to splice the absolute path given to each entry in $PATH and then fails because (in normal circumstances) none of them exist.
In a package that depends on pkg-config (this came up with lablgtk), do export PKG_CONFIG=/usr/bin/pkg-config (or wherever), then run dune build.
dune
dune --version
ocaml
ocamlc --version
Check for an absolute path in which in otherlibs/configurator/src/v1.ml, e.g. with Filename.is_relative.
which
otherlibs/configurator/src/v1.ml
Filename.is_relative
The text was updated successfully, but these errors were encountered:
Downstream patch is here: https://mail-index.netbsd.org/pkgsrc-changes/2024/11/30/msg311600.html
(but it doesn't use Filename.is_relative, which would probably be better for upstream)
Sorry, something went wrong.
I looked into this and I think this was fixed by #10937
released in 3.17 too
anmonteiro
No branches or pull requests
Expected Behavior
If $PKG_CONFIG contains an absolute path, that path will be used to run pkg-config.
Actual Behavior
It tries to splice the absolute path given to each entry in $PATH and then fails because (in normal circumstances) none of them exist.
Reproduction
In a package that depends on pkg-config (this came up with lablgtk), do export PKG_CONFIG=/usr/bin/pkg-config (or wherever), then run dune build.
Specifications
dune
(output ofdune --version
): 3.11.1, which is old; but the relevant code is the same on headocaml
(output ofocamlc --version
) 4.12.2 (but irrelevant)Fix
Check for an absolute path in
which
inotherlibs/configurator/src/v1.ml
, e.g. withFilename.is_relative
.The text was updated successfully, but these errors were encountered: