Advertisement
Guest User

Untitled

a guest
Aug 11th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.12 KB | None | 0 0
  1. Calculating dependencies . ... done!
  2.  
  3. >>> Verifying ebuild manifests
  4. >>> Running pre-merge checks for x11-drivers/nvidia-drivers-304.125
  5. * Determining the location of the kernel source code
  6. * Found kernel source directory:
  7. * /usr/src/linux
  8. * Found kernel object directory:
  9. * /lib/modules/4.0.5-gentoo/build
  10. * Found sources for kernel version:
  11. * 4.0.5-gentoo
  12. * Gentoo supports kernels which are supported by NVIDIA
  13. * which are limited to the following kernels:
  14. * <sys-kernel/gentoo-sources-3.18
  15. * <sys-kernel/vanilla-sources-3.18
  16. *
  17. * You are free to utilize epatch_user to provide whatever
  18. * support you feel is appropriate, but will not receive
  19. * support as a result of those changes.
  20. *
  21. * Do not file a bug report about this.
  22.  
  23. >>> Emerging (1 of 1) x11-drivers/nvidia-drivers-304.125
  24. * NVIDIA-Linux-x86_64-304.125.run SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
  25. * Determining the location of the kernel source code
  26. * Found kernel source directory:
  27. * /usr/src/linux
  28. * Found kernel object directory:
  29. * /lib/modules/4.0.5-gentoo/build
  30. * Found sources for kernel version:
  31. * 4.0.5-gentoo
  32. >>> Unpacking source...
  33. >>> Unpacking NVIDIA-Linux-x86_64-304.125.run to /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work
  34. >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work
  35. >>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work ...
  36. >>> Source prepared.
  37. >>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work ...
  38. >>> Source configured.
  39. * Checking for suitable kernel configuration options...
  40. [ ok ]
  41. >>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work ...
  42. * Preparing nvidia module
  43. 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
  44. NVIDIA: calling KBUILD...
  45. make -C /lib/modules/4.0.5-gentoo/build KBUILD_SRC=/usr/src/linux-4.0.5-gentoo \
  46. -f /usr/src/linux-4.0.5-gentoo/Makefile modules
  47. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  48. echo >&2; \
  49. echo >&2 " ERROR: Kernel configuration is invalid."; \
  50. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  51. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  52. echo >&2 ; \
  53. /bin/false)
  54. 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/*
  55. make -f /usr/src/linux-4.0.5-gentoo/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel
  56. 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
  57. In file included from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/stddef.h:1:0,
  58. from /usr/src/linux-4.0.5-gentoo/include/linux/stddef.h:4,
  59. from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/posix_types.h:4,
  60. from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/types.h:13,
  61. from /usr/src/linux-4.0.5-gentoo/include/linux/types.h:5,
  62. from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/capability.h:16,
  63. from /usr/src/linux-4.0.5-gentoo/include/linux/capability.h:15,
  64. from /usr/src/linux-4.0.5-gentoo/include/linux/sched.h:15,
  65. from /usr/src/linux-4.0.5-gentoo/include/linux/utsname.h:5,
  66. from /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv-linux.h:40,
  67. from /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c:13:
  68. /usr/src/linux-4.0.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  69. /usr/src/linux-4.0.5-gentoo/include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  70. cnts, cnts | _QW_LOCKED) == cnts);
  71. ^
  72. /usr/src/linux-4.0.5-gentoo/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  73. # define likely(x) __builtin_expect(!!(x), 1)
  74. ^
  75. In file included from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/stddef.h:1:0,
  76. from /usr/src/linux-4.0.5-gentoo/include/linux/stddef.h:4,
  77. from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/posix_types.h:4,
  78. from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/types.h:13,
  79. from /usr/src/linux-4.0.5-gentoo/include/linux/types.h:5,
  80. from /usr/src/linux-4.0.5-gentoo/include/uapi/linux/capability.h:16,
  81. from /usr/src/linux-4.0.5-gentoo/include/linux/capability.h:15,
  82. from /usr/src/linux-4.0.5-gentoo/include/linux/sched.h:15,
  83. from /usr/src/linux-4.0.5-gentoo/include/linux/utsname.h:5,
  84. from /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv-linux.h:40,
  85. from /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c:13:
  86. /usr/src/linux-4.0.5-gentoo/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  87. /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]
  88. if (likely(sz < 0 || sz >= n))
  89. ^
  90. /usr/src/linux-4.0.5-gentoo/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  91. # define likely(x) __builtin_expect(!!(x), 1)
  92. ^
  93. /usr/src/linux-4.0.5-gentoo/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  94. /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]
  95. if (likely(sz < 0 || sz >= n))
  96. ^
  97. /usr/src/linux-4.0.5-gentoo/include/linux/compiler.h:163:40: note: in definition of macro ‘likely’
  98. # define likely(x) __builtin_expect(!!(x), 1)
  99. ^
  100. /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c: In function ‘nv_kern_unlocked_ioctl’:
  101. /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c:2029:30: error: ‘struct file’ has no member named ‘f_dentry’
  102. return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
  103. ^
  104. /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c: In function ‘nv_kern_compat_ioctl’:
  105. /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c:2038:30: error: ‘struct file’ has no member named ‘f_dentry’
  106. return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
  107. ^
  108. /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c: In function ‘nv_kern_unlocked_ioctl’:
  109. /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]
  110. }
  111. ^
  112. /var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.c: In function ‘nv_kern_compat_ioctl’:
  113. /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]
  114. }
  115. ^
  116. /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
  117. make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel/nv.o] Error 1
  118. /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
  119. make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel] Error 2
  120. Makefile:145: recipe for target 'sub-make' failed
  121. make[2]: *** [sub-make] Error 2
  122. NVIDIA: left KBUILD.
  123. nvidia.ko failed to build!
  124. Makefile:250: recipe for target 'module' failed
  125. make[1]: *** [module] Error 1
  126. makefile:59: recipe for target 'module' failed
  127. make: *** [module] Error 2
  128. * ERROR: x11-drivers/nvidia-drivers-304.125 failed (compile phase):
  129. * emake failed
  130. *
  131. * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-304.125'`,
  132. * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-304.125'`.
  133. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/build.log'.
  134. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/environment'.
  135. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel'
  136. * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/'
  137.  
  138. >>> Failed to emerge x11-drivers/nvidia-drivers-304.125, Log file:
  139.  
  140. >>> '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/build.log'
  141. * Messages for package x11-drivers/nvidia-drivers-304.125:
  142. * Gentoo supports kernels which are supported by NVIDIA
  143. * which are limited to the following kernels:
  144. * <sys-kernel/gentoo-sources-3.18
  145. * <sys-kernel/vanilla-sources-3.18
  146. *
  147. * You are free to utilize epatch_user to provide whatever
  148. * support you feel is appropriate, but will not receive
  149. * support as a result of those changes.
  150. *
  151. * Do not file a bug report about this.
  152. * Messages for package x11-drivers/nvidia-drivers-304.125:
  153. * ERROR: x11-drivers/nvidia-drivers-304.125 failed (compile phase):
  154. * emake failed
  155. *
  156. * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-304.125'`,
  157. * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-304.125'`.
  158. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/build.log'.
  159. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/temp/environment'.
  160. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/kernel'
  161. * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-304.125/work/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement