Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
completely borked KDE system [1/2 solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Sun Dec 24, 2006 11:10 pm    Post subject: completely borked KDE system [1/2 solved] Reply with quote

[EDIT ] emerge -e world seems to have sorted most of it ( konqueror still wont run though)


it started with kde-env blocking kdelibs.
I sorted that
kdelibs wouldnt compile, so i removed all the kde3.4* packages.
now kde wont start
I do revdep-rebuild which has a whole load of emerges that need doing, but it cont go through them because kdelibs still fails at the same place
Quote:
c -o libkabc_la.all_cpp.lo libkabc_la.all_cpp.cpp
kab2kabc.cpp: In function 'int main(int, char**)':
kab2kabc.cpp:472: warning: 'save' is deprecated (declared at stdaddressbook.h:86)
/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -O2 -march=i686 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkabc.la -rpath /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -version-info 3:0:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined libkabc_la.all_cpp.lo vcard/libvcard.la vcardparser/libvcards.la ../kio/libkio.la ../kresources/libkresources.la
.libs/libkabc_la.all_cpp.o: In function `std::_Rb_tree_iterator<QString>::operator--()':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_tree.h:197: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
.libs/libkabc_la.all_cpp.o: In function `std::_Rb_tree<QString, QString, std::_Identity<QString>, std::less<QString>, std::allocator<QString> >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, QString const&)':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_tree.h:821: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
collect2: ld returned 1 exit status
make[3]: *** [libkabc.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.5-r5/work/kdelibs-3.5.5/kabc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.5-r5/work/kdelibs-3.5.5/kabc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.5-r5/work/kdelibs-3.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.5.5-r5 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
kdelibs-3.5.5-r5.ebuild, line 134: Called kde_src_compile
kde.eclass, line 169: Called kde_src_compile 'all'
kde.eclass, line 339: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 335: Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.



now i have a lpatop that caint run the GUI

not happy at all :evil:
_________________
join the optout - http://nhsconfidentiality.org


Last edited by thecooptoo on Mon Jan 01, 2007 11:23 am; edited 1 time in total
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Dec 24, 2006 11:46 pm    Post subject: Reply with quote

Just to discard some things, can you post the output of emerge --info?
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Mon Dec 25, 2006 9:09 am    Post subject: Reply with quote

Code:
gravity ~ # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6                        .17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(R) M processor         1.50                        GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 24 Dec 2006 17:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable                        d]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms                        / /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/d                        istributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress                         --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d                        istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_car                        ds_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_                        emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es19                        68 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0                        m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx                         alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plug                        ins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_                        pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugi                        ns_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958                         alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm                        _plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_m                        ulti alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_                        plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softv                        ol arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri                         dvd dvdr eds elibc_glibc emboss encode esd fam ffmpeg firefox fortran gdbm gif g                        nome gpm gstreamer gtk hal iconv imap imaps input_devices_keyboard input_devices                        _mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ linguas_en_GB mad mik                        mod mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pe                        rl png pop3 ppds pppd python qt3 qt4 quicktime readline reflection sdl session s                        pell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode ups userland_                        GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_card                        s_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint                         video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_card                        s_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition                         video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion                         video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_                        trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video                        _cards_via video_cards_vmware video_cards_voodoo vorbis win32codecs xml xorg xv                         zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTA                        GE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

gravity ~ #


no idea where all the stuff re videocards and alsa has come from
Code:
gravity ~ # grep ^[A-Za-z] /etc/make.conf
CFLAGS="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j9"
FEATURES="sandbox  -strict"
DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"
LINGUAS="en_GB"
USE="arts alsa dri dvdr encode ffmpeg gif gtk hal imap imaps java jpeg kde mp3 mysql nsplugin opengl pop3 png ups vorbis ups zlib"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INPUT_DEVICES ="keyboard mouse"
gravity ~ #

_________________
join the optout - http://nhsconfidentiality.org
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Dec 25, 2006 2:38 pm    Post subject: Reply with quote

If that is all your config, it seems sane to me. To get rid of the alsa and graphics thingie you can try to define VIDEO_CARDS and (I think, not sure) SOUND_CARDS in your make.conf. That way only the selected drivers will be built (and the others should dissapear from your use flags). For example, my video cards are:

Code:

VIDEO_CARDS="nvidia vesa nv"


Don't know about sound cards cause I dont have alsa-drivers installed, I compile them right into the kernel.

I dont build the whole monolithic kde, just the programs I need. So I don't know if there is any flaw in the build process of any program. But this seems a bit strange, have you tried to search bugzilla for something similar?
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Mon Dec 25, 2006 3:22 pm    Post subject: Reply with quote

Ive used split ebuilds as well. So what might have gone wrong?Ive no idea where to start looking.In addition,I need a working system so Im going to have to do something in the meantime. - suggestions welcome
_________________
join the optout - http://nhsconfidentiality.org
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Dec 25, 2006 3:47 pm    Post subject: Reply with quote

I am not familiar with the issue, but I found this in bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=113845

Many elements are common with your case: a g++ source, libkabc, undefined refs and so on. No clear solution was given. One of the devs suggests recompiling your whole world (emerge -e world).

Do you have updated your gcc or glibc recently to a major version (for example, from 3.4 to 4.1 or something similar)?
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Mon Dec 25, 2006 4:05 pm    Post subject: Reply with quote

Ive updated gcc to 4.1 in the midst oftrying to sort it out,but nothing that I could reasonably blame
_________________
join the optout - http://nhsconfidentiality.org
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Dec 25, 2006 4:10 pm    Post subject: Reply with quote

If there had been a gcc update in the middle, I would try to emerge -e world and see if that sorts something out. Though I sincerelly have no idea if that will fix something for sure.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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