-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
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
pkg-config for libarchive #120526
Comments
What does
|
Ah, yes exactly that. |
I think that makes this related to #117869. The work-around is good for me for now. Can I keep this issue open to track the bug? The workaround from that issue (for those who need it and find this thread googling) is to remove |
It seems that this breaks building |
pkg-config --exists also checks dependencies are present on macOS, and due to some packaging issues with upstream libarchive this is breaking the build for cheribsd and freebsd. Closes CTSRD-CHERI#340. See Homebrew/homebrew-core#120526 for tracking of this issue as it relates to macOS.
) pkg-config --exists also checks dependencies are present on macOS, and due to some packaging issues with upstream libarchive this is breaking the build for cheribsd and freebsd. Closes #340. See Homebrew/homebrew-core#120526 for tracking of this issue as it relates to macOS.
Required because of Homebrew/homebrew-core#120526
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output" saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Running some build automation checks whether libarchive is installed using
pkg-config --exists libarchive
, and fails becausepkg-config
returns 1 even when I have updated the PKG_CONFIG_PATH environment variable to point to thelibarchive.pc
file as described inbrew info libarchive
.What happened (include all command output)?
pkg-config appears to be able to see the package when queried with
--modversion
, but it returns 1 (false) when asked if the package exists using the--exists
option.What did you expect to happen?
I expect
pkg-config
to return 0 when the package is installed and the .pc file is on the PKG_CONFIG_PATH.Step-by-step reproduction instructions (by running
brew
commands)I've tried this on two separate Macs, both running Ventura 13.1 (22C65).
The text was updated successfully, but these errors were encountered: