Opened 6 weeks ago

Last modified 2 weeks ago

#69585 assigned defect

gtk3-devel: path-style dependencies not working now

Reported by: barracuda156 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: Dave-Allured (Dave Allured), cooljeanius (Eric Gallager)
Port: gtk3, gtk3-devel

Description

--->  Computing dependencies for transmission-x11..
Error: Can't install gtk3 because conflicting ports are active: gtk3-devel

Same with other dependents of GTK3.

Attachments (1)

transmission.log (354.1 KB) - added by barracuda156 6 weeks ago.
Log from 10.6.8

Download all attachments as: .zip

Change History (15)

comment:1 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

In 722a3eb3a48203034034ec2bbab100638187d242/macports-ports (master):

amttools: Fix gtk3 dependency

See: #69585

comment:2 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

In e2ac810df736630218523cab231b46b1ac92a5e9/macports-ports (master):

nicotine-plus: Fix gtk3 dependency

See: #69585

comment:3 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

In 7687eb8889387a9840de250196f504a1a5390797/macports-ports (master):

stardict: Fix gtk3 dependency

See: #69585

comment:4 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

In ae17758e02d0de0e15f44c67852d6461ea454008/macports-ports (master):

gajim: Use path:-style dependencies

See: #69585

comment:5 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

In f4c5c116eb27f1e98968f18977916a4745f9b131/macports-ports (master):

geeqie: Use standard gtk3 dependency

See: #69585

comment:6 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

But none of those are in the recursive dependencies of transmission-x11 so they shouldn't have caused this problem, so I don't know. Can you attach a log? Or debug output? Maybe it will show which port is pulling in the dependency for gtk3 when you already have gtk3-devel.

comment:7 Changed 6 weeks ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

Changed 6 weeks ago by barracuda156

Attachment: transmission.log added

Log from 10.6.8

comment:8 in reply to:  6 Changed 5 weeks ago by barracuda156

Replying to ryandesign:

But none of those are in the recursive dependencies of transmission-x11 so they shouldn't have caused this problem, so I don't know. Can you attach a log? Or debug output? Maybe it will show which port is pulling in the dependency for gtk3 when you already have gtk3-devel.

I think the problem is still there, though I have no idea what causes it.

comment:9 Changed 4 weeks ago by barracuda156

For sure the issue is unresolved. This is on 10.8.5:

10:~ svacchanda$ sudo port -v -n install rb33-gtk3
--->  Computing dependencies for rb33-gtk3..
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 rb33-gtk3 failed

comment:10 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

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.

Last edited 4 weeks ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:11 in reply to:  10 Changed 4 weeks ago by barracuda156

Replying to 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 

comment:12 Changed 4 weeks ago by barracuda156

Version: 2.9.12.9.3

comment:13 Changed 2 weeks ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:14 Changed 2 weeks ago by mascguy (Christopher Nielsen)

Owner: set to mascguy
Status: newassigned
Note: See TracTickets for help on using tickets.