Opened 17 months ago
Closed 17 months ago
#72079 closed defect (fixed)
Unable to Upgrade qt6-qtbase
| Reported by: | TopHatProductions115new (TopHatProductions115) | Owned by: | reneeotten (Renee Otten) |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | monterey | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
| Port: | qt6-qtbase |
Description
macOS Monterey 12.7.6
Around 1-2 weeks ago, I began to encounter an issue when attempting to upgrade installed ports (port selfupdate, port upgrade outdated). I can no longer upgrade qt6-qtbase. The terminal output reads as follows:
---> Computing dependencies for qt6-qtbase ---> Fetching archive for qt6-qtbase ---> Attempting to fetch qt6-qtbase-6.8.2_0+openssl.darwin_21.x86_64.tbz2 from https://packages.macports.org/qt6-qtbase ---> Attempting to fetch qt6-qtbase-6.8.2_0+openssl.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/qt6-qtbase ---> Attempting to fetch qt6-qtbase-6.8.2_0+openssl.darwin_21.x86_64.tbz2 from http://bos.us.packages.macports.org/qt6-qtbase ---> Configuring qt6-qtbase Error: Failed to configure qt6-qtbase: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt6/qt6-qtbase/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
When reviewing main.log, the following lines caught my eye:
:info:configure CMake Error at cmake/QtPublicAppleHelpers.cmake:925 (message): :info:configure Qt requires at least version 14 of the platform SDK, you're building :info:configure against version 13.1. Please upgrade. You can turn this error into a :info:configure warning by configuring with -DQT_FORCE_WARN_APPLE_SDK_AND_XCODE_CHECK=ON, :info:configure but the build will likely fail. Use at your own risk.
Should I attempt to build qt6-qtbase for macOS Monterey? Or is there a better solution?
Attachments (1)
Change History (5)
Changed 17 months ago by TopHatProductions115new (TopHatProductions115)
| Attachment: | Screenshot (4544).png added |
|---|
comment:1 follow-up: 2 Changed 17 months ago by jmroot (Joshua Root)
| Keywords: | x86_64 removed |
|---|---|
| Owner: | set to reneeotten |
| Status: | new → assigned |
port info qt6-qtbase indicates that it requires darwin 23 (macOS 14) or later. That changed in December, so presumably older versions worked on Monterey. I guess you're supposed to use qt67-* now, but it's bad that there isn't an automatic upgrade path.
comment:2 Changed 17 months ago by TopHatProductions115new (TopHatProductions115)
Replying to jmroot:
port info qt6-qtbaseindicates that it requires darwin 23 (macOS 14) or later. That changed in December, so presumably older versions worked on Monterey. I guess you're supposed to use qt67-* now, but it's bad that there isn't an automatic upgrade path.
If this is the case, wouldn't this also leave macOS Ventura (13.X) users behind? That version of the OS is still supported by Apple :(
comment:3 Changed 17 months ago by reneeotten (Renee Otten)
There isn't much I can do about what systems Qt6 supports. There are currently three different ports that support the following Darwin versions:
set qt6::available_versions {
qt6 {6.8 {24 23}}
qt67 {6.7 {24 23 22 21}}
qt64 {6.4 {24 23 22 21 20 19 18}}
}
I agree with Josh that a better "upgrade" path would be helpful for users that had the qt6 port installed on a system where it's no longer supported. I think this PR does that from my limited testing, I would appreciate another set of eyes on it before I merge it.
comment:4 Changed 17 months ago by reneeotten (Renee Otten)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

Screenshot of the Terminal output