-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missingdeps tool has some odd false positives #2454
Comments
I cannot reproduce any of that locally, and to be frank your example is barely readable. Can you provide a simpler Also please specify which version of Ninja you are using. Thanks. |
I cannot reproduce your failure to reproduce, and to be frank your reply is barely readable. It's probably the strength of your criticism that my report "isn't readable" that's throwing me off.1 I find it hard to interpret the meaning of your reply. What did you do to reproduce? My description of the issue involves building the xorg-server project, are you saying you tried to do that and it didn't report these missingdeps? I'm sure it's possible for me to create a freestanding self-contained example. I'd rather not invest the time in doing that when xorg-server should provide a straightforward way to do so, and isn't exactly an unknown or untrustworthy project, and is overall pretty easy to build. In particular I won't have time to look into making one until next week anyway. As for which version of ninja I used, okay, that's a good question. The answer is that I wondered the same thing myself (that is, I wanted to make sure it wasn't fixed in git) so I rebuilt ninja from a fresh git clone and still got the same issue. Footnotes
|
Sorry, I meant I could not reproduce anything close to what you are describing by writing several build.ninja files manually from your description (i.e. I tried to produce free-standing examples, but nothing could trigger what you're describing). It is likely that there are details in the xorg build.ninja that are missing from your description (which is ok, this is complex stuff). On my side I do not have the time to download / build xorg-server on my machine, so a simpler way to reproduce the issue would help a lot. |
https://gitlab.freedesktop.org/xorg/xserver
build rules:
Notice how ../hw/xfree86/common/xf86Module.h appears here (it is used during the configure stage).
missingdeps report:
This is being handled via the documented special case:
Such rules should not count as a generator for the purpose of calculating missingdeps.
The text was updated successfully, but these errors were encountered: