Compile failure with GHC 7.4.2 / inaccurate version bounds

Open
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
haskell
Domain
build-system

Research direction

Start with src/Data/Thyme/Calendar/WeekdayOfMonth.hs and the package's .cabal file, then reproduce the failure with GHC 7.4.2. Check how the GHC.Generics dependency and base version bounds are declared; done means the bounds accurately describe supported versions and the package compiles with GHC 7.4.2.

Written by the indexing model from the issue text.

Description

recent thyme releases fail to compile with GHC 7.4 even though declaring support for base >= 4.5 (but base-4.5 doesn't have GHC.Generics):

Configuring component lib from thyme-0.3.5.5
Preprocessing library thyme-0.3.5.5...

src/Data/Thyme/Calendar/WeekdayOfMonth.hs:33:8:
    Could not find module `GHC.Generics'
    It is a member of the hidden package `ghc-prim'.
    Perhaps you need to add `ghc-prim' to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
Dominant language
Haskell
Stars
47
Forks
35
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from haskell-github-trust/thyme

All issues in haskell-github-trust/thyme

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.