Bug 227689 - app-i18n/scim-pinyin-0.5.91-r1 - error: memset was not declared in this scope
Bug#: 227689 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cjk@gentoo.org Reported By: horigen@gmail.com
Component: Applications
URL: 
Summary: app-i18n/scim-pinyin-0.5.91-r1 - error: memset was not declared in this scope
Keywords:  
Status Whiteboard: 
Opened: 2008-06-17 06:04 0000
Description:   Opened: 2008-06-17 06:04 0000
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I..
-I../src -I../intl -DSCIM_ICONDIR=\"/usr/share/scim/icons\"
-DSCIM_PINYIN_LOCALEDIR=\"/usr/share/locale\"
-DSCIM_PINYIN_DATADIR=\"/usr/share/scim/pinyin\"
-DSCIM_SMART_PINYIN_ICON_FILE=\"/usr/share/scim/icons/smart-pinyin.png\"
-I/usr/include/scim-1.0 -O2 -march=pentium-m -pipe -MT
pinyin_la-scim_pinyin_imengine.lo -MD -MP -MF
.deps/pinyin_la-scim_pinyin_imengine.Tpo -c scim_pinyin_imengine.cpp  -fPIC
-DPIC -o .libs/pinyin_la-scim_pinyin_imengine.o
scim_pinyin.cpp: In member function ���void
PinyinValidator::initialize(const PinyinTable*)���:
scim_pinyin.cpp:687: error: ���memset��� was not declared in this
scope
scim_pinyin.cpp: In member function ���virtual int
PinyinDefaultParser::parse_one_key(const PinyinValidator&, PinyinKey&, const
char*, int) const���:
scim_pinyin.cpp:829: error: ���strlen��� was not declared in this
scope
scim_pinyin.cpp: In member function ���virtual int
PinyinDefaultParser::parse(const PinyinValidator&, PinyinParsedKeyVector&,
const char*, int) const���:
scim_pinyin.cpp:882: error: ���strlen��� was not declared in this
scope
scim_pinyin.cpp: In member function ���int
PinyinDefaultParser::parse_initial(PinyinInitial&, const char*, int)
const���:
scim_pinyin.cpp:1027: error: ���strlen��� was not declared in this
scope
scim_pinyin.cpp: In member function ���int
PinyinDefaultParser::parse_final(PinyinFinal&, const char*, int)
const���:
scim_pinyin.cpp:1060: error: ���strlen��� was not declared in this
scope
scim_pinyin.cpp: In member function ���virtual int
PinyinShuangPinParser::parse_one_key(const PinyinValidator&, PinyinKey&, const
char*, int) const���:
scim_pinyin.cpp:1113: error: ���strlen��� was not declared in this
scope
scim_pinyin.cpp: In member function ���virtual int
PinyinShuangPinParser::parse(const PinyinValidator&, PinyinParsedKeyVector&,
const char*, int) const���:
scim_pinyin.cpp:1206: error: ���strlen��� was not declared in this
scope
scim_pinyin.cpp: In member function ���bool
PinyinTable::input(std::istream&)���:
scim_pinyin.cpp:1569: error: ���strlen��� was not declared in this
scope
scim_pinyin.cpp:1569: error: ���strncmp��� was not declared in this
scope
scim_pinyin.cpp:1580: error: ���strlen��� was not declared in this
scope
scim_pinyin.cpp:1580: error: ���strncmp��� was not declared in this
scope
scim_pinyin_imengine.cpp: In member function ���bool
PinyinFactory::init()���:
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
scim_pinyin_imengine.cpp:216: warning: deprecated conversion from string
constant to ���char*���
make[2]: *** [libpinyin_la-scim_pinyin.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/pinyin_la-scim_pinyin_imengine.Tpo
.deps/pinyin_la-scim_pinyin_imengine.Plo
make[2]: Leaving directory
`/var/tmp/portage/app-i18n/scim-pinyin-0.5.91-r1/work/scim-pinyin-0.5.91/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-i18n/scim-pinyin-0.5.91-r1/work/scim-pinyin-0.5.91'
make: *** [all] Error 2
 * 
 * ERROR: app-i18n/scim-pinyin-0.5.91-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3330:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/app-i18n/scim-pinyin-0.5.91-r1/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/app-i18n/scim-pinyin-0.5.91-r1/temp/environment'.
 * 


Portage 2.1.5.5 (default/linux/x86/2008.0/desktop, gcc-4.3.1,
glibc-2.8_p20080602-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Mon, 16 Jun 2008 10:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
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/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distfiles.gentoo.org/"
LANG="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en en_US zh zh_CN zh_TW zh_HK"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib acl acpi alsa amrnb amrwb avahi bash-completion
berkdb bidi bl bluetooth branding bzip2 cairo cdr cgi cjk clamav cli
cpudetection cracklib crypt css cups curl curlwrappers custom-cflags
custom-cpuopts cvs cxx dbus dell dga dri dts dv dvd dvdr dvdread eds emboss
enca encode enscript esd evo fam ffmpeg firefox flac fltk fontconfig fortran
ftp gdbm geoip gif gnome gnome-keyring gnuplot gnutls gpm gstreamer gtk gtkhtml
hal hddtemp iconv icq idn ieee1394 imap inifile ipv6 isdnlog java javascript
jpeg jpeg2k kerberos laptop latex ldap libcaca libgda libnotify libssh2 libwww
live lm_sensors lzo mad md5sum mdnsresponder-compat midi mikmod mime mmx mono
mozilla mp3 mpeg mplayer msn mudflap musepack ncurses nemesi networkmanager nls
nntp nptl nptlonly nsplugin nss ogg openal openexr opengl openmp osc oss pam
pcmcia pcre pdf perl php plotutils png portaudio ppds pppd python quicktime rar
raw readline real reflection rss samba scanner sdl session shorten snmp sockets
socks5 speex spell spl srt sse sse2 ssl startup-notification subtitles svg tcpd
theora tiff truetype unicode usb vorbis wavpack wifi win32codecs wmf x264 x86
xanim xattr xcomposite xinetd xml xorg xscreensaver xv xvid yahoo zip 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 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 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 vhost_alias"
ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en en_US zh zh_CN zh_TW zh_HK" USERLAND="GNU"
VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1.emerge scim-pinyin
2.
3.

------- Comment #1 From MATSUU Takuto 2008-06-21 04:42:31 0000 -------
Fixed in scim-pinyin-0.5.91-r2. thanks.