Bug 258677 - graphics/libepoxy: build fails
Summary: graphics/libepoxy: build fails
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-22 13:32 UTC by bas
Modified: 2021-11-19 13:56 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bas 2021-09-22 13:32:22 UTC
Build breaks in Poudriere with an error on lib-depends (libGL not found). Using FreeBSD 13.0-p4 on AMD64.
Comment 1 Ghost 2021-09-22 13:52:40 UTC
> libGL not found

Do you have custom OPTIONS in make.conf?

libGL exists only when graphics/libglvnd was built with X11 support.
Either disable X11 for both libglvnd and libepoxy, or turn it on.

If you upgrade from before ports b44acc9409bd3, then read UPDATING 20210617.
Comment 2 bas 2021-09-27 08:01:01 UTC
X11 is on for both, the error still occurs. I'm building from Poudriere so the entry in UPDATING does not apply here. This is what I have in make.conf:

WANT_OPENLDAP_SASL="YES"
OPTIONS_UNSET+= DOCS NLS EXAMPLES GSSAPI_BASE GSSAPI_NONE GSSAPI_HEIMDAL TEST MANPAGES GSSAPI_BUILTIN
OPTIONS_SET+= GSSAPI_MIT BROTLI X11

No further custom options for individual packages. Interesting bit: when I completely nuked my repo and built everything up again from scratch (took days), the error disappeared. So apparently there's some interdependency somewhere that doesn't get taken care of in an incremental build. Or at least that how I see it now.
Comment 3 Emmanuel Vadot freebsd_committer freebsd_triage 2021-11-19 13:56:25 UTC
Please open again with logs if that happens again.