Summary: | www/webkit2-gtk3: Needs cairo with OPENGL support enabled | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Thierry Thomas <thierry> | ||||
Component: | Individual Port(s) | Assignee: | Walter Schwarzenfeld <w.schwarzenfeld> | ||||
Status: | Closed Feedback Timeout | ||||||
Severity: | Affects Some People | CC: | cmt, w.schwarzenfeld | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
"Works for me" and possibly most others. So... Does your cairo have OPENGL enabled? (OPENGL is in OPTIONS_DEFAULT for graphics/cairo, so if it's off I guess you disabled it). If it's on and webkit still complains, either your cairo package or pkgconfig (which the webkit Makefile uses to detect the OPENGL option on cairo) is broken. Did cairo install ${PREFIX}/libdata/pkgconfig/cairo-egl.pc and what does "pkg-config --exists cairo-egl ; echo $?" print? Something might be broken somewhere in my devel box, bur I've not yet found what... Nothing related to OPENGL in /etc/make.conf, and same error inside poudriere. cairo-egl.pc exists: -rw-r--r-- 1 root wheel 242 26 mars 02:21 /usr/local/libdata/pkgconfig/cairo-egl.pc $ pkg-config --exists cairo-egl ; echo $? 0 No options set in poudriere, but it fails with the same message: =======================<phase: configure >============================ ===> Configuring for webkit2-gtk3-2.24.0_1 webkit2-gtk3-2.24.0_1: Needs cairo with OPENGL support enabled. *** Error code 1 Stop. make: stopped in /usr/ports/www/webkit2-gtk3 =>> Cleaning up wrkdir ===> Cleaning for webkit2-gtk3-2.24.0_1 build of www/webkit2-gtk3 | webkit2-gtk3-2.24.0_1 ended at Mon Apr 22 14:28:07 CEST 2019 build time: 00:08:33 !!! build failure encountered !!! (In reply to Thierry Thomas from comment #2) That's funny, because when you look at www/webkit2-gtk3/Makefile, the check is in "pre-configure" and all it does is checking for cairo-egl with pkg-config. Is your $PATH mangled, do you build with non-default $PREFIX or something like that? Perhaps the check is not robust enough? |
Created attachment 203752 [details] Poudrière log Configure fails with this message: ===> Configuring for webkit2-gtk3-2.24.0_1 webkit2-gtk3-2.24.0_1: Needs cairo with OPENGL support enabled. *** Error code 1 Full log (poudrière) attached.