Resolving dependencies... Configuring fltkhs-0.5.4.5... Building fltkhs-0.5.4.5... Failed to install fltkhs-0.5.4.5 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/fltkhs-0.5.4.5-AezsuNShrIpILxDXycNB7A.log ): cabal: Entering directory '/tmp/cabal-tmp-13003/fltkhs-0.5.4.5' [1 of 1] Compiling Main ( /tmp/cabal-tmp-13003/fltkhs-0.5.4.5/dist/setup/setup.hs, /tmp/cabal-tmp-13003/fltkhs-0.5.4.5/dist/setup/Main.o ) Linking /tmp/cabal-tmp-13003/fltkhs-0.5.4.5/dist/setup/setup ... Running autoconf ... Configuring fltkhs-0.5.4.5... : WARNING: unrecognized options: --with-compiler checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking for clang++... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for fltk-config... fltk-config checking how to run the C preprocessor... /usr/bin/gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for main in -ldl... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strtol... yes : creating ./config.status config.status: creating Makefile config.status: creating c-src/Makefile config.status: creating c-examples/Makefile config.status: creating fltkhs.buildinfo config.status: creating config.h : WARNING: unrecognized options: --with-compiler ==Compiling C bindings== *** Compiling Fl_Menu_ButtonC.cpp... *** Compiling Fl_PositionerC.cpp... Fl_PositionerC.cpp: In function ‘void* Fl_Positioner_top_window(fl_Positioner)’: Fl_PositionerC.cpp:329:67: error: ‘class Fl_Positioner’ has no member named ‘top_window’ return (fl_Window) (static_cast(positioner))->top_window(); ^ Fl_PositionerC.cpp: In function ‘void* Fl_Positioner_top_window_offset(fl_Positioner, int*, int*)’: Fl_PositionerC.cpp:332:67: error: ‘class Fl_Positioner’ has no member named ‘top_window_offset’ return (fl_Window) (static_cast(positioner))->top_window_offset(*xoff,*yoff); ^ Fl_PositionerC.cpp: In function ‘void* Fl_Positioner_top_window(fl_Positioner)’: Fl_PositionerC.cpp:330:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ Fl_PositionerC.cpp: In function ‘void* Fl_Positioner_top_window_offset(fl_Positioner, int*, int*)’: Fl_PositionerC.cpp:333:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [Fl_PositionerC.o] Error 1 make: *** [src] Error 2 cabal: Leaving directory '/tmp/cabal-tmp-13003/fltkhs-0.5.4.5' cabal: Error: some packages failed to install: fltkhs-0.5.4.5-AezsuNShrIpILxDXycNB7A failed during the building phase. The exception was: ExitFailure 2