Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239621 - app-i18n/scim-uim-0.2.0 fails to build
Summary: app-i18n/scim-uim-0.2.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 18:31 UTC by Evil Compile Person
Modified: 2009-05-08 02:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2008-10-04 18:31:31 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_UIM_ICON_FILE=\"/usr/share/scim/icons/scim-uim.png\" -I/usr/include/scim-1.0 -I/usr/include/uim -O2 -pipe -MT uim_la-scim_uim_imengine.lo -MD -MP -MF .deps/uim_la-scim_uim_imengine.Tpo -c scim_uim_imengine.cpp  -fPIC -DPIC -o .libs/uim_la-scim_uim_imengine.o                                        
scim_uim_imengine.cpp: In function 'scim::uint32 uim_LTX_scim_imengine_module_init(const scim::ConfigPointer&)':                                                      
scim_uim_imengine.cpp:247: error: 'strncmp' was not declared in this scope         
make[2]: *** [uim_la-scim_uim_imengine.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/scim-uim-0.2.0/work/scim-uim-0.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/scim-uim-0.2.0/work/scim-uim-0.2.0'
make: *** [all] Error 2
 *
 * ERROR: app-i18n/scim-uim-0.2.0 failed.

Portage 2.2_rc11 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-hardened-r4 x86_64)                                                           
=================================================================                  
System uname: Linux-2.6.25-hardened-r4-x86_64-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-glibc2.2.5                                                                    
Timestamp of tree: Fri, 03 Oct 2008 15:15:02 +0000                                 
ccache version 2.4 [disabled]                                                      
app-shells/bash:     3.2_p39                                                       
dev-java/java-config: 1.3.7, 2.1.6-r1                                              
dev-lang/python:     2.5.2-r8                                                      
dev-python/pycrypto: 2.0.1-r6                                                      
dev-util/ccache:     2.4-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.63                                                          
sys-devel/automake:  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="amd64 ~amd64"                                                     
CBUILD="x86_64-pc-linux-gnu"                                                       
CFLAGS="-O2 -pipe"                                                                 
CHOST="x86_64-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/splash /etc/terminfo /etc/udev/rules.d"                                                                  
CXXFLAGS="-O2 -pipe"                                                               
DISTDIR="/usr/portage/distfiles"                                                   
FEATURES="buildpkg distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                             
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/Linux/distributions/gentoo"                 
LDFLAGS="-Wl,-O1"                                                                  
MAKEOPTS="-j4"                                                                     
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly objc openmp pampcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-16 17:26:22 UTC
Fixed in cvs.
Comment 2 Mark Purtill 2009-05-07 05:27:54 UTC
I seem to be having the exact same problem; should I open a new bug?

/bin/sh ../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_UIM_ICON_FILE=\"/usr/share/scim/icons/scim-uim.png\"   -I/usr/include/scim-1.0    -I/usr/include/uim   -march=core2 -g -O2 -pipe -MT uim_la-scim_uim_imengine.lo -MD -MP -MF .deps/uim_la-scim_uim_imengine.Tpo -c -o uim_la-scim_uim_imengine.lo `test -f 'scim_uim_imengine.cpp' || echo './'`scim_uim_imengine.cpp
mkdir .libs
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_UIM_ICON_FILE=\"/usr/share/scim/icons/scim-uim.png\" -I/usr/include/scim-1.0 -I/usr/include/uim -march=core2 -g -O2 -pipe -MT uim_la-scim_uim_imengine.lo -MD -MP -MF .deps/uim_la-scim_uim_imengine.Tpo -c scim_uim_imengine.cpp  -fPIC -DPIC -o .libs/uim_la-scim_uim_imengine.o
scim_uim_imengine.cpp: In function 'scim::uint32 uim_LTX_scim_imengine_module_init(const scim::ConfigPointer&)':
scim_uim_imengine.cpp:247: error: 'strncmp' was not declared in this scope
make[2]: *** [uim_la-scim_uim_imengine.lo] Error 1

emerge --info:

Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Thu, 07 May 2009 04:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -g -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -g -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/"
LDFLAGS="-Wl,-O1"
LINGUAS="en ja"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl alsa amd64 bbdb berkdb bluetooth bzip2 cairo canna cdr cjk cli cracklib crypt dri dts dvd emacs esd firefox fortran freewnn gdbm gimp gpm gtk iconv imagemagick ipv6 isdnlog jadetex java joystick jpeg kde kdehiddenvisibility lm_sensors maildir matroska mbox midi mmx mng mpeg mplayer mudflap mule multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pic png pppd python qt3 quicktime readline reflection ruby scanner session spl sse sse2 ssl sysfs tcpd tetex tiff truetype unicode usb vcd vorbis wmf x264 xine xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2009-05-07 15:01:18 UTC
Could you try 0.2.0-r1?
Comment 4 Mark Purtill 2009-05-08 01:17:03 UTC
0.2.0-r1 appears to compile and install fine.
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2009-05-08 02:15:43 UTC
ok, I opened bug #268943.