Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162500 - app-i18n/scim-uim-0.1.4 compile failure
Summary: app-i18n/scim-uim-0.1.4 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 08:32 UTC by Ira Snyder
Modified: 2007-04-26 11:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
scim-uim-0.1.4-remove-surrounding-text.patch (scim-uim-0.1.4-remove-surrounding-text.patch,1.84 KB, patch)
2007-01-28 04:34 UTC, Daniel Lin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ira Snyder 2007-01-17 08:32:29 UTC
The build of app-i18n/scim-uim-0.1.4 fails with the following error. This is a completely ~x86 system.

Note that app-i18n/scim-uim-0.1.3 builds and installs perfectly.

Reproducible: Always

Steps to Reproduce:
1. emerge -av '=app-i18n/scim-uim-0.1.4'
2. compile fails

Actual Results:  
Last few lines of the compile:

 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_UIM_ICON_FILE=\"/usr/share/scim/icons/scim-uim.png\" -I/usr/include/scim-1.0 -I/usr/include/uim -march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden -MT uim_la-scim_uim_imengine.lo -MD -MP -MF .deps/uim_la-scim_uim_imengine.Tpo -c scim_uim_imengine.cpp  -fPIC -DPIC -o .libs/uim_la-scim_uim_imengine.o
scim_uim_imengine.cpp: In static member function 'static void UIMInstance::uim_surrounding_text_request_cb(void*)':
scim_uim_imengine.cpp:839: error: 'uim_set_surrounding_text' was not declared in this scope
make[2]: *** [uim_la-scim_uim_imengine.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/scim-uim-0.1.4/work/scim-uim-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/scim-uim-0.1.4/work/scim-uim-0.1.4'
make: *** [all] Error 2

!!! ERROR: app-i18n/scim-uim-0.1.4 failed.
Call stack:
  ebuild.sh, line 1618:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  environment, line 3409:   Called src_compile
  scim-uim-0.1.4.ebuild, line 35:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/app-i18n:scim-uim-0.1.4:20070117-082328.log'.

Expected Results:  
The compile should complete successfully.

root@yuki ~ $  emerge --info
Portage 2.1.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-ck2 i686)
=================================================================
System uname: 2.6.19-ck2 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.8
Timestamp of tree: Tue, 16 Jan 2007 07:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r2
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.ngi.it"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gentopia /usr/portage/local/layman/nx /usr/portage/local/layman/initng /usr/portage/local/layman/xeffects"
SYNC="rsync://ping.local/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi aiglx alsa ao aoss audiofile bash-completion berkdb branding bzip2 cairo cdr chardet cli cracklib crypt cscope cups curl dbus dhcp dlloader dri dts dvd dvdr dvdread eap-tls edl emboss enca exif extras fbcon ffmpeg filter_default firefox flac freetype gdbm gif glitz gpm gsl gstreamer gtk gtkhtml hal hpn iconv idn imap imlib isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libg++ libnotify logitech-mouse mad matroska mikmod mmap mmx mmxext mono mozbranding mozsvg mp3 mpeg ncurses newspr no_wxgtk1 nonfsv4 nptl nptlonly offensive ogg opengl pam pcre pdf perl pertty png ppds pppd python qt3 quicktime readline real reflection rtc session slang spell spl sse ssl stream subtitles svg tcltk tcpd theora threads truetype truetype-fonts udev unicode usb userlocales vim-pager vim-syntax vorbis win32codecs wxwindows x86 xcb xine xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded provide ctrlaltdel" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Lin 2007-01-28 04:34:31 UTC
Created attachment 108339 [details, diff]
scim-uim-0.1.4-remove-surrounding-text.patch

I can confirm.

app-i18n/scim-1.4.5-r1 and app-i18n/uim-1.3.1 are installed.
app-i18n/scim-uim-0.1.4 fails to compile, with the same error.
app-i18n/scim-uim-0.1.3 merges without any problems.

It seems that the problem is that scim-uim-0.1.4 uses an API which has changed.
http://lists.freedesktop.org/archives/uim/2006-October/001542.html
I don't understand it well enough to fix it for real, but this patch makes it at least compile.  I haven't tried running it.
Comment 2 Kazuo Teramoto 2007-02-09 19:22:37 UTC
(In reply to comment #1)
> I don't understand it well enough to fix it for real, but this patch makes it
> at least compile.  I haven't tried running it.
> 

I can confirm the patch, it compile and run ok.

app-i18n/scim-1.4.5-r1
app-i18n/uim-1.4.0
app-i18n/scim-uim-0.1.4
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2007-04-26 11:51:40 UTC
scim-uim-0.2.0 is released and the problem is fixed.

app-i18n/scim-uim-0.2.0 in cvs.