Opened 13 months ago

Closed 10 months ago

Last modified 9 months ago

#72447 closed defect (fixed)

qt6-qtwebengine compilation broken under sequoia: clang error about fallthrough annotation does not directly precede switch label in color_data.cc

Reported by: cgilles (HumanDynamo) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.10.7
Keywords: Cc: mascguy (Christopher Nielsen), chrstphrchvz (Christopher Chavez)
Port: qt6-qtwebengine

Description

Macbook pro M1
MacOS Sequoia 15.4.1
XCode 16.3

Note: for backward compatibility, MacOS SDK version 11.3 is installed and used to compile all Macports packages. From my /opt/digikam.org.arm64/etc/macports/macports.conf:

...
macosx_deployment_target 11.3
build_arch arm64
...

due to a broken compilation of nodejs20 under Sequoia, i forced to use nodejs22 to qtwebengine:

---"path:bin/node:nodejs20 port:python${python_version} port:py${python_version}-html5lib port:py${python_version}-ply"
+++"path:bin/node:nodejs22 port:python${python_version} port:py${python_version}-html5lib port:py${python_version}-ply"

Install trace:

--->  Computing dependencies for qt6-qtnetworkauth
--->  Cleaning qt6-qtnetworkauth
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
--->  Computing dependencies for qt6-sqlite-plugin
--->  Cleaning qt6-sqlite-plugin
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
--->  Computing dependencies for qt6-mysql-plugin
--->  Cleaning qt6-mysql-plugin
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
--->  Computing dependencies for qt6-qtwebengine
--->  Building qt6-qtwebengine
Error: Failed to build qt6-qtwebengine: command execution failed
Error: See /opt/digikam.org.arm64/var/macports/logs/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt6/qt6-qtwebengine/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port qt6-qtwebengine failed
FAILED COMMAND: port install qt$DK_QTVERSION$MP_QTSUBVERSION-qtwebengine -examples -tests

Attachments (2)

main.log.gz (197.0 KB) - added by cgilles (HumanDynamo) 13 months ago.
Screenshot 2025-08-08 at 10.18.31.png (2.6 MB) - added by cgilles (HumanDynamo) 10 months ago.
Screenshot of digiKam 8.8.0 just compiled on my MacBook Pro M1.

Change History (11)

Changed 13 months ago by cgilles (HumanDynamo)

Attachment: main.log.gz added

comment:1 Changed 13 months ago by cgilles (HumanDynamo)

The issue about nodejs20 compilation:

https://trac.macports.org/ticket/72436

comment:2 Changed 13 months ago by cgilles (HumanDynamo)

Summary: qt6-qtwebengine compilation broken under sequoia.qt6-qtwebengine compilation broken under sequoia: clang error about fallthrough annotation does not directly precede switch label in color_data.cc

comment:4 Changed 13 months ago by cgilles (HumanDynamo)

The gperf patch for qtwebengine work as expected. Patch can be found here:

https://invent.kde.org/graphics/digikam/-/tree/master/project/bundles/macports/patches/aqua/qt6?ref_type=heads

comment:5 Changed 13 months ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Status: newassigned

I will take a look at the patch for qt6-qtwebengine.

The issue with nodejs20 is of course not a Qt6 problem. The first thing to do there is to update that port to its latest upstream version, please open a ticket and assign it to the maintainer of the nodejs20 port. Having said that, I will take a look at nodejs22 and verify that it builds on older macOS versions that are still supported by Qt6. If there is no harm in changing, we could certainly consider that.

comment:6 Changed 13 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:7 Changed 10 months ago by cgilles (HumanDynamo)

Hi,

I just recompiled the whole digiKam macports install (8 hours of build). Qt6.9.1 is now installed with my patches. Macbook Pro M1, target arm64, Sequoia 15.6, XCode 16.4.

Please Fix the problem as the solution work like a charm.

My best regard.

Gilles Caulier

Changed 10 months ago by cgilles (HumanDynamo)

Screenshot of digiKam 8.8.0 just compiled on my MacBook Pro M1.

comment:8 Changed 10 months ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

should be fixed with the update to Qt 6.9.2.

comment:9 Changed 9 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.