Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55167 - gtkada-2.2.1 seems to fail with gtk-2.4.x
Summary: gtkada-2.2.1 seems to fail with gtk-2.4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: ada team [OBSOLETE]
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-25 10:10 UTC by Christian Apolloni
Modified: 2004-08-15 05:27 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 Christian Apolloni 2004-06-25 10:10:06 UTC
I'm experiencing the same problem as reported in that forum thread:

--
[...]
gnatgcc -c -I../ -march=i686 -O2 -pipe -fPIC -I- ../gtk-layout.adb
gnatgcc -c -I../ -march=i686 -O2 -pipe -fPIC -I- ../gtkada-multi_paned.adb
gnatgcc -c -I../ -march=i686 -O2 -pipe -fPIC -I- ../glib-xml_int.ads
cd lib-obj; gcc -c -march=i686 -O2 -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I.. -fPIC ../misc.c
../misc.c: In function `ada_initialize_class_record':
../misc.c:338: warning: use of cast expressions as lvalues is deprecated
cd lib-obj; gcc -c -march=i686 -O2 -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I.. -fPIC ../misc_extra.c
../misc_extra.c: In function `ada_gtk_combo_box_get_button':
../misc_extra.c:165: error: structure has no member named `button'
../misc_extra.c: In function `ada_gtk_combo_box_get_arrow':
../misc_extra.c:170: error: structure has no member named `arrow'
../misc_extra.c: In function `ada_gtk_combo_box_get_frame':
../misc_extra.c:175: error: structure has no member named `frame'
make[1]: *** [lib-obj/misc_extra.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkada-2.2.1/work/GtkAda-2.2.1/src'
make: *** [all] Error 2

!!! ERROR: dev-ada/gtkada-2.2.1 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
--

I have gtk+-2.4.3. I haven't tried to downgrade it yet...
Comment 1 Matteo Bertini 2004-07-18 13:15:28 UTC
From gtkada cvs:

[TXT] configure 	 1.74 	  2 days 	 charlet 	  Switch to version 2.4.0, now that we are compatible with Gtk+ 2.4
[TXT] configure.in 	 1.52 	  2 days 	 charlet 	  Switch to version 2.4.0, now that we are compatible with Gtk+ 2.4

... perhaps we will have to wait or to patch
Comment 2 David Holm (RETIRED) gentoo-dev 2004-08-15 05:27:25 UTC
I temporarily fixed this in CVS, sadly my fix breaks some software that are using these three functions. I will probably make a CVS snapshot of this asap.