Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114332 - gcc-config: tried to use non-existing gcc-version while updating gcc
Summary: gcc-config: tried to use non-existing gcc-version while updating gcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-03 02:12 UTC by Toralf Förster
Modified: 2005-12-03 16:16 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 Toralf Förster gentoo-dev 2005-12-03 02:12:52 UTC
updating gcc 3.6.6 to 3.4.4 within a chrooted env (within an UML image) results
during install in:

>>> /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/g77 -> i686-pc-linux-gnu-g77
>>> /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/gcc -> i686-pc-linux-gnu-gcc
>>> /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/i686-pc-linux-gnu-gcc-3.4.4 ->
i686-pc-linux-gnu-gcc
 * The current gcc config appears valid, so it will not be
 * automatically switched for you.  If you would like to
 * switch to the newly installed gcc version, do the
 * following:

 * gcc-config i686-pc-linux-gnu-3.4.4
 * source /etc/profile

/usr/bin/gcc-config: line 632: /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5: No such
file or directory
 * /usr/bin/gcc-config: Profile does not exist or invalid setting for
/etc/env.d/gcc/i386-pc-linux-gnu-3.3.5
 * Switching cross-compiler to i386-pc-linux-gnu-3.3.5 ...
/usr/bin/gcc-config: line 182: /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5: No such
file or directory
gawk: cmd. line:1: fatal: cannot open file
`/etc/env.d/gcc/i386-pc-linux-gnu-3.3.5' for reading (No such file or directo  [
ok ]

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups emboss encode
expat fam foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 jpeg libg++
libwww mad mhash mikmod mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl spell ssl tcpd tiff truetype
truetype-fonts type1-fonts udev userlocales vorbis xml2 xmms xv zlib linguas_de
linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-12-03 16:16:38 UTC
should be fixed in cvs now