Summary: | mesa-demos-8.2.0 (latest released version) fails to build against mesa-10.6.4-2.mga6.tainted.src.rpm | ||
---|---|---|---|
Product: | Mesa | Reporter: | Shlomi Fish <shlomif> |
Component: | Demos | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | critical | ||
Priority: | medium | CC: | alexander, devurandom, mike |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Shlomi Fish
2015-08-15 12:40:03 UTC
Works fine here and on the opensuse buildservers, have you build mesa with the appropriate --with-egl-platforms=yourplatforms where the platform is one or several of: x11, drm, wayland (In reply to Tobias Klausmann from comment #1) > Works fine here and on the opensuse buildservers, have you build mesa with > the appropriate --with-egl-platforms=yourplatforms where the platform is one > or several of: x11, drm, wayland This is indeed the case according to my reading of the rpm .spec file. Furthermore: # ~/mesa-10.6.4 is the vanilla Mesa sources from the ftp.freedesktop.org tar.xz shlomif[rpms]:~/mesa-10.6.4$ grep -ri EGL_SCREEN_BIT . ./src/egl/docs/EGL_MESA_screen_surface: EGL_SCREEN_BIT_MESA shlomif[rpms]:~/mesa-10.6.4$ grep -ri EGL_SCREEN_BIT /usr/include/EGL shlomif[rpms]:~/mesa-10.6.4$ Where is it supposed to be declared and defined? Are you sure opensuse is not using a patched version or a git snapshot? WE use a normal 10.6.4 snapshot and i'm not aware of extra patches. You may need other some devel packages like we got "Mesa-libEGL-devel" for this. As a reference you may look into the opensuse packages for sure: https://build.opensuse.org/package/show/X11:XOrg/Mesa (In reply to Shlomi Fish from comment #2) > (In reply to Tobias Klausmann from comment #1) > > Works fine here and on the opensuse buildservers, have you build mesa with > > the appropriate --with-egl-platforms=yourplatforms where the platform is one > > or several of: x11, drm, wayland > > This is indeed the case according to my reading of the rpm .spec file. > Furthermore: > > # ~/mesa-10.6.4 is the vanilla Mesa sources from the ftp.freedesktop.org > tar.xz > shlomif[rpms]:~/mesa-10.6.4$ grep -ri EGL_SCREEN_BIT . > ./src/egl/docs/EGL_MESA_screen_surface: EGL_SCREEN_BIT_MESA > shlomif[rpms]:~/mesa-10.6.4$ grep -ri EGL_SCREEN_BIT /usr/include/EGL > shlomif[rpms]:~/mesa-10.6.4$ > > Where is it supposed to be declared and defined? > > Are you sure opensuse is not using a patched version or a git snapshot? OK, some investigation: 1. The constant in question was removed by this commit: commit 7a58262e58d8edac3308777def0950032628edee Author: Adam Jackson <ajax@redhat.com> Date: Wed Apr 1 10:39:45 2015 -0400 egl: Remove skeleton implementation of EGL_MESA_screen_surface No backend wires this up to anything, and the extension spec has been marked obsolete for 4+ years. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Adam Jackson <ajax@redhat.com> 2. According to http://software.opensuse.org/package/Mesa opensuse is using Mesa version 10.3.7 which may still have had it. (In reply to Tobias Klausmann from comment #3) > WE use a normal 10.6.4 snapshot and i'm not aware of extra patches. You may > need other some devel packages like we got "Mesa-libEGL-devel" for this. > > As a reference you may look into the opensuse packages for sure: > https://build.opensuse.org/package/show/X11:XOrg/Mesa Looking at https://build.opensuse.org/package/view_file/openSUSE:Factory/Mesa-demo/Mesa-demo.spec?expand=1 , I see that ./configure gets passed the "--disable-egl" flag. After adding it to the Mageia .spec the package builds specifically. But it's not the default, so the problem still stands. Oh right, i was not aware of this. I guess mesa-demo should make this the default then. Fixed by demos commit 74443c6ee79f3251f643ea05e94df58183e37d0d. Closing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.