Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#68204 closed defect (fixed)

qt5-qtbase @5.15.10_1: QMake does not work with Xcode 15

Reported by: devernay (Frédéric Devernay) Owned by: chrstphrchvz (Christopher Chavez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: haspatch Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), chrstphrchvz (Christopher Chavez)
Port: qt5-qtbase qt6-qtbase

Description

qmake fails with:

failed to parse default search paths from compiler output

upstream Qt bug: https://bugreports.qt.io/browse/QTBUG-117225

homebrew bug: https://github.com/Homebrew/homebrew-core/issues/144051

This is already fixed in Qt6.5.3 (to be released next week) and will be backported to Qt 5, but we don't know when the next Qt5 release will happen (may be up to one year).

Fix is simple: https://codereview.qt-project.org/c/qt/qtbase/+/503916

Patch is attached

Attachments (1)

patch-xcode15.diff (1.2 KB) - added by devernay (Frédéric Devernay) 8 months ago.
patch

Download all attachments as: .zip

Change History (8)

Changed 8 months ago by devernay (Frédéric Devernay)

Attachment: patch-xcode15.diff added

patch

comment:1 Changed 8 months ago by chrstphrchvz (Christopher Chavez)

I have created a pull request for this: https://github.com/macports/macports-ports/pull/20538

comment:2 Changed 8 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:3 Changed 8 months ago by chrstphrchvz (Christopher Chavez)

This also affects qt6-qtbase; I have updated the PR.

Last edited 8 months ago by chrstphrchvz (Christopher Chavez) (previous) (diff)

comment:4 Changed 8 months ago by devernay (Frédéric Devernay)

Thank you Christophe for the PR. the qt6-qtbase fix should be short-lived: maybe 6.5.3 gets released before the PR gets merged.

comment:5 Changed 8 months ago by chrstphrchvz (Christopher Chavez)

Qt 6.5.3 might be out soon, but it’s unknown when MacPorts might update to it (#66975). I am not aware of any imminent efforts to update qt6 ports, at least by anyone who has previously done or attempted a 6.x→6.y update. The original qt6 port submitter’s attempt to update to 6.5.0 was abandoned 4 months ago: https://github.com/macports/macports-ports/pull/18186

Last edited 8 months ago by chrstphrchvz (Christopher Chavez) (previous) (diff)

comment:6 Changed 8 months ago by neverpanic (Clemens Lang)

Port: qt6-qtbase added

comment:7 Changed 8 months ago by chrstphrchvz (Christopher Chavez)

Owner: set to chrstphrchvz
Resolution: fixed
Status: newclosed

In 41deec9ddcde7760842d3b4e06597d3417d7fdbe/macports-ports (master):

qt(5|6)-qtbase: backport Xcode 15 fixes

Fixes: #68219
Fixes: #68204

Note: See TracTickets for help on using tickets.