Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255764 - nvidia-drivers latest versions fail to build module
Summary: nvidia-drivers latest versions fail to build module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 16:03 UTC by Jon
Modified: 2009-01-22 15:14 UTC (History)
1 user (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 Jon 2009-01-21 16:03:26 UTC
I synced about 2 weeks ago now and tried upgrading to 177.82 but I kept getting the below error.  Today I also tried the masked (180.22) version and get the exact same error:

  Building modules, stage 2.
make -f /usr/src/linux-2.6.27-gentoo-r7/scripts/Makefile.modpost
  scripts/mod/modpost   -i /usr/src/linux-2.6.27-gentoo-r7/Module.symvers -I /var/tmp/portage/x11-drivers/nvidia-drivers-180.22/work/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/Module.symvers  -o /var/tmp/portage/x11-drivers/nvidia-drivers-180.22/work/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/Module.symvers -S -K /usr/src/linux-2.6.27-gentoo-r7/Module.markers -M /var/tmp/portage/x11-drivers/nvidia-drivers-180.22/work/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/Module.markers -w -c -s
/bin/sh: scripts/mod/modpost: No such file or directory


The only thing that was weird recently was that for some reason my kernel make file was mysteriously removed a little while back (and the nvidia-drivers packages couldn't find the kernel config file) but eselecting the correct kernel version fixed that.  Still, maybe it is related to this issue.


My emerge --info:
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-glibc2.2.5
Timestamp of tree: Tue, 20 Jan 2009 15:10:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="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/ca-certificates.conf /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment-svn /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X a52 aac aalib acl acpi alsa amarok amd64 apache2 archive bash-completion berkdb blender-game bluetooth branding bzip2 cairo cal3d cdda cddb cdinstall cdr cdrom cdsound cli color-console cracklib crypt cups dbus devil dhcp divx djvu doc dvd dvdr dvdread eds emboss encode esd evo fam fame fat fbcon fbcondecor fbdev fbsplash ffmpeg firefox fortran gdbm gif gpm gstreamer gtk hal hou iconv id3 id3tag imlib imlib2 ipv6 irrlicht isdnlog jack java java6 joystick jpeg jpeg2k kde kdecards kdm lame ldap libnotify lm_sensors logitech-mouse mad midi mikmod mmx mmxext mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg ogre openal opengl openmp pam pcre pdf perl pidgin plasma png ppds pppd python qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection sdl sdl-image server session sou sound spell spl sse sse2 ssl startup-notification svg svgz sysfs tagwriting tcpd theora tiff timidity tk transcode truetype twolame unicode usb vcd video videos vim vim-syntax visualization vnc vncviewer vorbis wifi wma wxwindows x11vnc x264 xcomposite xerces-c xine xinetd xml xorg xscreensaver xulrunner xv xvid zip 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 mmap_emul 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="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
1. sync with current package tree
2. emerge nvidia-drivers
Comment 1 Ricardo Mendoza (RETIRED) gentoo-dev 2009-01-21 20:28:11 UTC
Your kernel tree might be incomplete, or screwed up somehow. Emerge your kernel sources again, then try.
Comment 2 Jon 2009-01-22 15:14:13 UTC
As I had already updated my gentoo-sources when I first noticed the issue, this time I removed all gentoo-source packages and installed it straight-up.  I also rebuilt my kernel and modules just to be safe and this time it took and the compilation was able to finish. Thanks!