Opened 20 months ago
Last modified 20 months ago
#67146 assigned defect
qt4-mac fails to install during rev-upgrade which was triggered by a successful xhost install
Reported by: | kwolcott | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | qt4-mac |
Description
I've encountered this error several times recently. I thought it was time to create a bug report about it.
After successfully (?) running a self-update and source install of any ports listed from port outdated, I frequently get a warning that qt4-mac needs to be rebuilt. Doing so fails. I have a compressed log file. I'm on a Mac with M1 (Ventura 13.2.1).
Attachments (2)
Change History (5)
Changed 20 months ago by kwolcott
Attachment: | qt4-mac_main.log.xz added |
---|
comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | michaelld removed |
---|---|
Keywords: | install rev-upgrade removed |
Owner: | set to michaelld |
Status: | new → assigned |
Changed 20 months ago by kwolcott
Attachment: | Things_depending_on_qt4-mac.log added |
---|
port -qv installed rdepof:qt4-mac | grep -Ev "'noarch'" > Things_depending_on_qt4-mac.log
comment:2 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Indeed:
openssl3 @3.1.0_0+universal requested_variants='+universal' platform='darwin 22' archs='arm64 x86_64' date='2023-03-14T19:57:10-0700' openssl3 @3.1.0_1 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2023-03-23T16:28:28-0700'
Reinstall openssl3 with the +universal variant:
sudo port upgrade --enforce-variants openssl3 +universal
Note: See
TracTickets for help on using
tickets.
Yes, rev-upgrade runs after any successful port install or upgrade.
The qt4-mac Port specifies (via its inclusion of the qt4-1.0 portgroup, which contains a
supported_archs
directive) that it does not support arm64, so the port will build for x86_64 on your Apple Silicon Mac, and all of its dependencies must be installed universal to accommodate that. MacPorts should have done that automatically but that doesn't seem to have happened because the errors in the log begin with:You can get a list of ports that are a dependency of qt4-mac that are architecture-specific (i.e. are not "noarch") by running this command:
What does it show? I'm curious to see what it tells us about the openssl ports, because the error message is happening because those openssl libraries are not installed universal, but that shouldn't be possible.