Ticket #1282 (closed defect: invalid)
pango doesn't build on ghc 7.6
| Reported by: | guest | Owned by: | axel |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.13.0 |
| Component: | Pango bindings | Version: | 0.12.4 |
| Keywords: | ghc,7.6 | Cc: | gtk2hs-bug-tracker@… |
Description (last modified by dmwit) (diff)
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.1
$
$ cabal install pango
Resolving dependencies...
[1 of 2] Compiling SetupWrapper ( /tmp/pango-0.12.4-9759/pango-0.12.4/SetupWrapper.hs, /tmp/pango-0.12.4-9759/pango-0.12.4/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main ( /tmp/pango-0.12.4-9759/pango-0.12.4/Setup.hs, /tmp/pango-0.12.4-9759/pango-0.12.4/dist/setup/Main.o )
Linking /tmp/pango-0.12.4-9759/pango-0.12.4/dist/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring pango-0.12.4...
Building pango-0.12.4...
Preprocessing library pango-0.12.4...
[ 1 of 14] Compiling Graphics.Rendering.Pango.Types ( dist/build/Graphics/Rendering/Pango/Types.hs, dist/build/Graphics/Rendering/Pango/Types.o )
Graphics/Rendering/Pango/Types.chs:254:1:
Unacceptable result type in foreign declaration: CUInt
When checking declaration:
foreign import ccall unsafe "static pango_context_get_type" pango_context_get_type
:: CUInt
Graphics/Rendering/Pango/Types.chs:257:1:
Unacceptable result type in foreign declaration: CUInt
When checking declaration:
foreign import ccall unsafe "static pango_layout_get_type" pango_layout_get_type
:: CUInt
Graphics/Rendering/Pango/Types.chs:260:1:
Unacceptable result type in foreign declaration: CUInt
When checking declaration:
foreign import ccall unsafe "static pango_font_get_type" pango_font_get_type
:: CUInt
Graphics/Rendering/Pango/Types.chs:263:1:
Unacceptable result type in foreign declaration: CUInt
When checking declaration:
foreign import ccall unsafe "static pango_font_family_get_type" pango_font_family_get_type
:: CUInt
Graphics/Rendering/Pango/Types.chs:266:1:
Unacceptable result type in foreign declaration: CUInt
When checking declaration:
foreign import ccall unsafe "static pango_font_face_get_type" pango_font_face_get_type
:: CUInt
Graphics/Rendering/Pango/Types.chs:269:1:
Unacceptable result type in foreign declaration: CUInt
When checking declaration:
foreign import ccall unsafe "static pango_fontset_get_type" pango_fontset_get_type
:: CUInt
cabal: Error: some packages failed to install:
pango-0.12.4 failed during the building phase. The exception was:
ExitFailure 1
Change History
Note: See
TracTickets for help on using
tickets.