[MacPorts] #72592: gnuplot @6.0.3_0 +aquaterm+luaterm+pangocairo+qt5+wxwidgets: build fails with linker error when wrong-architecture Qt frameworks are in /Library/Frameworks (was: gnuplot @6.0.3_0 +aquaterm+luaterm+pangocairo+qt5+wxwidgets build fails - linker error)

MacPorts noreply at macports.org
Mon Jun 9 21:16:44 UTC 2025


#72592: gnuplot @6.0.3_0 +aquaterm+luaterm+pangocairo+qt5+wxwidgets: build fails
with linker error when wrong-architecture Qt frameworks are in
/Library/Frameworks
----------------------+---------------------------
  Reporter:  murrayE  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.10.7
Resolution:           |   Keywords:  sequoia arm64
      Port:  gnuplot  |
----------------------+---------------------------

Comment (by ryandesign):

 The log says:

 {{{
 :info:build ld: warning: ignoring file
 '/Library/Frameworks/QtSvg.framework/QtSvg': found architecture 'x86_64',
 required architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/Library/Frameworks/QtNetwork.framework/QtNetwork': found architecture
 'x86_64', required architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/Library/Frameworks/QtCore.framework/QtCore': found architecture
 'x86_64', required architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/Library/Frameworks/QtGui.framework/QtGui': found architecture 'x86_64',
 required architecture 'arm64'
 }}}

 To fix this, remove the Qt libraries you put in /Library/Frameworks (see
 wiki:FAQ#libraryframeworks), then `sudo port clean gnuplot` and try again.

-- 
Ticket URL: <https://trac.macports.org/ticket/72592#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list