Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206184 - x11-drivers/nvidia-drivers-169.07 fails to install due to ebuild error
Summary: x11-drivers/nvidia-drivers-169.07 fails to install due to ebuild error
Status: RESOLVED DUPLICATE of bug 199671
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-16 21:15 UTC by Nathan W. Labadie
Modified: 2008-01-16 22:02 UTC (History)
2 users (show)

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 Nathan W. Labadie 2008-01-16 21:15:28 UTC
Hello,

When attempting to install x11-drivers/nvidia-drivers-169.07 I'm receiving an error. This is using the standard 'emerge -u x11-drivers/nvidia-drivers".

Reproducible: Always

Steps to Reproduce:
1. emerge -u x11-drivers/nvidia-drivers
Actual Results:  
I receive the following error:

>>> Install nvidia-drivers-169.07 into /var/tmp/portage/x11-drivers/nvidia-drivers-169.07/image/ category x11-drivers
dodoc: /var/tmp/portage/x11-drivers/nvidia-drivers-169.07/work/NVIDIA-Linux-x86_64-169.07-pkg2/usr/src/nv/usr/share/doc/XF86Config.sample does not exist
dodoc: /var/tmp/portage/x11-drivers/nvidia-drivers-169.07/work/NVIDIA-Linux-x86_64-169.07-pkg2/usr/src/nv/usr/share/doc/Copyrights does not exist
!!! dobin: /var/tmp/portage/x11-drivers/nvidia-drivers-169.07/work/NVIDIA-Linux-x86_64-169.07-pkg2/usr/src/nv/usr/bin/nvidia-xconfig does not exist
 *
 * ERROR: x11-drivers/nvidia-drivers-169.07 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_install
 *             environment, line 3625:  Called die
 * The specific snippet of code:
 *       dobin ${NV_EXEC}/nvidia-xconfig || diefunc "$FUNCNAME" "$LINENO" "$?";
 *  The die message:
 *   (no error message)
 *
 * 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-169.07/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.07/temp/environment'.
 *

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

 *
 * ERROR: x11-drivers/nvidia-drivers-169.07 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_install
 *             environment, line 3625:  Called die
 * The specific snippet of code:
 *       dobin ${NV_EXEC}/nvidia-xconfig || diefunc "$FUNCNAME" "$LINENO" "$?";
 *  The die message:
 *   (no error message)
 *
 * 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-169.07/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.07/temp/environment'.
 *


Expected Results:  
x11-drivers/nvidia-drivers installs correctly.

Portage 2.1.4 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Wed, 16 Jan 2008 20:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.3-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 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-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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="16bit X a52 aac adns aim alsa amazon amd64 ao apache2 arts audiofile bash-completion bcmath berkdb bitmap-fonts boost bzip2 cdaudio cdb cdda cddb cdio cdparanoia cdr cdrom cdsound cli compress cpudetection cracklib crypt cups dbus dbx dc1394 dell device-mapper divx dmi dolby-record-switch dolbyinrec dri dts dv dvbplayer dvd dvdarchive dvdnav dvdr dvdread emovix equalizer esd expat extrafilters fam fame ffmpeg fftw firefox flac fltk fortran fping fuse gd gdbm geoip gif glut gmp gpm graphviz gtk hal hdhomerun httpd hwmixer iconv icq id3 id3tag ieee1394 imagemagick ipod iptv isdnlog ivtv jabber jack java javascript jpeg jpeg2k justify kdeenablefinal kdehiddenvisibility ladcca ladspa lame lash lcms lesstif libnotify libsamplerate libvisual lirc logitech-mouse lua lzo mad mdnsresponder-compat midi ming mmap mmx mng moznocompose moznoirc moznomail mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mpi mplayer mplayer-bin msn mudflap musepack musicbrainz mysql nas ncurses netpbm network nptl nptlonly nsplugin nvidia nxclient odbc offensive ogg openal openexr opengl openmp openssh openssl oscar oss pam pcap pch pcre pdf perl php plugins png portaudio pppd pulseaudio python qt quicktime radio rdesktop readline realmedia reflection rtsp sdl session smpeg sockets sox speech speex spell spl sse sse2 ssl startup-notification svg svgz syslog taglib tagwriting tcpd theora thesaurus threads tiff tivo transcode transmitter truetype truetype-fonts type1-fonts upnp usb uuencode v4l2 vcd vim-syntax visualization vorbis vorbis-psy wireshark wma wmf x264 xanim xcomposite xine xml xorg xosd xpm xv xvid xvmc yaepg yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rüpel 2008-01-16 21:38:39 UTC
Confirmed.

Actually, the interesting thing seems to happen before the install: "kernel_linux: command not found" looks ugly.

Why does emerge continue to install, when compiling the sources resulted in an error?

-----

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-169.07/work/NVIDIA-Linux-x86-169.07-pkg0/usr/src/nv ...
/usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-169.07.ebuild: line 209: kernel_linux: command not found
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/nvidia-drivers-169.07
Comment 2 Rüpel 2008-01-16 21:47:34 UTC
I'm in no way an ebuild nor python expert, but it looks, as if there's some "use" missing? Is it
a) if use kernel_linux
or
b) if kernel_linux
?

In line 209 (that's what emerge is complaining about) the "use" is missing.

But what do I know...

-------

# grep kernel_linux /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-169.07.ebuild
        kernel_linux? ( virtual/linux-sources )
        kernel_linux? ( virtual/modutils )
        if kernel_linux; then
        elif use kernel_linux; then
        if kernel_linux && kernel_is lt 2 6 7; then
        if use kernel_linux; then
        if use kernel_linux; then
        elif kernel_linux; then
        if use kernel_linux; then
        if use kernel_linux; then
        if use kernel_linux; then
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-01-16 22:02:03 UTC

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