Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271659

Summary: x11-drivers/nvidia-drivers-180.60 fails to build
Product: Gentoo Linux Reporter: a_tevelev
Component: New packagesAssignee: Ricardo Mendoza (RETIRED) <ricmm>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cardoe
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/build.log
/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/environment
nvidia-bug-report.log

Description a_tevelev 2009-05-29 11:29:41 UTC
# emerge -uvND x11-drivers/nvidia-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] x11-drivers/nvidia-drivers-180.60 [180.29] USE="acpi gtk -custom-cflags (-multilib)" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-180.60
 * NVIDIA-Linux-x86_64-180.60-pkg2.run RMD160 SHA1 SHA256 size ;-) ...                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                               [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.28-hardened-r8
 * Checking for MTRR support ...                                                                                                                      [ ok ]
 * Checking for Paravirtualized guest support ...
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-180.60-pkg2.run to /var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86_64-180.60-pkg2
 * Applying NVIDIA_glx-defines.patch ...                                                                                                              [ ok ]
 * Applying NVIDIA_glx-glheader.patch ...                                                                                                             [ ok ]
 * Applying NVIDIA_i2c-hwmon.patch ...                                                                                                                [ ok ]
 * Converting NVIDIA-Linux-x86_64-180.60-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...                                            [ ok ]
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86_64-180.60-pkg2 ...
 * Preparing nvidia module
make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux HOST_CC=x86_64-pc-linux-gnu-gcc clean module
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1
 *
 * ERROR: x11-drivers/nvidia-drivers-180.60 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3767:  Called linux-mod_src_compile
 *             environment, line 2783:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}-                            LDFLAGS="$(get_abi_LDFLAGS)"                                             ${BUILD_FIXES}                                          ${BUILD_PARAMS}            ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux              SYSOUT=/usr/src/linux HOST_CC=x86_64-pc-linux-gnu-gcc clean module
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/environment'.
 *

>>> Failed to emerge x11-drivers/nvidia-drivers-180.60, Log file:

>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/build.log'

 * Messages for package x11-drivers/nvidia-drivers-180.60:

 *
 * ERROR: x11-drivers/nvidia-drivers-180.60 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3767:  Called linux-mod_src_compile
 *             environment, line 2783:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}-                            LDFLAGS="$(get_abi_LDFLAGS)"                                             ${BUILD_FIXES}                                          ${BUILD_PARAMS}            ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux              SYSOUT=/usr/src/linux HOST_CC=x86_64-pc-linux-gnu-gcc clean module
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/environment'.
 *
Comment 1 a_tevelev 2009-05-29 11:30:11 UTC
Created attachment 192864 [details]
emerge --info
Comment 2 a_tevelev 2009-05-29 11:30:41 UTC
Created attachment 192865 [details]
/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/build.log
Comment 3 a_tevelev 2009-05-29 11:31:28 UTC
Created attachment 192866 [details]
/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/temp/environment
Comment 4 a_tevelev 2009-05-29 11:34:04 UTC
Created attachment 192868 [details]
nvidia-bug-report.log
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2009-05-29 18:32:03 UTC

*** This bug has been marked as a duplicate of bug 267395 ***