[Mesa-dev] [Bug 56685] [recent build error] glsl_parser.h: No such file or directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 20 11:55:48 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=56685

--- Comment #13 from Thierry Reding <thierry.reding at avionic-design.de> ---
(In reply to comment #12)
> How could glsl_parser.h exist in both src and build directories?

There could be any number of reasons. The most likely would be if somebody's
built in-tree, so glsl_parser.h gets generated in the source tree, and then
decides to build out-of-tree. Granted, a proper build system would detect and
prevent that, but I'm not sure we're there yet.

There's also always the possibility of somebody just copying it there.

But my point was that it usually is a sensible decision to prefer the contents
of the build tree over those of the source tree. I've seen lots of packages
that were broken in some subtle way and would specifically generate files in
the build tree, but then go and reuse the one that shipped in the source tree.

Such bugs can be very hard to find and they usually aren't obvious from the
start, so if there's an easy way to avoid them I think we should do so.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121120/3035d0e4/attachment.html>


More information about the mesa-dev mailing list