Opened 9 years ago

Closed 9 years ago

#49019 closed defect (fixed)

gtk-osx-application-gtk2 conflicts with gtk-osx-application

Reported by: Gord-Butler Owned by: elelay (Eric Le Lay)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: dbevans (David B. Evans)
Port: gtk-osx-application-gtk2, gtk-osx-application

Description

Attempting to upgrade outdated ports stops when attempting to upgrade gimp2. MacPorts returns an image error when trying to upgrade the dependency gtk-osx-application-gtk2. The error text is listed below:

Error: org.macports.activate for port gtk-osx-application-gtk2 returned: Image error: /opt/local/lib/libgtkmacintegration-gtk2.2.dylib is being used by the active gtk-osx-application port.  Please deactivate this port first, or use 'port -f activate gtk-osx-application-gtk2' to force the activation.
Error: Failed to install gtk-osx-application-gtk2

Has a solution already been posted or has the answer been staring me in the face all along?

Attachments (3)

5main.log (4.6 KB) - added by Gord-Butler 9 years ago.
text from terminal session
gimp2 upgrade attempt 9-30-2015 (1.1 KB) - added by Gord-Butler 9 years ago.
text from terminal session
6main.log (4.8 KB) - added by Gord-Butler 9 years ago.
log file from upgrade attempt 10-18-2015

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by Gord-Butler

Attachment: 5main.log added

text from terminal session

Changed 9 years ago by Gord-Butler

text from terminal session

comment:1 Changed 9 years ago by Gord-Butler

The log file for gtk-osx-application-gtk2 and the text from the terminal session are attached.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: devans@… added
Owner: changed from macports-tickets@… to elelay@…
Summary: gimp2: dependency conflict preventing upgradegtk-osx-application-gtk2 conflicts with gtk-osx-application

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Port: gtk-osx-application-gtk2 gtk-osx-application added; gimp2 removed

Changed 9 years ago by Gord-Butler

Attachment: 6main.log added

log file from upgrade attempt 10-18-2015

comment:4 Changed 9 years ago by Gord-Butler

Upgraded to version 2.3.4 on 10-18-2015 and attempted to upgrade outdated ports. The port upgrade stopped at gimp2 again. Appears gtk-osx-application-gtk2 and gtk-osx-application still conflict. Should these two be able to co-exist or should I turn one of them off? Not sure what to do here. I've attached the log file from the latest attempt (6main.log).

comment:5 Changed 9 years ago by elelay (Eric Le Lay)

gtk-osx-application +variants has been split into subports. Gimp2 now depends on gtk-osx-application-gtk2. You should sudo port deactivate -f gtk-osx-application and re-attempt to upgrade gimp2.

comment:6 Changed 9 years ago by Gord-Butler

Shutting down gtk-osx-application seemed to work. Gimp2 upgraded. Would shutting down gtk-osx-application cause trouble with other ports?

Terminal output from the upgrade attempt follows:

        :~ macbook$ sudo port deactivate -f gtk-osx-application
Password:
--->  Deactivating gtk-osx-application @2.0.7_0+python27
--->  Unable to deactivate gtk-osx-application @2.0.7_0+python27, the following ports depend on it:
--->  	gimp2 @2.8.14_2+help_browser+python27+quartz
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning gtk-osx-application
      :~ macbook$ sudo port upgrade outdated
--->  Computing dependencies for gimp2
--->  Dependencies to be installed: gtk-osx-application-gtk2
--->  Activating gtk-osx-application-gtk2 @2.0.8_0
--->  Cleaning gtk-osx-application-gtk2
--->  Fetching archive for gimp2
--->  Attempting to fetch gimp2-2.8.14_3+help_browser+python27+quartz.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gimp2
--->  Attempting to fetch gimp2-2.8.14_3+help_browser+python27+quartz.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gimp2
--->  Attempting to fetch gimp2-2.8.14_3+help_browser+python27+quartz.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/gimp2
--->  Fetching distfiles for gimp2
--->  Verifying checksums for gimp2
--->  Extracting gimp2
--->  Applying patches to gimp2
--->  Configuring gimp2
--->  Building gimp2
--->  Staging gimp2 into destroot
--->  Installing gimp2 @2.8.14_3+help_browser+python27+quartz
--->  Cleaning gimp2
--->  Computing dependencies for gimp2
--->  Deactivating gimp2 @2.8.14_2+help_browser+python27+quartz
--->  Cleaning gimp2
--->  Activating gimp2 @2.8.14_3+help_browser+python27+quartz
--->  Cleaning gimp2

comment:7 Changed 9 years ago by elelay (Eric Le Lay)

Resolution: fixed
Status: newclosed

No worries: gtk-osx-application has been replaced in the few applications that used it port upgrade outdated would have taken care of it.

On your system, only gimp2 depended (the line after the following ports depend on it) on it, so no other program could be affected.

Note: See TracTickets for help on using tickets.