"Could not list sources" warning in sandboxed project with add-source deps
I'm getting a warning
Warning: Could not list sources of the add-source dependency 'xyz'.> Skipping the timestamp check. when building a sandboxed project with add-source dependencies. I tried increasing the verbosity of cabal, but it still won't tell me what's going wrong so I can fix it. Any suggestions on how to debug or fix this? thanks,--Eric
Hi, On 14 August 2015 at 21:00, Eric <devnull1999@yahoo.com> wrote:
I'm getting a warning
Warning: Could not list sources of the add-source dependency 'xyz'. Skipping the timestamp check.
when building a sandboxed project with add-source dependencies. I tried increasing the verbosity of cabal, but it still won't tell me what's going wrong so I can fix it.
Any suggestions on how to debug or fix this?
Check the output of `cabal sandbox list-sources`. A likely cause is that one of add-source dependencies refers to a non-existent directory.
Thanks for the quick reply, Mikhail, but no: the output of "cabal sandbox list-sources" looks fine. Any other ideas, anyone? --Eric On Friday, August 14, 2015 2:41 PM, Mikhail Glushenkov wrote: Hi, On 14 August 2015 at 21:00, Eric <devnull1999@yahoo.com> wrote:
I'm getting a warning
Warning: Could not list sources of the add-source dependency 'xyz'. Skipping the timestamp check.
when building a sandboxed project with add-source dependencies. I tried increasing the verbosity of cabal, but it still won't tell me what's going wrong so I can fix it.
Any suggestions on how to debug or fix this? Check the output of `cabal sandbox list-sources`. A likely cause is that one of add-source dependencies refers to a non-existent directory.
Hi, On 15 August 2015 at 02:36, Eric <devnull1999@yahoo.com> wrote:
Thanks for the quick reply, Mikhail, but no: the output of "cabal sandbox list-sources" looks fine.
One other possibility is that one of the dependencies lists a non-existing file in its .cabal file, e.g. as part of extra-source-files.
That was it! Thanks, Mikhail. You've saved me a lot of recompiling. --Eri On Friday, August 14, 2015 5:48 PM, Mikhail Glushenkov <the.dead.shall.rise@gmail.com> wrote: One other possibility is that one of the dependencies lists a non-existing file in its .cabal file, e.g. as part of extra-source-files.
participants (2)
-
Eric -
Mikhail Glushenkov