qt6-webengine won't compile with ninja >= 1.12.0 #5

Closed
opened 2024-04-23 04:16:00 +02:00 by darfo · 2 comments

This error appears compiling qt6-webengine 6.7.0 with ninja 1.12.0:
../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/content/public/browser/browser_context.h:20:10: fatal error: components/spellcheck/spellcheck_buildflags.h: No such file or directory 20 | #include "components/spellcheck/spellcheck_buildflags.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

https://bugs.gentoo.org/930107 provides the attached patch which corrects the problem for me.

This error appears compiling qt6-webengine 6.7.0 with ninja 1.12.0: `../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/content/public/browser/browser_context.h:20:10: fatal error: components/spellcheck/spellcheck_buildflags.h: No such file or directory 20 | #include "components/spellcheck/spellcheck_buildflags.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` [https://bugs.gentoo.org/930107](url) provides the attached patch which corrects the problem for me.
Owner

Thanks for the patch!

The patch works on my desktop, but I have numerous more soft deps installed there.
With the bare minimum in dependencies (as declared) I am hitting some other header that is missing:

In file included from ../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/components/signin/public/identity_manager/identity_manager.h:21,                                                     
                 from ../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/components/history/core/browser/web_history_service.cc:23:                                                           
../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/components/signin/internal/identity_manager/profile_oauth2_token_service.h:19:10: fatal error: components/signin/public/base/signin_buildfl
ags.h: No such file or directory                                                                                                                                                                                 
   19 | #include "components/signin/public/base/signin_buildflags.h"

I have not been able to dig into what else needs to be patched to fix the build.

Thanks for the patch! The patch works on my desktop, but I have numerous more soft deps installed there. With the bare minimum in dependencies (as declared) I am hitting some other header that is missing: ``` In file included from ../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/components/signin/public/identity_manager/identity_manager.h:21, from ../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/components/history/core/browser/web_history_service.cc:23: ../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/components/signin/internal/identity_manager/profile_oauth2_token_service.h:19:10: fatal error: components/signin/public/base/signin_buildfl ags.h: No such file or directory 19 | #include "components/signin/public/base/signin_buildflags.h" ``` I have not been able to dig into what else needs to be patched to fix the build.
tb self-assigned this 2024-05-04 20:09:08 +02:00
Owner

I'll push an update for qt6-webengine in a bit that contains this fix as well as another patch for ninja 1.12.

I'll push an update for qt6-webengine in a bit that contains this fix as well as another patch for ninja 1.12.
tb closed this issue 2024-05-04 20:41:48 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ports/opt#5
No description provided.