freewnn-1.1.1 does not compile on the amd64 platform. Here's the error message: gcc -O2 -fno-strength-reduce -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -I../.. -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_CONFIG_H -c ../../PubdicPlus/pod.c cat special.hd special.u | ../../Wnn/jutil/atod -p Version -P Version -h ../../Wnn/jd/hinsi.data special.dic make[2]: *** [special.dic] Error 139 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/freewnn-1.1.1_alpha20/work/FreeWnn-1.10-pl020/Wnn/pubdicplus' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/freewnn-1.1.1_alpha20/work/FreeWnn-1.10-pl020/Wnn' make: *** [all] Error 1 !!! ERROR: app-i18n/freewnn-1.1.1_alpha20 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge freewnn Actual Results: compilation failed :-( Expected Results: compilation should have succeeded ;-) Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 x86_64 4 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ http://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 apm arts avi berkdb bonobo canna cdr cjk crypt cups dvd dvdr emacs encode esd foomaticdb freewnn gdbm gif gnome gphoto2 gpm gtk gtk2 imap imlib java jpeg kde libg++ libwww mikmod motif mozilla mpeg mule ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype unicode xml2 xmms xv zlib"
could you include more of the error if there is any? a temporary solution until this freewnn error is fixed might be to use canna, or im-ja if it works (im-ja is currently masked on amd64). My japanese fluent friend alexis swears by im-ja... it includes gtk2 and XIM input modules, so it's probably not usefull unless you're in xfree.
ok, after a couple hours of trying to forward port x86_64 fixes from fedora's freewnn src rpm, I've come to the conclusion that freewnn should be masked on amd64, and both canna and im-ja build on amd64. im-ja should be unmasked... I'll post an ebuild for an older version of FreeWnn that works within a day or two, depending on how much schoolwork accumulates during that time.
Created attachment 28348 [details] Complete outpur of "emerge --verbose freewnn" As requested, here is some more verbose output of the described error. The attached bzipped log file includes the complete results from "emerge --verbose freewnn 2>&1 | tee emerge-freewnn-amd64.log". (Interestingly, the last three lines of the file - "Calculating dependencies..." - actually appear at the beginning of the output when not redirected. I wonder why.)
I agree that canna is a good replacement for freewnn. I am using both on other computers and do not prefer one over the other. I'll be using canna on the Athlon 64 then... Thanks for your suggestions.
cjk herd - are you ok with an amd64-only version of freewnn alpha17, with the alpha20 masked on amd64?
matsuu, could you check this bug and report back, please? (he has amd64)
It is fact that freewnn-1.1.1 does not compile on amd64. I try to debug code. But it will take some time before.
I can get alpha17 to compile... but the patches wont apply to alpha20. :/ the patches are mostly from the latest fedora test version, they include freewnn in their x86_64 version.
so... matsuu. any objections to an alpha17 ebuild?
Created attachment 30495 [details] freewnn-1.1.1_alpha17.ebuild
Created attachment 30496 [details] FreeWnn-1.1.1-fix-x86-64-61907.patch
Created attachment 30497 [details] FreeWnn-ia64.patch
sorry I'm late. I create ebuild but it did not works with kinput2 on my env.
i take it then that you wouldn't mind an amd64 specific ebuild that's a bit behind the times? i'll start ripping apart other dists and mailing lists in search of useful patches then. :) i cant do too too much testing, however, as my japanese skills are pretty much non-existant... is there anything essential in the newer alpha20 that i should be attempting to backport to alpha17?
ok, the committed ebuild of alpha17 should work on amd64 and s390. big accent on should.
crap, nevermind. it seems to be failing on kwnn even though kwnn is disabled.
it also seems to be ignoring --without-termcap. i got it to compile outside the ebuild... removing ebuild and patches until i figure out what kind of brain fart messed up the build 0.o
haha, nevermind. no wonder why it wouldnt work... i copied over files from the wrong directory. *hangs head*
fixed in freewnn-1.1.1_alpha20-r1.