As in the thread and I haven't found anyone having simillar problem. I try to install gnome 3 because I want to have both kde and gnome and I need to have ibus with gtk3 flag however this gives me problem resulting in compile error. It happens only if gtk3 flag is enabled and the error I can see is following:
Code:
/bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DG_LOG_DOMAIN=\"IBUS\" -O2 -march=native -pipe -c -o im_ibus_la-ibusimcontext.lo `test -f 'ibusimcontext.c' || echo './'`ibusimcontext.c
libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DG_LOG_DOMAIN=\"IBUS\" -O2 -march=native -pipe -c ibusimcontext.c -fPIC -DPIC -o .libs/im_ibus_la-ibusimcontext.o
ibusimcontext.c: In function 'ibus_im_context_class_init':
ibusimcontext.c:566:9: error: #pragma GCC diagnostic not allowed inside functions
ibusimcontext.c:567:9: error: #pragma GCC diagnostic not allowed inside functions
ibusimcontext.c:569:9: error: #pragma GCC diagnostic not allowed inside functions
ibusimcontext.c: In function 'ibus_im_context_class_fini':
ibusimcontext.c:586:9: error: #pragma GCC diagnostic not allowed inside functions
ibusimcontext.c:587:9: error: #pragma GCC diagnostic not allowed inside functions
ibusimcontext.c:589:9: error: #pragma GCC diagnostic not allowed inside functions
make[3]: *** [im_ibus_la-ibusimcontext.lo] Błąd 1
make[3]: Opuszczenie katalogu `/var/tmp/portage/app-i18n/ibus-1.5.2/work/ibus-1.5.2/client/gtk2'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/app-i18n/ibus-1.5.2/work/ibus-1.5.2/client'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/app-i18n/ibus-1.5.2/work/ibus-1.5.2'
make: *** [all] Błąd 2
* ERROR: app-i18n/ibus-1.5.2 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-i18n/ibus-1.5.2'`,
* the complete build log and the output of `emerge -pqv '=app-i18n/ibus-1.5.2'`.
* The complete build log is located at '/var/tmp/portage/app-i18n/ibus-1.5.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-i18n/ibus-1.5.2/temp/environment'.
* Working directory: '/var/tmp/portage/app-i18n/ibus-1.5.2/work/ibus-1.5.2'
* S: '/var/tmp/portage/app-i18n/ibus-1.5.2/work/ibus-1.5.2'
It seems that there's something wrong with im_ibus_la-ibusimcontext.lo file but no idea how to fix that issue. Please help.