[Haskell-cafe] Trouble building happy/alex with Stack lts-9.20
Michael Snoyman
michael at snoyman.com
Mon Dec 25 13:46:25 UTC 2017
You'll need to run `stack upgrade` first.
On Mon, Dec 25, 2017 at 3:40 PM, Eric McCorkle <eric at metricspace.net> wrote:
> Can unpack, and happy.cabal is definitely there. Unfortunately, stack
> init or stack build seems to fail with an aeson exception:
>
> AesonException "Error in
> $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid
> flag name: \"bytestring--lt-0_10_4\""
>
>
> On 12/25/2017 07:53, Michael Snoyman wrote:
> > What command are you running to generate this output? Are you able to
> > `stack unpack happy && cd happy-* && stack init && stack build`
> > successfully?
> >
> > On Mon, Dec 25, 2017 at 7:29 AM, Dan Burton <danburton.email at gmail.com
> > <mailto:danburton.email at gmail.com>> wrote:
> >
> > /cc the haskell-stack mailing list.
> >
> > On Dec 24, 2017 9:08 AM, "Eric McCorkle" <eric at metricspace.net
> > <mailto:eric at metricspace.net>> wrote:
> >
> > Hi folks,
> >
> > I'm trying to update my language project to happy >= 9.16, so I
> > can use
> > typeclass-based parsers. Unfortunately, I'm running into build
> > errors
> > after switching to lts-9.20. The log file is attached.
> >
> > I see similar problems when trying to build alex (the lexer
> > generator).
> >
> > It seems to be claiming that there is no cabal file, which is
> > odd, as
> > there clearly is one (in the source at least).
> >
> > Has anyone else seen this problem, and if so, what is the
> > workaround?
> >
> > _______________________________________________
> > Haskell-Cafe mailing list
> > To (un)subscribe, modify options or view archives go to:
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> > <http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe>
> > Only members subscribed via the mailman list are allowed to post.
> >
> >
> > _______________________________________________
> > Haskell-Cafe mailing list
> > To (un)subscribe, modify options or view archives go to:
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> > <http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe>
> > Only members subscribed via the mailman list are allowed to post.
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20171225/9cbebd0f/attachment.html>
More information about the Haskell-Cafe
mailing list