Bug#1068179: FTBFS: error: warning: assignment to ‘ffi_arg’ {aka ‘long unsigned int’} from ‘HsPtr’ {aka ‘void *’} makes integer from pointer without a cast

Andrey Rakhmatullin wrar at debian.org
Mon Apr 1 12:40:53 BST 2024


Source: haskell-gi-gtk
Version: 3.0.41-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=haskell-gi-
gtk&arch=armel&ver=3.0.41-1%2Bb6&stamp=1711939860&raw=0

[693 of 708] Compiling GI.Gtk.Objects.ComboBox ( GI/Gtk/Objects/ComboBox.hs,
dist-ghc/build/GI/Gtk/Objects/ComboBox.o, dist-
ghc/build/GI/Gtk/Objects/ComboBox.dyn_o )
/tmp/ghc3782917_0/ghc_5999.c: In function
‘zdgizmgtkzm3zi0zi41zmIci0Q8dLkJXJcDCD98TjYlzdGIziGtkziObjectsziComboBoxzdgizzmgtkzzm3zzi0zzi41zzmIci0Q8dLkJXJcDCD98TjYlzuGIzziGtkzziObjectszziComboBoxzumkzzuComboBoxFormatEntryTextCallback’:

/tmp/ghc3782917_0/ghc_5999.c:52:17: error:
     warning: assignment to ‘ffi_arg’ {aka ‘long unsigned int’} from ‘HsPtr’
{aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
       52 | *(ffi_arg*)resp = cret;
          |                 ^
   |
52 | *(ffi_arg*)resp = cret;
   |                 ^
/tmp/ghc3782917_0/ghc_6009.c: In function
‘zdgizmgtkzm3zi0zi41zmIci0Q8dLkJXJcDCD98TjYlzdGIziGtkziObjectsziComboBoxzdgizzmgtkzzm3zzi0zzi41zzmIci0Q8dLkJXJcDCD98TjYlzuGIzziGtkzziObjectszziComboBoxzumkzzuComboBoxFormatEntryTextCallback’:

/tmp/ghc3782917_0/ghc_6009.c:52:17: error:
     warning: assignment to ‘ffi_arg’ {aka ‘long unsigned int’} from ‘HsPtr’
{aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
       52 | *(ffi_arg*)resp = cret;
          |                 ^
   |
52 | *(ffi_arg*)resp = cret;
   |                 ^


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the Pkg-haskell-maintainers mailing list