Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 162500
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ira Snyder <devel@irasnyder.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scim-uim-0.1.4-remove-surrounding-text.patch scim-uim-0.1.4-remove-surrounding-text.patch patch Daniel Lin 2007-01-28 04:34 0000 1.84 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 162500 depends on: Show dependency tree
Bug 162500 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-17 08:32 0000
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 From Daniel Lin 2007-01-28 04:34:31 0000 -------
Created an attachment (id=108339) [details]
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 From Kazuo Teramoto 2007-02-09 19:22:37 0000 -------
(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 From MATSUU Takuto 2007-04-26 11:51:40 0000 -------
scim-uim-0.2.0 is released and the problem is fixed.

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug