On recent CURRENT (FreeBSD 14.0-CURRENT #57 main-n245471-b55c0d5f56bd: Mon Mar 15 16:35:53 CET 2021 amd64) building of the port multimedia/gstreamer1 fails with the error shown below. The port has already been rebuilt recursively to catch all changes due to ncurses changes in 14-CURRENT, but without success. This failure also affects the build of editors/libreoffice which is unwilling to build. [...] 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’ [ gmake[6]: *** [Makefile:842: grammar.tab.h] Error 139 gmake[6]: Leaving directory '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/parse' gmake[5]: *** [Makefile:1813: all-recursive] Error 1 gmake[5]: Leaving directory '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst' gmake[4]: *** [Makefile:1011: all] Error 2 gmake[4]: Leaving directory '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst' gmake[3]: *** [Makefile:742: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2' gmake[2]: *** [Makefile:648: all] Error 2 gmake[2]: Leaving directory '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/multimedia/gstreamer1 *** Error code 1
Also broken on 13.0-STABLE
Also broken on 13.0-RC5.
Builds fine on the cluster: http://beefy16.nyi.freebsd.org/data/130releng-amd64-default/4c2cc95952a6/logs/gstreamer1-1.16.2.log http://beefy18.nyi.freebsd.org/data/main-amd64-default/p46fc7df8540c_s1f64f32a4c/logs/gstreamer1-1.16.2.log There's very little to go on. Why don't you guys post the full build log?
(In reply to Tobias Kortkamp from comment #3) A fair point. I'm upgrading to 13.0-RELEASE. I'll try again and share the log, if it still fails.
Created attachment 224095 [details] Make log Please find the attached make log. Interestingly, the very act of piping the output into the log file, circumvented the issue. The error still appears in the log file on line 475, but the build completed. I'm using csh shell. Running "make" results in a failed build. Running "make >& log.txt" results in a successful build.
(In reply to David Armstrong from comment #5) The same workaround of directing output to a log file, worked for bug #254757
I just had the same error. Replacing "%pure-parser" with "%define api.pure" in grammar.y:799 fixed build for me.
Created attachment 225196 [details] patch with updated define for api.pure On my side the described error occurs on Poudriere and in a newly created VBox, both with 14.0-CURRENT i386. With amd64 all seems fine. The attached patch contains the change from comment #7 (thanks to Piotr) and is tested on Poudriere and with 'portlint -AC'.