#68370 closed defect (fixed)

qt4-mac @4.8.7_14: build failure

Reported by: davejkeith Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: qt4-mac

Description (last modified by ryandesign (Ryan Carsten Schmidt))

has anyone managed to get elmerfem to build for MacOS:Sonoma running on x86 ?

When I try to build I get the following:

sudo port install elmerfem
--->  Computing dependencies for elmerfem
The following dependencies will be installed: 
 qt4-mac
 qwt61
Continue? [Y/n]: y
--->  Fetching archive for qt4-mac
--->  Attempting to fetch qt4-mac-4.8.7_14.darwin_23.x86_64.tbz2 from https://packages.macports.org/qt4-mac
--->  Attempting to fetch qt4-mac-4.8.7_14.darwin_23.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/qt4-mac
--->  Attempting to fetch qt4-mac-4.8.7_14.darwin_23.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/qt4-mac
--->  Building qt4-mac
Error: Failed to build qt4-mac: command execution failed 
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt4-mac/qt4-mac/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port elmerfem failed

Attachments (1)

main.log (67.4 KB) - added by davejkeith 13 months ago.
main log file

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to michaelld
Port: qt4-mac added; elmerfem removed
Status: newassigned
Summary: elmerfem will not build on Sonomaqt4-mac @4.8.7_14: build failure

Please attach the main.log file so we can see how it failed. However, according to #68366, you shouldn't even have been able to get this far.

comment:2 Changed 13 months ago by kencu (Ken)

and qt4-mac lives on!

A sImple fix to build on Sonoma with Xcode 15... this was built on an arm64 Mac, as x64_64, but should be just as easy on an Intel system running Sonoma.

I'll generate a PR for Michael.

% port -v installed qt4-mac
The following ports are currently installed:
  qt4-mac @4.8.7_14 (active) requested_variants='' platform='darwin 23' archs='x86_64' date='2023-10-06T22:51:02-0700'

Changed 13 months ago by davejkeith

Attachment: main.log added

main log file

comment:4 Changed 13 months ago by davejkeith

Hi Ken, thanks for your suggestion, however I already implemented the solution described in https://github.com/macports/macports-ports/pull/20746 on my local copy. It was after this that it crashed. I have now attached the main logfile.

Last edited 13 months ago by davejkeith (previous) (diff)

comment:5 Changed 13 months ago by davejkeith

Nevertheless, thanks so much Ken for fixing this.

Last edited 13 months ago by davejkeith (previous) (diff)

comment:6 Changed 13 months ago by kencu (Ken)

I think if you implement all the changes in the PR, you won’t crash…

the specific extra part you need to add is:

platform darwin 23 {
     macosx_deployment_target 12.0
}
Last edited 13 months ago by kencu (Ken) (previous) (diff)

comment:7 Changed 13 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 37210501094e88965242db5aea61f7d3bdc1eed6/macports-ports (master):

qt4-mac: allow build on Sonoma and fix for Xcode 15

closes: #68370
closes: #68366

Note: See TracTickets for help on using tickets.