Summary: | kwin fails to compile, due to strange issues with Mesa headers | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | bluescreenavenger |
Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bhush94, rohan |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
bluescreenavenger
2016-11-30 04:29:54 UTC
can you check which include path you get into in <EGL/eglplatform.h> Hi. Where do I explicitly check for this? I think it's probably the one from /opt/include ... I do set CPATH export INSTALLDIR=/opt export CPATH=$INSTALLDIR/include eglplatform.h has multiple sections like: #elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ typedef int EGLNativeDisplayType; typedef void *EGLNativeWindowType; typedef void *EGLNativePixmapType; #elif defined(WL_EGL_PLATFORM) The question is: which of the defines is set. after some grepping, I found out kwin is getting it's eglplatform from libepoxy, of which I remembered I am building with my scripts. Knocking it down from master to 1.3.1 allows kwin to build. I had it like this for some time, not sure what changed in epoxy to make kwin not like it... Sounds like a regression in master libepoxy. I could try to report it to libepoxy.. Not sure if I'd be able to give them all the information they need though So, I just hit this error in mobile builds for kwin.. Changes in libepoxy which caused kwin to fail. http://mobile.neon.pangea.pub:8080/job/xenial_unstable_plasma-phone-packaging_libepoxy_src/changes Bit tricky as knocking down libepoxy version means kwin won't work on phone :/ |