Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196675 - linux-info eclass doesn´t detect kernel localversion correctly
Summary: linux-info eclass doesn´t detect kernel localversion correctly
Status: RESOLVED DUPLICATE of bug 118256
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 196676 196677 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-21 23:04 UTC by Lóránt Farkas
Modified: 2007-10-24 08:51 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 Lóránt Farkas 2007-10-21 23:04:58 UTC
When I try to re-build kernel modules e.g. with modules-rebuild I get:
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.23-gentoo-L

But my ´uname -r´ gives
2.6.23-gentoo-L-g72abdb4b

So the new drivers installed to wrong place.

Reproducible: Always

Steps to Reproduce:



Expected Results:  
Portage should install modules to the correct place, and detect the kernel version correctly

#CFLAGS="-O2 -pipe"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/portage/local/layman/lory/"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
CC="gcc"
MAKEOPTS=""
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--enable-new-dtags"
LINGUAS="en en_GB hu"
ACCEPT_KEYWORDS=""
USE="16bit 3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib acpi aiglx alsa
     amarok amrnb amrwb apm arts artworkextra auctex auth bash-completion
     binary-drivers bindist bittorrent bl blender-game bootsplash bzip2 c3p0
     cdda cdio cdr cdrom cdsound cg chm cle266 clearcase clock-screen
     config_wizard corba cpudetection css ctype dba dbase dbus devfs26 devil
     dga dhcp disableslit divx dlopen dv dvb dvbplayer dvd dvdnav dvdr dvdread
     edl elf elibc_glibc emacs enca encode epiphany eurofile exif ext-png
     extrafilters fame fastbuild fat ffmpeg fftw finger firefox flash floppyd
     font-server fontconfig foomaticdb force-cgi-redirect fping ft ftp gb gd
     geoip gif gimp gimpprint glade glib glitz gmedia gnomedb gnuplot gphoto2
     gps graphviz gs gstreamer gstreamer010 gtalk gtk gtk2 gvim hal hash
     hashstyle hpn huro hvm hwmixer icons imlib jack java javascript jce jcs
     jpeg jpeg2k kde kdeenablefinal kdm kdrive kernel_linux ladcca ladspa lame
     latex leadtek_pvr2000 linuxthreads-tls lirc live lzo mad maps math md5sum
     mdb memlimit mhash mime ming mjpeg mmap mmxext mng mod mouse mozcalendar
     mozilla mozsvg mp3 mp4 mp4live mpd-mad mpeg mpeg2 mplayer mpqc multislot
     musepack mythtv nat nautilus neXt netjack network neural nextaw nforce2
     ngui nsplugin nspr ntfs numeric nvidia nvidis nvram odbc office ogg
     oggvorbis openal opengl openssh osc oss pango pch pdf php player png pnp
     posix ppds preview-latex ps qt3 qt4 quicktime rar realmedia rhythmbox
     scanner screen sdl seamonkey sftp sftplogging sharedext simplexml skins
     slang smp soap sockets sounds speex spell srt subtitles svg tcltk tetex
     theora threads threadsafe tiff tivo tk tokenizer totem transcode truetype
     ubmenu unzip usb userland_GNU userlocales v4l v4l2 vboxbfe vcd vcdimager
     vfat vim vim-pager vim-with-x visualization vorbis vorbis-psy wma wmf wmp
     x264 xanim xcomposite xext xine xml xosd xpm xprint xscreensaver
     xsettings xsl xv xvid xvmc yv12 -sse -sse2"
FEATURES="-sandbox"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
LIRC_DEVICES="leadtek_pvr2000"
VIDEO_CARDS="nv nvidia vesa vga v4l v4l2"
ALSA_CARDS="intel8x0"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-21 23:10:29 UTC
Has nothing to do with portage. Meanwhile, you can stop setting your localversion to whacky strings.

*** This bug has been marked as a duplicate of bug 118256 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-21 23:11:26 UTC
*** Bug 196676 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-21 23:12:18 UTC
*** Bug 196677 has been marked as a duplicate of this bug. ***
Comment 4 Lóránt Farkas 2007-10-23 22:16:40 UTC
This is not an answer for my problem, and far not a solution.

I compiled my kernel with the 

General Setup->[*] Automatically append version information to the version string

option

If you say, that I cannot use this option on Gentoo, then set this bug as WON´TFIX. Then everybody knows, that he cannot use this feature.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-24 08:51:11 UTC

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