<div dir="ltr">If your original goal was to test for a ghc panic in newer ghc, my final suggestion would be to get a minimal example that panics without all these extra dependencies. If you happen to find that the bug exists in newer ghc, you'd have to do that anyways to submit a useful bug report.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 12, 2017 at 9:06 AM, Baa <span dir="ltr"><<a href="mailto:aquagnu@gmail.com" target="_blank">aquagnu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I done it, but got the same error. My project uses several my packages<br>
(libraries), they are called 'my-*'. I changed in their .cabal-files<br>
versions range of "base" too, but error is the same. Build-depends<br>
stanza of executable looks like:<br>
<br>
build-depends: base >= 4.9 && < 4.11<br>
, text<br>
, my-common-utils<br>
, my-atlassian-utils<br>
, my-jenkins-utils<br>
, my-git-utils<br>
, aeson<br>
, network-uri<br>
, network-info<br>
, text-show<br>
, hslogger<br>
, bytestring<br>
, transformers<br>
, aeson-pretty<br>
, time<br>
, email-validate<br>
, streaming<br>
, containers<br>
, sqlite-simple<br>
, directory<br>
, tuple<br>
, async<br>
, mime-mail<br>
, HaskellNet<br>
, HaskellNet-SSL<br>
, mustache<br>
, path<br>
, exceptions<br>
, mono-traversable<br>
, data-default-class<br>
, path-io<br>
, split<br>
, microlens<br>
, microlens-th<br>
, regex-pcre<br>
, pcre-utils<br>
, unordered-containers<br>
, formatting<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> On Tue, Dec 12, 2017 at 03:38:30PM +0200, Baa wrote:<br>
> > 1. GHC 8.2.2 is here:<br>
> > ~/.stack/programs/x86_64-<wbr>linux/ghc-tinfo6-8.2.2/bin<br>
> > 2. done<br>
> > 3. yes, it's 8.2.2<br>
> > 4. `cabal new-build` said to me call `cabal update`, I done it,<br>
> > then run it again and got:<br>
> > $ cabal new-build<br>
> > Resolving dependencies...<br>
> > cabal: Could not resolve dependencies:<br>
> > trying: XXX-0.5.0.0 (user goal)<br>
> > next goal: YYY-utils (dependency of XXX-0.5.0.0)<br>
> > Dependency tree exhaustively searched.<br>
><br>
> Good, we're almost there!<br>
><br>
> I strongly suspect it is a base constraint. Go in your something.cabal<br>
> file, build-depends section(s) and modify it from:<br>
><br>
> base >= 4.somenumber && < 4.10<br>
><br>
> to<br>
><br>
> base >= 4.somenumber && < 4.11<br>
><br>
> And try cabal new-build again. If that fails, please include the<br>
> content of your `build-depends:` portion in your message<br>
> -F<br>
> ______________________________<wbr>_________________<br>
> Beginners mailing list<br>
> <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/beginners</a><br>
<br>
______________________________<wbr>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div>