Closed jakeonrails closed 6 years ago
Here are my logs from brew install --verbose unused
. It's a long log, so I put it behind a <details>
tag:
Interestingly, stack install unused
(with an lts-6.0
build plan) works, which might point towards a problem with Cabal's less-stringent version requirements? Stackage's LTS releases make sure that all the packages in that release work together, but (as I understand it) Cabal always uses the most-recent-possible versions. Maybe that's the problem?
Here's a diff of top-level packages installed by both. Red is cabal, green is stack:
-aeson-1.2.4.0
-attoparsec-0.13.2.2
+aeson-0.11.2.1
+attoparsec-0.13.0.2
cassava-0.4.5.1
-conduit-1.3.0
+conduit-1.2.6.6
inflections-0.3.0.0
-integer-logarithms-1.0.2
-megaparsec-5.3.1
-resourcet-1.2.0
-scientific-0.3.5.2
-yaml-0.8.28
+integer-logarithms-1
+megaparsec-5.1.2
+mmorph-1.0.9
+resourcet-1.1.7.4
+scientific-0.3.4.10
+yaml-0.8.17.1
Similar problem
I'm facing same problem as well.
Exactly same problem.
same problem
stack install unused
using the lts-6.0
resolver no longer works.
$ stack --resolver lts-6.0 install
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for async-2.1.0:
base-4.11.1.0 from stack configuration does not match >=4.3 && <4.10 (latest matching version is 4.9.1.0)
needed due to unused-0.8.0.0 -> async-2.1.0
In the dependencies for cassava-0.4.5.1:
base-4.11.1.0 from stack configuration does not match >=4.5 && <4.11 (latest matching version is 4.10.1.0)
needed due to unused-0.8.0.0 -> cassava-0.4.5.1
In the dependencies for exceptions-0.8.2.1:
template-haskell-2.13.0.0 from stack configuration does not match >=2.2 && <2.12 (latest matching version is 2.11.1.0)
needed due to unused-0.8.0.0 -> exceptions-0.8.2.1
In the dependencies for hashable-1.2.4.0:
base-4.11.1.0 from stack configuration does not match >=4.0 && <4.10 (latest matching version is 4.9.1.0)
needed due to unused-0.8.0.0 -> hashable-1.2.4.0
In the dependencies for optparse-applicative-0.12.1.0:
process-1.6.3.0 from stack configuration does not match >=1.0 && <1.5 (latest matching version is 1.4.3.0)
needed due to unused-0.8.0.0 -> optparse-applicative-0.12.1.0
In the dependencies for primitive-0.6.1.0:
base-4.11.1.0 from stack configuration does not match >=4.3 && <4.10 (latest matching version is 4.9.1.0)
needed due to unused-0.8.0.0 -> primitive-0.6.1.0
In the dependencies for scientific-0.3.4.6:
base-4.11.1.0 from stack configuration does not match >=4.3 && <4.10 (latest matching version is 4.9.1.0)
needed due to unused-0.8.0.0 -> scientific-0.3.4.6
In the dependencies for stm-2.4.4.1:
base-4.11.1.0 from stack configuration does not match >=4.3 && <4.10 (latest matching version is 4.9.1.0)
needed due to unused-0.8.0.0 -> stm-2.4.4.1
In the dependencies for tagged-0.8.4:
template-haskell-2.13.0.0 from stack configuration does not match >=2.8 && <2.12 (latest matching version is 2.11.1.0)
needed due to unused-0.8.0.0 -> tagged-0.8.4
In the dependencies for transformers-compat-0.4.0.4:
transformers-0.5.5.0 from stack configuration does not match >=0.4.1 && <0.5 (latest matching version is 0.4.3.0)
needed due to unused-0.8.0.0 -> transformers-compat-0.4.0.4
In the dependencies for vector-0.11.0.0:
base-4.11.1.0 from stack configuration does not match >=4.3 && <4.10 (latest matching version is 4.9.1.0)
needed due to unused-0.8.0.0 -> vector-0.11.0.0
Some different approaches to resolving this:
* Set 'allow-newer: true' to ignore all version constraints and build anyway.
* Consider trying 'stack solver', which uses the cabal-install solver to attempt to find some working build configuration. This can be convenient when dealing with many complicated constraint
errors, but results may be unpredictable.
* Recommended action: try adding the following to your extra-deps in /Users/nsutton/Code/tmp/unused/stack.yaml:
- base-4.9.1.0
- process-1.4.3.0
- template-haskell-2.11.1.0
- transformers-0.4.3.0
Plan construction failed.
I also tried all the different approaches to no avail.
@nate @swordfish444 @aitor @VineethArvindFluke @DmitryKK @gabebw @jakeonrails mind giving this another go?
Version 0.9 (the newest version) works for me!
On Sep 8, 2018, at 2:53 AM, Josh Clayton notifications@github.com wrote:
@nate @swordfish444 @aitor @VineethArvindFluke @DmitryKK @gabebw @jakeonrails mind giving this another go?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
It installed via homebrew and I have it running right now. Thanks!
macOS Sierra version 10.12.6 (16G1114)