<div dir="ltr">Bisect shows the problem started at commit 3689ef32afdafbb030069e560aac0e563fc29048<div>Author: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>></div><div>Date:   Mon May 30 12:32:05 2016 +0100</div><div><br></div><div>    automake: rework the git_sha1.h rule, include in tarball</div><div>    </div><div>    As we'll need the file in the release tarball, rework the rule so that</div><div>    the file is regenerated _only_ if we're in a git repository.</div><div>    </div><div>    With this in place we can build vulkan (anv) from a release tarball.</div><div>    </div><div>    Cc: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>></div><div>    Cc: Kristian Høgsberg Kristensen <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>></div><div>    Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>></div><div><br></div><div>I'm not building from a release tarball, but the workflow first copies the source tree to a tmp directory (without the .git directory), so there's no git_sha1.h file, and the file is not generated either.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 16, 2016 at 11:46 AM, Haixia Shi <span dir="ltr"><<a href="mailto:hshi@chromium.org" target="_blank">hshi@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Posting a question in case someone already know the issue. </span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm observing "missing git_sha1.h" errors sometime after Emil's git_sha1.h patches by May 31st. This is not fixed at TOT with the latest patches on Makefile.am.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The problem only happens if src/git_sha1.h doesn't exist already. I just need to put a dummy git_sha1.h file there to work around the error.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">There's a similar bug filed (<a href="https://bugs.freedesktop.org/show_bug.cgi?id=50976" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=50976</a>) but the fix for that one patches src/Makefile directly, whereas my build flow only requires Makefile.am. </div></div>
</blockquote></div><br></div>