why is not 0.7-p2 used ? I see the ebuild file in the portage tree ... gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBCANNA=1 -DHAVE_LIBCRYPT=1 -DHAVE_LIBWNN=1 -I. -I. -Wall -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"/usr/share/im-ja\" -DBINDIR=\"/usr/bin\" -DORBIT2=1 -pthread -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 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -Wp,-MD,.deps/wnnlib.pp -c wnnlib.c -fPIC -DPIC -o wnnlib.lo wnnlib.c: In function `jcOpen2': wnnlib.c:3478: warning: implicit declaration of function `getuid' wnnlib.c:3554: warning: implicit declaration of function `access' wnnlib.c:3554: `R_OK' undeclared (first use in this function) wnnlib.c:3554: (Each undeclared identifier is reported only once wnnlib.c:3554: for each function it appears in.) make[1]: *** [wnnlib.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/im-ja-0.4/work/im-ja-0.4/src' make: *** [all-recursive] Error 1 !!! ERROR: app-i18n/im-ja-0.4 failed. !!! Function src_compile, Line 24, Exitcode 2 !!! make failed Reproducible: Always Steps to Reproduce: 1. emerge im-ja 2. 3. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test4-20030903-1) ================================================================= System uname: 2.6.0-test4-20030903-1 i686 Celeron (Coppermine) ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.gg3.net/ http://mirror.gentoo.gr.jp/ http://gentoo.oregonstate.edu/ http://www.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.asia.gentoo.org/gentoo-portage" USE="oss apm encode foomaticdb mad mikmod pdflib spell esd aalib acl alsa apache2 arts avi berkdb bonobo canna cjk crypt cscope cups curl dga directfb ethereal fbcon freetds freewnn gd gdbm gif gnome gpm gtk gtk2 gtkhtml imap imlib innodb ipv6 java jpeg kde kerberos krb4 lcms libg++ libwww maildir mbox mcal mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl pam perl png postgres python qt quicktime readline ruby samba sasl sdl slang snmp sse ssl svga tcltk tcpd tetex tiff truetype usb wmf X xml xml2 xmms xv zlib x86"
Have you tried another version, say 0.7_p2, and seen the same problem? It is still marked as unstable atm, so you need to # ACCEPT_KEYWORDS="~x86" emerge im-ja to build 0.7_p2.
I modified im-ja-0.4.ebuild and im-ja-0.6.ebuild to fix the problem. Also I marked 0.6 as stable on x86 (it was committed 2 months ago ...). Please `emerge sync` and try again.
I don't want to make my system unstable, that's why I don't use ~x86 ... anyway, 0.6 also fails to build gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include/canna -I/usr/include/wnn -Wall -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"/usr/share/im-ja\" -DKPENGINEDIR=\"/usr/lib/im-ja\" -DORBIT2=1 -pthread -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 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -Wp,-MD,.deps/wnnlib.pp -c wnnlib.c -fPIC -DPIC -o wnnlib.lo wnnlib.c: In function `jcOpen2': wnnlib.c:3474: warning: implicit declaration of function `getuid' wnnlib.c:3550: warning: implicit declaration of function `access' wnnlib.c:3550: `R_OK' undeclared (first use in this function) wnnlib.c:3550: (Each undeclared identifier is reported only once wnnlib.c:3550: for each function it appears in.) make[2]: *** [wnnlib.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include/canna -I/usr/include/wnn -Wall -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"/usr/share/im-ja\" -DKPENGINEDIR=\"/usr/lib/im-ja\" -DORBIT2=1 -pthread -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 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -Wp,-MD,.deps/wstring.pp -c wstring.c -fPIC -DPIC -o wstring.lo make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/im-ja-0.6/work/im-ja-0.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/im-ja-0.6/work/im-ja-0.6' make: *** [all-recursive-am] Error 2 !!! ERROR: app-i18n/im-ja-0.6 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! make failed
Please try # rm `gcc-config -L`/include/wnn/commonhd.h and emerge again. Thanks,
I just recieved this patch to the im-ja-devel mailing list. This should solve the issue. BTW, this has been reported for 0.8. See http://sourceforge.net/mailarchive/forum.php?thread_id=3115465&forum_id=29602 There has been another minor complaint about the ebuild (I know this should be a seperate bugreport;): http://sourceforge.net/mailarchive/forum.php?thread_id=3111565&forum_id=29602 *** src/wnnlib.c.orig Tue Sep 2 15:42:48 2003 --- src/wnnlib.c Tue Sep 2 15:42:58 2003 *************** *** 585,590 **** --- 585,591 ---- #include <string.h> #include <stdlib.h> #include <pwd.h> + #include <unistd.h> #ifndef ENVDIR #define ENVDIR "/usr/share/wnn"
I put that patch on 5 September for im-ja-0.6 so the problem will be solved now ;-) (Sorry I forgot to post it here) Clemens, if you still have the same problem with im-ja-0.6, please reopen this bug again.