Opened 6 months ago

Closed 3 months ago

#70184 closed defect (fixed)

gtk3 +quartz missing a build dependency on mesa

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

Description

I am installing gtk3 +quartz (and gtk3-devel +quartz). If I install mesa, then gtk3/gtk3-devel will build.

Looks similar to: https://trac.macports.org/ticket/55967 https://trac.macports.org/ticket/56069

I can uninstall mesa after the build and my application still works, so it appears to only be a build dependency for +quartz.

--->  Configuring gtk3
Error: Failed to configure gtk3: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/build/meson-logs/meson-log.txt
Error: Failed to configure gtk3: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port gtk3 failed

Attachments (1)

meson-log.txt (131.5 KB) - added by bll123 (Brad Lanam) 6 months ago.
meson log file

Download all attachments as: .zip

Change History (6)

Changed 6 months ago by bll123 (Brad Lanam)

Attachment: meson-log.txt added

meson log file

comment:1 Changed 6 months ago by bll123 (Brad Lanam)

It looks like I need to keep 'mesa' installed in order to use gtk3-devel. Otherwise e.g. 'pkg-config --cflags gtk+-3.0' fails.

comment:2 Changed 5 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:3 Changed 3 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:4 Changed 3 months ago by thomasrussellmurphy (Thomas Russell Murphy)

I'm using +quartz, but also needed to manually install mesa to progress on the build for the latest gtk3 update.

comment:5 Changed 3 months ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

In ef0d17dd086334a9496ce2da67c728067cc50a48/macports-ports (master):

gtk3: Add missing build dependency on mesa

Partially reverts 4fb8088b2838539db152705c8ec612d71aa4d237.

According to [1], this only is a problem when epoxy was configured with
mesa present, but until somebody fixes epoxy to never add
Requires.private: gl to its pkg-config file when built with +quartz,
we must assume user systems out there have it and value build stability
over minimal dependencies.

[1]: 4fb8088b2838539db152705c8ec612d71aa4d237/macports-ports#commitcomment-142476278

See: https://lists.macports.org/pipermail/macports-users/2024-August/052836.html
Closes: #70184
Signed-off-by: Clemens Lang <cal@…>

Note: See TracTickets for help on using tickets.