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

Integration test 796-ghc-options is failing #3358

Closed
snoyberg opened this issue Aug 17, 2017 · 2 comments
Closed

Integration test 796-ghc-options is failing #3358

snoyberg opened this issue Aug 17, 2017 · 2 comments
Assignees

Comments

@snoyberg
Copy link
Contributor

Due to my recent changes to how GHC options are handled almost certainly. It appears that Stack isn't happy about the fact that a ghc-options value is being placed on the snapshot package text. Should be easy to reproduce outside of the integration tests and then resolve.

@snoyberg snoyberg added this to the P0: Blocking release milestone Aug 17, 2017
@snoyberg snoyberg self-assigned this Aug 17, 2017
@snoyberg
Copy link
Contributor Author

Raw output from the integration test:

       uncaught exception: TestFailure (Exited with ExitFailure 1
       
       stdout:
       
       
       stderr:
       Running: /Users/michael/Desktop/stack/.stack-work/install/x86_64-osx/lts-8.22/8.0.2/bin/stack build
       Warning: /private/var/folders/2p/lttx34bs2g973jqx_z35mtdm0000gn/T/stack-integration-796-ghc-options47106/stack.yaml: The `*` ghc-options key is not recommended. Consider using $locals, or if really needed, $everything
       The following packages specified by flags or options are not found: text
       Main.hs: Exited with exit code: ExitFailure 1
       CallStack (from HasCallStack):
         error, called at /Users/michael/Desktop/stack/test/integration/lib/StackTest.hs:37:34 in main:StackTest
       )

@snoyberg
Copy link
Contributor Author

Never mind, I take it back: the test was incorrect, as it was setting a GHC option for a package not present (we're using a GHC resolver here). I'll fix the test itself.

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

1 participant