Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353949 - app-i18n/uim-1.6.1 - In file included from dict-canna.c:40:0: /usr/include/canna/RK.h:182:4: error: #error "You can't use old wide character for RK interface"
Summary: app-i18n/uim-1.6.1 - In file included from dict-canna.c:40:0: /usr/include/ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 11:20 UTC by Jack Daniel Groth-Pinnerup
Modified: 2011-08-28 15:57 UTC (History)
1 user (show)

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


Attachments
Complete build log (build.log,203.54 KB, text/plain)
2011-02-07 11:21 UTC, Jack Daniel Groth-Pinnerup
Details
patch for helper/dict-canna.c in uim 1.6.1 (uim-1.6.1-canna.patch,193 bytes, patch)
2011-04-18 09:35 UTC, Muneyuki Noguchi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Daniel Groth-Pinnerup 2011-02-07 11:20:01 UTC
I am unable to emerge uim-1.6.1. The error message is:
/usr/include/canna/RK.h:182:4: error: #error "You can't use old wide character for RK interface"

Output of emerge -pqv =app-i18n/uim-1.6.1:
[ebuild  N    ] app-i18n/uim-1.6.1  USE="X anthy canna curl gtk libnotify m17n-lib ncurses nls sqlite ssl unicode -eb -emacs -ffi -gnome -kde -libedit -prime -qt4 -skk -test -xft" LINGUAS="ja -ko -zh_CN -zh_TW" 

Output of emerge --info =app-i18n/uim-1.6.1
Portage 2.1.9.35 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.36-tuxonice-r3 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-tuxonice-r3-i686-Intel-R-_Celeron-R-_M_processor_1.50GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 01 Feb 2011 21:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.2-r4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula googleearth AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -msse2 -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -msse2 -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.lecl.net/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en da ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/desktop-effects /var/lib/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa anthy apache2 bash-completion berkdb bluetooth branding bzip2 cairo canna cdparanoia cdr chasen cjk cli cracklib crypt css cups curl cxx dbus dri dts dvd dvdr emboss encode exif fbcon fbcondecor ffmpeg firefox flac fontconfig fortran freewnn ftp furigana gd gdbm gdu gif gimp glib gpm gtk hal iconv icq icu imagemagick imap immqt-bc ipv6 jabber java jingle jpeg jpeg2k json kpathsea lcms ldap libcaca libnotify m17n-lib matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap mysql mysqli ncurses nls nocd nptl nptlonly nsplugin offensive ogg opengl openmp oscar pango pcre pdf perl php png policykit ppds pppd python rar rdesktop readline rss samba scim sdl session spell sqlite sse sse2 ssl startup-notification svg svga swat sysfs taglib tcpd tidy tiff tokenizer truetype udev unicode usb vnc vorbis webkit wifi win32codecs wxwidgets x264 x86 xcb xetex xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en da ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I will attach the full build log if I figure out how.
Comment 1 Jack Daniel Groth-Pinnerup 2011-02-07 11:21:18 UTC
Created attachment 261703 [details]
Complete build log
Comment 2 Jack Daniel Groth-Pinnerup 2011-02-07 11:31:23 UTC
I can compile it with USE="-gtk", so the problem is somehow related to GTK.
Comment 3 Muneyuki Noguchi 2011-04-09 14:54:55 UTC
What if emerge uim with (In reply to comment #2)
> I can compile it with USE="-gtk", so the problem is somehow related to GTK.

You failed to compile uim-dict-gtk and with USE="-gtk" you can avoid compiling uim-dict-gtk.

I guess that you can emerge uim with USE="gtk -canna". Which version of app-i18n/canna are you using?
Comment 4 Jack Daniel Groth-Pinnerup 2011-04-13 13:14:22 UTC
> I guess that you can emerge uim with USE="gtk -canna".
No, as a matter of fact, I cannot. Same error message.

> Which version of app-i18n/canna are you using?
app-i18n/canna-3.7_p3-r2
Comment 5 Muneyuki Noguchi 2011-04-18 09:35:55 UTC
Created attachment 270353 [details, diff]
patch for helper/dict-canna.c
 in uim 1.6.1

Canna changed wide character APIs at version 3.7. This bug seems to relate to the change. I hope that this patch works.
Comment 6 Jack Daniel Groth-Pinnerup 2011-06-12 09:24:10 UTC
The patch works like a charm!

It also works for uim-1.7.0, which had the same problem.
Comment 7 Muneyuki Noguchi 2011-08-26 14:23:55 UTC
(In reply to comment #6)
> The patch works like a charm!
> 
> It also works for uim-1.7.0, which had the same problem.

I applied the patch above to the upstream repository. You can emerge uim-1.7.1 without the patch.
Comment 8 Naohiro Aota gentoo-dev 2011-08-28 15:57:17 UTC
Added the patch to 1.6.1 and 1.7.0. Thanks