Skip to content
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

Module GI.Gio.Interfaces.ListModel not found when building gi-pango #386

Closed
lyiriyah opened this issue Jul 9, 2022 · 4 comments
Closed

Comments

@lyiriyah
Copy link

lyiriyah commented Jul 9, 2022

When attempting to build gi-pango, stack gives this error:

gi-pango> /tmp/stack-0ce24e52a003510a/gi-pango-1.0.25/GI/Pango/Objects/FontFamily.hs:144:1: error:
gi-pango>     Could not load module ‘GI.Gio.Interfaces.ListModel’
gi-pango>     It is a member of the hidden package ‘gi-gio-2.0.29’.
gi-pango>     Perhaps you need to add ‘gi-gio’ to the build-depends in your .cabal file.
gi-pango>     Use -v (or `:set -v` in ghci) to see a list of the files searched for.
gi-pango>     |       
gi-pango> 144 | import qualified GI.Gio.Interfaces.ListModel as Gio.ListModel
gi-pango>     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Arch Linux, GHC 9.0.1, pango 1:1.50.8-1

@lyiriyah lyiriyah changed the title Module GI.Gio.Interfaces.ListModel not found when building `gi-pango1 Module GI.Gio.Interfaces.ListModel not found when building gi-pango Jul 9, 2022
@lyiriyah lyiriyah changed the title Module GI.Gio.Interfaces.ListModel not found when building gi-pango Module GI.Gio.Interfaces.ListModel not found when building gi-pango Jul 9, 2022
@garetxe
Copy link
Collaborator

garetxe commented Jul 9, 2022

Thanks for the report!

I have just uploaded gi-pango-1.0.26 to hackage, would you mind checking if building against that version works for you?

@Seppli11
Copy link

Seppli11 commented Jul 9, 2022

I just successfully compiled it with gi-pango-1.0.26.
My version of pango is 1.50.8-1 as well.

@lyiriyah
Copy link
Author

Yep, all compiles fine now. Thank you, @garetxe!

@garetxe
Copy link
Collaborator

garetxe commented Jul 10, 2022

Great, thanks for checking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants