Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46021 - freewnn-1.1.1 does not compile on amd64 platform
Summary: freewnn-1.1.1 does not compile on amd64 platform
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-28 12:51 UTC by Christoph Terhechte
Modified: 2004-07-01 15:13 UTC (History)
2 users (show)

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


Attachments
Complete outpur of "emerge --verbose freewnn" (emerge-freewnn-amd64.log.bz2,6.57 KB, application/x-bzip2)
2004-03-29 23:38 UTC, Christoph Terhechte
Details
freewnn-1.1.1_alpha17.ebuild (freewnn-1.1.1_alpha17.ebuild,1.40 KB, text/plain)
2004-05-01 23:57 UTC, MATSUU Takuto (RETIRED)
Details
FreeWnn-1.1.1-fix-x86-64-61907.patch (FreeWnn-1.1.1-fix-x86-64-61907.patch,2.54 KB, text/plain)
2004-05-01 23:58 UTC, MATSUU Takuto (RETIRED)
Details
FreeWnn-ia64.patch (FreeWnn-ia64.patch,541 bytes, text/plain)
2004-05-01 23:58 UTC, MATSUU Takuto (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Terhechte 2004-03-28 12:51:11 UTC
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"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-03-29 18:45:58 UTC
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.
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-03-29 20:09:31 UTC
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.
Comment 3 Christoph Terhechte 2004-03-29 23:38:47 UTC
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.)
Comment 4 Christoph Terhechte 2004-03-29 23:41:34 UTC
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.
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2004-03-30 08:48:06 UTC
cjk herd - are you ok with an amd64-only version of freewnn alpha17, with the alpha20 masked on amd64?
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-03-31 11:51:42 UTC
matsuu, could you check this bug and report back, please? (he has amd64)
Comment 7 MATSUU Takuto (RETIRED) gentoo-dev 2004-04-01 15:47:45 UTC
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.
Comment 8 Travis Tilley (RETIRED) gentoo-dev 2004-04-02 18:48:03 UTC
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.
Comment 9 Travis Tilley (RETIRED) gentoo-dev 2004-04-11 00:31:25 UTC
so... matsuu. any objections to an alpha17 ebuild?
Comment 10 MATSUU Takuto (RETIRED) gentoo-dev 2004-05-01 23:57:43 UTC
Created attachment 30495 [details]
freewnn-1.1.1_alpha17.ebuild
Comment 11 MATSUU Takuto (RETIRED) gentoo-dev 2004-05-01 23:58:07 UTC
Created attachment 30496 [details]
FreeWnn-1.1.1-fix-x86-64-61907.patch
Comment 12 MATSUU Takuto (RETIRED) gentoo-dev 2004-05-01 23:58:35 UTC
Created attachment 30497 [details]
FreeWnn-ia64.patch
Comment 13 MATSUU Takuto (RETIRED) gentoo-dev 2004-05-02 00:00:48 UTC
sorry I'm late.
I create ebuild but it did not works with kinput2 on my env.
Comment 14 Travis Tilley (RETIRED) gentoo-dev 2004-05-05 02:11:55 UTC
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?
Comment 15 Travis Tilley (RETIRED) gentoo-dev 2004-05-10 15:09:18 UTC
ok, the committed ebuild of alpha17 should work on amd64 and s390. big accent on should.
Comment 16 Travis Tilley (RETIRED) gentoo-dev 2004-05-10 15:15:35 UTC
crap, nevermind. it seems to be failing on kwnn even though kwnn is disabled.
Comment 17 Travis Tilley (RETIRED) gentoo-dev 2004-05-10 15:27:33 UTC
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
Comment 18 Travis Tilley (RETIRED) gentoo-dev 2004-05-10 16:04:51 UTC
haha, nevermind. no wonder why it wouldnt work... i copied over files from the wrong directory. *hangs head*
Comment 19 MATSUU Takuto (RETIRED) gentoo-dev 2004-07-01 15:13:50 UTC
fixed in freewnn-1.1.1_alpha20-r1.