[MacPorts] #70329: qgis3: Monterey 12.7.5 Build Error with Fix

MacPorts noreply at macports.org
Sun Jul 7 20:56:49 UTC 2024


#70329: qgis3: Monterey 12.7.5 Build Error with Fix
---------------------------+-------------------------------
  Reporter:  multiquadric  |      Owner:  Veence
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  Qt5 Monterey QGIS
      Port:  qgis3         |
---------------------------+-------------------------------

Comment (by multiquadric):

 Replying to [comment:4 ryandesign]:
 > Replying to [ticket:70329 multiquadric]:
 > > Apparently the use of "use_xcode" with Qt5 is (was) problematic across
 MacPorts, Qt5 being the challenge.
 >
 > To what are you referring?

 The results of general sleuthing for answers.
 https://github.com/macports/macports-
 ports/commit/fd73bce64330dac7e02aba0f3f37582999b49330#commitcomment-77072145
 https://github.com/macports/macports-ports/pull/15535
 Etc., etc.

 macOS changes vs. QT5 requirements?

 > > The install log error led to this file:
 > >
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py312-pyqt5/work/PyQt5-5.15.10
 >
 > Could you share what error was in the log?
 >
 > > Here, in the Portfile, this change was made:
 > > "use_xcode yes" to "use_xcode no"
 > >
 > > The build and install completed.
 >
 > `use_xcode yes` was added to fix #65410.

 These lines were at the end of the installation process:


 {{{
 ...
 :info:build Generating the Makefiles...
 :info:build /opt/local/libexec/qt5/bin/qmake -recursive PyQt5.pro
 :info:build sip-build-3.12: '/opt/local/libexec/qt5/bin/qmake -recursive
 PyQt5.pro' failed returning 3
 :info:build Project ERROR: Could not resolve SDK Path for 'macosx12.3'
 using --show-sdk-path
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py312-pyqt5/work/PyQt5-5.15.10" && sip-build-3.12 --qmake
 /opt/local/libexec/qt5/bin/qmake --verbose --confirm-license
 --dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12/dbus-1.0
 :info:build Exit code: 1
 :error:build Failed to build py312-pyqt5: command execution failed
 :debug:build Error code: CHILDSTATUS 4078 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-pyqt5/py312-pyqt5/main.log
 for details.
 }}}

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


More information about the macports-tickets mailing list