Bug#1055626: cabal-install: pkg-config package gtk4-any, not found in the pkg-config database
Ilias Tsitsimpis
iliastsi at debian.org
Thu Nov 9 18:53:59 GMT 2023
Control: tags -1 unreproducible
Hi!
On Thu, Nov 09, 2023 at 04:01AM, Elizaveta L. wrote:
> When I try to install gi-gtk-4.0.8 I get the following error
>
> ```
> Resolving dependencies...
> Error: cabal: Could not resolve dependencies:
> [__0] next goal: gi-gtk (user goal)
> [__0] rejecting: gi-gtk-4.0.8 (conflict: pkg-config package gtk4-any, not
> found in the pkg-config database)
> [__0] rejecting: gi-gtk-4.0.6, gi-gtk-4.0.5, gi-gtk-4.0.4, gi-gtk-4.0.3,
> gi-gtk-4.0.2, gi-gtk-4.0.1, gi-gtk-3.0.41, gi-gtk-3.0.39, gi-gtk-3.0.38,
> gi-gtk-3.0.37, gi-gtk-3.0.36, gi-gtk-3.0.35, gi-gtk-3.0.34, gi-gtk-3.0.33,
> gi-gtk-3.0.32, gi-gtk-3.0.31, gi-gtk-3.0.30, gi-gtk-3.0.29, gi-gtk-3.0.28,
> gi-gtk-3.0.27, gi-gtk-3.0.26, gi-gtk-3.0.25, gi-gtk-3.0.24, gi-gtk-3.0.23,
> gi-gtk-3.0.22, gi-gtk-3.0.21, gi-gtk-3.0.20, gi-gtk-3.0.19, gi-gtk-3.0.18,
> gi-gtk-3.0.17, gi-gtk-3.0.16, gi-gtk-3.0.15, gi-gtk-3.0.14, gi-gtk-3.0.13,
> gi-gtk-3.0.12, gi-gtk-3.0.11, gi-gtk-3.0.10, gi-gtk-3.0.9, gi-gtk-3.0.8,
> gi-gtk-3.0.7, gi-gtk-3.0.6, gi-gtk-3.0.5, gi-gtk-3.0.4, gi-gtk-3.0.3,
> gi-gtk-3.0.2, gi-gtk-3.0.1, gi-gtk-0.3.18.15, gi-gtk-0.3.18.14,
> gi-gtk-0.3.18.13, gi-gtk-0.3.18.12, gi-gtk-0.3.16.12, gi-gtk-0.3.18.10,
> gi-gtk-0.3.16.11, gi-gtk-0.3.16.10, gi-gtk-0.3.16.9, gi-gtk-0.3.16.8
> (constraint from user target requires ==4.0.8)
> [__0] fail (backjumping, conflict set: gi-gtk)
> After searching the rest of the dependency tree exhaustively, these were the
> goals I've had most trouble fulfilling: gi-gtk
> ```
>
> Apt says that `libgtk-4-dev is already the newest version (4.12.3+ds-2)`.
I tried this in a clean unstable environment and cannot reproduce it.
Here is what I did:
$ docker run --rm -ti debian:sid
# apt update
# apt upgrade -y
# apt install -y cabal-install pkg-config libgtk-4-dev libatk1.0-dev
# cabal update
# cabal get gi-gtk-4.0.8
# cd gi-gtk-4.0.8
# cabal build
The above builds gi-gtk-4.0.8 successfully. Maybe something is wrong
with your environment?
Best,
--
Ilias
More information about the Pkg-haskell-maintainers
mailing list