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

Better error message when profiling versions of ghc libraries are missing #1407

Closed
mgsloan opened this issue Nov 23, 2015 · 1 comment
Closed

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Nov 23, 2015

See #1331. The haskell platform apparently lacks profiling versions of libraries, which causes issues for --enable-executable-profiling. Instead of getting a comprehensible error message, it outputs a build plan failure, recommending:

Recommended action: try adding the following to your extra-deps in my-project-dir/par-tutorial/prof-example/stack.yaml
- base-4.8.1.0
- ghc-prim-0.4.0.0

Suggested implementation: notice when wiredInPackages are being ignored due to needing profiling. It's probably best to store this away and wait for the build plan to actually fail before outputting the more informative error message, though.

@snoyberg
Copy link
Contributor

Since we now default to --no-system-ghc, this is a much lesser concern. Closing, though PR still welcome.

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

3 participants