Opened 6 weeks ago

Closed 5 weeks ago

#71031 closed defect (fixed)

qt6-qtwebengine fails to build on MacOS Sequoia

Reported by: RivetBenoit (Benoit Rivet) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: reneeotten (Renee Otten), markemer (Mark Anderson)
Port: qt6-qtwebengine

Description (last modified by RivetBenoit (Benoit Rivet))

I tried to install py312-pyqt6 on Mac OS Sequoia. The installation initally failed due to a bug in orbit2, but thanks to the work of ryandesign (many thanks to him and every people working for MacPorts), orbit2 compiles fine on Sequoia. However, py312-pyqt6 now fails when trying to compile qt6-qtwebengine. The first error I spotted in the log file happens line 16754 :

:info:build FAILED: obj/ui/base/base/base_jumbo_mm.o 
(snip the overly long line 16755)
:info:build In file included from gen/ui/base/base_jumbo_mm.mm:18:
:info:build In file included from ./../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/ui/base/cocoa/permissions_utils.mm:14:
:info:build ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/base/mac/wrap_cg_display.h:22:5: error: expected function body after function declarator
:info:build    22 |     CG_AVAILABLE_BUT_DEPRECATED(
:info:build       |     ^
:info:build In file included from gen/ui/base/base_jumbo_mm.mm:19:
:info:build In file included from ./../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/ui/base/cocoa/remote_accessibility_api.mm:5:
:info:build ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/ui/base/cocoa/remote_accessibility_api.h:18:1: error: missing context for method declaration
:info:build    18 | + (NSData*)remoteTokenForLocalUIElement:(id)element;
:info:build       | ^
:info:build ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/ui/base/cocoa/remote_accessibility_api.h:19:1: error: expected method body
:info:build    19 | - (id)initWithRemoteToken:(NSData*)token;
:info:build       | ^
:info:build ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/ui/base/cocoa/remote_accessibility_api.h:20:1: error: unexpected '@' in program
:info:build    20 | @property(strong) id windowUIElement;
:info:build       | ^
:info:build ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/ui/base/cocoa/remote_accessibility_api.h:21:1: error: unexpected '@' in program
:info:build    21 | @property(strong) id topLevelUIElement;
:info:build       | ^
:info:build ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/ui/base/cocoa/remote_accessibility_api.h:22:1: error: '@end' must appear in an Objective-C context
(snip the rest)

Attachments (1)

main.log (1.5 MB) - added by RivetBenoit (Benoit Rivet) 6 weeks ago.

Download all attachments as: .zip

Change History (8)

Changed 6 weeks ago by RivetBenoit (Benoit Rivet)

Attachment: main.log added

comment:1 Changed 6 weeks ago by RivetBenoit (Benoit Rivet)

Description: modified (diff)

comment:2 Changed 6 weeks ago by jmroot (Joshua Root)

Cc: reneeotten added
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:3 Changed 6 weeks ago by reneeotten (Renee Otten)

Yes, we are aware… It indeed doesn’t build and also the update to 6.7.3 has the same issue, I do not know how to resolve it and attempting to do so is time-consuming as it takes forever to build. Presumably Sequoia is officially supported with version 6.8.0 which is planned to be released on October 8. I will update the port once that had happened and hopefully everything will work then!

comment:4 in reply to:  3 Changed 6 weeks ago by markemer (Mark Anderson)

Replying to reneeotten:

Yes, we are aware… It indeed doesn’t build and also the update to 6.7.3 has the same issue, I do not know how to resolve it and attempting to do so is time-consuming as it takes forever to build. Presumably Sequoia is officially supported with version 6.8.0 which is planned to be released on October 8. I will update the port once that had happened and hopefully everything will work then!

Good god, it looks like this is a different error than I'm chasing on qt5-qtwebengine. qtwebengine is really something to get building.

comment:5 Changed 6 weeks ago by markemer (Mark Anderson)

Cc: markemer added

comment:6 Changed 5 weeks ago by reneeotten (Renee Otten)

Owner: changed from MarcusCalhoun-Lopez to reneeotten
Status: assignedaccepted

the update to 6.8.0 has resolved this specific issue. I am currently building all other subports locally to make sure everything else works as well; and, if so, I will commit the update sometime this weekend.

comment:7 Changed 5 weeks ago by reneeotten (Renee Otten)

Resolution: fixed
Status: acceptedclosed

In 4b523736cd85ecc84ee723c75cffde52067c3222/macports-ports (master):

qt6: update to 6.8.0

Closes: #71031
Closes: #71013

Note: See TracTickets for help on using tickets.