Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#60398 closed defect (invalid)

xorg-libX11 @1.6.9_0 Failed to activate xorg-libX11: Image error

Reported by: stepbot Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: xorg-libX11, xorg-kbproto

Description

mac os 10.15.4 xcode 11.4.1 (11E503a)

Attempting to install gnuradio and encountered the following error. Error is also ecountered if trying to install xorg-libX11 directly

Error: Failed to activate xorg-libX11: Image error: /opt/local/include/X11/extensions/XKBgeom.h is being used by the active xorg-kbproto port.  Please deactivate this port first, or use 'port -f activate xorg-libX11' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/main.log for details. 

log shows

:error:activate Failed to activate xorg-libX11: Image error: /opt/local/include/X11/extensions/XKBgeom.h is being used by the active xorg-kbproto port.  Please deactivate this port first, or use 'port -f activate xorg-libX11' to force the activation.
:debug:activate Error code: registry::image-error
:debug:activate Backtrace: Image error: /opt/local/include/X11/extensions/XKBgeom.h is being used by the active xorg-kbproto port.  Please deactivate this port first, or use 'port -f activate xorg-libX11' to force the activation.
:debug:activate     invoked from within
:debug:activate "throw registry::image-error "Image error: $file is being used by the active [$owner name] port.  Please deactivate this port first, or use 'port -f ac..."
:debug:activate     ("foreach" body line 45)
:debug:activate     invoked from within
:debug:activate "foreach file $imagefiles {
:debug:activate                 set srcfile "${extracted_dir}${file}"
:debug:activate 
:debug:activate                 # To be able to install links, we test if we can lst..."
:debug:activate     invoked from within
:debug:activate "registry::write {
:debug:activate             foreach file $imagefiles {
:debug:activate                 set srcfile "${extracted_dir}${file}"
:debug:activate 
:debug:activate                 # To be able to instal..."
:debug:activate     invoked from within
:debug:activate "try {
:debug:activate         registry::write {
:debug:activate             foreach file $imagefiles {
:debug:activate                 set srcfile "${extracted_dir}${file}"
:debug:activate 
:debug:activate                 # To be ..."
:debug:activate     (procedure "_activate_contents" line 21)
:debug:activate     invoked from within
:debug:activate "_activate_contents $requested $rename_list"
:debug:activate     (procedure "portimage::activate" line 61)
:debug:activate     invoked from within
:debug:activate "registry_activate $subport $version $revision $portvariants $optionlist"
:debug:activate     (procedure "portactivate::activate_main" line 15)
:debug:activate     invoked from within
:debug:activate "$procedure $targetname"
:error:activate See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/main.log for details.

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Port: xorg-kbproto added
Resolution: invalid
Status: newclosed

xorg-kbproto has been obsolete since August 2018 and was removed in November 2019. You should uninstall it and activate xorg-libX11:

sudo port -f uninstall xorg-kbproto
sudo port activate xorg-libX11

To avoid such problems in the future, please selfupdate and upgrade your ports more frequently than once a year.

comment:2 Changed 4 years ago by stepbot

ok wow i feel pretty stupid now. thanks for the help. sorry to bother

Note: See TracTickets for help on using tickets.