Am Sun, 28 Apr 2013 12:48:28 +0100
schrieb Mick <michaelkintz...@gmail.com>:

> Updating dev-libs/icu-51.1 uninstalled /usr/lib64/libicuuc.so.49.1.2 and when 
> I try to start Dolphin I get:
> ==================================================
> There was an error loading the module Dolphin View.
> The diagnostics is:
> Cannot load library /usr/lib64/kde4/dolphinpart.so: (libicuuc.so.49: cannot 
> open shared object file: No such file or directory)
> ==================================================
> 
> Should revdep-rebuild have picked this up, or would this only work if  
> /usr/lib64/libicuuc.so.49.1.2 had not been removed yet?
> 
> Trying to rebuild dolphin gives:
> ==================================================
> [ 71%] Building CXX object dolphin/src/CMakeFiles/dolphin.dir/dolphin_dummy.o
> cd /var/tmp/portage/kde-
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/dolphin/src && /usr/bin/x86_64-
> pc-linux-gnu-g++  -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL 
> -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -
> DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=45 -DDISABLE_NEPOMUK_LEGACY -
> DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS  -DQT_NO_DEBUG 
> -DNDEBUG 
> -march=native -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-
> align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-
> exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual 
> -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -
> I/var/tmp/portage/kde-
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/dolphin/src -
> I/var/tmp/portage/kde-base/dolphin-4.10.1/work/dolphin-4.10.1/dolphin/src -
> I/var/tmp/portage/kde-base/dolphin-4.10.1/work/dolphin-4.10.1_build -
> I/var/tmp/portage/kde-base/dolphin-4.10.1/work/dolphin-4.10.1/lib/konq -
> I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -
> I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -
> I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -
> I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -
> I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -
> I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtDesigner -
> I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -
> I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -
> I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -
> I/usr/share/qt4/mkspecs/default -I/usr/include/qt4    -D_GNU_SOURCE -
> D_LARGEFILE64_SOURCE -o CMakeFiles/dolphin.dir/dolphin_dummy.o -c 
> /var/tmp/portage/kde-
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/dolphin/src/dolphin_dummy.cpp
> Linking CXX executable dolphin
> cd /var/tmp/portage/kde-
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/dolphin/src && /usr/bin/cmake 
> -E 
> cmake_link_script CMakeFiles/dolphin.dir/link.txt --verbose=1
> /usr/bin/x86_64-pc-linux-gnu-g++   -march=native -O2 -pipe  
> -Wnon-virtual-dtor 
> -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W 
> -Wpointer-arith 
> -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-
> common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -
> fvisibility-inlines-hidden  -Wl,--enable-new-dtags  -Wl,-O1 -Wl,--as-needed 
> CMakeFiles/dolphin.dir/dolphin_dummy.o  -o dolphin -rdynamic -
> L/var/tmp/portage/kde-base/dolphin-4.10.1/work/dolphin-4.10.1_build/lib -
> L/usr/lib64/qt4 ../../lib/libkdeinit4_dolphin.so -lkonq -lz -lX11 
> ../../lib/libdolphinprivate.so.4.10.1 /usr/lib64/libkfile.so.4.10.1 
> /usr/lib64/libkcmutils.so.4.10.1 /usr/lib64/libkparts.so.4.10.1 -lknewstuff3 -
> lphonon /usr/lib64/libnepomukwidgets.so.4.10.1 
> /usr/lib64/libnepomukcore.so.4.10.1 /usr/lib64/libkio.so.5.10.1 
> /usr/lib64/libsolid.so.4.10.1 /usr/lib64/libnepomukutils.so.4.10.1 
> /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtXml.so 
> /usr/lib64/libnepomuk.so.4.10.1 /usr/lib64/libkdeui.so.5.10.1 
> /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtSvg.so -lsoprano 
> /usr/lib64/libkactivities.so.6.1.0 /usr/lib64/libkdecore.so.5.10.1 
> /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtDBus.so -Wl,-
> rpath,/var/tmp/portage/kde-
> base/dolphin-4.10.1/work/dolphin-4.10.1_build/lib:/usr/lib64/qt4: 
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>  
> warning: libicuuc.so.49, needed by /usr/lib64/qt4/libQtWebKit.so.4, not found 
> (try using -rpath or -rpath-link)
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_isBoundary_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_previous_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_preceding_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_openRules_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_last_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_first_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_following_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_open_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_next_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_current_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_close_49'
> /usr/lib64/qt4/libQtWebKit.so.4: undefined reference to `ubrk_setText_49'
> collect2: ld returned 1 exit status
> make[2]: *** [dolphin/src/dolphin] Error 1
> make[2]: Leaving directory `/var/tmp/portage/kde-
> base/dolphin-4.10.1/work/dolphin-4.10.1_build'
> make[1]: *** [dolphin/src/CMakeFiles/dolphin.dir/all] Error 2
> make[1]: Leaving directory `/var/tmp/portage/kde-
> base/dolphin-4.10.1/work/dolphin-4.10.1_build'
> make: *** [all] Error 2
>  * ERROR: kde-base/dolphin-4.10.1 failed (compile phase):
>  *   emake failed
> 
> ==================================================
> 
> Time for a bug report or am I missing something?

I have to admit, I'm a bit confused. I was going to suggest rebuilding
QtWebKit, because of the undefined references and other warnings above, but I
didn't rebuild it myself after upgrading icu, and various KDE software I have
(that depends on QtWebKit, for example k3b and various games) still runs fine.

I would try rebuilding QtWebKit anyway, though.

For the future: assuming you are using stable portage, I would add
"preserve-libs" to FEATURES in make.conf.  That way you don't lose old
libraries immediately after upgrades. For example, on my machine portage gave
me an informative message after upgrading world, after which "emerge
@preserved-rebuild" rebuilt (amongst others) webkit-gtk.

I've been running with preserve-libs for several months now (not too long after
it came to stable portage) and it's been working fine for me so far. I have
needed "revdep-rebuild" much less since then.

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

Attachment: signature.asc
Description: PGP signature

Reply via email to