-
Notifications
You must be signed in to change notification settings - Fork 846
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
Constructing the BuildPlan fails when using --enable-executable-profiling with nightly-2015-07-10 resolver #1331
Comments
Did you by chance get GHC from a Debian package? I see the same thing, but the problem does not occur if I get stack to download GHC. Edit: I think I've got it. You probably to install a separate package to get profiling-enabled binaries for base, ghc-prim, and so forth. If you are using the packages provided by haskell.org, it will be named something like |
@nnmm: did @afriesen-imvu's suggestion help?
|
Thanks for the detailed repro steps, but it didn't repro for me. Considering I don't have GHC from a debian package, it seems likely that @afriesen-imvu 's explanation is correct. |
I think I installed the Haskell platform before I installed stack, if that is what you mean. I'll try your suggestion of downloading GHC via stack (with stack setup, right?). |
Yes, and you'll probably need to use On Thu, Nov 19, 2015 at 2:11 PM nnmm notifications@github.com wrote:
|
I also think the action that should come from this issue is to improve the |
Yes,
does it. Thanks for your help! |
I've split off #1407 for better error messaging. |
This is probably related to #1188, but that is marked as closed and has different error messages. I want to compile my executable with profiling enabled using the nightly-2015-07-10 resolver.
Steps to reproduce
In prof-example.cabal, replace the default library, executable and test with
No problems here:
Then, change the resolver to nightly-2015-07-10
Expected
A successful build, like with the lts-3.9 resolver, or at least a helpful error message.
Actual
Trying the same command as above, with
--verbose
:Adding those extra-deps doesn't change anything, neither does "stack clean", disabling all ghc-options in the cabal file, deleting .stack/ and upgrading stack (now on the newest version from git: Version 0.1.7.0, Git revision 1c08f2b x86_64), none of which helped. 'stack solver' is also unhelpful.
The computer is running Ubuntu 14.04.
The text was updated successfully, but these errors were encountered: