Summary: | devel/doxygen: build failure: deprecated directive: '%name-prefix "constexpYY"', | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> | ||||
Component: | Individual Port(s) | Assignee: | Dima Panov <fluffy> | ||||
Status: | Closed Feedback Timeout | ||||||
Severity: | Affects Only Me | CC: | freebsd-bugzillaqarmuxq9, yamayan | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(fluffy) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
O. Hartmann
2021-04-04 08:31:00 UTC
(In reply to O. Hartmann from comment #0) Update to doxygen-1.9.1 is almost ready, which should fix this issue, caused by flex/bison. Will be committed as soon as git repo will be opened to push I've encountered this error with the doxygen build on FreeBSD 13.0-RELEASE AMD64. It's part of the KDE5 build process, which puts a spanner in the works. A (strange?) workaround for this would seem to have output directed to a text file. This is under a csh shell. Running "make" fails. Running "make >& log.txt" is successful. I had the same issue with gstreamer1. bug #254326, comment #5 The error also occurs with multimedia/gstreamer1 editors/libreoffice in a similar way (build/compilation failure): multimedia/gstreamer1: [...] 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 editors/libreoffice: [...] [CXX] codemaker/source/codemaker/options.cxx /usr/ports/editors/libreoffice/work/libreoffice-7.1.2.2/unoidl/source/sourceprovider-parser.y:13.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [ gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-7.1.2.2/solenv/gbuild/LinkTarget.mk:407: /usr/ports/editors/libreoffice/work/libreoffice-7.1.2.2/workdir/YaccTarget/unoidl/source/sourceprovider-parser.done] Error 139 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-7.1.2.2' gmake[2]: *** [Makefile:282: build] Error 2 gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-7.1.2.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/editors/libreoffice *** Error code 1 I had recompiled almost every port due to ncurses changes, but right now I recompile all kf5 ports and required ports. Hopefully this helps. Thanks for the int delegating output to a dedicated file, will try ... (In reply to David Armstrong from comment #3) Your trick apllied to all the failing ports made the build magically work again! Folks, please test with doxygen 1.9.1. I still cannot reproduce in clean poudriere build The same problem with the latest devel/doxygen in the ports tree, e3847f7b2db9, which has devel/doxygen 1.9.1_2. Still the same problem. The number of servers having this reported problme seems to grow over time. (In reply to O. Hartmann from comment #7) Moin! I still cannot reproduce this in a clean build environment (poudriere and synth). In which way you build it? Looks like polluted installation :( Created attachment 226429 [details]
patch
change %name-prefix to %define api.prefix {constexpYY}
remove -p flag
Included in 1.9.2 update |