Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449250 - app-office/akonadi-server with dev-libs/icu-50.1 - akonadictl: Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)"
Summary: app-office/akonadi-server with dev-libs/icu-50.1 - akonadictl: Unable to load...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 448200 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-30 00:21 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2013-01-06 00:36 UTC (History)
7 users (show)

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 Andreis Vinogradovs ( slepnoga ) 2012-12-30 00:21:48 UTC
After upgrade my system and install icu-50.1-r2 and boost-1.52 app-office/akonadi-server stopped work and produce such errors on .xsession-errors :

Unable to load library icui18n "Cannot load library icui18n: ....

revdep-rebuil run fail ( not found broken link ) due icu libraru load from boos 
( possible to dynamically ??? )
Comment 1 Andreis Vinogradovs ( slepnoga ) 2012-12-30 00:25:06 UTC
LC_ALL=C akonadictl
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
Akonadi server manipulation tool

lddtree `which akonadictl`
akonadictl => /usr/bin/akonadictl (interpreter => /lib64/ld-linux-x86-64.so.2)
    libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4
        librt.so.1 => /lib64/librt.so.1
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0
        libz.so.1 => /lib64/libz.so.1
        libdl.so.2 => /lib64/libdl.so.2
        libm.so.6 => /lib64/libm.so.6
    libQtDBus.so.4 => /usr/lib64/qt4/libQtDBus.so.4
        libQtXml.so.4 => /usr/lib64/qt4/libQtXml.so.4
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3
    libakonadiprotocolinternals.so.1 => /usr/lib64/libakonadiprotocolinternals.so.1
    libboost_program_options.so.1.52.0 => /usr/lib64/libboost_program_options.so.1.52.0
    libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6
    libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1
    libc.so.6 => /lib64/libc.so.6
    libpthread.so.0 => /lib64/libpthread.so.0
slep@nout ~ $
Comment 2 Andreis Vinogradovs ( slepnoga ) 2012-12-30 00:25:27 UTC
 emerge --info 
Portage 2.2.0_alpha149 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.7.1-gentoo x86_64)
=================================================================
System uname: Linux-3.7.1-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.2
Timestamp of tree: Sat, 29 Dec 2012 10:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p39-r1
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo flameeyes-overlay my-dev rion
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=native -pipe -mssse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=native -pipe -mssse3"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tups.lv/source"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/flameeyes-overlay /home/slep/slep/portage /home/slep/rion"
SYNC="rsync://rsync.lv.gentoo.org/gentoo-portage"
USE="10bit X a52 aac acl acpi alsa amd64 archive autoipd avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dia djvu dri dts dvd dvdr ebook egl emboss encode exif fam fbcondecor fdt ffmpeg firefox flac fortran ftp fuse g3dvl gbm gdbm gif git google google-gadgets gphoto2 gpm gstreamer gtk iconv icu idn imagemagick iproute2 ipv6 jpeg jpeg2k kde kipi lcms ldap libkms libmpeg2 libnotify lm_sensors lzma lzo mad mdnsresponder-compat mercurial minizip mmx mng modemmanager modules mp3 mp4 mpeg mudflap multilib multimedia mysql natspec ncurses netlink networkmanager nls nptl nsplugin ogg opengl openmp osmesa pam pango pch pcre pdf phonon plasma pmu png policykit postscript ppds pppd qt3support qt4 radio rdesktop readline rtmp samba sdl semantic-desktop session smp spell sse sse2 ssl ssse3 startup-notification svg syslog tci tcpd threads thumbnail tiff truetype udev udisks unicode upower usb uxa v4l vnc vorbis webkit wxwidgets x264 xa xcb xcomposite xfs xinerama xml xmlpatterns xorg xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="i965 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Andreis Vinogradovs ( slepnoga ) 2012-12-30 00:26:20 UTC
eix -Ic akonadi
[I] app-office/akonadi-server (1.8.1@30.12.2012): The server part of Akonadi
[I] kde-base/akonadiconsole (4.9.4(4)@30.12.2012): Akonadi developer console
Найдено 2 совпадений.
slep@nout ~ $ eix -Ic isu
Совпадений не найдено.
slep@nout ~ $ eix -Ic icu
[I] dev-libs/icu (50.1-r2@25.12.2012): International Components for Unicode
slep@nout ~ $ eix -Ic boost
[I] dev-libs/boost (1.52.0-r5@26.12.2012): Boost Libraries for C++
[I] dev-util/boost-build (1.52.0-r1@11.11.2012): A system for large project software construction, which is simple to use and powerful.
Найдено 2 совпадений.
slep@nout ~ $ eix -Ic qt-core
[I] x11-libs/qt-core (4.8.4(4)@24.12.2012): The Qt toolkit is a comprehensive C++ application development framework
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-12-30 00:54:24 UTC
Please do not block that tracker, it covers different errors; if you look through some of them you'll see how they are different.

> [I] x11-libs/qt-core (4.8.4(4)@24.12.2012)

Emerge qt-core again, see bug #413541; let us know whether that fixes it.
Comment 5 Davide Pesavento gentoo-dev 2012-12-30 03:51:31 UTC
And please let me know if your qt-core is built with USE=icu or not.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-12-30 19:08:07 UTC
(In reply to comment #0)
> revdep-rebuil run fail ( not found broken link ) due icu libraru load from
> boos 
> ( possible to dynamically ??? )

It would be useful to have the exact output of revdep-rebuild.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-31 15:41:22 UTC
*** Bug 448200 has been marked as a duplicate of this bug. ***
Comment 8 Andreis Vinogradovs ( slepnoga ) 2013-01-01 18:25:28 UTC
Unfortunately, I fell back to "green" icu and boost ( I masked glibc 16 to long time )
Comment 9 Andreis Vinogradovs ( slepnoga ) 2013-01-01 18:26:10 UTC
(In reply to comment #5)
> And please let me know if your qt-core is built with USE=icu or not.

I] x11-libs/qt-core
     Available versions:  (4) 4.8.4
        {aqua c++0x debug +exceptions +glib iconv icu pch qt3support ssl}
     Installed versions:  4.8.4(4)(15:18:21 24.12.2012)(exceptions glib iconv icu pch qt3support ssl -aqua -c++0x -debug)
     Homepage:            http://qt-project.org/ http://qt.digia.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework
Comment 10 Andreis Vinogradovs ( slepnoga ) 2013-01-01 18:28:59 UTC
(In reply to comment #6)
> (In reply to comment #0)
> > revdep-rebuil run fail ( not found broken link ) due icu libraru load from
> > boos 
> > ( possible to dynamically ??? )
> 
> It would be useful to have the exact output of revdep-rebuild.

Sorry, IMHO, revdep-rebuild NOT work with dlopen() loaded library.
If revdep-rebuild found something, I would not be writing bug
Comment 11 Davide Pesavento gentoo-dev 2013-01-01 20:50:36 UTC
(In reply to comment #10)
> Sorry, IMHO, revdep-rebuild NOT work with dlopen() loaded library.
> If revdep-rebuild found something, I would not be writing bug

Yep correct, libQtCore dlopen()'s libicui18n, thus revdep-rebuild does not (and cannot) detect the breakage.

But anyway, even if dlopen() fails, there's a fallback in place so the binary should continue to run, it shouldn't crash.
Comment 12 Michael Palimaka (kensington) gentoo-dev 2013-01-02 05:44:08 UTC
Can you confirm that rebuilding qt-core solves the problem for you?
Comment 13 Andreis Vinogradovs ( slepnoga ) 2013-01-02 13:51:09 UTC
(In reply to comment #12)
> Can you confirm that rebuilding qt-core solves the problem for you?

due change dlopen() semantic , i.e #define magic, configure script add/delete chunk sources, etc...

P.S sorry, i,m not programmer, i'm not code mankey's ;), and so can be mistaken
Comment 14 Michael Palimaka (kensington) gentoo-dev 2013-01-02 13:54:21 UTC
(In reply to comment #13)
> due change dlopen() semantic , i.e #define magic, configure script
> add/delete chunk sources, etc...
> 
> P.S sorry, i,m not programmer, i'm not code mankey's ;), and so can be
> mistaken

I mean, if you emerge qt-core again, does the error message stop?
Comment 15 Andrej Filipcic 2013-01-03 11:58:31 UTC
Had the same problem and I confirm qt-core recompile solves it.
Comment 16 Michael Palimaka (kensington) gentoo-dev 2013-01-03 12:13:16 UTC
@openoffice team, could you please (or ACK us to) add subslots to icu so that we may fix this once and for all? (I am imagining SLOT="0/${soversion).
Comment 17 Tomáš Chvátal (RETIRED) gentoo-dev 2013-01-03 12:14:17 UTC
Whatevz make your day.

Sure go ahead and subslot it.
Comment 18 Michael Palimaka (kensington) gentoo-dev 2013-01-03 14:24:58 UTC
(In reply to comment #17)
> Whatevz make your day.
> 
> Sure go ahead and subslot it.

Looking at CVS history, it seems subslots were already tried and dropped, and blockers are now in place against them. Do you have more information about this?
Comment 19 Tomáš Chvátal (RETIRED) gentoo-dev 2013-01-03 14:40:45 UTC
It was done in weird manner and i had to cleanup rest of the eubild.

Really feel free to introduce them again.
Comment 20 Michael Palimaka (kensington) gentoo-dev 2013-01-03 15:33:43 UTC
Thanks everyone, this should now be permanently fixed!

Whenever the icu slot is bumped, portage will now automatically force a rebuild of qt-core.


+  03 Jan 2013; Michael Palimaka <kensington@gentoo.org> icu-50.1-r1.ebuild,
+  icu-50.1-r2.ebuild, icu-50.1.1.ebuild:
+  Add subslots wrt bug #449250.

+  03 Jan 2013; Michael Palimaka <kensington@gentoo.org>
+  +qt-core-4.8.4-r1.ebuild:
+  Revision bump making use of subslots for dev-libs/icu, to solve linkage issues
+  like in bug #449250.
Comment 21 Nikos Chantziaras 2013-01-04 12:12:39 UTC
(In reply to comment #20)
> Thanks everyone, this should now be permanently fixed!
> 
> Whenever the icu slot is bumped, portage will now automatically force a
> rebuild of qt-core.

Is it normal that here qt-core wants to build *before* icu? Updating world:

[ebuild     U  ] net-misc/dhcpcd-5.6.6 [5.6.4]
[ebuild     U  ] sys-apps/file-5.12 [5.11]
[ebuild     U  ] x11-libs/qt-core-4.8.4-r1 [4.8.4]
[ebuild  rR    ] dev-libs/icu-50.1-r2 [50.1-r2]
[ebuild     U  ] x11-libs/libXcomposite-0.4.4 [0.4.3-r1]
[ebuild     U  ] x11-libs/libXdamage-1.1.4 [1.1.3]
[ebuild  rR    ] dev-libs/libxml2-2.9.0-r1 
[ebuild     U  ] dev-python/simplejson-3.0.4-r1 [3.0.0] PYTHON_TARGETS="python2_7%* -pypy1_9% -pypy2_0% -python2_5% -python2_6% (-python3_3)" 
[ebuild     U  ] x11-libs/gtk+-3.6.3 [3.6.2]
Comment 22 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-04 12:48:18 UTC
> [ebuild     U  ] x11-libs/qt-core-4.8.4-r1 [4.8.4]
> [ebuild  rR    ] dev-libs/icu-50.1-r2 [50.1-r2]

Yes, icu gets a "rebuild" so won't change its version; hence qt-core can be build before icu since qt-core can already be build against the right version.
Comment 23 Zac Medico gentoo-dev 2013-01-06 00:36:24 UTC
(In reply to comment #18)
> Looking at CVS history, it seems subslots were already tried and dropped,
> and blockers are now in place against them.

I've removed those !dev-libs/icu:0/50 blockers, since they're not needed (regular slot is still 0 for SLOT="0/50", so you can't installed them both at the same time).