[MacPorts] #65398: python3.10 port does not create a symlink where other ports expect it

MacPorts noreply at macports.org
Mon Jun 27 16:05:36 UTC 2022


#65398: python3.10 port does not create a symlink where other ports expect it
------------------------+--------------------
 Reporter:  mouse07410  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  scons
------------------------+--------------------
 Tried to update {{{scons}}} port - it failed with
 {{{
 .  .  .  .  .
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_scons/scons/work/SCons-4.3.0"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
 setup.py --no-user-cfg build -j20
 :info:build sh:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10:
 No such file or directory
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_scons/scons/work/SCons-4.3.0"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
 setup.py --no-user-cfg build -j20
 :info:build Exit code: 127
 :error:build Failed to build scons: command execution failed
 :debug:build Error code: CHILDSTATUS 16594 127
 :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 8)
 :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_devel_scons/scons/main.log
 for details.
 }}}

 Reason - this port wants to find {{{python3.10}}} as
 {{{/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10}}}.
 I don't know who's wrong - whether {{{scons}}} shouldn't look for Python
 there, or Python3.10 port should've placed there a symlink from
 {{{/opt/local/bin/python3.10}}}.

 In any case, this discrepancy should be addressed/resolved.

-- 
Ticket URL: <https://trac.macports.org/ticket/65398>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list