Bug 36313 - im-ja 0.9 compile error
Bug#: 36313 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: TEST-REQUEST Assigned To: cjk@gentoo.org Reported By: plate@gentoo.org
Component: Applications
URL: 
Summary: im-ja 0.9 compile error
Keywords:  
Status Whiteboard: 
Opened: 2003-12-22 12:33 0000
Description:   Opened: 2003-12-22 12:33 0000
Hi, thanks for the quick ebuild! Forgot to tell you about B0Ti's 
announcement, but I suppose you've seen it yourself... :)

Unfortunately, im-ja 0.9 doesn't compile for me, here's the error:

In file included from canna_rk.c:28:
/usr/include/canna/RK.h:182:4: #error "You can't use old wide character for RK interface"
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"/usr/share/im-ja\" -DKPENGINEDIR=\"/usr/lib/im-ja\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDISABLE_WNN  -O3 -march=pentium3 -pipe -MT im_ja_conf-im-ja-conf.o -MD -MP -MF ".deps/im_ja_conf-im-ja-conf.Tpo" \
  -c -o im_ja_conf-im-ja-conf.o `test -f 'im-ja-conf.c' || echo './'`im-ja-conf.c; \
then mv -f ".deps/im_ja_conf-im-ja-conf.Tpo" ".deps/im_ja_conf-im-ja-conf.Po"; \
else rm -f ".deps/im_ja_conf-im-ja-conf.Tpo"; exit 1; \
fi
make[2]: *** [im_ja_la-canna_rk.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/im-ja-0.9/work/im-ja-0.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/im-ja-0.9/work/im-ja-0.9'
make: *** [all] Error 2

!!! ERROR: app-i18n/im-ja-0.9 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure

Environment information:

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.2.5-r2,2.3.3_pre20031212-r0, 2.6.0-test10-mm1)
=================================================================
System uname: 2.6.0-test10-mm1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo canna cdr cjk crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xface xfs xml2 xmms xv"

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2003-12-23 01:14:42 0000 -------
I had been watching for a new release ;) Which version of canna are you using?
(`epm -q canna` or `qpkg -I -v app-i18n/canna`)I guess you are using canna-3.7
and if so you need a patch for new wide character interface (I'll make it
anyway).

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2003-12-23 02:51:00 0000 -------
The problem was reproducable here with canna 3.7 and so I added a patch
to fix it. Please run `emerge sync` and try again.

------- Comment #3 From Ulrich Plate (RETIRED) 2003-12-23 04:26:47 0000 -------
You're right, that's exactly what had happened... :)

# qpkg -I -v canna
app-i18n/canna-3.7 *

Thanks for catching this! Your patch works nicely:

>>> app-i18n/im-ja-0.9 merged.

よいお年を!