Bug reported 2,5 years ago on the Debian BTS by Fred Jean, still applies. #include <stdio.h> void main(void) { printf("Hello World!\n"); } and then $ makedepends -f- hello.c makedepend: warning: prout.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h" not in /usr/include/stddef.h makedepend: warning: prout.c (reading /usr/include/bits/types.h, line 31): cannot find include file "stddef.h" not in /usr/include/stddef.h makedepend: warning: prout.c (reading /usr/include/_G_config.h, line 14): cannot find include file "stddef.h" not in /usr/include/stddef.h makedepend: warning: prout.c (reading /usr/include/wchar.h, line 48): cannot find include file "stddef.h" not in /usr/include/stddef.h makedepend: warning: prout.c (reading /usr/include/gconv.h, line 31): cannot find include file "stddef.h" not in /usr/include/stddef.h makedepend: warning: prout.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h" not in /usr/include/stdarg.h It has been claimed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=257142;msg=35 that it was caused by makedepend hardcoding gcc lib path at compile time, but I can't cofirm this.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
I hit this bug while running Ubuntu 10.10. Downloaded and built "makedepend-1.0.2" that did not help. What did help was to add "#define __UNIXOS2__ 1" to makedepend-config.h recompile and install, and before running it exporting enviromental variable with proper include paths, for example: export C_INCLUDE_PATH="/usr/include/;/usr/lib/gcc/x86_64-linux-gnu/4.1/include/" The 1.0.2 makedepend without any modifications searched only /usr/include path (+parameter specified).
If you want to submit a patch to add this support, we'll certainly consider it, but nobody really cares about makedepend any more since we migrated away from that build system...
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.