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 colour-2.3.5 Starting base-orphans-0.8.2 Starting blaze-builder-0.4.1.0 Starting base-compat-0.11.1 Building base-orphans-0.8.2 Building colour-2.3.5 Building blaze-builder-0.4.1.0 Building base-compat-0.11.1 Completed blaze-builder-0.4.1.0 Starting dlist-0.8.0.7 Building dlist-0.8.0.7 Completed base-orphans-0.8.2 Starting exceptions-0.10.4 Building exceptions-0.10.4 Completed dlist-0.8.0.7 Starting hashable-1.3.0.0 Completed colour-2.3.5 Starting integer-logarithms-1.0.3 Building hashable-1.3.0.0 Building integer-logarithms-1.0.3 Completed base-compat-0.11.1 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed exceptions-0.10.4 Starting random-1.1 Completed integer-logarithms-1.0.3 Starting semigroups-0.19.1 Building random-1.1 Building semigroups-0.19.1 Completed hashable-1.3.0.0 Starting syb-0.7.1 Completed semigroups-0.19.1 Starting tagged-0.8.6 Building syb-0.7.1 Building tagged-0.8.6 Completed random-1.1 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed tagged-0.8.6 Starting zlib-0.6.2.1 Completed syb-0.7.1 Starting blaze-markup-0.8.2.3 Building zlib-0.6.2.1 Building blaze-markup-0.8.2.3 Completed th-abstraction-0.3.2.0 Starting time-compat-1.9.2.2 Building time-compat-1.9.2.2 Completed blaze-markup-0.8.2.3 Starting ansi-terminal-0.10.3 Building ansi-terminal-0.10.3 Completed primitive-0.7.0.0 Starting safe-exceptions-0.1.7.0 Completed zlib-0.6.2.1 Starting unordered-containers-0.2.10.0 Building safe-exceptions-0.1.7.0 Building unordered-containers-0.2.10.0 Completed time-compat-1.9.2.2 Starting uuid-types-1.0.3 Completed ansi-terminal-0.10.3 Starting language-c-0.8.3 Building uuid-types-1.0.3 Completed safe-exceptions-0.1.7.0 Starting blaze-html-0.9.1.2 Building language-c-0.8.3 Building blaze-html-0.9.1.2 Completed uuid-types-1.0.3 Starting vector-0.12.1.2 Building vector-0.12.1.2 Completed unordered-containers-0.2.10.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting ansi-wl-pprint-0.6.9 Building ansi-wl-pprint-0.6.9 Completed ansi-wl-pprint-0.6.9 Starting charset-0.3.7.1 Building charset-0.3.7.1 Completed charset-0.3.7.1 Starting attoparsec-0.13.2.3 Completed blaze-html-0.9.1.2 Building attoparsec-0.13.2.3 Completed attoparsec-0.13.2.3 Starting parsers-0.12.10 Building parsers-0.12.10 Completed vector-0.12.1.2 Starting JuicyPixels-3.3.4 Starting aeson-1.4.6.0 Building JuicyPixels-3.3.4 Building aeson-1.4.6.0 Completed parsers-0.12.10 Starting inline-c-0.9.0.0 Building inline-c-0.9.0.0 Completed language-c-0.8.3 Completed inline-c-0.9.0.0 Starting inline-c-cpp-0.4.0.2 Building inline-c-cpp-0.4.0.2 Completed inline-c-cpp-0.4.0.2 Completed aeson-1.4.6.0 Starting shakespeare-2.0.24 Building shakespeare-2.0.24 Completed JuicyPixels-3.3.4 Completed shakespeare-2.0.24 Starting HsWebots-0.1.0.1 Building HsWebots-0.1.0.1 Failed to install HsWebots-0.1.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/HsWebots-0.1.0.1-AYAGyYlKDbT6LJpjzsi0dA.log ): cabal: Entering directory '/tmp/cabal-tmp-4772/HsWebots-0.1.0.1' Configuring HsWebots-0.1.0.1... Preprocessing library for HsWebots-0.1.0.1.. Building library for HsWebots-0.1.0.1.. [ 1 of 38] Compiling Paths_HsWebots ( dist/build/autogen/Paths_HsWebots.hs, dist/build/Paths_HsWebots.o ) [ 2 of 38] Compiling Webots.Types ( src/Webots/Types.hs, dist/build/Webots/Types.o ) [ 3 of 38] Compiling Webots.TouchSensor ( src/Webots/TouchSensor.hs, dist/build/Webots/TouchSensor.o ) /tmp/ghc12253_0/ghc_15.c:8:10: error: fatal error: webots/touch_sensor.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~ | 8 | #include | ^ compilation terminated. `gcc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-4772/HsWebots-0.1.0.1' cabal: Error: some packages failed to install: HsWebots-0.1.0.1-AYAGyYlKDbT6LJpjzsi0dA failed during the building phase. The exception was: ExitFailure 1