Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238381 - app-i18n/scim-tomoe-0.6.0 - scim_tomoe_prefs_widget.cpp:250: error: 'strcmp' was not declared in this scope
Summary: app-i18n/scim-tomoe-0.6.0 - scim_tomoe_prefs_widget.cpp:250: error: 'strcmp' ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 12:08 UTC by Maxime G.
Modified: 2008-09-23 16:08 UTC (History)
0 users

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


Attachments
Complete build.log (build.log,17.51 KB, text/plain)
2008-09-22 12:09 UTC, Maxime G.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime G. 2008-09-22 12:08:22 UTC
Error:
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DSCIM_TOMOE_LOCALEDIR=\"/usr/share/locale\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_TOMOE_DATADIR=\"/usr/share/scim/tomoe\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/tomoe/gtk -I/usr/include/tomoe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/scim-1.0 -I/usr/include/tomoe -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=native -pipe -MT tomoe_la-scim_tomoe_prefs_widget.lo -MD -MP -MF .deps/tomoe_la-scim_tomoe_prefs_widget.Tpo -c scim_tomoe_prefs_widget.cpp  -fPIC -DPIC -o .libs/tomoe_la-scim_tomoe_prefs_widget.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DSCIM_TOMOE_LOCALEDIR=\"/usr/share/locale\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_TOMOE_DATADIR=\"/usr/share/scim/tomoe\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/tomoe/gtk -I/usr/include/tomoe -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/scim-1.0 -I/usr/include/tomoe -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=native -pipe -MT tomoe_la-scim_tomoe.lo -MD -MP -MF .deps/tomoe_la-scim_tomoe.Tpo -c scim_tomoe.cpp  -fPIC -DPIC -o .libs/tomoe_la-scim_tomoe.o
scim_tomoe_prefs_widget.cpp: In function 'void set_default_font(ScimTomoePrefsWidget*, const gchar*, GtkWidget*)':
scim_tomoe_prefs_widget.cpp:250: error: 'strcmp' was not declared in this scope
make[2]: *** [tomoe_la-scim_tomoe_prefs_widget.lo] Error 1

Reproducible: Always

Steps to Reproduce:
1. emerge app-i18n/scim-tomoe on ~x86 system
2.
3.




emerge --info:
Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.20GHz-with-glibc2.0
Timestamp of tree: Sun, 21 Sep 2008 23:30:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -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/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="fr_FR"
LC_ALL="fr_FR.utf8"
LDFLAGS="-Wl,--hash-style=both"
LINGUAS="fr"
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/layman/xwing /usr/local/portage/layman/desktop-effects /usr/local/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86" 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maxime G. 2008-09-22 12:09:42 UTC
Created attachment 166087 [details]
Complete build.log
Comment 2 Rafał Mużyło 2008-09-22 14:55:42 UTC
Looks like a standard gcc 4.3.1 problem.
Strange, it did not get caught earlier,
after all it seems that in the last year
there were no releases of scim-tomoe.
Comment 3 Rafał Mużyło 2008-09-22 16:28:41 UTC
That was of course: ..."a standard gcc 4.3 problem"

Add this bug to the tracker.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-22 17:17:58 UTC
Looks like a gcc 4.3 strict headers issue.
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2008-09-23 16:08:31 UTC
fixed in cvs.