Closed
Description
I'm seeing this strange behavior at sjakobi/store@1a4c632. Every time I run a benchmark, some dependencies are unregistered and rebuilt, even when there is no change on any file that stack should care about.
The most interesting line from the verbose logs appears to be this one:
2017-03-01 15:59:36.313604: [debug] Ignoring package distributive, from (InstalledTo Local,"/home/simon/src/store/.stack-work/install/x86_64-linux/nightly-2017-02-28/8.0.2/pkgdb/"), due to wrong location: (Just (InstalledTo Local),Snap)
(It would be nice if the log said what the expected location was.)
distributive
and a few (related?) packages are rebuilt again and again and apparently registered in the wrong package db. I think this might be related to containers being a local extra-dep
in this configuration.
I haven't properly minimized this yet, just wanted to report it in case someone else could reproduce it.
Full logs – with and without -v
– here.
$ stack --version
Version 1.3.3, Git revision 8b0ab0bf687a225b2d724f743db50a20ddcc303c (dirty) (4613 commits) x86_64 hpack-0.17.0