Description of problem: After updating to xorg-x11-devel-6.8.2-1.FC3.13 makedepend does not work any more. It looks for compiler includes in the wrong directory... Version-Release number of selected component (if applicable): [ellert@ellert tmp]$ which makedepend /usr/X11R6/bin/makedepend [ellert@ellert tmp]$ rpm -q --whatprovides /usr/X11R6/bin/makedepend xorg-x11-devel-6.8.2-1.FC3.13 [ellert@ellert tmp]$ strings /usr/X11R6/bin/makedepend | grep 3.4 /usr/lib/gcc/i386-redhat-linux/3.4.3/include But the gcc version on FC3 is 3.4.2: [ellert@ellert tmp]$ gcc --version gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. How reproducible: Always Steps to Reproduce: 1. run makedepend on a file that includes a compiler include file like e.g.: [ellert@ellert tmp]$ cat test.c #include <stddef.h> int main() {} [ellert@ellert tmp]$ makedepend test.c makedepend: warning: test.c, line 1: cannot find include file "stddef.h" not in /usr/local/lib/gcc-include/stddef.h not in /usr/include/stddef.h not in /usr/lib/gcc/i386-redhat-linux/3.4.3/include/stddef.h Actual results: Error message above Expected results: No error Additional info: On a differnt machine where xorg-x11 hasn't been updated yet it works: [sysadmin@swelanka1 tmp]$ strings /usr/X11R6/bin/makedepend | grep 3.4 /usr/lib/gcc/i386-redhat-linux/3.4.2/include [sysadmin@swelanka1 tmp]$ rpm -q xorg-x11-devel xorg-x11-devel-6.8.1-12.FC3.21 [sysadmin@swelanka1 tmp]$ makedepend test.c [sysadmin@swelanka1 tmp]$
You can use "gccmakedep" instead of "makedepend". At one point we had makedepend as a symlink to gccmakedep if I'm not mistaken. It seems that changed somewhere along the line, and we should consider adding it back. You may wish to report this bug to X.Org as well, so it gets fixed in the upstream X.org sources.
*** Bug 165922 has been marked as a duplicate of this bug. ***
This problem appears to be a generic bug with the upstream X.Org makedepend, rather than a Fedora Core specific bug. Please file a bug report in the X.Org bugzilla for this issue at: http://bugs.freedesktop.org in the "xorg" component. Once you have filed your bug report to X.Org, if you paste the new bug URL here, Red Hat will continue to track the issue in the centralized X.Org bug tracker, and will review any bug fixes that become available for consideration in future updates.
Setting status to "NEEDINFO_REPORTER" and awaiting upstream bug URL for tracking.
The problem should be fixed in the latest update for Fedora Core 4. If the problem returns in the future, please follow the instructions in comment #3 above for a permanent solution. Setting status to "ERRATA"