Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildwrapper-0.7.5 won't build against cabal-1.18 #17

Open
khumba opened this issue Oct 14, 2013 · 2 comments
Open

buildwrapper-0.7.5 won't build against cabal-1.18 #17

khumba opened this issue Oct 14, 2013 · 2 comments

Comments

@khumba
Copy link

khumba commented Oct 14, 2013

Hello!

I'm trying to install EclipseFP on Gentoo with cabal-1.18.0, ghc-7.6.3. I get the errors below when I try to build buildwrapper-0.7.5. I checked the cabal docs on Hackage and it looks like those functions disappear (or are moved?) in 1.18. In the mean time, downgrading to cabal-1.16 works.

Cheers.

>>> Compiling source in /mnt/portage/build/portage/dev-haskell/buildwrapper-0.7.5/work/buildwrapper-0.7.5 ...
./setup build
Building buildwrapper-0.7.5...
Preprocessing library buildwrapper-0.7.5...
[1 of 7] Compiling Language.Haskell.BuildWrapper.Base ( src/Language/Haskell/BuildWrapper/Base.hs, dist/build/Language/Haskell/BuildWrapper/Base.o )
[2 of 7] Compiling Language.Haskell.BuildWrapper.GHCStorage ( src/Language/Haskell/BuildWrapper/GHCStorage.hs, dist/build/Language/Haskell/BuildWrapper/GHCStorage.o )
[3 of 7] Compiling Language.Haskell.BuildWrapper.Src ( src/Language/Haskell/BuildWrapper/Src.hs, dist/build/Language/Haskell/BuildWrapper/Src.o )
[4 of 7] Compiling Language.Haskell.BuildWrapper.GHC ( src/Language/Haskell/BuildWrapper/GHC.hs, dist/build/Language/Haskell/BuildWrapper/GHC.o )

src/Language/Haskell/BuildWrapper/GHC.hs:16:1: Warning:
    The import of `Language.Haskell.BuildWrapper.Src' is redundant
      except perhaps to import instances from `Language.Haskell.BuildWrapper.Src'
    To import instances alone, use: import Language.Haskell.BuildWrapper.Src()

src/Language/Haskell/BuildWrapper/GHC.hs:64:1: Warning:
    The import of `unless' from module `Control.Monad' is redundant

src/Language/Haskell/BuildWrapper/GHC.hs:568:17: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for `sfile': Patterns not matched: UnhelpfulSpan _
[5 of 7] Compiling Language.Haskell.BuildWrapper.Packages ( src/Language/Haskell/BuildWrapper/Packages.hs, dist/build/Language/Haskell/BuildWrapper/Packages.o )
[6 of 7] Compiling Language.Haskell.BuildWrapper.Cabal ( src/Language/Haskell/BuildWrapper/Cabal.hs, dist/build/Language/Haskell/BuildWrapper/Cabal.o )        

src/Language/Haskell/BuildWrapper/Cabal.hs:503:63:
    Not in scope: `libraryConfig'

src/Language/Haskell/BuildWrapper/Cabal.hs:510:79:
    Not in scope: `executableConfigs'

src/Language/Haskell/BuildWrapper/Cabal.hs:517:81:
    Not in scope: `testSuiteConfigs'

src/Language/Haskell/BuildWrapper/Cabal.hs:555:77:
    Not in scope: `libraryConfig'

src/Language/Haskell/BuildWrapper/Cabal.hs:564:94:
    Not in scope: `executableConfigs'

src/Language/Haskell/BuildWrapper/Cabal.hs:576:97:
    Not in scope: `testSuiteConfigs'

src/Language/Haskell/BuildWrapper/Cabal.hs:576:141:
    Not in scope: `testSuiteConfigs'
@JPMoresmau
Copy link
Owner

This should be solved in the dev version, by using dynamic-cabal.

@khumba
Copy link
Author

khumba commented Mar 11, 2023

Old bug, closing, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants