Bug 253740 - multimedia/gstreamer1 fails to build
Summary: multimedia/gstreamer1 fails to build
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-multimedia (Nobody)
Depends on:
Reported: 2021-02-21 09:27 UTC by mishin@mh.net.ru
Modified: 2021-02-21 20:08 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (multimedia)

patch-grammar.y (292 bytes, patch)
2021-02-21 09:27 UTC, mishin@mh.net.ru
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mishin@mh.net.ru 2021-02-21 09:27:08 UTC
Created attachment 222697 [details]

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.