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

Build failure from mtl-compat overhaul #7

Closed
snoyberg opened this issue Feb 23, 2015 · 5 comments
Closed

Build failure from mtl-compat overhaul #7

snoyberg opened this issue Feb 23, 2015 · 5 comments

Comments

@snoyberg
Copy link

Preprocessing library haxr-3000.10.4.1...

Network/XmlRpc/Server.hs:35:18:
    Could not find module ‘Control.Monad.Except’
    It is a member of the hidden package ‘mtl-compat-0.2.1.3’.
    Perhaps you need to add ‘mtl-compat’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
snoyberg added a commit to commercialhaskell/stackage that referenced this issue Feb 23, 2015
@peti
Copy link

peti commented Feb 23, 2015

Same here: http://hydra.cryp.to/build/579020/log/raw.

@byorgey
Copy link
Owner

byorgey commented Feb 23, 2015

Hmm, thanks for the report. My travis build is succeeding (https://travis-ci.org/byorgey/haxr/builds/51775356); what would be the difference?

In any case, what is the current best practice with regard to mtl/transformers stuff? I have been somewhat out of the loop.

@snoyberg
Copy link
Author

My guess is that you're building with transformers 0.4. The best practice here is likely to just add transformers-compat and/or mtl-compat to your build-depends, which should solve this problem.

@byorgey
Copy link
Owner

byorgey commented Feb 23, 2015

OK, I just uploaded haxr-3000-10-4-2 which adds an mtl-compat dependency. As far as I understand this should fix the problem; but since my travis build was succeeding previously, I can't really tell. Please let me know whether I can close this ticket. Thanks!

@snoyberg
Copy link
Author

@byorgey I'll close the issue for now, and if there are problems with future Stackage builds, I'll reopen. Thanks for the quick response!

snoyberg added a commit to commercialhaskell/stackage that referenced this issue Feb 23, 2015
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