https://bugzilla.novell.com/show_bug.cgi?id=669669
https://bugzilla.novell.com/show_bug.cgi?id=669669#c19
--- Comment #19 from Kshitij Kulshreshtha
The failure here was caused by using a i386 kernel config on x86_64: $ uname -m x86_64 $ cd /usr/src/linux-obj/i586/desktop $ make -s kernelrelease /usr/src/linux-2.6.37-20/scripts/basic/fixdep.c:398:1: fatal error: opening dependency file scripts/basic/.fixdep.d: Permission denied compilation terminated. make[4]: *** [scripts/basic/fixdep] Error 1 make[3]: *** [scripts_basic] Error 2 2.6.37-20-desktop $ linux32 make -s kernelrelease 2.6.37-20-desktop
In the first case, kbuild detects an architecture change and forces a refresh of the configuration.
Kshitij, are you seeing the errors on a 32bit install or are you trying to build 32bit modules on a 64bit system?
Yes in fact I was building 32bit modules on a x86_64 system with i586 packages installed. Somehow I was under the impression that Kbuild uses the .config file and adds -m32 or -m64 to the compile commands. In the obs logs for i586 I did not see the linux32 command. There the call to make -s kernelrelease from macros.kernel-source produces these errors and also returns kver=Updating in the xen case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.