[MacPorts] #63609: gtk-osx-application-common-gtk2 and gtk-osx-application-common-gtk3 (both @3.0.1) conflict with one another

MacPorts noreply at macports.org
Sun Oct 10 20:35:55 UTC 2021


#63609: gtk-osx-application-common-gtk2 and gtk-osx-application-common-gtk3 (both
@3.0.1) conflict with one another
-------------------------+-------------------------------------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  gtk-osx-application-common-gtk2,
                         |  gtk-osx-application-common-gtk3
-------------------------+-------------------------------------------------
 They both try to install a `gtkmacintegration/gtkosxapplication.h` header:
 {{{
 x ./opt/local/include/gtkmacintegration/
 x ./opt/local/include/gtkmacintegration/gtkosxapplication.h
 Error: Failed to activate gtk-osx-application-common-gtk3: Image error:
 /opt/local/include/gtkmacintegration/gtkosxapplication.h is being used by
 the active gtk-osx-application-common-gtk2 port.  Please deactivate this
 port first, or use 'port -f activate gtk-osx-application-common-gtk3' to
 force the activation.
 DEBUG: Error code: registry::image-error
 DEBUG: Backtrace: Image error:
 /opt/local/include/gtkmacintegration/gtkosxapplication.h is being used by
 the active gtk-osx-application-common-gtk2 port.  Please deactivate this
 port first, or use 'port -f activate gtk-osx-application-common-gtk3' to
 force the activation.
     invoked from within
 "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..."
     ("foreach" body line 45)
     invoked from within
 "foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to install links, we test if we can lst..."
     invoked from within
 "registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to instal..."
     invoked from within
 "try {
         registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be ..."
     (procedure "_activate_contents" line 21)
     invoked from within
 "_activate_contents $requested $rename_list"
     (procedure "portimage::activate" line 63)
     invoked from within
 "registry_activate $subport $_inregistry_version $_inregistry_revision
 $_inregistry_variants $optionlist"
     (procedure "portactivate::activate_main" line 20)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_gtk-osx-application/gtk-osx-
 application-common-gtk3/main.log for details.
 DEBUG: Image error:
 /opt/local/include/gtkmacintegration/gtkosxapplication.h is being used by
 the active gtk-osx-application-common-gtk2 port.  Please deactivate this
 port first, or use 'port -f activate gtk-osx-application-common-gtk3' to
 force the activation.
     invoked from within
 "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..."
     ("foreach" body line 45)
     invoked from within
 "foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to install links, we test if we can lst..."
     invoked from within
 "registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to instal..."
     invoked from within
 "try {
         registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be ..."
     (procedure "_activate_contents" line 21)
     invoked from within
 "_activate_contents $requested $rename_list"
     (procedure "portimage::activate" line 63)
 }}}
 This conflict should either be fixed, or marked.

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


More information about the macports-tickets mailing list