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 groups-0.4.1.0 Starting primitive-0.7.0.0 Building groups-0.4.1.0 Building primitive-0.7.0.0 Completed groups-0.4.1.0 Completed primitive-0.7.0.0 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed vector-0.12.0.3 Downloading naqsha-0.3.0.0 Downloaded naqsha-0.3.0.0 Starting naqsha-0.3.0.0 Building naqsha-0.3.0.0 Failed to install naqsha-0.3.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/naqsha-0.3.0.0-5GC7cFn89yBEh3oqfJHTeO.log ): cabal: Entering directory '/tmp/cabal-tmp-6279/naqsha-0.3.0.0' Configuring naqsha-0.3.0.0... Preprocessing library 'geospatial' for naqsha-0.3.0.0.. Building library 'geospatial' for naqsha-0.3.0.0.. [1 of 8] Compiling Naqsha.Geometry.Internal ( geospatial/Naqsha/Geometry/Internal.hs, dist/build/geospatial/Naqsha/Geometry/Internal.o ) [2 of 8] Compiling Naqsha.Geometry.Angle ( geospatial/Naqsha/Geometry/Angle.hs, dist/build/geospatial/Naqsha/Geometry/Angle.o ) [3 of 8] Compiling Naqsha.Geometry.Coordinate ( geospatial/Naqsha/Geometry/Coordinate.hs, dist/build/geospatial/Naqsha/Geometry/Coordinate.o ) [4 of 8] Compiling Naqsha.Geometry.Coordinate.GeoHash ( geospatial/Naqsha/Geometry/Coordinate/GeoHash.hs, dist/build/geospatial/Naqsha/Geometry/Coordinate/GeoHash.o ) [5 of 8] Compiling Naqsha.Geometry.Spherical ( geospatial/Naqsha/Geometry/Spherical.hs, dist/build/geospatial/Naqsha/Geometry/Spherical.o ) [6 of 8] Compiling Naqsha.Geometry ( geospatial/Naqsha/Geometry.hs, dist/build/geospatial/Naqsha/Geometry.o ) [7 of 8] Compiling Paths_naqsha ( dist/build/geospatial/autogen/Paths_naqsha.hs, dist/build/geospatial/Paths_naqsha.o ) [8 of 8] Compiling Naqsha.Version ( geospatial/Naqsha/Version.hs, dist/build/geospatial/Naqsha/Version.o ) Preprocessing library 'geospatial' for naqsha-0.3.0.0.. Running Haddock on library 'geospatial' for naqsha-0.3.0.0.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: 100% ( 12 / 12) in 'Naqsha.Geometry.Internal' 100% ( 6 / 6) in 'Naqsha.Geometry.Coordinate.GeoHash' Warning: 'dHvs' is out of scope. If you qualify the identifier, haddock can try to link it it anyway. Warning: 'Position' is out of scope. If you qualify the identifier, haddock can try to link it it anyway. 100% ( 5 / 5) in 'Naqsha.Geometry.Spherical' 100% ( 35 / 35) in 'Naqsha.Geometry' 100% ( 3 / 3) in 'Naqsha.Version' Warning: Naqsha.Geometry.Internal: could not find link destinations for: D:R:VectorAngle0 AngV D:R:MVectorsAngle0 MAngV D:R:VectorLatitude0 LatV D:R:MVectorsLatitude0 MLatV D:R:VectorLongitude0 LongV D:R:MVectorsLongitude0 MLongV Warning: Naqsha.Geometry: could not find link destinations for: D:R:VectorGeo0 GeoV D:R:MVectorsGeo0 MGeoV D:R:VectorLatitude0 LatV D:R:MVectorsLatitude0 MLatV D:R:VectorLongitude0 LongV D:R:MVectorsLongitude0 MLongV D:R:VectorAngle0 AngV D:R:MVectorsAngle0 MAngV Documentation created: dist/doc/html/naqsha/index.html, dist/doc/html/naqsha/naqsha.txt Installing internal library geospatial in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.6.3/naqsha-0.3.0.0-5GC7cFn89yBEh3oqfJHTeO cabal: Leaving directory '/tmp/cabal-tmp-6279/naqsha-0.3.0.0' cabal: Error: some packages failed to install: naqsha-0.3.0.0-5GC7cFn89yBEh3oqfJHTeO failed during the final install step. The exception was: dieVerbatim: user error (cabal: '/opt/ghc/bin/ghc-pkg' exited with an error: z-naqsha-z-geospatial-0.3.0.0: installed package info from too old version of Cabal (key field does not match id field) )