[Bug c/84631] make check in fixincludes fails seemingly due to star in directory names, on WSL

jay.krell at cornell dot edu gcc-bugzilla@gcc.gnu.org
Thu Mar 1 09:49:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84631

--- Comment #5 from Jay <jay.krell at cornell dot edu> ---
I confirmed.

Here is what you can.


Build out of tree, of course.
cd fixincludes
make check
while it is printing "fixed...", press control-c
ls tests/inc
You will see a directory named "*".
Creating this works on Mac and presumably Linux, but not WSL.

Because like I said * doesn't match anything, so goes through
on its own.

This stuff does a good job of hiding what it is doing
and deleting its tracks btw.

It helps to remove the >/dev/null in check.tpl/check.sh.
And set -ex in the parenthesized chunk near the top.

WSL should try to support this, I guess, but it is a little wonky.
Seems maybe an accident here.
Maybe it is for in-tree builds?
I also see a directory named "sun*" that might cause grief.


More information about the Gcc-bugs mailing list