Opened 22 months ago

Last modified 6 months ago

#66887 assigned defect

gimp fails to detect gtk2 version

Reported by: rmottola (Riccardo) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc: cooljeanius (Eric Gallager)
Port: gimp2

Description

on 10.6 when building gimp +quartz (about as I always did) it fails to recognize gtk2

  - Error: missing dependency gtk+-2.0 >= 2.24.32
      *** Test for GTK+ failed.

however I have this installed:

The following ports are currently installed:
  gtk2 @2.24.33_3+quartz (active)

and... 2.24.33 is > 2.24.32

What's going wrong? log attached

Attachments (1)

config.log (204.2 KB) - added by rmottola (Riccardo) 22 months ago.

Download all attachments as: .zip

Change History (5)

Changed 22 months ago by rmottola (Riccardo)

Attachment: config.log added

comment:1 Changed 22 months ago by kencu (Ken)

configure:26776: ./conftest
1643	dyld: Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib
1644	  Referenced from: /opt/local/lib/libgtk-quartz-2.0.0.dylib
1645	  Reason: Incompatible library version: libgtk-quartz-2.0.0.dylib requires version 5001.0.0 or later, but libpangocairo-1.0.0.dylib provides version 4201.0.0
1646	./configure: line 2789: 23527 Trace/BPT trap          ./conftest$ac_exeext
1647	configure:26776: $? = 133

looks like perhaps some of your pango / cairo / harfbuzz / etc testing might have left you with some mismatched libs?

Either install the right version of libpangocairo, or rebuild gtk2 against this version, if you want to keep this version installed.

comment:2 Changed 22 months ago by jmroot (Joshua Root)

Keywords: gimp gtk2 removed
Owner: set to mascguy
Status: newassigned

comment:3 Changed 22 months ago by rmottola (Riccardo)

this is some sort of chicken-and-egg problem. rev-upgrade detects a rebuild of gtk2:

 gtk2 @2.24.33+quartz
 py27-pygtk @2.24.0+quartz
 librsvg @2.54.5
 appstream-glib @0.8.2
 gtk-osx-application-gtk2 @3.0.1
 gimp2 @2.10.32+python27+quartz

but it starts rebuilding gimp2... which fails. What is the best way to force an upgrade? I did try to "build and install@ gtk this way:

sudo port -v build gtk2 +quartz
sudo port -v install gtk2 +quartz

This is suboptimal, because it will set this port as requested and one must match the variants, but also because it does not work: as install ended rev-upgrade still detected gtk2 as broken. How can I best force an upgrade rebuild?

comment:4 Changed 6 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.