Skip to content

build issue #1

@muralikodali

Description

@muralikodali

on ubuntu 16.04, i have encountered following issue when i tried to install with cabal sandbox

Building vty-ui-1.9...
Failed to install vty-ui-1.9
Build log ( /home/murali/Downloads/fcd/.cabal-sandbox/logs/ghc-8.0.2/vty-ui-1.9-5W6QHHPttlU7Kggt7TKJzz.log ):
cabal: Entering directory '/tmp/cabal-tmp-6944/vty-ui-1.9'
Configuring vty-ui-1.9...
Preprocessing library for vty-ui-1.9..
Building library for vty-ui-1.9..
[ 1 of 27] Compiling Graphics.Vty.Widgets.Util ( src/Graphics/Vty/Widgets/Util.hs, dist/dist-sandbox-44012960/build/Graphics/Vty/Widgets/Util.o )

src/Graphics/Vty/Widgets/Util.hs:21:7: error:
Ambiguous occurrence ‘regionWidth’
It could refer to either ‘Graphics.Vty.regionWidth’,
imported from ‘Graphics.Vty’ at src/Graphics/Vty/Widgets/Util.hs:29:1-19
(and originally defined in ‘Graphics.Vty.Image’)
or ‘Graphics.Vty.Widgets.Util.regionWidth’,
defined at src/Graphics/Vty/Widgets/Util.hs:133:1

src/Graphics/Vty/Widgets/Util.hs:22:7: error:
Ambiguous occurrence ‘regionHeight’
It could refer to either ‘Graphics.Vty.regionHeight’,
imported from ‘Graphics.Vty’ at src/Graphics/Vty/Widgets/Util.hs:29:1-19
(and originally defined in ‘Graphics.Vty.Image’)
or ‘Graphics.Vty.Widgets.Util.regionHeight’,
defined at src/Graphics/Vty/Widgets/Util.hs:136:1
cabal: Leaving directory '/tmp/cabal-tmp-6944/vty-ui-1.9'
cabal: Error: some packages failed to install:
fcd-1.0.0.0-8qzPJmnhbECAQsLyC7UGU depends on fcd-1.0.0.0 which failed to
install.
vty-ui-1.9-5W6QHHPttlU7Kggt7TKJzz failed during the building phase. The
exception was:
ExitFailure 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions