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

cpphs 1.20.9 fails to build on GHC 7.8.4 because of time library #22

Open
vmchale opened this issue Feb 28, 2020 · 1 comment
Open

cpphs 1.20.9 fails to build on GHC 7.8.4 because of time library #22

vmchale opened this issue Feb 28, 2020 · 1 comment

Comments

@vmchale
Copy link

vmchale commented Feb 28, 2020

Log of the build failure:

vanessa@vanessa-desktop ~/git-builds/junk/cpphs-1.20.9 🌸 cabal build -w ghc-7.8.4
Build profile: -w ghc-7.8.4 -O1
In order, the following will be built (use -v for more details):
 - cpphs-1.20.9 (lib:cpphs, exe:cpphs) (first run)
Preprocessing executable 'cpphs' for cpphs-1.20.9..
Building executable 'cpphs' for cpphs-1.20.9..
[ 7 of 12] Compiling Language.Preprocessor.Cpphs.MacroPass ( Language/Preprocessor/Cpphs/MacroPass.hs, /home/vanessa/git-builds/junk/cpphs-1.20.9/dist-newstyle/build/x86_64-linux/ghc-7.8.4/cpphs-1.20.9/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/MacroPass.o )

Language/Preprocessor/Cpphs/MacroPass.hs:35:38:
    Module ‘Data.Time.Format’ does not export ‘defaultTimeLocale’

It seems to be building against time 1.4.2, perhaps a lower bound would fix that?

@malcolmwallace
Copy link
Owner

Since the only difference between 1.20.8 and 1.20.9 is an update to enable building with a newer ghc, I think the solution is for you to downgrade cpphs back to 1.20.8

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