Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110216 - emerge reports GCC version inconsistency incorrectly and will not build package.
Summary: emerge reports GCC version inconsistency incorrectly and will not build package.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
: 110370 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-23 04:35 UTC by Alistair
Modified: 2005-10-25 01:58 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 Alistair 2005-10-23 04:35:22 UTC
after emerge sync and emerge portage (22nd Oct 2005) I attempted to emerge -v
ati-drivers.  This invokes linux-mod.eclass.  linux-mod.eclass contains a minor
typo that will always return lib as the gcc version that the kernel was built
with.  This will prevent users from installing any package that has to be
dependency checked against the kernel gcc version

Reproducible: Always
Steps to Reproduce:
1. emerge portage
2. emerge -v ati-drivers 
3.

Actual Results:  
emerge ati-drivers failed with GCC kernel version mismatch 
(incorrect - there has been no change on this system of gcc - -there is only one
version installed)

Expected Results:  
ati-drivers should have successfully merged.

/usr/portage/eclass/linux-mod.eclass contains a line:

tmpfile=${tmpfile//*usr/lib/} 
which should read
tmpfile=${tmpfile//*usr\/lib/}


I've corrected the line in my copy of /usr/portage/eclass/linux-mod.eclass and
successfully emerged ati-drivers with no other changes to my system.
Comment 1 Alistair 2005-10-23 04:44:33 UTC
This will block any non core kernel kernel modules from installing on any system
its active on... 

is simple typo.

emerge info now that I'm connected to the system again *grin*


Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r4x86_64-fb-pwc i686)
=================================================================
System uname: 2.6.13-gentoo-r4x86_64-fb-pwc i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aim alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdparanoia
cdr crypt cups curl directfb dri dvd dvdr dvdread eds emboss encode esd evo exif
fam fbcon ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml icq imagemagick imlib ipv6 java jpeg kde kdeenablefinal ldap libg++
libwww lm_sensors mad mbox mikmod milter mime mmap mmx mng motif mozilla mp3
mpeg msn mysql ncurses nls nsplugin ogg oggvorbis opengl oscar oss pam pcre
pdflib perl php png ppds python qt quicktime readline samba sdl sharedmem
sockets speex spell sse ssl svg svga tcpd threads tiff truetype truetype-fonts
type1-fonts udev usb v4l2 vorbis win32codecs wmf x86 xine xml2 xmms xv xvid
yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-24 13:42:57 UTC
*** Bug 110370 has been marked as a duplicate of this bug. ***
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2005-10-25 01:58:54 UTC
doh! Thanks for noticing. The boxes I tested didn't show this up.
I've changed this locally already, and for now the check_vermagic stuff isnt
active in the eclass until I sort out something for mixed arches.