Skip to content

CI does not work with cabal-install-1.24.0.1 #4108

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
ezyang opened this issue Nov 13, 2016 · 2 comments
Closed

CI does not work with cabal-install-1.24.0.1 #4108

ezyang opened this issue Nov 13, 2016 · 2 comments

Comments

@ezyang
Copy link
Contributor

ezyang commented Nov 13, 2016

@hvr updated the cabal-install PPA to 1.24.0.1, but this broke our CI. A representative failure is https://travis-ci.org/haskell/cabal/jobs/175033797

I haven't investigated further.

@23Skidoo
Copy link
Member

23Skidoo commented Nov 13, 2016

@ezyang

package-tests: could not build shared Setup executable
  ran: /opt/ghc/7.6.3/bin/ghc-7.6.3 --make -clear-package-db -global-package-db '-package-db=/home/travis/.cabal/store/ghc-7.6.3/package.db' '-package-db=/home/travis/build/haskell/cabal/dist-newstyle/packagedb/ghc-7.6.3' '-package-db=/home/travis/build/haskell/cabal/dist-newstyle/build/cabal-testsuite-1.25.0.0/package.conf.inplace' '-hide-package Cabal' '-package Cabal-1.25.0.0' -O0 Setup.hs
  output:
<command line>: cannot satisfy -package Cabal-1.25.0.0
    (use -v for more information)

IIRC something like this happened before and was fixed by you, but I can't find the ticket right now.

@ezyang
Copy link
Contributor Author

ezyang commented Nov 13, 2016

Reproduced locally; I think this is a redux of #3932. I actually have been working on a rewrite of the test suite which would fix this problem, but it is going to be some more time before I finish it.

ezyang added a commit to ezyang/cabal that referenced this issue Nov 13, 2016
Now that cabal-testsuite uses a Custom setup, we can assume
that we are able to read the LBI from our build.  This is good
news, because the old algorithm didn't really work at all
(and stopped working with cabal-install-1.24.0.1)

Fixes haskell#4108.

Signed-off-by: Edward Z. Yang <[email protected]>
ezyang added a commit to ezyang/cabal that referenced this issue Nov 13, 2016
Now that cabal-testsuite uses a Custom setup, we can assume
that we are able to read the LBI from our build.  This is good
news, because the old algorithm didn't really work at all
(and stopped working with cabal-install-1.24.0.1)

Fixes haskell#4108.

Signed-off-by: Edward Z. Yang <[email protected]>
ezyang added a commit that referenced this issue Nov 13, 2016
Now that cabal-testsuite uses a Custom setup, we can assume
that we are able to read the LBI from our build.  This is good
news, because the old algorithm didn't really work at all
(and stopped working with cabal-install-1.24.0.1)

Fixes #4108.

Signed-off-by: Edward Z. Yang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants