-
Notifications
You must be signed in to change notification settings - Fork 843
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
"The following packages specified by flags or options are not found" error with nightly-2018-03-14 #3923
Comments
Thanks for reporting that issue, I'm experiencing it too. |
Verbose log: ~/src/hledger$ stack install --dry-run -v --cabal-verbose
Version 1.6.5, Git revision 24ab0d6ff07f28276e082c3ce74dfdeb1a2ca9e9 (5514 commits) x86_64 hpack-0.20.0
2018-03-14 14:05:58.943033: [debug] Checking for project config at: /Users/simon/src/PLAINTEXTACCOUNTING/hledger/stack.yaml
@(Stack/Config.hs:842:9)
2018-03-14 14:05:58.943825: [debug] Loading project config file stack.yaml
@(Stack/Config.hs:868:13)
2018-03-14 14:05:58.981123: [debug] Decoding build plan from: /Users/simon/.stack/build-plan/nightly-2018-03-14.yaml
@(Stack/Snapshot.hs:150:5)
2018-03-14 14:05:58.981289: [debug] Trying to decode /Users/simon/.stack/build-plan-cache/nightly-2018-03-14.cache
@(Data/Store/VersionTagged.hs:66:5)
2018-03-14 14:05:59.020349: [debug] Success decoding /Users/simon/.stack/build-plan-cache/nightly-2018-03-14.cache
@(Data/Store/VersionTagged.hs:70:13)
2018-03-14 14:05:59.025243: [debug] Using standard GHC build
@(Stack/Setup.hs:617:9)
2018-03-14 14:05:59.045572: [debug] Getting global package database location
@(Stack/GhcPkg.hs:46:5)
2018-03-14 14:05:59.046216: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:98:13)
2018-03-14 14:05:59.046448: [debug] Run process: /usr/local/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Log.hs:37:3)
2018-03-14 14:05:59.088655: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:185:5)
2018-03-14 14:05:59.089776: [debug] Run process: /usr/local/bin/ghc --numeric-version
@(System/Process/Log.hs:37:3)
2018-03-14 14:05:59.124334: [debug] Run process: /usr/local/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Log.hs:37:3)
2018-03-14 14:05:59.162039: [debug] Process finished in 49ms: /usr/local/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Log.hs:44:3)
2018-03-14 14:05:59.193548: [debug] Process finished in 69ms: /usr/local/bin/ghc --numeric-version
@(System/Process/Log.hs:44:3)
2018-03-14 14:05:59.199497: [debug] GHC version is: ghc-8.2.2
@(Stack/Setup/Installed.hs:102:13)
2018-03-14 14:05:59.212519: [debug] Process finished in 50ms: /usr/local/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Log.hs:44:3)
2018-03-14 14:05:59.234318: [debug] Resolving package entries
@(Stack/Setup.hs:250:5)
2018-03-14 14:05:59.234561: [debug] Trying to decode /Users/simon/.stack/loaded-snapshot-cache/x86_64-osx/ghc-8.2.2/nightly-2018-03-14.cache
@(Data/Store/VersionTagged.hs:66:5)
2018-03-14 14:05:59.275590: [debug] Exception ignored when attempting to load /Users/simon/.stack/loaded-snapshot-cache/x86_64-osx/ghc-8.2.2/nightly-2018-03-14.cache: /Users/simon/.stack/loaded-snapshot-cache/x86_64-osx/ghc-8.2.2/nightly-2018-03-14.cache: openBinaryFile: does not exist (No such file or directory)
@(Data/Store/VersionTagged.hs:84:9)
2018-03-14 14:05:59.313408: [debug] Failure decoding /Users/simon/.stack/loaded-snapshot-cache/x86_64-osx/ghc-8.2.2/nightly-2018-03-14.cache
@(Data/Store/VersionTagged.hs:73:13)
2018-03-14 14:05:59.313583: [debug] Run process: /usr/local/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Log.hs:37:3)
2018-03-14 14:05:59.420060: [debug] Process finished in 65ms: /usr/local/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Log.hs:44:3)
2018-03-14 14:05:59.420414: [debug] Trying to decode /Users/simon/.stack/indices/Hackage/01-index.cache
@(Data/Store/VersionTagged.hs:66:5)
2018-03-14 14:05:59.662009: [debug] Success decoding /Users/simon/.stack/indices/Hackage/01-index.cache
@(Data/Store/VersionTagged.hs:70:13)
The following packages specified by flags or options are not found: persistent-sqlite |
After some investigation, I think this issue is related to #3916 |
And I confirm it doesn't happen after stack upgrade to Version 1.7.0, Git revision 06406a9 x86_64 hpack-0.21.2. |
I'm working on a minor release (will be v1.6.7) that will include this fix. |
There are two ways of solving this.
@borsboom is working on the former. I've been working on the latter. See also commercialhaskell/stackage#3375, which is basically tracking the progress of getting persistent-sqlite into the nightly builds. Only one of these is needed to solve the issue, but hopefully we can get both of them done soon! |
Given that we're about to have a 1.7 release, and the nightlies have since been fixed, I think it's safe to close this one now. |
@snoyberg Are we talking of a potential |
I'm not sure if it'll land this week, but there is a release candidate already. |
I'm getting the same kind of error mentioned on #3358 :
Adding persistent-sqlite under extra-deps had no effect.
Expected
A successful install or a more normal install plan error.
The text was updated successfully, but these errors were encountered: