#60978 closed defect (fixed)
qt5-qtwebengine @ 5.14.2_1 build fails with 'xpath_grammar.hh' file not found
Reported by: | hapaguy (Brian Kurt Fujikawa) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | Schamschula (Marius Schamschula), dershow, jjstickel (Jonathan Stickel) | |
Port: | qt5-qtwebengine |
Description
I am running macOS 10.15.6, using Xcode 11.6, and MacPorts 2.6.3.
% sudo port -f deactivate qt5-qtwebengine % sudo port -sv upgrade qt5-qtwebengine
fails with:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.14.2/src/core/release/gen/third_party/blink/renderer/core/xpath_grammar.cc:124:10: fatal error: 'xpath_grammar.hh' file not found :error:build Failed to build qt5-qtwebengine: command execution failed
I confirm that xpath_grammar.hh is missing from:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.14.2/src/core/release/gen/third_party/blink/renderer/core/
But, there is a xpath_grammar.h.
I have attached the main.log
Attachments (1)
Change History (10)
Changed 4 years ago by hapaguy (Brian Kurt Fujikawa)
Attachment: | qt5-qtwebengine main.log.zip added |
---|
comment:1 Changed 4 years ago by Schamschula (Marius Schamschula)
Cc: | MarcusCalhoun-Lopez removed |
---|---|
Owner: | set to MarcusCalhoun-Lopez |
Port: | qt5-qtwebengine added |
Status: | new → assigned |
comment:2 Changed 4 years ago by Schamschula (Marius Schamschula)
Cc: | Schamschula added |
---|
comment:3 follow-up: 6 Changed 4 years ago by Schamschula (Marius Schamschula)
This is an issue with bison 3.7. See: https://bugs.gentoo.org/734356
There is a patch: https://734356.bugs.gentoo.org/attachment.cgi?id=652054
which worked for me.
comment:4 Changed 4 years ago by hapaguy (Brian Kurt Fujikawa)
Thanks, maybe this bison 3.7 issue is causing a similar problem with webkit-gtk3 #60977
comment:5 Changed 4 years ago by Schamschula (Marius Schamschula)
That's possible. If so, it's the same error (and likely the same fix) as for qt5-webkit https://trac.macports.org/ticket/60975
comment:6 Changed 4 years ago by karolisr (Karolis Ramanauskas)
I can confirm that this simple patch worked for me as well.
Replying to Schamschula:
This is an issue with bison 3.7. See: https://bugs.gentoo.org/734356
There is a patch: https://734356.bugs.gentoo.org/attachment.cgi?id=652054
which worked for me.
comment:7 Changed 4 years ago by dershow
Cc: | dershow added |
---|
comment:8 Changed 4 years ago by jjstickel (Jonathan Stickel)
Cc: | jjstickel added |
---|
comment:9 Changed 4 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
zip'd main.log (original 27.5 MB > 10.0 MB)