-
Notifications
You must be signed in to change notification settings - Fork 851
Closed
Description
I'm trying to build cardano-sl locally from scratch using GHC-8.2.2 and LTS-10.3 and stack-1.7.0. My work is in this PR:
I've ensured that I don't have any stack cache problems. So I did:
rm -rf ~/.stack
rm -rf .stack-wok
Unfortunately, I see this error:
$ stack build --ghc-options=" -Wwarn" --test --no-haddock-deps --bench --jobs=4 --no-run-tests --no-run-benchmarks --fast cardano-sl-crypto
cardano-sl-crypto-1.0.3: build (lib)
Preprocessing library for cardano-sl-crypto-1.0.3..
Building library for cardano-sl-crypto-1.0.3..
<command line>: cannot satisfy -package-id cardano-sl-util-1.0.3-G5HFXANN25G9a0KpoRTcat:
cardano-sl-util-1.0.3-G5HFXANN25G9a0KpoRTcat is unusable due to shadowed dependencies:
cardano-sl-networking-1.0.3-6tqSgFZHWWmH386RlBU8vY
(use -v for more information)
Here is full build log:
AFAIU, it's related to some bug in ghc-pkg:
Though, as I understand, stack has some workaround for this.
And this workaround should be removed in future:
Though, it seems that this workaround disappeared in stack-1.7.0 while it shouldn't.
Stack version:
$ stack --version
Version 1.7.0, Git revision cfdd8d7e397a890591ec4ee76f3ee78fbe537c89 x86_64 hpack-0.20.0
OS:
$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels