Bug 99389 - Mesa build broken: sid_tables.h
Summary: Mesa build broken: sid_tables.h
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Emil Velikov
QA Contact: Default DRI bug account
Depends on:
Reported: 2017-01-12 21:02 UTC by Mark Janes
Modified: 2017-01-12 22:08 UTC (History)
0 users

See Also:
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 
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:
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.