* Package: dev-haskell/glib-0.13.10.0:0/0.13.10.0 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking glib-0.13.10.0.tar.gz to /var/tmp/portage/dev-haskell/glib-0.13.10.0/work >>> Source unpacked in /var/tmp/portage/dev-haskell/glib-0.13.10.0/work >>> Preparing source in /var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0 ... dos2unix: converting file /var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0/glib.cabal to Unix format... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0 ... * Using cabal-3.6.3.0. /usr/bin/ghc -hide-all-packages -package Cabal -package base -package binary -package bytestring -package containers -package deepseq -package directory -package exceptions -package filepath -package haskeline -package mtl -package parsec -package pretty -package process -package stm -package template-haskell -package terminfo -package text -package time -package transformers -package unix -package xhtml -package gtk2hs-buildtools --make /var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0/Setup.hs, /var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0/Setup.o ) Linking setup ... ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=glib-0.13.10.0/ghc-9.2.8 --datadir=/usr/share/ --datasubdir=glib-0.13.10.0/ghc-9.2.8 --ghc-options=-j4 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optc-fno-diagnostics-color --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--defsym=__gentoo_check_ldflags__=0 --disable-executable-stripping --docdir=/usr/share/doc/glib-0.13.10.0 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flags=-closure_signals Using Parsec parser Configuring glib-0.13.10.0... Flags chosen: closure_signals=False Dependency base >=4 && <5: using base-4.16.4.0 Dependency bytestring >=0.9.1.10 && <0.12: using bytestring-0.11.4.0 Dependency containers <0.7: using containers-0.6.5.1 Dependency text >=1.0.0.0 && <2.1: using text-1.2.5.0 Dependency utf8-string >=0.2 && <1.1: using utf8-string-1.0.2 Dependency glib-2.0: using version 2.78.0 Dependency gobject-2.0: using version 2.78.0 Source component graph: component lib Configured component graph: component glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD include base-4.16.4.0 include bytestring-0.11.4.0 include containers-0.6.5.1 include text-1.2.5.0 include utf8-string-1.0.2-KOPUXETbFeRLoWT9IcwQzV Linked component graph: unit glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD include base-4.16.4.0 include bytestring-0.11.4.0 include containers-0.6.5.1 include text-1.2.5.0 include utf8-string-1.0.2-KOPUXETbFeRLoWT9IcwQzV System.Glib=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib,System.Glib.Attributes=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.Attributes,System.Glib.FFI=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.FFI,System.Glib.Flags=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.Flags,System.Glib.GDateTime=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GDateTime,System.Glib.GError=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GError,System.Glib.GList=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GList,System.Glib.GObject=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GObject,System.Glib.GParameter=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GParameter,System.Glib.GString=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GString,System.Glib.GType=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GType,System.Glib.GTypeConstants=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GTypeConstants,System.Glib.GValue=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GValue,System.Glib.GValueTypes=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.GValueTypes,System.Glib.MainLoop=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.MainLoop,System.Glib.Properties=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.Properties,System.Glib.Signals=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.Signals,System.Glib.StoreValue=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.StoreValue,System.Glib.Types=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.Types,System.Glib.UTFString=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.UTFString,System.Glib.Utils=glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD:System.Glib.Utils Ready component graph: definite glib-0.13.10.0-J4KOiVQlXRqG8qvWAkkrGD depends base-4.16.4.0 depends bytestring-0.11.4.0 depends containers-0.6.5.1 depends text-1.2.5.0 depends utf8-string-1.0.2-KOPUXETbFeRLoWT9IcwQzV Using Cabal-3.6.3.0 compiled by ghc-9.2 Using compiler: ghc-9.2.8 Using install prefix: /usr Executables installed in: /usr/bin Libraries installed in: /usr/lib64/glib-0.13.10.0/ghc-9.2.8 Dynamic Libraries installed in: /usr/lib64/x86_64-linux-ghc-9.2.8 Private executables installed in: /usr/libexec/x86_64-linux-ghc-9.2.8/glib-0.13.10.0 Data files installed in: /usr/share/glib-0.13.10.0/ghc-9.2.8 Documentation installed in: /usr/share/doc/glib-0.13.10.0 Configuration files installed in: /etc Using alex version 3.2.7.2 found on system at: /usr/bin/alex Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar No c2hs found No cpphs found No doctest found Using gcc version 13 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 9.2.8 given by user at: /usr/bin/ghc Using ghc-pkg version 9.2.8 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using gtk2hsC2hs version 0.13.13 found on system at: /usr/bin/gtk2hsC2hs Using gtk2hsHookGenerator found on system at: /usr/bin/gtk2hsHookGenerator Using gtk2hsTypeGen found on system at: /usr/bin/gtk2hsTypeGen Using haddock version 2.26.0 found on system at: /usr/bin/haddock-ghc-9.2.8 Using happy version 1.20.1.1 found on system at: /usr/bin/happy Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.68 found on system at: /usr/bin/hpc Using hsc2hs version 0.68.8 found on system at: /usr/bin/hsc2hs No hscolour found No jhc found Using ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld Using pkg-config version 2.0.3 found on system at: /usr/bin/pkg-config Using runghc version 9.2.8 found on system at: /usr/bin/runghc-9.2.8 Using strip version 2.41 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found /usr/bin/pkg-config --modversion glib-2.0 /usr/bin/pkg-config --modversion gobject-2.0 >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0 ... ./setup build Preprocessing library for glib-0.13.10.0.. Building library for glib-0.13.10.0.. [ 1 of 21] Compiling System.Glib.Attributes ( System/Glib/Attributes.hs, dist/build/System/Glib/Attributes.o, dist/build/System/Glib/Attributes.dyn_o ) [ 2 of 21] Compiling System.Glib.FFI ( System/Glib/FFI.hs, dist/build/System/Glib/FFI.o, dist/build/System/Glib/FFI.dyn_o ) [ 3 of 21] Compiling System.Glib.Flags ( System/Glib/Flags.hs, dist/build/System/Glib/Flags.o, dist/build/System/Glib/Flags.dyn_o ) [ 4 of 21] Compiling System.Glib.GList ( dist/build/System/Glib/GList.hs, dist/build/System/Glib/GList.o, dist/build/System/Glib/GList.dyn_o ) [ 5 of 21] Compiling System.Glib.GString ( dist/build/System/Glib/GString.hs, dist/build/System/Glib/GString.o, dist/build/System/Glib/GString.dyn_o ) [ 6 of 21] Compiling System.Glib.GType ( dist/build/System/Glib/GType.hs, dist/build/System/Glib/GType.o, dist/build/System/Glib/GType.dyn_o ) [ 7 of 21] Compiling System.Glib.GTypeConstants ( dist/build/System/Glib/GTypeConstants.hs, dist/build/System/Glib/GTypeConstants.o, dist/build/System/Glib/GTypeConstants.dyn_o ) [ 8 of 21] Compiling System.Glib.GValue ( dist/build/System/Glib/GValue.hs, dist/build/System/Glib/GValue.o, dist/build/System/Glib/GValue.dyn_o ) [ 9 of 21] Compiling System.Glib.GParameter ( dist/build/System/Glib/GParameter.hs, dist/build/System/Glib/GParameter.o, dist/build/System/Glib/GParameter.dyn_o ) System/Glib/GParameter.hsc:42:10: warning: [-Wmissing-methods] • No explicit implementation for either ‘peek’ or ‘peekElemOff’ or ‘peekByteOff’ • In the instance declaration for ‘Storable GParameter’ | 42 | instance Storable GParameter where | ^^^^^^^^^^^^^^^^^^^ [10 of 21] Compiling System.Glib.Types ( dist/build/System/Glib/Types.hs, dist/build/System/Glib/Types.o, dist/build/System/Glib/Types.dyn_o ) [11 of 21] Compiling System.Glib.UTFString ( System/Glib/UTFString.hs, dist/build/System/Glib/UTFString.o, dist/build/System/Glib/UTFString.dyn_o ) [12 of 21] Compiling System.Glib.GObject ( dist/build/System/Glib/GObject.hs, dist/build/System/Glib/GObject.o, dist/build/System/Glib/GObject.dyn_o ) [13 of 21] Compiling System.Glib.Signals ( dist/build/System/Glib/Signals.hs, dist/build/System/Glib/Signals.o, dist/build/System/Glib/Signals.dyn_o ) System/Glib/Signals.chs:238:1: error: • Unacceptable result type in foreign declaration: Expected: Ptr/FunPtr (IO ()), Actual: FunPtr (Ptr () -> Ptr GClosure -> IO ()) • When checking declaration: foreign import ccall safe "wrapper" mkDestructor :: IO () -> IO GClosureNotify | 238 | foreign import ccall "wrapper" mkDestructor :: IO () -> IO GClosureNotify | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [14 of 21] Compiling System.Glib.MainLoop ( dist/build/System/Glib/MainLoop.hs, dist/build/System/Glib/MainLoop.o, dist/build/System/Glib/MainLoop.dyn_o ) [15 of 21] Compiling System.Glib.GValueTypes ( dist/build/System/Glib/GValueTypes.hs, dist/build/System/Glib/GValueTypes.o, dist/build/System/Glib/GValueTypes.dyn_o ) [16 of 21] Compiling System.Glib.StoreValue ( dist/build/System/Glib/StoreValue.hs, dist/build/System/Glib/StoreValue.o, dist/build/System/Glib/StoreValue.dyn_o ) [17 of 21] Compiling System.Glib.Properties ( dist/build/System/Glib/Properties.hs, dist/build/System/Glib/Properties.o, dist/build/System/Glib/Properties.dyn_o ) [18 of 21] Compiling System.Glib.GError ( dist/build/System/Glib/GError.hs, dist/build/System/Glib/GError.o, dist/build/System/Glib/GError.dyn_o ) [19 of 21] Compiling System.Glib.GDateTime ( dist/build/System/Glib/GDateTime.hs, dist/build/System/Glib/GDateTime.o, dist/build/System/Glib/GDateTime.dyn_o ) [20 of 21] Compiling System.Glib.Utils ( dist/build/System/Glib/Utils.hs, dist/build/System/Glib/Utils.o, dist/build/System/Glib/Utils.dyn_o ) [21 of 21] Compiling System.Glib ( System/Glib.hs, dist/build/System/Glib.o, dist/build/System/Glib.dyn_o ) * ERROR: dev-haskell/glib-0.13.10.0::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2123: Called haskell-cabal_src_compile * environment, line 1700: Called cabal_src_compile * environment, line 862: Called cabal-build * environment, line 563: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/glib-0.13.10.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/glib-0.13.10.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:glib-0.13.10.0:20231028-222320.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/glib-0.13.10.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/glib-0.13.10.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0' * S: '/var/tmp/portage/dev-haskell/glib-0.13.10.0/work/glib-0.13.10.0'