I'd like to upgrade from GNOME 2.4 to GNOME 2.8. When I emerge gnome it fails on the gcalctool. In an attempt to circumvent the problem I upgrade libgnome-ui seperately. Afterwards I made another attempt to emerge gnome (2.8) and got another error when compiling gcalctool. ... nclude/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -march=pentium3 -funroll-loops -pipe -mno-sse2 -Wall -MT gtk.o -MD -MP -MF ".deps/gtk.Tpo" -c -o gtk.o gtk.c; \ then mv -f ".deps/gtk.Tpo" ".deps/gtk.Po"; else rm -f ".deps/gtk.Tpo"; exit 1; fi gtk.c: In function `create_kframe': gtk.c:1094: error: `ATK_ROLE_EDITBAR' undeclared (first use in this function) gtk.c:1094: error: (Each undeclared identifier is reported only once gtk.c:1094: error: for each function it appears in.) gtk.c:1017: warning: unused variable `count' gtk.c: In function `get_localized_numeric_point': gtk.c:1492: warning: unused variable `locale_data' gtk.c: In function `check_for_localized_numeric_point': gtk.c:1609: warning: `return' with no value, in function returning non-void gtk.c: In function `kframe_key_press_cb': gtk.c:1644: warning: unused variable `focus' gtk.c: In function `create_menu': gtk.c:1826: warning: unused variable `count' gtk.c: At top level: gtk.c:565: warning: `button_new_with_stock_image' defined but not used make[2]: *** [gtk.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gcalctool-4.4.19/work/gcalctool-4.4.19/gcalctool' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gcalctool-4.4.19/work/gcalctool-4.4.19' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge gnome 3. emerge libgnomeui 4. emerge gnome Actual Results: compile error gtk.c:1094: error: `ATK_ROLE_EDITBAR' undeclared (first use in this function) Expected Results: emerge gcalctool # uname -a Linux minsk 2.4.26 #1 SMP Mon Jul 26 20:56:34 CEST 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
what version of atk do you have installed? iirc ATK_ROLE_EDITBAR is new in >=atk-1.7
_Always_ provide your `emerge info`. What version of atk do you have installed? (`qpkg -I -v -nc atk`).
no reply
I encountered this exact same bug. My ATK version was 1.4. Upgraded to 1.8 and now the build works. Looks like the version dependency in the ebuild needs to be bumped up.
Correct James, ATK_ROLE_EDITBAR was introduced in atk 1.5. I've updated the dependencies to include this.
Added to CVS now.