bison

Takeshi Enomoto takeshi at enomosphere.net
Thu Aug 20 00:03:43 UTC 2020


Ryan,

Thank you for your email.

udunits is an old code and byacc should work perfectly.
bison must have been compatible < 3.7.

I created a patch for metview.
yyparse_t is defined nowhere and replaced with void *.

<https://github.com/dangerousben/jsonval/issues/5>
<https://github.com/macports/macports-ports/commit/a08b9676b9659367223a7224d7260a141c1875e5>

Takeshi

2020年8月19日(水) 14:52 Ryan Schmidt <ryandesign at macports.org>:

>
> On Aug 18, 2020, at 22:45, Takeshi Enomoto wrote:
>
> > I experienced a build error probably due to the behaviour of a recent
> > version of bison.
> >
> > Is anyone in the list aware of the changes in bison?
> >
> > I fixed udunits by using Berkeley Yacc (byacc).
> > metview requires bison, so I used /usr/bin/bison to avoid errors due
> > to bison 3.7.1 of MacPorts.
> > I know that relying on system tools is vulnerable.
> > It would be nice if the newer version of bison had a compatibility option.
>
> Does the discussion and patch here help?
>
> https://trac.macports.org/ticket/60978
>
> If you can patch udunits, metview, and any others in a similar way to be compatible with bison 3.7, that would be preferable.
>


More information about the macports-dev mailing list