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

Cannot compile with GHC 7.10/time 1.5 #2

Open
snoyberg opened this issue May 13, 2015 · 4 comments
Open

Cannot compile with GHC 7.10/time 1.5 #2

snoyberg opened this issue May 13, 2015 · 4 comments

Comments

@snoyberg
Copy link

Unpacking to biophd-0.0.7/
Resolving dependencies...
Configuring biophd-0.0.7...
Building biophd-0.0.7...
Preprocessing library biophd-0.0.7...
[1 of 3] Compiling Bio.Sequence.PhdTag ( src/Bio/Sequence/PhdTag.hs, dist/build/Bio/Sequence/PhdTag.o )
[2 of 3] Compiling Bio.Sequence.PhdData ( src/Bio/Sequence/PhdData.hs, dist/build/Bio/Sequence/PhdData.o )

src/Bio/Sequence/PhdData.hs:80:58:
    Ambiguous occurrence ‘defaultTimeLocale’
    It could refer to either ‘System.Locale.defaultTimeLocale’,
                             imported from ‘System.Locale’ at src/Bio/Sequence/PhdData.hs:3:1-20
                          or ‘Data.Time.Format.defaultTimeLocale’,
                             imported from ‘Data.Time.Format’ at src/Bio/Sequence/PhdData.hs:5:1-23
                             (and originally defined in ‘time-1.5.0.1:Data.Time.Format.Locale’)
snoyberg added a commit to commercialhaskell/stackage that referenced this issue May 13, 2015
@dfornika
Copy link
Contributor

Thanks for opening the issue Michael. Based on a quick look at the compiler error I'm thinking that I might just need to tighten up the dependency definitions in the .cabal file. I'll take a closer look as soon as I can.

@bergmark
Copy link

This package is useful for staying compatible with both versions of time: http://hackage.haskell.org/package/time-locale-compat

@dfornika
Copy link
Contributor

I've updated the time library dependencies, and uploaded a new version biophd-0.0.8 to hackage. I'm looking at http://matrix.hackage.haskell.org/package/biophd and there seems to be some problem ('test-result missing'). Can you offer any advice on what has gone wrong?

@bergmark
Copy link

That just means there is a new version but the builder hasn't touched it yet. I queued up a new build for biophd. It might take a while, we are currently experiencing the tenacity of the cabal solver for other packages :)

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

3 participants