Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406863 - app-i18n/ibus-unikey-0.6.0 - engine.cpp:324:43: error: ‘struct IBusProperty’ has no member named ‘key’
Summary: app-i18n/ibus-unikey-0.6.0 - engine.cpp:324:43: error: ‘struct IBusProperty’ ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-04 09:49 UTC by tman
Modified: 2012-03-06 11:40 UTC (History)
1 user (show)

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


Attachments
/var/log/portage/app-i18n:ibus-unikey-0.6.0:20120304-104148.log (app-i18n:ibus-unikey-0.6.0:20120304-104148.log,14.49 KB, text/plain)
2012-03-04 09:50 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2012-03-04 09:49:49 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../ukengine -DPKGDATADIR=\"/usr/share/ibus-unikey\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBEXECDIR=\"/usr/libexec\" -Wall   -pthread -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=core2 -O2 -pipe -c -o ibus_engine_unikey-main.o `test -f 'main.cpp' || echo './'`main.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../ukengine -DPKGDATADIR=\"/usr/share/ibus-unikey\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBEXECDIR=\"/usr/libexec\" -Wall   -pthread -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=core2 -O2 -pipe -c -o ibus_engine_unikey-engine.o `test -f 'engine.cpp' || echo './'`engine.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../ukengine -DPKGDATADIR=\"/usr/share/ibus-unikey\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBEXECDIR=\"/usr/libexec\" -Wall   -pthread -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=core2 -O2 -pipe -c -o ibus_engine_unikey-utils.o `test -f 'utils.cpp' || echo './'`utils.cpp
  GEN    unikey.xml
engine.cpp: In function ‘void ibus_unikey_engine_property_activate(IBusEngine*, const gchar*, guint)’:
engine.cpp:324:43: error: ‘struct IBusProperty’ has no member named ‘key’
engine.cpp:338:43: error: ‘struct IBusProperty’ has no member named ‘key’
engine.cpp:339:31: error: ‘struct IBusProperty’ has no member named ‘state’
engine.cpp:341:31: error: ‘struct IBusProperty’ has no member named ‘state’
engine.cpp:370:43: error: ‘struct IBusProperty’ has no member named ‘key’
engine.cpp:384:43: error: ‘struct IBusProperty’ has no member named ‘key’
engine.cpp:385:31: error: ‘struct IBusProperty’ has no member named ‘state’
engine.cpp:387:31: error: ‘struct IBusProperty’ has no member named ‘state’
engine.cpp:411:35: error: ‘struct IBusProperty’ has no member named ‘key’
engine.cpp:413:23: error: ‘struct IBusProperty’ has no member named ‘state’
engine.cpp:436:35: error: ‘struct IBusProperty’ has no member named ‘key’
engine.cpp:438:23: error: ‘struct IBusProperty’ has no member named ‘state’
engine.cpp:462:35: error: ‘struct IBusProperty’ has no member named ‘key’
engine.cpp:464:23: error: ‘struct IBusProperty’ has no member named ‘state’
engine.cpp: In function ‘void* thread_run_setup(void*)’:
engine.cpp:988:57: warning: ignoring return value of ‘FILE* popen(const char*, const char*)’, declared with attribute warn_unused_result
make[2]: *** [ibus_engine_unikey-engine.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/ibus-unikey-0.6.0/work/ibus-unikey-0.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/ibus-unikey-0.6.0/work/ibus-unikey-0.6.0'
make: *** [all] Error 2
 * ERROR: app-i18n/ibus-unikey-0.6.0 failed (compile phase):
 *   emake failed


Reproducible: Always




Portage 2.2.0_alpha89_p5 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.9-gentoo x86_64)
=================================================================
System uname: Linux-3.2.9-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sun, 04 Mar 2012 07:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          9999
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo mpd science wirelay scarabeus Techwolf luman nikai emacs java-overlay gnome mgorny qt poly-c lokal
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mpd /usr/portage/local/layman/science /usr/portage/local/layman/wirelay /usr/portage/local/layman/scarabeus /usr/portage/local/layman/techwolf /usr/portage/local/layman/luman /usr/portage/local/layman/nikai /usr/portage/local/layman/emacs /usr/portage/local/layman/java-overlay /usr/portage/local/layman/gnome /usr/portage/local/layman/mgorny /usr/portage/local/layman/qt /usr/portage/local/layman/poly-c /usr/portage/local/local-overlay"
Comment 1 tman 2012-03-04 09:50:24 UTC
Created attachment 304195 [details]
/var/log/portage/app-i18n:ibus-unikey-0.6.0:20120304-104148.log
Comment 2 Richard Grenville 2012-03-04 10:32:23 UTC
ibus-unikey-0.6.0 is incompatible with the new ibus API. ibus-unikey-0.6.1, released 4 days ago, works for the current ibus version. So actually a version bump of app-i18n/ibus-unikey is required. Simply renaming the ebuild would work.

By the way, according to configure.ac, ibus-unikey also depends on >=sys-devel/gettext-0.17 and dev-util/intltool, yet they are not mentioned in DEPEND of the ebuild.
Comment 3 tman 2012-03-05 00:47:01 UTC
ok it work.

please bump to version app-i18n/ibus-unikey-0.6.1 please.


thanks
Comment 4 Naohiro Aota gentoo-dev 2012-03-06 10:53:30 UTC
Bumped. Thanks.