Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198226 - nvidia-drivers-1.0.7185 don't emerge with kernel-2.6.23
Summary: nvidia-drivers-1.0.7185 don't emerge with kernel-2.6.23
Status: RESOLVED DUPLICATE of bug 186490
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-06 01:31 UTC by Oleksandr Pilipenko
Modified: 2007-11-06 16:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Pilipenko 2007-11-06 01:31:03 UTC
[32;01m*[0m Determining the location of the kernel source code

 [32;01m*[0m Found kernel source directory:

 [32;01m*[0m     /usr/src/linux

 [32;01m*[0m Found sources for kernel version:

 [32;01m*[0m     2.6.23-gentoo-r1-filin

 [32;01m*[0m Checking for MTRR support ...

[A[150C  [34;01m[ [32;01mok[34;01m ][0m

>>> Unpacking source...

Creating directory NVIDIA-Linux-x86-1.0-7185-pkg0

Verifying archive integrity... OK

Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-7185........................................................................

 [32;01m*[0m Applying NVIDIA_glx-defines.patch ...

[A[150C  [34;01m[ [32;01mok[34;01m ][0m

 [32;01m*[0m Applying NVIDIA_glx-glheader.patch ...

[A[150C  [34;01m[ [32;01mok[34;01m ][0m

 [32;01m*[0m Converting Makefile.kbuild to use M= instead of SUBDIRS= ...

[A[150C  [34;01m[ [32;01mok[34;01m ][0m

>>> Source unpacked.

>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv ...

 [32;01m*[0m Preparing nvidia module



NVIDIA: calling KBUILD...

make CC=i686-pc-linux-gnu-gcc  KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv modules

test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\

	echo;								\

	echo "  ERROR: Kernel configuration is invalid.";		\

	echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";	\

	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\

	echo;								\

	/bin/false)

mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/.tmp_versions

rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/.tmp_versions/*

make -f scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv

echo \#define NV_COMPILER \"`i686-pc-linux-gnu-gcc -v 2>&1 | tail -n 1`\" > /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv_compiler.h

  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2  -march=athlon -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign  -I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses   -Wno-multichar  -Werror -O -fno-common -MD    -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7185  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT  -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-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c: In function ‘nvos_create_alloc’:

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:392: error: ‘nv_pte_t_cache’ undeclared (first use in this function)

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:392: error: (Each undeclared identifier is reported only once

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:392: error: for each function it appears in.)

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c: In function ‘nvos_free_alloc’:

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:429: error: ‘nv_pte_t_cache’ undeclared (first use in this function)

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c: In function ‘nvidia_init_module’:

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:1332: error: ‘nv_pte_t_cache’ undeclared (first use in this function)

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:1332: error: too many arguments to function ‘kmem_cache_create’

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:1466: error: void value not ignored as it ought to be

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c: In function ‘nvidia_exit_module’:

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:1491: error: void value not ignored as it ought to be

/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.c:1596: error: ‘nv_pte_t_cache’ undeclared (first use in this function)

make[3]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv/nv.o] Помилка 1

make[2]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/work/NVIDIA-Linux-x86-1.0-7185-pkg0/usr/src/nv] Помилка 2

NVIDIA: left KBUILD.

nvidia.ko failed to build!

make[1]: *** [module] Помилка 1

make: *** [module] Помилка 2

 [31;01m*[0m 

 [31;01m*[0m ERROR: x11-drivers/nvidia-drivers-1.0.7185 failed.

 [31;01m*[0m Call stack:

 [31;01m*[0m                        ebuild.sh, line 1696:  Called dyn_compile

 [31;01m*[0m                        ebuild.sh, line 1034:  Called qa_call 'src_compile'

 [31;01m*[0m                        ebuild.sh, line   44:  Called src_compile

 [31;01m*[0m   nvidia-drivers-1.0.7185.ebuild, line  210:  Called linux-mod_src_compile

 [31;01m*[0m                 linux-mod.eclass, line  518:  Called die

 [31;01m*[0m The specific snippet of code:

 [31;01m*[0m   			emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \

 [31;01m*[0m   				  ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \

 [31;01m*[0m   				|| die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."

 [31;01m*[0m  The die message:

 [31;01m*[0m   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.

 [31;01m*[0m 

 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.

 [31;01m*[0m A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.7185/temp/build.log'.

 [31;01m*[0m 


Reproducible: Always




Portage 2.1.3.17 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo-r1-filin i686)
=================================================================
System uname: 2.6.23-gentoo-r1-filin i686 AMD Duron(tm) processor
Timestamp of tree: Sun, 04 Nov 2007 15:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=athlon-tbird -mtune=athlon-tbird -march=athlon-tbird -pipe -mno-sse -mmmx -m3dnow -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=athlon-tbird -mtune=athlon-tbird -march=athlon-tbird -pipe -mno-sse -mmmx -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mneisen.org/ ftp://213.186.33.37/gentoo-distfiles/ ftp://194.117.143.70/sites/gentoo ftp://194.117.143.71/sites/gentoo ftp://ftp.mneisen.org/gentoo"
LANG="uk_UA.utf8"
LC_ALL=""
LINGUAS="uk ru"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cli cracklib crypt cups dbus dri dvd dvdr dvdread encode esd exif ffmpeg flac fortran gdbm gif glitz gnome gpm gtk hal iconv isdnlog java jpeg lm_sensors logrotate mad mailwrapper midi mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python readline reflection session spell spl ssl startup-notification svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis win32codecs x86 xorg xulrunner xv zlib" ALSA_CARDS="via82xx emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="uk ru" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-06 07:40:14 UTC
Use 71.86.01

*** This bug has been marked as a duplicate of bug 186490 ***
Comment 2 Oleksandr Pilipenko 2007-11-06 16:29:29 UTC
My video card NVIDIA GeForce2.
x11-drivers/nvidia-drivers-71.86.01 works for me fine, but write on the screen: 

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

 * ***** WARNING *****
 *
 * You are currently installing a version of nvidia-drivers that is
 * known not to work with a video card you have installed on your
 * system. If this is intentional, please ignore this. If it is not
 * please perform the following steps:
 *
 * Add the following mask entry to /etc/portage/package.mask by
 * echo ">=x11-drivers/nvidia-drivers-72.0.0
 * =x11-drivers/nvidia-1.0.9639" >> /etc/portage/package.mask
 *
 * Failure to perform the steps above could result in a non-working
 * X setup.

It confuses!