[MacPorts] #69585: gtk3-devel: path-style dependencies not working now

MacPorts noreply at macports.org
Sat Apr 6 23:24:43 UTC 2024


#69585: gtk3-devel: path-style dependencies not working now
-------------------------------+--------------------
  Reporter:  barracuda156      |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.9.1
Resolution:                    |   Keywords:
      Port:  gtk3, gtk3-devel  |
-------------------------------+--------------------

Comment (by barracuda156):

 Replying to [comment:10 ryandesign]:
 > Does the file /opt/local/lib/pkgconfig/gtk+-3.0.pc exist?
 >
 > It should. If it doesn't, that would explain why MacPorts is trying to
 install gtk3, and the investigation should focus on why that file doesn't
 exist.

 Yes, it exists. Here is a clean Macports 2.9.3 on a standard 10.6.8 x86
 (no custom ports, everything up-to-date):
 {{{
 10:~ svacchanda$ port -v installed gtk3-devel
 The following ports are currently installed:
   gtk3-devel @3.24.41_0+x11 (active) requested_variants='-universal'
 platform='darwin 10' archs='x86_64' date='2024-04-07T07:18:54+0800'
 10:~ svacchanda$ file /opt/local/lib/pkgconfig/gtk+-3.0.pc
 /opt/local/lib/pkgconfig/gtk+-3.0.pc: ASCII text
 10:~ svacchanda$ sudo port -v -n build transmission-x11 -universal
 --->  Computing dependencies for transmission-x11.....................
 Error: Can't install gtk3 because conflicting ports are active: gtk3-devel
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port transmission-x11 failed
 }}}

 Contents of .pc file:
 {{{
 prefix=/opt/local
 exec_prefix=${prefix}
 libdir=${prefix}/lib
 includedir=${prefix}/include
 targets=x11

 gtk_binary_version=3.0.0
 gtk_host=x86_64-darwin

 Name: GTK+
 Description: GTK+ Graphical UI Library
 Version: 3.24.41
 Requires: gdk-3.0 atk >= 2.35.1  cairo >= 1.14.0 cairo-gobject >= 1.14.0
 gdk-pixbuf-2.0 >= 2.30.0 gio-2.0 >= 2.57.2
 Requires.private: atk atk-bridge-2.0 epoxy >= 1.4 fribidi >= 0.19.7
 pangoft2 gio-unix-2.0 >= 2.57.2
 Libs: -L${libdir} -lgtk-3
 Cflags: -I${includedir}/gtk-3.0
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69585#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list