Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting base-orphans-0.8.2 Starting blaze-builder-0.4.1.0 Starting basement-0.0.11 Starting base-compat-0.11.1 Building base-orphans-0.8.2 Building blaze-builder-0.4.1.0 Building basement-0.0.11 Building base-compat-0.11.1 Completed blaze-builder-0.4.1.0 Starting cereal-0.5.8.1 Building cereal-0.5.8.1 Completed base-orphans-0.8.2 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.7 Building dlist-0.8.0.7 Completed base-compat-0.11.1 Starting exceptions-0.10.4 Building exceptions-0.10.4 Completed dlist-0.8.0.7 Starting extensible-exceptions-0.1.1.4 Building extensible-exceptions-0.1.1.4 Completed cereal-0.5.8.1 Starting hashable-1.3.0.0 Completed extensible-exceptions-0.1.1.4 Starting hourglass-0.2.12 Building hashable-1.3.0.0 Building hourglass-0.2.12 Completed exceptions-0.10.4 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed integer-logarithms-1.0.3 Starting mime-types-0.1.0.9 Building mime-types-0.1.0.9 Completed hashable-1.3.0.0 Starting network-3.1.1.1 Building network-3.1.1.1 Completed hourglass-0.2.12 Starting network-uri-2.6.3.0 Building network-uri-2.6.3.0 Completed mime-types-0.1.0.9 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting parsec-numbers-0.1.0 Completed network-uri-2.6.3.0 Starting primitive-0.7.0.0 Building parsec-numbers-0.1.0 Building primitive-0.7.0.0 Completed parsec-numbers-0.1.0 Starting random-1.1 Building random-1.1 Completed network-3.1.1.1 Starting regex-base-0.94.0.0 Building regex-base-0.94.0.0 Completed random-1.1 Starting split-0.2.3.4 Building split-0.2.3.4 Completed regex-base-0.94.0.0 Starting tagged-0.8.6 Building tagged-0.8.6 Completed split-0.2.3.4 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed tagged-0.8.6 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed unliftio-core-0.1.2.0 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed primitive-0.7.0.0 Starting zlib-0.6.2.1 Building zlib-0.6.2.1 Completed th-abstraction-0.3.2.0 Starting time-compat-1.9.2.2 Building time-compat-1.9.2.2 Completed basement-0.0.11 Starting data-default-instances-containers-0.0.1 Building data-default-instances-containers-0.0.1 Completed utf8-string-1.0.1.1 Starting cookie-0.4.5 Completed data-default-instances-containers-0.0.1 Starting data-default-instances-dlist-0.0.1 Building cookie-0.4.5 Building data-default-instances-dlist-0.0.1 Completed time-compat-1.9.2.2 Starting unordered-containers-0.2.10.0 Completed data-default-instances-dlist-0.0.1 Starting case-insensitive-1.2.1.0 Completed zlib-0.6.2.1 Starting async-2.2.2 Building unordered-containers-0.2.10.0 Building case-insensitive-1.2.1.0 Completed cookie-0.4.5 Starting data-default-instances-old-locale-0.0.1 Building async-2.2.2 Building data-default-instances-old-locale-0.0.1 Completed data-default-instances-old-locale-0.0.1 Starting uuid-types-1.0.3 Completed case-insensitive-1.2.1.0 Starting regex-posix-0.96.0.0 Building uuid-types-1.0.3 Completed async-2.2.2 Starting vector-0.12.1.2 Building regex-posix-0.96.0.0 Building vector-0.12.1.2 Completed uuid-types-1.0.3 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed regex-posix-0.96.0.0 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed unordered-containers-0.2.10.0 Starting socks-0.6.1 Building socks-0.6.1 Completed scientific-0.3.6.2 Starting memory-0.15.0 Building memory-0.15.0 Completed resourcet-1.2.2 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Completed data-default-0.7.1.1 Starting http-types-0.12.3 Completed socks-0.6.1 Starting typed-process-0.2.6.0 Building http-types-0.12.3 Building typed-process-0.2.6.0 Completed http-types-0.12.3 Starting streaming-commons-0.2.1.2 Completed typed-process-0.2.6.0 Starting regex-compat-0.95.2.0 Building streaming-commons-0.2.1.2 Building regex-compat-0.95.2.0 Completed memory-0.15.0 Starting attoparsec-0.13.2.3 Completed regex-compat-0.95.2.0 Starting X11-1.9.1 Building attoparsec-0.13.2.3 Failed to install X11-1.9.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/X11-1.9.1-4cKlus0ZOzs1Oj5QUWiq0P.log ): cabal: Entering directory '/tmp/cabal-tmp-31973/X11-1.9.1' Configuring X11-1.9.1... configure: WARNING: unrecognized options: --with-compiler checking for gcc... /usr/bin/gcc 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 how to run the C preprocessor... /usr/bin/gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking whether to build Xinerama... yes 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 X11/extensions/Xinerama.h usability... no checking X11/extensions/Xinerama.h presence... no checking for X11/extensions/Xinerama.h... no WARNING: Xinerama headers not found. Building without Xinerama support checking X11/extensions/Xrandr.h usability... no checking X11/extensions/Xrandr.h presence... no checking for X11/extensions/Xrandr.h... no configure: error: X11/extensions/Xrandr.h (from libXrandr) is required cabal: Leaving directory '/tmp/cabal-tmp-31973/X11-1.9.1' Starting pem-0.2.4 Building pem-0.2.4 Completed pem-0.2.4 Completed streaming-commons-0.2.1.2 Completed attoparsec-0.13.2.3 Completed vector-0.12.1.2 cabal: Error: some packages failed to install: X11-1.9.1-4cKlus0ZOzs1Oj5QUWiq0P failed during the configure step. The exception was: ExitFailure 1 xmobar-0.33-CT3PF8uWaGPFR5iEua6QkC depends on xmobar-0.33 which failed to install.