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

Test suite build failure with Cabal 2.0 #596

Closed
snoyberg opened this issue Jul 31, 2017 · 1 comment
Closed

Test suite build failure with Cabal 2.0 #596

snoyberg opened this issue Jul 31, 2017 · 1 comment
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. packaging Dependencies, version constraints, packaging.. tools hledger developer tools, scripts, processes..

Comments

@snoyberg
Copy link
Collaborator

snoyberg commented Jul 31, 2017

You'll need to add time to the test suite dependencies.

Building test suite 'doctests' for hledger-lib-1.3..

Hledger/Data/Dates.hs:78:0: error:
     error: missing binary operator before token "("
     #if MIN_VERSION_time(1,5,0)
     ^
   |
78 | #if MIN_VERSION_time(1,5,0)
   | ^

Hledger/Data/Dates.hs:488:0: error:
     error: missing binary operator before token "("
     #if MIN_VERSION_time(1,5,0)
     ^
    |
488 | #if MIN_VERSION_time(1,5,0)
    | ^
`gcc' failed in phase `C pre-processor'. (Exit code: 1)
snoyberg added a commit to commercialhaskell/stackage that referenced this issue Jul 31, 2017
@simonmichael simonmichael added A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. packaging Dependencies, version constraints, packaging.. tools hledger developer tools, scripts, processes.. labels Jul 31, 2017
@simonmichael
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. packaging Dependencies, version constraints, packaging.. tools hledger developer tools, scripts, processes..
Projects
None yet
Development

No branches or pull requests

2 participants