-
Notifications
You must be signed in to change notification settings - Fork 697
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
Cabal 3.8 checks for literally all pkg-config packages in the system #8494
Comments
@arrowd wrote
Does this make |
@andreasabel Nope, this is a different problem:
|
Oh, maybe this has something to do with the fact that FreeBSD uses |
I think this is due to #8455? Try |
@sternenseemann wrote:
In my case not. The |
So, upstream came back with an analysis: Homebrew/homebrew-core#112785 |
We just hit this at work. It's quite hard to diagnose, since it manifests a bit obscurely. |
If
Perhaps if the invocation of Additionally the problem was reproduced in with For the same project, |
Describe the bug
When the
.cabal
package being built containspkgconfig-depends
, thecabal-install
tool checks for everypkg-config
package installed. If any of these packages are broken for some reason the build fails even if the Cabal package doesn't use it.To Reproduce
Find out which directories are searched by
pkg-config
:Create an invalid
aaa.pc
package description forpkg-config
in one of those dirs:Trying to get an information for this package will result in error:
Now try to build any Cabal package with
pkgconfig-depends
:It fails claiming that
gi-atk.pc
wasn't found even if it is installed:Expected behavior
Package configuration should be successful since the package isn't using
aaa
.System information
cabal
3.8.1.0ghc
9.2.4Additional context
#8446
The text was updated successfully, but these errors were encountered: