Opened 12 months ago

Closed 6 months ago

#72174 closed defect (fixed)

qt5-qtbase 5.15.15 fails on x86_64 Sequoia 15.4

Reported by: rcfa Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: Cc: Schamschula (Marius Schamschula), markemer (Mark Anderson)
Port: qt5-qtbase

Description (last modified by jmroot (Joshua Root))

The build fails with a variety of errors, which given how many packages depend on this one, is pretty much a show-stopper…

qt5-qtbase @5.15.15_2+openssl
macOS 15.4 (darwin/24.4.0) arch i386
MacPorts 2.10.5
Xcode 16.3, CLT 16.3.0.0.1.1741129865
SDK 15
MACOSX_DEPLOYMENT_TARGET: 15.0

Attachments (3)

qt5-qtbase-5.15.15.build.log (462.6 KB) - added by rcfa 12 months ago.
Install build output
qt5-qtbase-5.15.15.config.log (180.1 KB) - added by rcfa 12 months ago.
config.log
qt5-qtbase-5.15.15.main.log (614.8 KB) - added by rcfa 12 months ago.
main.log

Download all attachments as: .zip

Change History (12)

Changed 12 months ago by rcfa

Install build output

Changed 12 months ago by rcfa

config.log

Changed 12 months ago by rcfa

Attachment: qt5-qtbase-5.15.15.main.log added

main.log

comment:1 Changed 12 months ago by rcfa

Description: modified (diff)

comment:2 Changed 12 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Port: 5.15.15 removed
Priority: HighNormal
Status: newassigned

comment:3 Changed 10 months ago by MicroTed (Ted Mansell)

I had a similar error while trying to install wxmaxima, and after figuring out how to build it by hand, I modified the local Portfile to remove -icu and add some include and library paths because there were more errors of headers not being found. I know next to nothing about this, so there is probably a much better solution.

/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/Portfile

blitz:qt5% diff Portfile.bak Portfile

1290d1289
<                 -icu                    \
1306c1305,1308
<                 -no-system-proxies
---
>                 -no-system-proxies      \
>                 -I '/opt/local/include' \
>                 -L '/opt/local/lib'     \
>                 -L '/opt/local/libexec/openssl3/lib'

I then had to force authentication by following the warning. This is on M1 MBP, Sequoia 15.4.1 with latest xcode tools [Apple clang version 17.0.0 (clang-1700.0.13.3)] I didn't try removing ports altogether and reinstalling, but did update everything (I think)

comment:4 Changed 9 months ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:5 Changed 9 months ago by Schamschula (Marius Schamschula)

comment:6 Changed 9 months ago by Schamschula (Marius Schamschula)

The first error is fixed by icu 77.1, by adding the missing header <type_traits> to char16ptr.h.

However, qt5 seems to ignore all the attempts to pass -std=c++17 to config.tests/icu/Makefile. This causes all the templates not to be included.

I added QMAKE_CXXFLAGS+=-std=c++17 to the Portfile, which allowed the configure test for icu to pass.

comment:7 Changed 6 months ago by markemer (Mark Anderson)

Cc: markemer added

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

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

Resolution: fixed
Status: assignedclosed

In 6d2aa781a3d018ce2aeecb30f029beb8b36e6c53/macports-ports (master):

qt5-qtbase: Fix build on macOS 26

AGL.framework no longer exists, but is apparently also not needed — just
remove it.

Additionally, the configure test for ICU fails because ICU now required
C++17, but the config test did not pass the required flag. Some attempts
seem to have been made to fix this, but they weren't sufficient in my
testing unless the qmake project file also declared 'CONFIG += c++11'.
Add a patch that does that.

Closes: #72729
Closes: #72174

Note: See TracTickets for help on using tickets.