Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491646 - media-libs/mesa-10.0.0-rc1[egl,-gbm,wayland] - egl_dri2.c:1882:16: error: 'struct dri2_egl_display' has no member named 'gbm_dri'
Summary: media-libs/mesa-10.0.0-rc1[egl,-gbm,wayland] - egl_dri2.c:1882:16: error: 'st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: mesa-10
  Show dependency tree
 
Reported: 2013-11-19 09:11 UTC by Geoff Madden
Modified: 2014-01-09 22:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge.inf,5.07 KB, text/plain)
2013-11-19 09:12 UTC, Geoff Madden
Details
buildlog.tar.xz (buildlog.tar.xz,24.78 KB, application/x-xz-compressed-tar)
2013-11-19 09:17 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2013-11-19 09:11:34 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.0.0-rc1\" "-DPACKAGE_STRING=\"Mesa 10.0.0-rc1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.0.0-rc1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I. -I../../../../include -I../../../../src/egl/main -I../../../../src/gbm/main -I../../../../src/gbm/backends/dri -I../../../../src/egl/wayland/wayland-egl -I../../../../src/egl/wayland/wayland-drm -I../../../../src/egl/wayland/wayland-drm -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0303 -fvisibility=hidden -I/usr/include/libdrm -DDEFAULT_DRIVER_DIR=\"/usr/lib64/dri\" -DHAVE_SHARED_GLAPI -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -O2 -march=athlon64 -pipe -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c platform_x11.c  -fPIC -DPIC -o .libs/platform_x11.o
egl_dri2.c: In function 'dri2_bind_wayland_display_wl':
egl_dri2.c:1882:16: error: 'struct dri2_egl_display' has no member named 'gbm_dri'
    if (dri2_dpy->gbm_dri)
                ^
egl_dri2.c:1883:15: error: 'struct dri2_egl_display' has no member named 'gbm_dri'
       dri2_dpy->gbm_dri->wl_drm = dri2_dpy->wl_server_drm;
               ^
gmake[4]: *** [egl_dri2.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory `/var/tmp/portage/media-libs/mesa-10.0.0_rc1/work/Mesa-10.0.0-rc1-amd64/src/egl/drivers/dri2'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-10.0.0_rc1/work/Mesa-10.0.0-rc1-amd64/src/egl/drivers'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-10.0.0_rc1/work/Mesa-10.0.0-rc1-amd64/src/egl'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-10.0.0_rc1/work/Mesa-10.0.0-rc1-amd64/src'
make: *** [all-recursive] Error 1
 * ERROR: media-libs/mesa-10.0.0_rc1::gentoo failed (compile phase):
 *   emake failed
 *

Reproducible: Always

Actual Results:  
mesa stops compiling
Comment 1 Geoff Madden 2013-11-19 09:12:29 UTC
Created attachment 363554 [details]
emerge info
Comment 2 Geoff Madden 2013-11-19 09:17:44 UTC
Created attachment 363556 [details]
buildlog.tar.xz
Comment 3 Geoff Madden 2013-11-19 16:16:35 UTC
It turns out I needed the gbm flag as well as egl
Comment 4 Dino 2013-11-27 10:43:01 UTC
(In reply to Geoff Madden from comment #3)
> It turns out I needed the gbm flag as well as egl

Confirmed. It works for me too.
Comment 5 Matt Turner gentoo-dev 2014-01-09 22:19:09 UTC
Thanks, fixed in mesa-10.0.2.