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)
Change History (12)
Changed 12 months ago by rcfa
| Attachment: | qt5-qtbase-5.15.15.build.log added |
|---|
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: | High → Normal |
| Status: | new → assigned |
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)
This is an issue with icu 76.1, see: https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2335638
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)
See https://github.com/macports/macports-ports/pull/29396, which fixes this.
comment:9 Changed 6 months ago by neverpanic (Clemens Lang)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

Install build output