Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Calculating dependencies . ... done!
- >>> Verifying ebuild manifests
- >>> Running pre-merge checks for x11-drivers/nvidia-drivers-304.125
- * Determining the location of the kernel source code
- * Found kernel source directory:
- * /usr/src/linux
- * Found kernel object directory:
- * /lib/modules/4.0.5-gentoo/build
- * Found sources for kernel version:
- * 4.0.5-gentoo
- * Gentoo supports kernels which are supported by NVIDIA
- * which are limited to the following kernels:
- * <sys-kernel/gentoo-sources-3.18
- * <sys-kernel/vanilla-sources-3.18
- *
- * You are free to utilize epatch_user to provide whatever
- * support you feel is appropriate, but will not receive
- * support as a result of those changes.
- *
- * Do not file a bug report about this.
- >>> Emerging (1 of 1) x11-drivers/nvidia-drivers-304.125
- * NVIDIA-Linux-x86_64-304.125.run SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
- * Determining the location of the kernel source code
- * Found kernel source directory:
- * /usr/src/linux
- * Found kernel object directory:
- * /lib/modules/4.0.5-gentoo/build
- * Found sources for kernel version:
- * 4.0.5-gentoo
- >>> Unpacking source...
- >>> Unpacking NVIDIA-Linux-x86_64-304.125.run to /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work
- >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work
- >>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work ...
- >>> Source prepared.
- >>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work ...
- >>> Source configured.
- * Checking for suitable kernel configuration options...
- [ ok ]
- >>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work ...
- * Preparing nvidia module
- make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= ARCH=x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/4.0.5-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean module
- NVIDIA: calling KBUILD...
- make -C /lib/modules/4.0.5-gentoo/build KBUILD_SRC=/usr/src/linux-4.0.5-gentoo \
- -f /usr/src/linux-4.0.5-gentoo/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/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/.tmp_versions/*
- make -f /usr/src/linux-4.0.5-gentoo/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel
- x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include -I/usr/src/linux-4.0.5-gentoo/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.0.5-gentoo/include -Iinclude -I/usr/src/linux-4.0.5-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.0.5-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.0.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel -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 -march=native -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 -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -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/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel -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/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/.tmp_nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c
- In file included from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/stddef.h:1:0,
- from /usr/src/linux-4.0.5-gentoo/include/linux/stddef.h:4,
- from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.0.5-gentoo/include/linux/types.h:5,
- from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.0.5-gentoo/include/linux/capability.h:15,
- from /usr/src/linux-4.0.5-gentoo/include/linux/sched.h:15,
- from /usr/src/linux-4.0.5-gentoo/include/linux/utsname.h:5,
- from /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv-linux.h:40,
- from /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c:13:
- /usr/src/linux-4.0.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
- /usr/src/linux-4.0.5-gentoo/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-4.0.5-gentoo/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-4.0.5-gentoo/include/uapi/linux/stddef.h:1:0,
- from /usr/src/linux-4.0.5-gentoo/include/linux/stddef.h:4,
- from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.0.5-gentoo/include/linux/types.h:5,
- from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.0.5-gentoo/include/linux/capability.h:15,
- from /usr/src/linux-4.0.5-gentoo/include/linux/sched.h:15,
- from /usr/src/linux-4.0.5-gentoo/include/linux/utsname.h:5,
- from /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv-linux.h:40,
- from /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c:13:
- /usr/src/linux-4.0.5-gentoo/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.0.5-gentoo/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-4.0.5-gentoo/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.0.5-gentoo/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.0.5-gentoo/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-4.0.5-gentoo/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c: In function ‘nv_kern_unlocked_ioctl’:
- /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/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/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c: In function ‘nv_kern_compat_ioctl’:
- /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/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/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c: In function ‘nv_kern_unlocked_ioctl’:
- /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c:2030:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c: In function ‘nv_kern_compat_ioctl’:
- /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c:2039:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- /usr/src/linux-4.0.5-gentoo/scripts/Makefile.build:258: recipe for target '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.o' failed
- make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.o] Error 1
- /usr/src/linux-4.0.5-gentoo/Makefile:1390: recipe for target '_module_/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel' failed
- make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel] Error 2
- Makefile:145: recipe for target 'sub-make' failed
- make[2]: *** [sub-make] Error 2
- NVIDIA: left KBUILD.
- nvidia.ko failed to build!
- Makefile:250: recipe for target 'module' failed
- make[1]: *** [module] Error 1
- makefile:59: recipe for target 'module' failed
- make: *** [module] Error 2
- * ERROR: x11-drivers/nvidia-drivers-304.125 failed (compile phase):
- * emake failed
- *
- * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-304.125'`,
- * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-304.125'`.
- * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/environment'.
- * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel'
- * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/'
- >>> Failed to emerge x11-drivers/nvidia-drivers-304.125, Log file:
- >>> '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/build.log'
- * Messages for package x11-drivers/nvidia-drivers-304.125:
- * Gentoo supports kernels which are supported by NVIDIA
- * which are limited to the following kernels:
- * <sys-kernel/gentoo-sources-3.18
- * <sys-kernel/vanilla-sources-3.18
- *
- * You are free to utilize epatch_user to provide whatever
- * support you feel is appropriate, but will not receive
- * support as a result of those changes.
- *
- * Do not file a bug report about this.
- * Messages for package x11-drivers/nvidia-drivers-304.125:
- * ERROR: x11-drivers/nvidia-drivers-304.125 failed (compile phase):
- * emake failed
- *
- * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-304.125'`,
- * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-304.125'`.
- * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/environment'.
- * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel'
- * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement