Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284815 - app-i18n/uim-1.5.6-r1 links against already installed uim
Summary: app-i18n/uim-1.5.6-r1 links against already installed uim
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on: 298221
Blocks:
  Show dependency tree
 
Reported: 2009-09-13 20:08 UTC by Randall Wald
Modified: 2011-01-03 02:46 UTC (History)
1 user (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 Randall Wald 2009-09-13 20:08:20 UTC
x11-libs/libxcb-1.4 does away with the old /usr/lib/libxcb-x11.so file. After upgrading, I had problems with a number of packages relying on this file; running the included xcb-rebuilder.sh removed the references to that file from all my .la files, and rebuilding all the offending packages kept them from referring to this file...except for uim. Even though I've run xcb-rebuilder.sh multiple times, and rebuilt libxcb itself a couple of times, uim still looks for /usr/lib/libxcb-x11.so. I don't know if this is a problem with upstream uim or what, but here's my error message.

Making all in scm
make[1]: Entering directory `/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/scm'
make  -C ../uim uim-module-manager && \
	LIBUIM_SYSTEM_SCM_FILES=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/sigscheme/lib LIBUIM_SCM_FILES=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/scm LIBUIM_PLUGIN_LIB_DIR=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/uim/.libs ../uim/uim-module-manager \
	    --path ../scm --register "anthy" "anthy-utf8"     "prime" "skk" "tcode" "trycode" "tutcode" "byeoru" "latin" "elatin"  "pyload" "hangul" "viqr" "ipa-x-sampa" "look" 
make  -C ../uim uim-module-manager && \
	LIBUIM_SYSTEM_SCM_FILES=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/sigscheme/lib LIBUIM_SCM_FILES=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/scm LIBUIM_PLUGIN_LIB_DIR=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/uim/.libs ../uim/uim-module-manager \
	    --path ../scm --register "anthy" "anthy-utf8"     "prime" "skk" "tcode" "trycode" "tutcode" "byeoru" "latin" "elatin"  "pyload" "hangul" "viqr" "ipa-x-sampa" "look" 
make[2]: Entering directory `/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/uim'
make[2]: Leaving directory `/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/uim'
make[2]: Entering directory `/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/uim'
make[2]: Leaving directory `/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/uim'
load failed /usr/lib64/uim/notify/libuimnotify-libnotify.so(/usr/lib/libxcb-xlib.so.0: undefined symbol: _xcb_lock_io)
load failed /usr/lib64/uim/notify/libuimnotify-libnotify.so(/usr/lib/libxcb-xlib.so.0: undefined symbol: _xcb_lock_io)
/bin/sh: line 2: 15039 Segmentation fault      LIBUIM_SYSTEM_SCM_FILES=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/sigscheme/lib LIBUIM_SCM_FILES=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/scm LIBUIM_PLUGIN_LIB_DIR=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/uim/.libs ../uim/uim-module-manager --path ../scm --register "anthy" "anthy-utf8" "prime" "skk" "tcode" "trycode" "tutcode" "byeoru" "latin" "elatin" "pyload" "hangul" "viqr" "ipa-x-sampa" "look"
make[1]: *** [installed-modules.scm] Error 139
make[1]: *** Waiting for unfinished jobs....
/bin/sh: line 2: 15057 Segmentation fault      LIBUIM_SYSTEM_SCM_FILES=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/sigscheme/lib LIBUIM_SCM_FILES=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/scm LIBUIM_PLUGIN_LIB_DIR=/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/uim/.libs ../uim/uim-module-manager --path ../scm --register "anthy" "anthy-utf8" "prime" "skk" "tcode" "trycode" "tutcode" "byeoru" "latin" "elatin" "pyload" "hangul" "viqr" "ipa-x-sampa" "look"
make[1]: *** [loader.scm] Error 139
make[1]: Leaving directory `/var/tmp/portage/app-i18n/uim-1.5.6-r1/work/uim-1.5.6/scm'
make: *** [all-recursive] Error 1
 * 
 * ERROR: app-i18n/uim-1.5.6-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3644:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-i18n/uim-1.5.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-i18n/uim-1.5.6-r1/temp/environment'.
 * 

Portage 2.2_rc39 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 13 Sep 2009 01:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en ja"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/jokey /usr/local/portage/layman/serkan-overlay /usr/local/portage/layman/thpani /usr/local/portage/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="64bit 7zip X a52 aac aalib acl acpi aim alsa amarok amazon amd64 animgif anthy audacious bash-completion berkdb bidi bittorrent bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli console cracklib crypt css cups dbus dict directfb divx djvu dri dts dvd dvdnav dvdr dvi eds emboss encode exif fam fat fbcon fbcondecor fbsplash ffmpeg flac fortran ftp gdbm gif gimp gimpprint glitz glsa gmail gnome gpm gs gstreamer gtk hal hdaps hddtemp hfs ibmacpi iconv icq icu idea ieee1394 imagemagick immqt-bc ipv6 ipw4965 isdnlog jabber java javascript jingle john jpeg kerberos kpathsea lame laptop latex ldap libcaca libnotify lm_sensors lua mad matroska md5sum mikmod mmx mng mono mp3 mp4 mpeg mplayer msn mtp mudflap multilib musicbrainz mysql ncurses nethack nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp openssl opensslcrypt openvpn pam pcmcia pcre pdf perl pidgin png pop ppds pppd prediction prime python qt3support qt4 quicktime rar raw readline realmedia reflection reiserfs sdl server session smapi spell spl sse sse2 ssl stream svg sysfs tcpd theora threads thunar thunderbird tiff timidity tracker truetype uim unicode usb vim-syntax vim-with-x visualization vlm vorbis wav wifi wma wmp wordperfect wxwindows x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" 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="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 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" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en ja" USERLAND="GNU" VIDEO_CARDS="vesa vga i810 i830 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-09-13 21:19:01 UTC
Looks, like preserve_lib may not be a good solution.
Try lafilefixer, then 'revdep-rebuild --library libxcb-x11.so.0'.

Assigning to x11, not cjk, just in case other similar problems appear
(though chances are that reporter will make it from here).
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-09-13 21:58:59 UTC
Please read the upgrade guide like the ebuild strongly suggests.

http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml

Thanks
Comment 3 Randall Wald 2009-09-13 23:31:00 UTC
I did all that before filing the bug, but just be certain, I redid everything listed on that page. The final revdep-rebuild -L libxcb-xlib.so.0 tries to rebuild uim (unsurprisingly) and runs into exactly the same error as I initially described.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-09-14 05:49:27 UTC
(In reply to comment #3)
> I did all that before filing the bug, but just be certain, I redid everything
> listed on that page.

Ok, just wanted to be sure :)

> The final revdep-rebuild -L libxcb-xlib.so.0 tries to
> rebuild uim (unsurprisingly) and runs into exactly the same error as I
> initially described.

Hmm, there's a number of things that could go wrong but here it looks like uim is trying to link against its own system copy...

/usr/lib64/uim/notify/libuimnotify-libnotify.so is indeed part of uim right? (use "qfile" or "equery belongs" to check).

If so, could you try unmerging uim before remerging it again?

Thanks
Comment 5 Randall Wald 2009-09-14 06:37:09 UTC
Unmerging and remerging allowed it to merge cleanly; I was worried about doing so because of the risk it wouldn't work, but apparently I shouldn't have been so concerned. Still, weird that it was using an old copy of itself to build against.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-09-14 06:52:42 UTC
Reopening
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-09-14 06:56:40 UTC
Clearly this shouldn't happen. It's a build system bug.

@cjk, uim links against the system-installed uim during build. It's not a libxcb bug :)

Cheers
Comment 8 Randall Wald 2009-09-14 20:23:48 UTC
Hmm, interestingly enough, it seems someone else had a similar problem to this, only with gnome-base/gnome-panel-2.26.3: it was linking against its own old version, causing it to fail after upgrading to libxcb-1.4 (Bug #282091). I'm not sure if it's related, but I figured I'd cross-link them just in case.
Comment 9 MATSUU Takuto (RETIRED) gentoo-dev 2009-09-16 16:22:38 UTC
1.5.6-r2 in cvs. the patch is from trunk. Could you test it?
Comment 10 Elliott Sales de Andrade 2009-10-06 02:36:27 UTC
It looks like the original reporter already unmerged and remerged uim, so he might not be able to reproduce this.
However, I ran into the same issue with app-i18n/uim-1.5.6-r1. Unmasking app-i18n/uim-1.5.6-r2 and then emerging that over top (without removing the old version) works fine for me.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2009-10-25 20:34:46 UTC
(In reply to comment #9)
> 1.5.6-r2 in cvs. the patch is from trunk. Could you test it?

Yes, -r2 fixes this problem. Now to get it stable... or -r3 maybe.
Comment 12 MATSUU Takuto (RETIRED) gentoo-dev 2011-01-03 02:46:04 UTC
1.5.7 marked stable. close.