Bug#785442: DKMS build fails at linux-4.0.0
Txo
txo at bidon.fr
Fri May 29 15:31:21 UTC 2015
Bonjour
It's the same with patch
Paramétrage de linux-image-4.0.0-1-amd64 (4.0.2-1) ...
/etc/kernel/postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.0.0-1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-legacy-304xx/304.125/build/make.log for
more information.
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/make.log
DKMS make.log for nvidia-legacy-304xx-304.125 for kernel 4.0.0-1-amd64
(x86_64)
vendredi 29 mai 2015, 17:10:30 (UTC+0200)
make: Entering directory '/var/lib/dkms/nvidia-legacy-304xx/304.125/build'
make KBUILD_VERBOSE=1 -C /lib/modules/4.0.0-1-amd64/build
M=/var/lib/dkms/nvidia-legacy-304xx/304.125/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.0.0-1-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make -C /usr/src/linux-headers-4.0.0-1-amd64
KBUILD_SRC=/usr/src/linux-headers-4.0.0-1-common \
-f /usr/src/linux-headers-4.0.0-1-common/Makefile modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or
include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to
fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /var/lib/dkms/nvidia-legacy-304xx/304.125/build/.tmp_versions ;
rm -f /var/lib/dkms/nvidia-legacy-304xx/304.125/build/.tmp_versions/*
make -f /usr/src/linux-headers-4.0.0-1-common/scripts/Makefile.build
obj=/var/lib/dkms/nvidia-legacy-304xx/304.125/build
echo \#define NV_COMPILER \"` gcc-4.9 -v 2>&1 | tail -n 1`\" >
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv_compiler.h
gcc-4.9
-Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.125/build/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include
-I/usr/src/linux-headers-4.0.0-1-common/arch/x86/include
-Iarch/x86/include/generated/uapi -Iarch/x86/include/generated
-I/usr/src/linux-headers-4.0.0-1-common/include -Iinclude
-I/usr/src/linux-headers-4.0.0-1-common/arch/x86/include/uapi
-Iarch/x86/include/generated/uapi
-I/usr/src/linux-headers-4.0.0-1-common/include/uapi
-Iinclude/generated/uapi -include
/usr/src/linux-headers-4.0.0-1-common/include/linux/kconfig.h
-I/var/lib/dkms/nvidia-legacy-304xx/304.125/build -D__KERNEL__ -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Werror-implicit-function-declaration -Wno-format-security
-std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic
-mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1
-DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1
-DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-mno-avx -fno-delete-null-pointer-checks -O2
--param=allow-store-data-races=0 -Wframe-larger-than=2048
-fstack-protector -Wno-unused-but-set-variable
-fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes
-Werror=date-time -DCC_HAVE_ASM_GOTO
-I/var/lib/dkms/nvidia-legacy-304xx/304.125/build -Wall -MD
-Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"304.125\" -Wno-unused-function -Wuninitialized
-mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/.tmp_nv.o
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c
In file included from
/usr/src/linux-headers-4.0.0-1-common/include/uapi/linux/stddef.h:1:0,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/stddef.h:4,
from
/usr/src/linux-headers-4.0.0-1-common/include/uapi/linux/posix_types.h:4,
from
/usr/src/linux-headers-4.0.0-1-common/include/uapi/linux/types.h:13,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/types.h:5,
from
/usr/src/linux-headers-4.0.0-1-common/include/uapi/linux/capability.h:16,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/capability.h:15,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/sched.h:15,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/utsname.h:5,
from
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv-linux.h:42,
from
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c:13:
/usr/src/linux-headers-4.0.0-1-common/include/asm-generic/qrwlock.h: In
function ‘queue_write_trylock’:
/usr/src/linux-headers-4.0.0-1-common/include/asm-generic/qrwlock.h:93:35:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/linux-headers-4.0.0-1-common/include/linux/compiler.h:163:40:
note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from
/usr/src/linux-headers-4.0.0-1-common/include/uapi/linux/stddef.h:1:0,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/stddef.h:4,
from
/usr/src/linux-headers-4.0.0-1-common/include/uapi/linux/posix_types.h:4,
from
/usr/src/linux-headers-4.0.0-1-common/include/uapi/linux/types.h:13,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/types.h:5,
from
/usr/src/linux-headers-4.0.0-1-common/include/uapi/linux/capability.h:16,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/capability.h:15,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/sched.h:15,
from
/usr/src/linux-headers-4.0.0-1-common/include/linux/utsname.h:5,
from
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv-linux.h:42,
from
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c:13:
/usr/src/linux-headers-4.0.0-1-common/arch/x86/include/asm/uaccess.h: In
function ‘copy_from_user’:
/usr/src/linux-headers-4.0.0-1-common/arch/x86/include/asm/uaccess.h:712:26:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-4.0.0-1-common/include/linux/compiler.h:163:40:
note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-headers-4.0.0-1-common/arch/x86/include/asm/uaccess.h: In
function ‘copy_to_user’:
/usr/src/linux-headers-4.0.0-1-common/arch/x86/include/asm/uaccess.h:730:26:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-4.0.0-1-common/include/linux/compiler.h:163:40:
note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c: In function
‘nv_kern_unlocked_ioctl’:
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c:2029:30: error:
‘struct file’ has no member named ‘f_dentry’
return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c: In function
‘nv_kern_compat_ioctl’:
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c:2038:30: error:
‘struct file’ has no member named ‘f_dentry’
return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c: In function
‘nv_kern_unlocked_ioctl’:
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c:2030:1: warning:
control reaches end of non-void function [-Wreturn-type]
}
^
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c: In function
‘nv_kern_compat_ioctl’:
/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.c:2039:1: warning:
control reaches end of non-void function [-Wreturn-type]
}
^
/usr/src/linux-headers-4.0.0-1-common/scripts/Makefile.build:263: recipe
for target '/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.o' failed
make[4]: *** [/var/lib/dkms/nvidia-legacy-304xx/304.125/build/nv.o] Error 1
/usr/src/linux-headers-4.0.0-1-common/Makefile:1407: recipe for target
'_module_/var/lib/dkms/nvidia-legacy-304xx/304.125/build' failed
make[3]: *** [_module_/var/lib/dkms/nvidia-legacy-304xx/304.125/build]
Error 2
Makefile:145: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.0.0-1-amd64'
Makefile:35: recipe for target 'modules' failed
make: *** [modules] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-legacy-304xx/304.125/build'
--
-- Dominique Marin http://txodom.free.fr --
«Dieu est le seul être qui, pour régner, n'ait même
pas besoin d'exister.»
-- Charles Baudelaire --
More information about the pkg-nvidia-devel
mailing list