You are not logged in.

#1 2017-06-13 19:17:07

CLFAS
Member
Registered: 2014-04-13
Posts: 61

[SOLVED] GHC.SYB-Module 'NameSet' does not export 'nameSetElemsStable'

Hello,

I am trying to install hsdev via cabal and need to install ghc-syb-utils-0.2.3.2 as a prerequisite. Below is the output from 'cabal update && cabal install hsdev':

[thor@asgard ~]$ cabal update && cabal install hsdev
Downloading the latest package list from hackage.haskell.org
Resolving dependencies...
Configuring ghc-syb-utils-0.2.3.2...
Building ghc-syb-utils-0.2.3.2...
Failed to install ghc-syb-utils-0.2.3.2
Build log ( /home/thor/.cabal/logs/ghc-syb-utils-0.2.3.2.log )
cabal: Entering directory '/tmp/cabal-tmp-1897/ghc-syb-utils-0.2.3.2'
Configuring ghc-syb-utils-0.2.3.2...
Building ghc-syb-utils-0.2.3.2...
Preprocessing library ghc-syb-utils-0.2.3.2...
[1 of 1] Compiling GHC.SYB.Utils    ( GHC/SYB/Utils.hs, dist/build/GHC/SYB/Utils.o )

GHC/SYB/Utils.hs:189:24: error:
    Module 'NameSet' does not export 'nameSetElemsStable'
cabal: Leaving directory '/tmp/cabal-tmp-1897/ghc-syb-utils-0.2.3.2'
cabal: Error: some packages failed to install:
ghc-syb-utils-0.2.3.2 failed during the building phase. The exception was:
ExitFailure 1
hsdev-0.2.5.0 depends on ghc-syb-utils-0.2.3.2 which failed to install.

I have only just started rebuilding Arch so any installed packages are no older than 2 days.

##UPDATE 1: I have installed ghc-syb-utils-0.2.3.2 for now. Still the same issue as stated above.

##UPDATE 2: I deleted ~/.cabal/ and ~/.ghc/ and reinstalled ghc, then installed ghc-syb-utils-0.2.3 first, followed by Happy. Then I manually installed lens, followed by Hsdev. It attempted to install version 0.2.3.2 with the same error, but since the dependency was already satisfied, it continued through the installation successfully. It appears to be an issue with 0.2.3.2 and 0.2.3.1 so hopefully it will be fixed in the next revision. There were also huge issues with ghc-mod so installing without this appeared to have been easier.

Last edited by CLFAS (2017-06-16 13:58:52)


Apples?

Offline

#2 2017-06-14 20:36:47

CLFAS
Member
Registered: 2014-04-13
Posts: 61

Re: [SOLVED] GHC.SYB-Module 'NameSet' does not export 'nameSetElemsStable'

Bear in mind my knowledge is limited...

How would I go about finding module 'NameSet'? That's the first place I'd look to see if I can find any line with 'nameSetElemsStable', and try and get an older version of Utils.hs and compare?

Last edited by CLFAS (2017-06-14 20:53:38)


Apples?

Offline

#3 2017-06-15 18:56:06

CLFAS
Member
Registered: 2014-04-13
Posts: 61

Re: [SOLVED] GHC.SYB-Module 'NameSet' does not export 'nameSetElemsStable'

I managed to install ghc-syb-utils-0.2.3 with success. HSdev can apparently install using this version, although I am not sure how to specify this when installing. How do I specify to use ght-syb-utils-0.2.3 when installing hsdev?

#SEE OP FOR LATEST UPDATES#

Last edited by CLFAS (2017-06-15 19:57:55)


Apples?

Offline

Board footer

Powered by FluxBB