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.