Unix Technical Forum

kde apps dead, cannot emerge kde

This is a discussion on kde apps dead, cannot emerge kde within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello, Some times ago I noticed that some applications are very slow after I start them they read from ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 07:08 AM
=?iso-8859-2?q?Marek_Defeci=F1ski?=
 
Posts: n/a
Default kde apps dead, cannot emerge kde

Hello,

Some times ago I noticed that some applications are very slow after I
start them they read from disk constanly and generally they cause
congestion of my X-server.
I dont use KDE so It took me some time to figure out that all are kde
applications: Umbrello, Kdevelop, Konqueror.

I tried to emerge KDE but it fails during kdemultimedia emerging.
Error is from linker that there is undefined reference to typeinfo for
MusicBrainz.

I looked for the error in forums but there is no solution.
I reemerged musicbrainz tried mask kdemultimedia and also emerge
kdemultimedia with ACCEPT_KEYWORDS="~x86" and all compilation failing due
to this error.

my flags are
CFLAGS="-mcpu=pentium4 -O2 -pipe -s -mfpmath=sse -msse2
-mmmx"
CXXFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -fno-rtti
-mfpmath=sse -msse2 -mmmx"

USE="3dnow acpi acpi4linux apache2 art curl flash gd gtkhtml icc \
kadu-modules mmx moznocompose moznoirc moznomail moznoxft mpeg4 samba \
sse tiff usb vim-with-x xml"

Moreover when i try to emerge -upv kde
for kde entry i get incomplete/bad digest message

What should I do now?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 07:09 AM
walt
 
Posts: n/a
Default Re: kde apps dead, cannot emerge kde

Marek Defeciński <marekdef@n0spam.tlen.pl> writes:

> Hello,
>
> Some times ago I noticed that some applications are very slow after I
> start them they read from disk constanly and generally they cause
> congestion of my X-server.


How much memory does your machine have?



> I dont use KDE so It took me some time to figure out that all are kde
> applications: Umbrello, Kdevelop, Konqueror.
>
> I tried to emerge KDE but it fails during kdemultimedia emerging.
> Error is from linker that there is undefined reference to typeinfo for
> MusicBrainz.


Exact copies of error messages are helpful. The Devil is in the details.


> my flags are
> CFLAGS="-mcpu=pentium4 -O2 -pipe -s -mfpmath=sse -msse2
> -mmmx"
> CXXFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -fno-rtti
> -mfpmath=sse -msse2 -mmmx"


Is there a specific reason your CFLAGS and CXXFLAGS are different?
That is, do you really know what these flags do? If you do, you know
more than I do ;o)

> Moreover when i try to emerge -upv kde
> for kde entry i get incomplete/bad digest message


As above -- an exact copy of the error message would be helpful.

In general, I see such error messages after an unsuccessful
download of some source file, and when I delete the corrupted
file from /usr/portage/distfiles and try again I get better
results the second time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 07:09 AM
=?iso-8859-2?q?Marek_Defeci=F1ski?=
 
Posts: n/a
Default Re: kde apps dead, cannot emerge kde

On Fri, 30 Apr 2004 17:02:59 -0700, walt wrote:

> How much memory does your machine have?


256MB

> Exact copies of error messages are helpful. The Devil is in the details.


I deleted kdemultimedia from working directory and cannot give exact
error, because three hours of compilation must pass :-)

It happens here (I know because I wanted to compile it myself, so I have
this command in history)

/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -DNDEBUG -DNO_DEBU
G -O2 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse2
-mmmx -f no-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o juk -L/usr/X11R6/lib
-L/us
r/qt/3/lib -L/usr/kde/3.2/lib -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R
/usr/X11R 6/lib gstreamerplayer.o artsplayer.o directorylist.o
stringhash.o sortedstringli st.o systemtray.o splashscreen.o statuslabel.o
collectionlist.o playlistitem.o p laylist.o playlistsplitter.o
playlistbox.o tageditor.o cache.o player.o tag.o cu stomaction.o
slideraction.o keydialog.o juk.o main.o tagguesser.o tagguesserconf
igdlg.o playlistsearch.o searchwidget.o filerenamer.o dynamicplaylist.o
searchpl aylist.o musicbrainzquery.o mediafiles.o viewmode.o
advancedsearchdialog.o histo ryplaylist.o musicbrainzitem.o
trackpickerdialog.o filerenamerconfigdlg.o string share.o jukIface_skel.o
directorylistbase.o tagguesserconfigdlgwidget.o trackpic kerdialogbase.o
filerenamerconfigdlgwidget.o -lmusicbrainz -lartskde -lkio -L/u sr/lib
-ltag

And the error is: undefined reference to typeinfo for MusicBrainz
i dont remember line number, but error is from linker.


>> my flags are
>> CFLAGS="-mcpu=pentium4 -O2 -pipe -s -mfpmath=sse -msse2
>> -mmmx"
>> CXXFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -fno-rtti
>> -mfpmath=sse -msse2 -mmmx"

>
> Is there a specific reason your CFLAGS and CXXFLAGS are different?
> That is, do you really know what these flags do? If you do, you know
> more than I do ;o)


This flags are from some generator, I know more less what they mean,
they are different because CXXFLAGS has flags which have no use in C.

I think it can be those flags omit-frame-pointer no-rtti
to cause this, and read somewhere that -O2 causes error like this but I
looked in the ebuild that it removes -O2 flag,
eventhough libtool is called with -O2 flag so I try to recompile
musicbrainz also without those flags and see.


> In general, I see such error messages after an unsuccessful
> download of some source file, and when I delete the corrupted
> file from /usr/portage/distfiles and try again I get better
> results the second time.


Yes I know, but this is from emerge -upv, there is no file on the disc!
It tells about kde which is installed in the system.

emerge -upv kde
[ebuild U ] media-libs/xine-lib-1_rc3-r3 [1_rc2] +X -aalib +alsa +arts +avi -directfb -dvd +esd +gnome -ipv6 +nls +oggvorbis +sdl -speex -theora 6,311 kB
[ebuild U ] dev-libs/glib-2.4.0 [2.2.3] -debug -doc 1,986 kB
[ebuild U ] x11-libs/gtk+-1.2.10-r11 [1.2.10-r10] -debug +nls 2,880 kB
[ebuild N ] kde-base/kdemultimedia-3.2.1 +alsa +encode +esd -gstreamer +gtk +motif -nas +oggvorbis +slang +tcltk 0 kB
[ebuild N ] kde-base/kdeaddons-3.2.1 +esd +sdl +svga +xmms 1,339 kB
[ebuild U ] app-text/tetex-2.0.2-r3 [1.0.7-r12] 85,038 kB
[ebuild N ] dev-libs/fribidi-0.10.4 328 kB
[ebuild N ] kde-base/kdegraphics-3.2.1 -gphoto2 +opengl -scanner +tetex 5,592 kB
[ebuild N ] kde-base/kdeaccessibility-3.2.1 -debug 1,274 kB
[ebuild N ] kde-base/kdeedu-3.2.1 -debug 21,875 kB
[ebuild N ] kde-base/kdetoys-3.2.1 -debug 2,394 kB
[ebuild N ] kde-base/kdeartwork-3.2.1 +opengl 16,800 kB
[ebuild N ] kde-base/kdeadmin-3.2.1 +pam 1,577 kB
[ebuild N ] kde-base/kdeutils-3.2.1 -debug 2,517 kB
[ebuild N ] kde-base/kdegames-3.2.1 -debug 8,907 kB
[ebuild N ] kde-base/kde-3.2.1 [empty/missing/bad digest]

emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0)
================================================== ===============
System uname: 2.6.0 i686 Mobile Intel(R) Celeron(R) CPU 1.50GHz
Gentoo Base System version 1.4.3.13
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O2 -pipe -s -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -fno-rtti -mfpmath=sse -msse2 -mmmx "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi acpi4linux alsa apache2 apm art arts avi berkdb bonobo
cdr crypt cups curl encode esd flash foomaticdb gd gdbm gif gnome gpm gtk
gtk2 gtkhtml icc imlib java jpeg kadu-modules kde libg++ libwww mad mikmod
mmx motif mozilla moznocompose moznoirc moznomail moznoxft mpeg mpeg4
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python
qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex
tiff truetype usb vim-with-x x86 xml xml2 xmms xv zlib"

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Mobile Intel(R) Celeron(R) CPU 1.50GHz
stepping : 7
cpu MHz : 1495.628
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips : 2949.12

So any ideas now?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 07:09 AM
Johan Lindquist
 
Posts: n/a
Default Re: kde apps dead, cannot emerge kde

So anyway, it was like, 08:21 CEST May 01 2004, you know? Oh, and, yeah,
Marek Defeciński was all like, "Dude,

> [ebuild N ] kde-base/kde-3.2.1 [empty/missing/bad digest]


At least this one is nothing to worry about, the kde ebuild is just
a "wrapper" of sorts to merge all of the kde packages, so it doesn't
actually have any downloads of its own. Take a look at the ebuild
itself, and you'll see what I mean.

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
10:37:42 up 18 days, 15:11, 3 users, load average: 0.64, 0.21, 0.07
$ cat /dev/bollocks Registered Linux user #261729
monetize end-to-end convergence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 07:10 AM
Arto Viitanen
 
Posts: n/a
Default Re: kde apps dead, cannot emerge kde

>>>>> "Marek" == Marek Defeci <Marek> writes:

Marek> I tried to emerge KDE but it fails during kdemultimedia emerging.

Marek> What should I do now?

I have found, that revdep-rebuild helps. It scans the depencies backwards. I
guess this means that when you normally emerge -u, it checks what versions
will be needed from the package and other packages. revdep-rebuild checks
what packages you have, and what versions they need the other packages to be.

It might be that you have to run revdep-rebuild some times and remove wrong
packages, but it is worth the trouble.

--
Arto V. Viitanen av@cs.uta.fi
University of Tampere, Department of Computer Sciences
Tampere, Finland http://www.cs.uta.fi/~av/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com