Opened 4 months ago

Last modified 4 weeks ago

#61789 assigned defect

qt4-mac @4.8.7_10 (aqua): Fails to build on Big Sur w/ arm64 architecture

Reported by: maralski (Peter Marelas) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: arm64 Cc: mkuron (Michael Kuron)
Port: qt4-mac

Description (last modified by jmroot (Joshua Root))

Error from main.log

:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work/qt-everywhere-opensource-src-4.8.7" && ./configure -v -confirm-license -opensource -prefix /opt/local/libexec/qt4 -bindir /opt/local/libexec/qt4/bin -libdir /opt/local/libexec/qt4/lib -docdir /opt/local/libexec/qt4/share/doc -headerdir /opt/local/libexec/qt4/include -plugindir /opt/local/libexec/qt4/share/plugins -importdir /opt/local/libexec/qt4/share/imports -datadir /opt/local/libexec/qt4/share -translationdir /opt/local/libexec/qt4/share/translations -sysconfdir /opt/local/libexec/qt4/share/sysconf -examplesdir /opt/local/libexec/qt4/share/examples -demosdir /opt/local/libexec/qt4/share/demos -openssl-linked -dbus-linked -fast -no-pch -framework -no-phonon -no-phonon-backend --jobs=8 -no-sql-db2 -no-sql-ibase -no-sql-oci -no-sql-tds -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -nomake demos -nomake examples -release -no-declarative-debug -arch "arm64" -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk 

:info:configure Determining system architecture... (Darwin:20.1.0:arm64)

:info:configure     'macosx' is supported

:info:configure System architecture: 'macosx'

:info:configure Unknown architecture: "arm64". Supported architectures: x86[i386] ppc x86_64 ppc64 arm armv6 armv7

:info:configure Command failed:  cd "/opt/local/var/macports/build

Attachments (1)

main.log (129.9 KB) - added by maralski (Peter Marelas) 4 months ago.
main.log

Download all attachments as: .zip

Change History (8)

Changed 4 months ago by maralski (Peter Marelas)

Attachment: main.log added

main.log

comment:1 Changed 4 months ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: arm64 added
Owner: set to michaelld
Port: qt4-mac added; q4-mac removed
Status: newassigned
Summary: qt4-mac @4.8.7_10 (aqua): Fails to build on Big Sur w/ amd64 architectureqt4-mac @4.8.7_10 (aqua): Fails to build on Big Sur w/ arm64 architecture

comment:2 Changed 2 months ago by joshin42

Any hints for a workaround to get configure recognizing arm64?

Building other packages (X2GoClient) are blocked by this one not playing well with M1 Macs.

Thanks!

comment:3 Changed 2 months ago by michaelld (Michael Dickens)

I started looking at this earlier this week. I'll poke at it a little more over the weekend. I did make a little progress, but my bet is it'll take yet another patch to get Qt4 to build, and then maybe more work to get it to work on ARM64. One step at a time ...

comment:4 Changed 6 weeks ago by mkuron (Michael Kuron)

Cc: mkuron added

comment:5 Changed 4 weeks ago by michaelld (Michael Dickens)

Has duplicate #62512

comment:6 Changed 4 weeks ago by michaelld (Michael Dickens)

qt4-mac has yet to be fixed to work on ARM64 Macs. qt4-mac is old enough that my best guess is it'll take significant work to get it working on ARM64 -- the code just wasn't written with this architecture in mind!

I don't have time at the moment to get it working. If anybody wants to give this effort a go please do!

comment:7 Changed 4 weeks ago by jmroot (Joshua Root)

In the meantime, this port and its dependents should probably set supported_archs accordingly, then?

Note: See TracTickets for help on using tickets.