See the following build log (https://travis-ci.org/ivanperez-keera/dunai/jobs/326844410):
Build log ( /home/travis/.cabal/logs/ghc-8.2.1/wxcore-0.92.3.0-1q3V7mNjLfDDYacFBtOsvA.log ): cabal: Entering directory '/tmp/cabal-tmp-8708/wxcore-0.92.3.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-8708/wxcore-0.92.3.0/dist/setup/setup.hs, /tmp/cabal-tmp-8708/wxcore-0.92.3.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-8708/wxcore-0.92.3.0/dist/setup/setup ... Configuring wxcore-0.92.3.0... generating: src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs reading class definitions: Preprocessing and parsing file: /home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9/include/wxc.h, using include directories: -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 generated 574 class definitions. ok. generating: src/haskell/Graphics/UI/WXCore/WxcClassInfo.hs reading class definitions: Preprocessing and parsing file: /home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9/include/wxc.h, using include directories: -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 generated 406 class info definitions ok. Preprocessing and parsing file: /home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9/include/wxc.h, using include directories: -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 generating: src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs reading class definitions: Preprocessing and parsing file: /home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9/include/wxc.h, using include directories: -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 generated 2015 methods for 150 classes. generating: src/haskell/Graphics/UI/WXCore/WxcClassesMZ.hs generated 2339 methods for 131 classes. generating: src/haskell/Graphics/UI/WXCore/WxcClasses.hs generated 4354 total methods for 281 total classes. ok. Generating class type definitions from .h files wxdirect -t --wxc "/home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9" -o "src/haskell/Graphics/UI/WXCore" "/home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9/include/wxc.h" Generating class info definitions wxdirect -i --wxc "/home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9" -o "src/haskell/Graphics/UI/WXCore" "/home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9/include/wxc.h" Generating class method definitions from .h files wxdirect -c --wxc "/home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9" -o "src/haskell/Graphics/UI/WXCore" "/home/travis/.cabal/lib/x86_64-linux-ghc-8.2.1/wxc-0.92.3.0-LZsr9MQr48xNmXq46W6A9/include/wxc.h" Building wxcore-0.92.3.0... Preprocessing library wxcore-0.92.3.0... [ 1 of 23] Compiling Graphics.UI.WXCore.GHCiSupport ( src/haskell/Graphics/UI/WXCore/GHCiSupport.hs, dist/build/Graphics/UI/WXCore/GHCiSupport.o ) [ 2 of 23] Compiling Graphics.UI.WXCore.WxcDefs ( src/haskell/Graphics/UI/WXCore/WxcDefs.hs, dist/build/Graphics/UI/WXCore/WxcDefs.o ) [ 3 of 23] Compiling Graphics.UI.WXCore.WxcObject ( src/haskell/Graphics/UI/WXCore/WxcObject.hs, dist/build/Graphics/UI/WXCore/WxcObject.o ) [ 4 of 23] Compiling Graphics.UI.WXCore.WxcClassTypes ( src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs, dist/build/Graphics/UI/WXCore/WxcClassTypes.o ) [ 5 of 23] Compiling Graphics.UI.WXCore.WxcTypes ( src/haskell/Graphics/UI/WXCore/WxcTypes.hs, dist/build/Graphics/UI/WXCore/WxcTypes.o ) src/haskell/Graphics/UI/WXCore/WxcTypes.hs:752:20: error: Ambiguous occurrence ‘CBool’ It could refer to either ‘Foreign.C.CBool’, imported from ‘Foreign.C’ at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:126:1-16 (and originally defined in ‘Foreign.C.Types’) or ‘Graphics.UI.WXCore.WxcTypes.CBool’, defined at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:750:1 | 752 | toCBool :: Bool -> CBool | ^^^^^ src/haskell/Graphics/UI/WXCore/WxcTypes.hs:755:22: error: Ambiguous occurrence ‘CBool’ It could refer to either ‘Foreign.C.CBool’, imported from ‘Foreign.C’ at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:126:1-16 (and originally defined in ‘Foreign.C.Types’) or ‘Graphics.UI.WXCore.WxcTypes.CBool’, defined at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:750:1 | 755 | withBoolResult :: IO CBool -> IO Bool | ^^^^^ src/haskell/Graphics/UI/WXCore/WxcTypes.hs:760:14: error: Ambiguous occurrence ‘CBool’ It could refer to either ‘Foreign.C.CBool���, imported from ‘Foreign.C’ at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:126:1-16 (and originally defined in ‘Foreign.C.Types’) or ‘Graphics.UI.WXCore.WxcTypes.CBool’, defined at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:750:1 | 760 | fromCBool :: CBool -> Bool | ^^^^^ src/haskell/Graphics/UI/WXCore/WxcTypes.hs:763:55: error: Ambiguous occurrence ‘CBool’ It could refer to either ‘Foreign.C.CBool’, imported from ‘Foreign.C’ at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:126:1-16 (and originally defined in ‘Foreign.C.Types’) or ‘Graphics.UI.WXCore.WxcTypes.CBool’, defined at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:750:1 | 763 | foreign import ccall "intToBool" intToCBool :: Int -> CBool | ^^^^^ src/haskell/Graphics/UI/WXCore/WxcTypes.hs:764:48: error: Ambiguous occurrence ‘CBool’ It could refer to either ‘Foreign.C.CBool’, imported from ‘Foreign.C’ at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:126:1-16 (and originally defined in ‘Foreign.C.Types’) or ‘Graphics.UI.WXCore.WxcTypes.CBool’, defined at src/haskell/Graphics/UI/WXCore/WxcTypes.hs:750:1 | 764 | foreign import ccall "boolToInt" cboolToInt :: CBool -> Int | ^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-8708/wxcore-0.92.3.0' cabal: Error: some packages failed to install: wx-0.92.3.0-Bk6vy4xyoeW5KxRhKzrevZ depends on wx-0.92.3.0 which failed to install. wxcore-0.92.3.0-1q3V7mNjLfDDYacFBtOsvA failed during the building phase. The exception was: ExitFailure 1