[pkg-nvidia-devel] Bug#582748: nvidia-kernel-dkms: fails to build module due to missing files
debian at abeckmann.de
Sat May 29 15:18:40 UTC 2010
retitle 582748 module compilation fails with ccache 2.4
severity 582748 normal
Alexander Heinlein wrote:
> Hi Andreas,
> good news, I found the reason: ccache
> So far I don't know why it breaks the installation process. The source
> compiles nevertheless, some of the created object files just have the wrong
There are primary (*.o) and secondary (*.d) "objects" being generated by
the compiler call. The .d files are further processed (and renamed) by
the fixdeps command. ccache only seems to be caching the primary object
and not the dependency file, so this is missing if ccache
short-circuited the compilation.
> name. Interestingly, this does not happen on any other source code here.
> Also, I have ccache running for a very long time and haven't had problems in
> the past, even with the nvidia installer. Maybe you spot the reason in the
Eventually the kernel build changed recently?
This looks like a problem in ccache: dependency files are not handled
properly. Maybe ccache should be tested for kernel compilation (2.6.32+)
twice in a row.
Looked a bit further and found this:
More information about the Pkg-nvidia-devel