|Summary:||check-doc-syntax.sh test fails|
|Product:||cairo||Reporter:||Ivailo Monev <xakepa10>|
|Component:||general||Assignee:||Chris Wilson <chris>|
|Status:||RESOLVED FIXED||QA Contact:||cairo-bugs mailing list <cairo-bugs>|
|i915 platform:||i915 features:|
|Bug Depends on:|
Comment 1 Uli Schlachter 2013-09-15 12:58:11 UTC
Uhm. What exactly are you doing to get this result? The error message is "check-doc-syntax.awk", but that file is in git, is in Makefile.am's EXTRA_DIST and also is in the 1.12.12 release .tar.xz. In other words, I cannot reproduce this problem at all.
Comment 2 Ivailo Monev 2013-09-15 14:27:33 UTC
The file is indeed present in the tarball, I looked for it. I tried different things and the problem turned out to be bad interpreter, instead of /usr/bin/awk I have /bin/awk so src/check-doc-syntax.awk fails. Can you do something about that, detect the path to awk and adjust it in src/check-doc-syntax.awk or you consider this a distribution specific bug?
Comment 3 Uli Schlachter 2013-09-16 11:01:13 UTC
commit 966bf2fe6a8c29f4d10b20f982a4ab198a441c78 Author: Uli Schlachter <firstname.lastname@example.org> Date: Sun Sep 15 16:58:05 2013 +0200 check-doc-syntax: Don't hardcode path to awk Instead of expecting awk in /usr/bin, this commit changes the code to call awk through a shell so that $PATH is searched. Since this awk script shouldn't really be called manually, this is done by removing the shebang from the awk script, marking it non-executable and fixing up the caller. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67674 Reviewed-by: Bryce Harrington <email@example.com> Signed-off-by: Uli Schlachter <firstname.lastname@example.org>
Comment 4 Ivailo Monev 2013-09-16 15:18:33 UTC