Ticket #1242 (closed defect: fixed)

Opened 3 years ago

Last modified 16 months ago

build failure in gio-0.12.2 (GHC 7.3)

Reported by: guest Owned by: somebody
Priority: normal Milestone: 0.11.0
Component: general (Gtk+, Glib) Version: 0.11.0
Keywords: Cc:

Description

I guess this is just something to watch out for for when GHC 7.4 is ready for release.

With GHC 7.3.20111118, on both a Mac and a Linux VM

On the Mac (64 bit, MacOS 10.7, gtk+ 2.24.6 via HomeBrew?)

Configuring gio-0.12.2...
Building gio-0.12.2...
Preprocessing library gio-0.12.2...
[ 2 of 24] Compiling System.GIO.Types ( dist/build/System/GIO/Types.hs, dist/build/System/GIO/Types.o )

System/GIO/Types.chs:1020:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_output_stream_get_type" g_output_stream_get_type
        :: CULong

System/GIO/Types.chs:1023:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_filter_output_stream_get_type" g_filter_output_stream_get_type
        :: CULong

System/GIO/Types.chs:1026:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_data_output_stream_get_type" g_data_output_stream_get_type
        :: CULong

System/GIO/Types.chs:1029:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_buffered_output_stream_get_type" g_buffered_output_stream_get_type
        :: CULong

System/GIO/Types.chs:1032:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_file_output_stream_get_type" g_file_output_stream_get_type
        :: CULong

System/GIO/Types.chs:1035:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_memory_output_stream_get_type" g_memory_output_stream_get_type
        :: CULong

System/GIO/Types.chs:1038:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_input_stream_get_type" g_input_stream_get_type
        :: CULong

System/GIO/Types.chs:1041:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_memory_input_stream_get_type" g_memory_input_stream_get_type
        :: CULong

System/GIO/Types.chs:1044:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_filter_input_stream_get_type" g_filter_input_stream_get_type
        :: CULong

System/GIO/Types.chs:1047:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_buffered_input_stream_get_type" g_buffered_input_stream_get_type
        :: CULong

System/GIO/Types.chs:1050:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_data_input_stream_get_type" g_data_input_stream_get_type
        :: CULong

System/GIO/Types.chs:1053:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_file_input_stream_get_type" g_file_input_stream_get_type
        :: CULong

System/GIO/Types.chs:1056:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_file_monitor_get_type" g_file_monitor_get_type
        :: CULong

System/GIO/Types.chs:1059:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_vfs_get_type" g_vfs_get_type
        :: CULong

System/GIO/Types.chs:1062:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_mount_operation_get_type" g_mount_operation_get_type
        :: CULong

System/GIO/Types.chs:1065:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_themed_icon_get_type" g_themed_icon_get_type
        :: CULong

System/GIO/Types.chs:1068:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_emblem_get_type" g_emblem_get_type
        :: CULong

System/GIO/Types.chs:1071:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_emblemed_icon_get_type" g_emblemed_icon_get_type
        :: CULong

System/GIO/Types.chs:1074:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_file_enumerator_get_type" g_file_enumerator_get_type
        :: CULong

System/GIO/Types.chs:1077:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_filename_completer_get_type" g_filename_completer_get_type
        :: CULong

System/GIO/Types.chs:1080:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_file_icon_get_type" g_file_icon_get_type
        :: CULong

System/GIO/Types.chs:1083:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_volume_monitor_get_type" g_volume_monitor_get_type
        :: CULong

System/GIO/Types.chs:1086:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_cancellable_get_type" g_cancellable_get_type
        :: CULong

System/GIO/Types.chs:1089:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_async_result_get_type" g_async_result_get_type
        :: CULong

System/GIO/Types.chs:1092:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_file_info_get_type" g_file_info_get_type
        :: CULong

System/GIO/Types.chs:1095:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_app_launch_context_get_type" g_app_launch_context_get_type
        :: CULong

System/GIO/Types.chs:1098:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_icon_get_type" g_icon_get_type
        :: CULong

System/GIO/Types.chs:1101:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_seekable_get_type" g_seekable_get_type
        :: CULong

System/GIO/Types.chs:1104:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_app_info_get_type" g_app_info_get_type
        :: CULong

System/GIO/Types.chs:1107:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_volume_get_type" g_volume_get_type
        :: CULong

System/GIO/Types.chs:1110:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_loadable_icon_get_type" g_loadable_icon_get_type
        :: CULong

System/GIO/Types.chs:1113:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_drive_get_type" g_drive_get_type
        :: CULong

System/GIO/Types.chs:1116:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_file_get_type" g_file_get_type
        :: CULong

System/GIO/Types.chs:1119:1:
    Unacceptable result type in foreign declaration: CULong
    When checking declaration:
      foreign import ccall unsafe "static g_mount_get_type" g_mount_get_type
        :: CULong
Resolving dependencies...
cabal: Error: some packages failed to install:
gio-0.12.2 failed during the building phase. The exception was:
ExitFailure 1

On Linux

System/GIO/Types.chs:1020:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_output_stream_get_type" g_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1023:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_filter_output_stream_get_type" g_filter_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1026:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_data_output_stream_get_type" g_data_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1029:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_buffered_output_stream_get_type" g_buffered_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1032:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_file_output_stream_get_type" g_file_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1035:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_memory_output_stream_get_type" g_memory_output_stream_get_type
        :: CUInt

On the Linux box (32 bit, running Debian 6.0.2, gtk 2.20.1-2)

ystem/GIO/Types.chs:1020:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_output_stream_get_type" g_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1023:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_filter_output_stream_get_type" g_filter_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1026:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_data_output_stream_get_type" g_data_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1029:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_buffered_output_stream_get_type" g_buffered_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1032:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_file_output_stream_get_type" g_file_output_stream_get_type
        :: CUInt

System/GIO/Types.chs:1035:1:
    Unacceptable result type in foreign declaration: CUInt
    When checking declaration:
      foreign import ccall unsafe "static g_memory_output_stream_get_type" g_memory_output_stream_get_type
        :: CUInt

Change History

Changed 16 months ago by dmwit

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.