meson (a0ff14551 in my case, but the bug is older) with the ninja backend doesn't correctly handle generator.process() being used to process a generated file, if that file is in a subdirectory. It looks like something looses track of the path for the generated file.
$ m setup build && ninja -C build
...
ninja: error: 'test_header.h', needed by 'check-headers.stamp.p/test_header.h.t', missing and no known rule to make it
The problem is that test_header.h.t omitted the path in the dependency on test_header.h:
meson (a0ff14551 in my case, but the bug is older) with the ninja backend doesn't correctly handle
generator.process()
being used to process a generated file, if that file is in a subdirectory. It looks like something looses track of the path for the generated file.meson.build:
include/meson.build:
Test:
The problem is that test_header.h.t omitted the path in the dependency on test_header.h: