Bug 258677

Summary: graphics/libepoxy: build fails
Product: Ports & Packages Reporter: bas
Component: Individual Port(s)Assignee: freebsd-x11 (Nobody) <x11>
Status: Closed Not A Bug    
Severity: Affects Many People CC: evgeniy, manu
Priority: --- Flags: bugzilla: maintainer-feedback? (x11)
Version: Latest   
Hardware: amd64   
OS: Any   

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 Evgeniy Khramtsov 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 2021-11-19 13:56:25 UTC
Please open again with logs if that happens again.