Skip to content

strange issue around hlint and cpphs #169

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

Closed
cartazio opened this issue Jul 24, 2018 · 5 comments
Closed

strange issue around hlint and cpphs #169

cartazio opened this issue Jul 24, 2018 · 5 comments

Comments

@cartazio
Copy link
Member

 $ cabal new-install hlint
Resolving dependencies...
Build profile: -w ghc-8.2.2 -O1
In order, the following will be build

cabal new-install hlint
Resolving dependencies...
Build profile: -w ghc-8.2.2 -O1
In order, the following will be built (use -v for more details):
 - conduit-1.3.0.3 (lib) (requires build)
 - haskell-src-exts-1.20.2 (lib) (requires build)
 - tagged-0.8.6 (lib) (requires build)
 - th-abstraction-0.2.8.0 (lib) (requires build)
 - extra-1.6.9 (lib) (requires build)
 - haskell-src-exts-util-0.2.3 (lib) (requires build)
 - aeson-1.4.0.0 (lib) (requires build)
 - yaml-0.9.0 (lib) (requires build)
 - hlint-2.1.8 (lib) (requires build)
 - hlint-2.1.8 (exe:hlint) (requires build)
Configuring tagged-0.8.6 (lib)...
Configuring th-abstraction-0.2.8.0 (lib)...
Configuring conduit-1.3.0.3 (lib)...
Configuring haskell-src-exts-1.20.2 (lib)...
Building th-abstraction-0.2.8.0 (lib)...
Building tagged-0.8.6 (lib)...
Building conduit-1.3.0.3 (lib)...
Configuring extra-1.6.9 (lib)...
Building extra-1.6.9 (lib)...
Generating tagged-0.8.6 (lib) documentation...
Generating th-abstraction-0.2.8.0 (lib) documentation...
Generating extra-1.6.9 (lib) documentation...
Generating conduit-1.3.0.3 (lib) documentation...
Symlinking hlint

Failed to build haskell-src-exts-1.20.2. The failure occurred during the
configure step.
Build log (
/Users/carter/.cabal/logs/ghc-8.2.2/hskll-src-xts-1.20.2-3e93ea07.log ):
Configuring library for haskell-src-exts-1.20.2..
cabal: The following package dependencies were requested
--dependency='cpphs=cpphs-1.20.8-44946a45'
however the given installed package instance does not exist.

cabal: Failed to build haskell-src-exts-1.20.2 (which is required by exe:hlint
from hlint-2.1.8). See the build log above for details.
@cartazio
Copy link
Member Author

is this a bug in new-install or bad data?

@cartazio
Copy link
Member Author

(or is it a trustee issue? )
my index state can be reproduced by
cabal update --index-state='2018-07-24T22:17:34Z'

@gwils
Copy link
Contributor

gwils commented Jul 25, 2018

With your index state, hlint installs successfully for me with ghc 8.2.2 and 8.4.3
cabal-install version 2.2.0.0
compiled using version 2.2.0.1 of the Cabal library

@hvr
Copy link
Contributor

hvr commented Jul 25, 2018

@andreasabel
Copy link
Contributor

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

4 participants