Gentoo Archives: gentoo-user

From: Xavier Parizet <xav@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nvidia-drivers-180.51 on amd64
Date: Tue, 21 Apr 2009 09:56:29
Message-Id: a9366c487e42828016f3323881c36303@mail.xen
In Reply to: [gentoo-user] nvidia-drivers-180.51 on amd64 by Peter Humphrey
1 On Tue, 21 Apr 2009 10:48:11 +0100, Peter Humphrey
2 <peter@××××××××××××××.org> wrote:
3 > Hello list,
4 >
5 > My box is trying to upgrade nvidia-drivers to version 180.51, but I get
6 > this:
7 >
8 >>>> Compiling source
9 > in
10 >
11 /tmp/portage/x11-drivers/nvidia-drivers-180.51/work/NVIDIA-Linux-x86_64-180.51-pkg2
12 > ...
13 > * Preparing nvidia module
14 > make -j3 -s HOSTCC=x86_64-pc-linux-gnu-gcc
15 > CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1
16 > SYSSRC=skins/default/usr/src/linux
17 SYSOUT=/lib/modules/2.6.29-gentoo-r1/build
18 > HOST_CC=x86_64-pc-linux-gnu-gcc clean module
19 > [...]
20 > *** Unable to determine the target kernel version. ***
21 >
22 > make: *** [select_makefile] Error 1
23 > *
24 > * ERROR: x11-drivers/nvidia-drivers-180.51 failed.
25 > * Call stack:
26 > * ebuild.sh, line 49: Called src_compile
27 > * environment, line 3792: Called linux-mod_src_compile
28 > * environment, line 2799: Called die
29 > * The specific snippet of code:
30 > * eval "emake HOSTCC="$(tc-getBUILD_CC)"
31 > CROSS_COMPILE=${CHOST}-
32 > LDFLAGS="$(get_abi_LDFLAGS)"
33
34 >
35 > ${BUILD_FIXES} ${BUILD_PARAMS}
36
37 >
38 > ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)"
39 > CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES}
40 > ${BUILD_PARAMS} ${BUILD_TARGETS}";
41 >
42 > Can anyone see what the problem is? I did the upgrade of X to 1.5 a few
43 > weeks ago, and the /usr/src/linux link is correctly pointing to the
44 current
45
46 I think the problem is from the SYSSRC make paremeter which is set to
47 skins/default/usr/src/linux, which seems to be invalid.
48 Maybe you can check to your environment for the variable KBUILD_OUTPUT if i
49 remember correctly.
50
51 HTH
52
53 > kernel.
54 >
55 > This first happened yesterday, but I waited to see if it was still the
56 same
57 >
58 > after the next daily sync. It is. I can't see a bugzilla entry for it;
59 > perhaps I should raise one.
60
61 --
62 Xavier Parizet
63 YaGB : http://gentooist.com
64 GPG : DC81 6FEE 6EBE FCE4
65 1C18 202F E575 4A5D 036D 1408

Replies

Subject Author
Re: [gentoo-user] nvidia-drivers-180.51 on amd64 Peter Humphrey <peter@××××××××××××××.org>