Bug 99389

Summary: Mesa build broken: sid_tables.h
Product: Mesa Reporter: Mark Janes <mark.a.janes>
Component: Drivers/Gallium/radeonsiAssignee: Emil Velikov <emil.l.velikov>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Mark Janes 2017-01-12 21:02:46 UTC
$ git clean -xfd
$ ./configure --enable-gbm --with-egl-platforms=x11,drm --enable-glx-tls --enable-gles1 --enable-gles2 --with-gallium-drivers=i915,svga,swrast,r300,r600,radeonsi,nouveau --enable-debug
$ make

src/amd/common/ac_debug.c:30:24: fatal error: sid_tables.h: No such file or directory

bisected to 
d1dc22eb4661dbb343920bb36a9c71accec334d5
Author:     Emil Velikov <emil.l.velikov@gmail.com>
ac: automake: rework sid_tables.h generation
Comment 1 Mark Janes 2017-01-12 21:54:58 UTC
instructions were a bit off:

$ git clean -xfd
$ mkdir build
$ cd build
$ ../autogen.sh --enable-gbm --with-egl-platforms=x11,drm --enable-glx-tls --enable-gles1 --enable-gles2 --with-gallium-drivers=i915,svga,swrast,r300,r600,radeonsi,nouveau --enable-debug
$ make


This bug is fixed with the patch:
http://paste.debian.net/plainh/fee5df59
Comment 2 Emil Velikov 2017-01-12 22:08:11 UTC
It was a case of missing -I...builddir indeed. Pardon for missing the patch in here. I've committed slightly different solution - adding builddir prior to srcdir since the latter can contain stale copy of the file.

Note to self: don't trust make distcheck, always git clean.

Pardon for the breakage gents.

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.