[go: up one dir, main page]

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

Build of gi-glib-2.0.25 fails on FreeBSD #437

Open
lenoil98 opened this issue May 9, 2024 · 1 comment
Open

Build of gi-glib-2.0.25 fails on FreeBSD #437

lenoil98 opened this issue May 9, 2024 · 1 comment

Comments

@lenoil98
Copy link
lenoil98 commented May 9, 2024

Building an applications that requires this version gi-glib-2.0.25. The build fails with the following error:

...
[101 of 120] Compiling GI.GLib.Functions ( GI/GLib/Functions.hs, dist/build/GI/GLib/Functions.o )

GI/GLib/Functions.hs:5190:34: error:
• Couldn't match type ‘Char’ with ‘CInt’
Expected type: Ptr CInt
Actual type: Ptr Char
• In the first argument of ‘g_unicode_canonical_ordering’, namely
‘string'’
In a stmt of a 'do' block: g_unicode_canonical_ordering string' len
In the second argument of ‘($)’, namely
‘do let len = fromIntegral $ length string
string' <- packStorableArray string
g_unicode_canonical_ordering string' len
freeMem string'
....’
|
5190 | g_unicode_canonical_ordering string' len
| ^^^^^^^

Any recommendations?

@garetxe
Copy link
Collaborator
garetxe commented Jun 12, 2024

Thanks for the report! Could you please put GLib-2.0.gir somewhere I could take a look? In Linux it's located under /usr/share/gir-1.0. Many thanks in advance!

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

No branches or pull requests

2 participants