> Weird. I cannot reproduce your issue with that make version on > GNU/Linux. > > Which file system does this happen on, maybe a case-insensitive one and > there is another file in the source or the build tree matching the name > (or parts of the dirname) case-insensitively?
Great tip! I forgot this particular system is case-insensitive. I had the files wapi.py, wapi.c, and wapi.h. I renamed wapi.py to wapigen.py and it now works for the VPATH build. Nice. > On this system, does the build succeed if you don't use a VPATH, i.e., > in-tree ./configure && make? Yep, it always worked without VPATH.