Created attachment 222697 [details] patch-grammar.y A port multimedia/gstreamer1 fails to build. gmake[6]: Entering directory '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/parse' /usr/local/bin/bison -d -v -ppriv_gst_parse_yy ./grammar.y -o grammar.tab.c && \ mv grammar.tab.c grammar.tab_tmp.c && \ echo '#ifdef HAVE_CONFIG_H' > grammar.tab_tmp2.c && \ echo '#include <config.h>' >> grammar.tab_tmp2.c && \ echo '#endif' >> grammar.tab_tmp2.c && \ cat grammar.tab_tmp.c >> grammar.tab_tmp2.c && \ rm grammar.tab_tmp.c && \ mv grammar.tab_tmp2.c grammar.tab.c ./grammar.y:799.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [ Needs to reset terminal after that. All builds ok after I changed grammar.y as suggested at a last line.
I think that it is my problem only and I solved it already for myself. So I close the report. Thanks
Got the same problem the patch provided fixed it. Thanks.
I ran into this same issue after updating my system to 13.0-RELEASE.
Also seeing this after updating to 13.0-RELEASE.
Can this be reopened, or will a new PR have to be created?
This actually seems to be some sort of library incompatibility not taken care of by the bison port dependencies (the real problem is bison crashing giving the deprecation warning, not the fact that gstreamer1 triggers a warning). The workaround I found was to install ncurses from ports and rebuild libtextstyle. I hope that gives someone enough information to point them in the direction of a real fix. (I'd appreciate if anyone less out of touch with the FreeBSD community than myself can bring this to the attention of the right people, maybe the bison or libtextstyle port maintainer?) I encountered the issue on FreeBSD 14.0-CURRENT (amd64) whilst installing gnome3 from ports in a couple of VirtualBox VMs.
(In reply to mark from comment #6) Thank you for your workaround, it work like a charm and save my day. I met the same bug with FreeBSD/amd64 13.0-RELEASE-p4 releng/13.0-n244760-940681634ee-dirty while installing x11/kde5.
(In reply to mark from comment #6) Got the same problem... compile /usr/ports/devel/ncurses rebuild /usr/ports/devel/libtextstyle Thanks for your workaround, it worked perfectly and saved my week.