Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71668 - gcalctool fails to build, error atk related.
Summary: gcalctool fails to build, error atk related.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-18 07:42 UTC by Jeroen Valcke
Modified: 2004-12-21 16:58 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 Jeroen Valcke 2004-11-18 07:42:08 UTC
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
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-11-18 15:27:21 UTC
what version of atk do you have installed? iirc ATK_ROLE_EDITBAR is new in >=atk-1.7
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2004-11-19 18:48:07 UTC
_Always_ provide your `emerge info`. What version of atk do you have installed? (`qpkg -I -v -nc atk`).
Comment 3 foser (RETIRED) gentoo-dev 2004-11-30 04:45:57 UTC
no reply
Comment 4 James Bryant 2004-12-21 11:50:47 UTC
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.

Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2004-12-21 16:57:56 UTC
Correct James, ATK_ROLE_EDITBAR was introduced in atk 1.5. I've updated the dependencies to include this.
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2004-12-21 16:58:13 UTC
Added to CVS now.