Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368755 - app-i18n/ibus-pinyin-1.3.99.20110217 "error: no match for ‘operator==’ in ‘PY::PinyinConfig" emake fail
Summary: app-i18n/ibus-pinyin-1.3.99.20110217 "error: no match for ‘operator==’ in ‘PY...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords: Bug, EBUILD
Depends on:
Blocks:
 
Reported: 2011-05-26 02:52 UTC by sigmax6
Modified: 2011-06-03 23:33 UTC (History)
0 users

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 sigmax6 2011-05-26 02:52:01 UTC
After ibus upgrade to 1.3.99.20110419-r1 , The ibus-pinyin from gentoo-china overlay upgrade from 1.3.11 to 1.3.99 emake fails. And the ibus-pinyin 1.3.11 no longer works with the new ibus, while anthy shill works well.

Reproducible: Always

Steps to Reproduce:
1.emerge ibus
2.emerge ibus-pinyin (USE="nls opencc -boost")
3.emake fail
Actual Results:  
"error: no match for ‘operator==’ in ‘PY::PinyinConfig"
Emake fails

Expected Results:  
emake success.

build log:
Build options:
    Version                     1.3.99.20110217
    Install prefix              /usr
    Use boost                   no
    Use opencc                  yes
    Build database android      yes
    Build database open-phrase  yes
    Build lua extension         no

>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217 ...
make -j3 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217'
Making all in data
make[2]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data'
Making all in db
make[3]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/db'
Making all in android
make[4]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/db/android'
  GEN    android.db
make[4]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/db/android'
Making all in open-phrase
make[4]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/db/open-phrase'
  GEN    stamp-db
  GEN    db/open-phrase.db
make[4]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/db/open-phrase'
make[4]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/db'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/db'
make[3]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/db'
Making all in icons
make[3]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data/icons'
make[3]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data'
make[2]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/data'
Making all in src
make[2]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/src'
make  all-am
make[3]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/src'
  CXX    ibus_engine_pinyin-PYBopomofoEditor.o
  CXX    ibus_engine_pinyin-PYBopomofoEngine.o
  CXX    ibus_engine_pinyin-PYConfig.o
  CXX    ibus_engine_pinyin-PYDatabase.o
  CXX    ibus_engine_pinyin-PYDoublePinyinEditor.o
PYConfig.cc: In static member function ‘static void PY::PinyinConfig::init(PY::Bus&)’:
PYConfig.cc:312:23: error: no match for ‘operator==’ in ‘PY::PinyinConfig::m_instance == 0l’
PYConfig.cc:312:23: note: candidate is: operator==(int, long int) <built-in>
PYConfig.cc: In static member function ‘static void PY::BopomofoConfig::init(PY::Bus&)’:
PYConfig.cc:435:23: error: no match for ‘operator==’ in ‘PY::BopomofoConfig::m_instance == 0l’
PYConfig.cc:435:23: note: candidate is: operator==(int, long int) <built-in>
make[3]: *** [ibus_engine_pinyin-PYConfig.o] Error 1
make[3]: *** Waiting for unfinished jobs....
PYDatabase.cc: In static member function ‘static void PY::Database::init()’:
PYDatabase.cc:721:23: error: no match for ‘operator==’ in ‘PY::Database::m_instance == 0l’
PYDatabase.cc:721:23: note: candidate is: operator==(int, long int) <built-in>
make[3]: *** [ibus_engine_pinyin-PYDatabase.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217'
make: *** [all] Error 2
emake failed
 [31;01m*[0m ERROR: app-i18n/ibus-pinyin-1.3.99.20110217 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   56:  Called src_compile
 [31;01m*[0m   environment, line 3065:  Called _eapi2_src_compile
 [31;01m*[0m     ebuild.sh, line  665:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   		emake || die "emake failed"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =app-i18n/ibus-pinyin-1.3.99.20110217',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =app-i18n/ibus-pinyin-1.3.99.20110217'.
 [31;01m*[0m This ebuild is from an overlay named 'gentoo-china': '/var/lib/layman/gentoo-china/'
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/temp/environment'.

emerge --info ibus-pinyin
Portage 2.1.9.49 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 25 May 2011 13:15:02 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.2
dev-util/ccache:          3.1.4
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirrors.xmu.edu.cn/gentoo http://mirrors.xmu.edu.cn/gentoo http://mirrors.ustc.edu.cn/gentoo ftp://mirrors.ustc.edu.cn/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ja zh_CN"
MAKEOPTS="-j3"
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="/home/sigmax6/Documents/SigmaOverlay /var/lib/layman/gentoo-china /var/lib/layman/desktop-effects"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion bzip2 cairo cjk consolekit cracklib curl dbus dri dri2 drm dvd encode expat fontconfig ftp gdbm gif glib gnutls gps gtk iconv immqt-bc ipv6 joystick jpeg mad mikmod mmx mp3 multilib ncurses networkmanager nls nptl ogg openal opengl oss pam pcre png policykit python qt3support qt4 quicktime raw readline sdl smp sndfile spell sse sse2 ssl ssse3 startup-notification svg tcpd theora thinkpad threads truetype udev unicode v4l2 vim-syntax vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="*" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en ja zh_CN" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-i18n/ibus-pinyin-1.3.11 was built with the following:
USE="(multilib) nls"
Comment 1 sigmax6 2011-05-26 02:52:55 UTC
Portage 2.1.9.49 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 25 May 2011 13:15:02 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.2
dev-util/ccache:          3.1.4
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirrors.xmu.edu.cn/gentoo http://mirrors.xmu.edu.cn/gentoo http://mirrors.ustc.edu.cn/gentoo ftp://mirrors.ustc.edu.cn/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ja zh_CN"
MAKEOPTS="-j3"
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="/home/sigmax6/Documents/SigmaOverlay /var/lib/layman/gentoo-china /var/lib/layman/desktop-effects"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion bzip2 cairo cjk consolekit cracklib curl dbus dri dri2 drm dvd encode expat fontconfig ftp gdbm gif glib gnutls gps gtk iconv immqt-bc ipv6 joystick jpeg mad mikmod mmx mp3 multilib ncurses networkmanager nls nptl ogg openal opengl oss pam pcre png policykit python qt3support qt4 quicktime raw readline sdl smp sndfile spell sse sse2 ssl ssse3 startup-notification svg tcpd theora thinkpad threads truetype udev unicode v4l2 vim-syntax vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="*" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en ja zh_CN" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-i18n/ibus-pinyin-1.3.11 was built with the following:
USE="(multilib) nls"
Comment 2 Mathieu Z 2011-06-03 16:16:41 UTC
Same as to this bug: #366045

There is a patch on the main tree. Just copy that over and do an epatch.
Comment 3 sigmax6 2011-06-03 23:33:51 UTC
There's a problem with the gentoo-china overlay. Use the main tree solves the problem.