[MacPorts] #70834: Error installing UPX on Mac OS X Sequoia (15.0) on MacBook 15
MacPorts
noreply at macports.org
Fri Sep 20 17:41:42 UTC 2024
#70834: Error installing UPX on Mac OS X Sequoia (15.0) on MacBook 15
----------------------+--------------------
Reporter: punkish | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: UPX |
----------------------+--------------------
Comment (by punkish):
I uninstalled and reinstalled the commandline tools and got a bit more
ahead with installing `upx` before I hit another roadblock with
`python310` (see below for the error). I think this maybe because sometime
ago I upgraded python to 3.12, but `upx` seems to depend on `python310`
and tries to install it, but croaks with the following error
{{{
$ tail -50
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/main.log
:debug:install removing file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/destroot/+CONTENTS
:debug:install removing file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/destroot/+DESC
:debug:install removing file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/destroot/+COMMENT
:debug:install dropping privileges: euid changed to 502, egid changed to
501.
:debug:activate activate phase started at Fri Sep 20 19:10:16 CEST 2024
:debug:activate elevating privileges for activate: euid changed to 0, egid
changed to 0.
:debug:activate Executing org.macports.activate (python310)
:msg:activate ---> Activating python310 @3.10.15_0+lto+optimizations
:error:activate Failed to activate python310: Image error:
/Applications/MacPorts/Python 3.10/IDLE.app/Contents/Info.plist already
exists and does not belong to a registered port. Unable to activate port
python310. Use 'port -f activate python310' to force the activation.
:error:activate while executing
:error:activate "throw registry::image-error $msg"
:error:activate ("foreach" body line 77)
:error:activate invoked from within
:error:activate "foreach file $imagefiles {
:error:activate incr progress_step
:error:activate _progress update $progress_step
$progress_total_steps
:error:activate se..."
:error:activate invoked from within
:error:activate "registry::write {
:error:activate foreach file $imagefiles {
:error:activate incr progress_step
:error:activate _progress update $progress_step
$progress_..."
:debug:activate Error code: registry::image-error
:debug:activate Backtrace: Image error: /Applications/MacPorts/Python
3.10/IDLE.app/Contents/Info.plist already exists and does not belong to a
registered port. Unable to activate port python310. Use 'port -f activate
python310' to force the activation.
:debug:activate while executing
:debug:activate "throw registry::image-error $msg"
:debug:activate ("foreach" body line 77)
:debug:activate invoked from within
:debug:activate "foreach file $imagefiles {
:debug:activate incr progress_step
:debug:activate _progress update $progress_step
$progress_total_steps
:debug:activate se..."
:debug:activate invoked from within
:debug:activate "registry::write {
:debug:activate foreach file $imagefiles {
:debug:activate incr progress_step
:debug:activate _progress update $progress_step
$progress_..."
:debug:activate while executing
:debug:activate "throw [dict get $eOptions -errorcode] [dict get $eOptions
-errorinfo]"
:debug:activate (procedure "_activate_contents" line 256)
:debug:activate invoked from within
:debug:activate "_activate_contents $requested $rename_list"
:debug:activate (procedure "portimage::activate" line 65)
:debug:activate invoked from within
:debug:activate "registry_activate $subport $_inregistry_version
$_inregistry_revision $_inregistry_variants $reg_options"
:debug:activate (procedure "portactivate::activate_main" line 20)
:debug:activate invoked from within
:debug:activate "$procedure $targetname"
:debug:activate dropping privileges: euid changed to 502, egid changed to
501.
:error:activate See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/main.log
for details.
}}}
What can I do next?
--
Ticket URL: <https://trac.macports.org/ticket/70834#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list