Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203126 - x11-drivers/nvidia-drivers-100.14.19 fails to compile
Summary: x11-drivers/nvidia-drivers-100.14.19 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-23 10:12 UTC by Pryan
Modified: 2007-12-23 15:20 UTC (History)
0 users

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


Attachments
enviroment (environment,146.27 KB, text/plain)
2007-12-23 10:15 UTC, Pryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pryan 2007-12-23 10:12:54 UTC
Pryan ~ # emerge nvidia-drivers
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> starting parallel fetching pid 5820

>>> Emerging (1 of 2) x11-drivers/nvidia-drivers-100.14.19 to /
 * NVIDIA-Linux-x86-100.14.19-pkg0.run RMD160 SHA1 SHA256 size ;-) ...    [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking NVIDIA-Linux-x86-100.14.19-pkg0.run ;-) ...                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.24-rc6/build
 * Found sources for kernel version:
 *     2.6.24-rc6
 * Checking for MTRR support ...                                          [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-100.14.19-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 100.14.19.............................................................................................................................
 * Applying NVIDIA_glx-defines.patch ...                                  [ ok ]
 * Applying NVIDIA_glx-glheader.patch ...                                 [ ok ]
/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/temp/environment: line 3666: x86-fbsd: command not found
 * Applying NVIDIA_i2c-hwmon.patch ...                                    [ ok ]
 * Converting Makefile.kbuild to use M= instead of SUBDIRS= ...           [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/work/NVIDIA-Linux-x86-100.14.19-pkg0/usr/src/nv ...
 * Preparing nvidia module
rm -f Makefile
sh ./conftest.sh "i686-pc-linux-gnu-gcc" "i686-pc-linux-gnu-gcc" /usr/src/linux /lib/modules/2.6.24-rc6/build cc_sanity_check full_output
sh ./conftest.sh "i686-pc-linux-gnu-gcc" "i686-pc-linux-gnu-gcc" /usr/src/linux /lib/modules/2.6.24-rc6/build select_makefile full_output
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-100.14.19 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 3508:  Called linux-mod_src_compile
 *             environment, line 2598:  Called die
 * The specific snippet of code:
 *               emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
 *  The die message:
 *   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.24-rc6/build 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-100.14.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/temp/environment'.
 * 

 * Messages for package x11-drivers/nvidia-drivers-100.14.19
 * 
 * ERROR: x11-drivers/nvidia-drivers-100.14.19 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 3508:  Called linux-mod_src_compile
 *             environment, line 2598:  Called die
 * The specific snippet of code:
 *               emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
 *  The die message:
 *   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.24-rc6/build 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-100.14.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.19/temp/environment'.
 * 
Pryan ~ #
Comment 1 Pryan 2007-12-23 10:15:38 UTC
Created attachment 139163 [details]
enviroment
Comment 2 Pryan 2007-12-23 10:16:34 UTC
Pryan ~ # emerge --info
Portage 2.1.4_rc11 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.5-r0, 2.6.24-rc6 i686)
=================================================================
System uname: 2.6.24-rc6 i686 AMD Sempron(tm) Processor 3000+
Timestamp of tree: Sun, 23 Dec 2007 05:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.3-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 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-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://130.59.10.35/mirror/gentoo/ ftp://ftp.mneisen.org/gentoo ftp://ftp.udc.es/gentoo/ ftp://212.219.56.135/sites/www.ibiblio.org/gentoo/"
LANG="es"
LC_ALL="es_ES@euro"
MAKEOPTS="-j2"
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/portage/local/layman/kde /usr/portage/local/layman/pda"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups dbus dhcp dri fbcon fortran gdbm gif gpm gtk iconv ipv6 isdnlog java jpeg jpeg2k kqemu lm_sensors midi mp3 mudflap ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python readline reflection sdl session spl ssl tcl tcpd tiff truetype-fonts type1-fonts unicode vanilla x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Pryan ~ #
Comment 3 Zac Medico gentoo-dev 2007-12-23 12:17:33 UTC
I'm not sure if this package is even supposed to build with at 2.6.24-rc kernel, so maybe this bug is invalid.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-12-23 15:20:56 UTC
Release candidate kernels are unsupported firstly. And secondly, if you're going to use a release candidate kernel, it'd be wise to try the latest version of the nvidia-drivers