Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem wiz emerge --update --deep --newuse world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Fri Jun 24, 2005 4:20 pm    Post subject: Problem wiz emerge --update --deep --newuse world Reply with quote

Dear all:

I just got my KDE installed and up, however, when I needed some language support, as I was told to add some new USE flags in my /etc/make.conf

cjk #Adds support for Multi-byte character languages (Chinese, Japanese, Korean)
nls #Adds Native Language Support (using gettext - GNU locale utilities)

And then I try to update the whole system wiz the new USE by
Code:
emerge --update --deep --newuse world


then all goes well until something wrong wiz the package x11-libs/gtk+-2.6.7, the error says:

Quote:
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
libtool: link: '/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la' is not a valid libtool archive
make[4]: *** [libpixbufloader-jpeg.la] Error 1
make[4]: Leaving directory '/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gdk-pixbuf'

.......


BTW my emerge info is:


Code:
bash-2.05b# emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel  Celeron  M processor         1400MHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 25 2005, 05:51:24)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/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 -mcpu=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
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.asia.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb
 bitmap-fonts cjk crypt cups divx4linux doc emboss encode fam foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile hal icq imap imlib java javascript jpeg junit kde kerberos lcms ldap libg++ libwww mad mikmod mime motif mp3 mpeg msn mysql ncurses nls ogg oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline samba sdl sockets spell ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis wifi win32codecs xml xml2 xmlrpc xmms xsl xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


can anyone give me some suggestions?

thx a lot :'(
Back to top
View user's profile Send private message
widu
Guru
Guru


Joined: 05 Jun 2004
Posts: 333
Location: Freiburg

PostPosted: Fri Jun 24, 2005 4:48 pm    Post subject: Reply with quote

I would'd suggest a revdep-rebuild. try it first with the pretend option
Code:
 revdep-rebuild -p

to see what it will do, then remove the -p to actually perform the revdep-rebuild.
_________________
nature is a heterosexual fiction
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Fri Jun 24, 2005 4:58 pm    Post subject: Reply with quote

I'm did the testing as you said my great friend, it produced no error and then I did the real thing.

but
1.
does my previous error means that I can't do a full system wide USE update anymore?

2.
would it affect any of my previous installed components?

3.
however, when I do the emerge --update --deep --newuse world again, I still got those errors.....

thx widu
Back to top
View user's profile Send private message
widu
Guru
Guru


Joined: 05 Jun 2004
Posts: 333
Location: Freiburg

PostPosted: Fri Jun 24, 2005 7:11 pm    Post subject: Reply with quote

okay that was just a fast try.
you've got problems with gcc-lib/..../3.3.5/libstdc++ wich is intalled by gcc. did you upgrade gcc as well? oh yes, I see your emerge info says that you're using gcc-3.3.5-20040130. in this case you shoul'd probably run
Code:
#fix_libtool_files.sh 3.3.5

I'll try to answer your other questions later.
_________________
nature is a heterosexual fiction
Back to top
View user's profile Send private message
widu
Guru
Guru


Joined: 05 Jun 2004
Posts: 333
Location: Freiburg

PostPosted: Fri Jun 24, 2005 7:53 pm    Post subject: Reply with quote

back again:
dundas wrote:
I'm did the testing as you said my great friend, it produced no error and then I did the real thing.

revdep-rebuil checks, as far as I know, if programms are linked again no more existing libraries. An example:
If programm foo is linked against libexample-1.0 and than you update to libexample-2.0 foo is not longer linked agains the right library-version and needs to be recompiled. So revdep-rebuild, checks this case for you an picks the right packages (mostly) for a reemerge.
Quote:

but
1.
does my previous error means that I can't do a full system wide USE update anymore?

obviously you can't. gcc is the gnu compiler collection, and if there're faults in the compiler you will get errors while compiling like the above one.
Quote:

2.
would it affect any of my previous installed components?

well if you did compile during that upgrade after gcc something else - I don't know it thats possible with libstdc++ not in place - there might be something broken. if you really want to be on the save side you should build a proper toolchain first, and than recompile your system. there're several threads wich deal with the problem of a broken toolchain. just search for toolchain
Quote:

3.
however, when I do the emerge --update --deep --newuse world again, I still got those errors.....

unless you are the real lucky one, you shoul'd never ever just run an emerge -Duv world or something similar wihtout paying at least some attention to the messages. There's a lot of ebuilds who tell you what you have to do after emerging to maintain a healthy system. For example: I'm pretty sure that gcc tells you to run fix_libtool_files afterwords. (there's even a script somehere in these forums wich parses the emerge.log for messages - if you're interested and can't find it in the forum i can mail it to you. Or have a look at porthole, it splits the more important messages to a second console.)
And i really think its better not to upgarde just anything, but only packages I really want to update.
_________________
nature is a heterosexual fiction
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Jun 24, 2005 9:43 pm    Post subject: Reply with quote

Please see this FAQ: https://forums.gentoo.org/viewtopic-t-279020.html

Moved from Installing Gentoo to Duplicate Threads.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum