Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#55967 closed defect (fixed)

gtk3 +quartz: missing mesa dependency

Reported by: Bachsau (Bachsau) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: Anderson-Council
Port: gtk3

Description

Build fails because of a dependency on "gl.pc" which is not present without having mesa installed, but its not a dependency. As macports is not capable of searching for a file in available packages it took me a long time to figure this out.

Change History (8)

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

Keywords: mesa removed
Owner: set to dbevans
Status: newassigned
Summary: Missing dependencyglade: missing mesa dependency

comment:2 Changed 6 years ago by dbevans (David B. Evans)

Status: assignedaccepted

I'm unable to reproduce your problem based on the information provided. Build works fine for me and I see no reference to gl.pc or mesa in the code or configuration files.

If you can reproduce the problem in a clean build, please attach a copy of the resulting logfile, so we can see more clearly what's going on. In addition, please advise whether you are building with +x11 or +quartz and any other information that may be pertinent to the build.

By "clean build" I mean you should do the following:

sudo port clean glade
sudo port -d build glade

If the build fails, attach the logfile which can be located using the command

port logfile glade

Thanks for your report.

comment:3 Changed 6 years ago by dbevans (David B. Evans)

glade depends on gtk3 which, in turn, depends on mesa so mesa should definitely be installed and active when you begin to build glade. If this is not the case, something is wrong with your installation. Let me know what you find.

comment:4 Changed 6 years ago by Bachsau (Bachsau)

I'm pretty sure it was not at the time of this bug report or there's something wrong with the package manager. At the time I encountered this problem my MacPorts installation was just about three weeks old and I never forced the uninstall of required packages.

Last edited 6 years ago by Bachsau (Bachsau) (previous) (diff)

comment:5 Changed 6 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: acceptedclosed

OK, looks like it is working for you now. Will be updating to glade 3.22.0 later this week when dependencies have been updated for GNOME 3.28. Give it a try and let me know if you see any problems.

comment:6 Changed 6 years ago by dbevans (David B. Evans)

Port: gtk3 added; glade removed
Resolution: worksforme
Status: closedreopened
Summary: glade: missing mesa dependencygtk3 +quartz: missing mesa dependency

Reopening this ticket as I finally was able to reproduce the problem after attempting to build gtk3 +quartz after a fresh MacPorts install.

The problem was not with glade but with gtk3. Due to a required dependency by on libepoxy for both +x11 and +quartz, they both need a dependency on mesa as well.

Sorry for giving up too early on this issue.

comment:7 Changed 6 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: reopenedclosed

In 12d6506e66053e38e9b7069343138e45240d71ad/macports-ports:

gtk3: fix +quartz lib dependencies

gtk3 requires libepoxy for both +x11 and +quartz
which forces a depends_lib requirement for mesa on both.
Previously only the +x11 variant declared the dependency on mesa.

Fixes #55967

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

Cc: Anderson-Council added

Has duplicate #56069.

Note: See TracTickets for help on using tickets.