Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736499 - dev-qt/qtwebkit-5.212.0_pre20200309-r1 with sys-devel/bison-3.7: DerivedSources/WebCore/CSSGrammar.cpp:160:10: fatal error: CSSGrammar.hpp: No such file or directory
Summary: dev-qt/qtwebkit-5.212.0_pre20200309-r1 with sys-devel/bison-3.7: DerivedSourc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://github.com/qtwebkit/qtwebkit/...
Whiteboard:
Keywords:
: 736992 (view as bug list)
Depends on:
Blocks: bison-3.7
  Show dependency tree
 
Reported: 2020-08-09 09:27 UTC by Janpieter Sollie
Modified: 2020-08-18 17:49 UTC (History)
2 users (show)

See Also:
Package list:
qtwebkit
Runtime testing required: ---


Attachments
command to solve the problem (file_736499.txt,9 bytes, patch)
2020-08-09 09:27 UTC, Janpieter Sollie
Details | Diff
sh file to be executed when installing qtwebkit (file_736499.txt,368 bytes, patch)
2020-08-11 04:22 UTC, Janpieter Sollie
Details | Diff
emerge --info (file_736499.txt,6.73 KB, text/plain)
2020-08-11 04:22 UTC, Janpieter Sollie
Details
build.log (xz compressed) (build.log.xz,209.87 KB, application/octet-stream)
2020-08-11 04:44 UTC, Janpieter Sollie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janpieter Sollie 2020-08-09 09:27:01 UTC
Created attachment 653881 [details, diff]
command to solve the problem

When compiling, GCC gives me the following error: 'CSSGrammar.hpp not found.' find concludes there is indeed no CSSGrammar.hpp, but the .h file exists.  I used the following command: cd /var/tmp/portage/dev-qt/webkit*/work/qtwebkit*_pre20200303_build/DerivedSources/WebCore/; for i in *.h; do if [ ! -f "${i}pp ]; then ln -s "$i" "${i}pp"; fi; done; ... and then ebuild compile finishes the compilation.  We all know qtwebkit is a painful package, but this may solve some compilation problems
Comment 1 Jonas Stein gentoo-dev 2020-08-10 20:45:04 UTC
please upload the patch again. The file seems broken.
Please add your logs and emerge --info so we know what exactly is fixed here.
Comment 2 Janpieter Sollie 2020-08-11 04:22:18 UTC
Created attachment 654087 [details, diff]
sh file to be executed when installing qtwebkit
Comment 3 Janpieter Sollie 2020-08-11 04:22:52 UTC
Created attachment 654089 [details]
emerge --info
Comment 4 Janpieter Sollie 2020-08-11 04:44:20 UTC
Created attachment 654091 [details]
build.log (xz compressed)
Comment 5 Andrey Grozin gentoo-dev 2020-08-17 14:41:45 UTC
This is, I suppose, the same failure as bug #736992. Downgrading sys-devel/bison to 3.6.4 solves the problem. It would be interesting to understand exactly what difference between 3.6.4 and 3.7.0 leads to this problem.
Comment 6 Andreas Sturmlechner gentoo-dev 2020-08-18 13:49:35 UTC
*** Bug 736992 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2020-08-18 17:49:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e618c88a9134f754264efc11aa0b1fdc028b88

commit 69e618c88a9134f754264efc11aa0b1fdc028b88
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-08-18 13:56:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-08-18 17:48:50 +0000

    dev-qt/qtwebkit: Fix build with sys-devel/bison-3.7
    
    Closes: https://bugs.gentoo.org/736499
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../qtwebkit-5.212.0_pre20200309-bison-3.7.patch   | 46 ++++++++++++++++++++++
 .../qtwebkit-5.212.0_pre20200309-r1.ebuild         |  2 +
 2 files changed, 48 insertions(+)