Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70679 - gtkada do not compile cause of a problem in gtkplot3d.
Summary: gtkada do not compile cause of a problem in gtkplot3d.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 08:55 UTC by Aymeric Nys
Modified: 2006-11-14 13:49 UTC (History)
1 user (show)

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


Attachments
completely untested hack (gtkada.patch,1.04 KB, patch)
2004-12-05 04:07 UTC, Rodolfo Boer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aymeric Nys 2004-11-10 08:55:03 UTC
See compilation results

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS=~ppc emerge gtkada
2.
3.

Actual Results:  
gcc -c -O2 -pipe -mtune=7450 -mcpu=7450 -maltivec -mabi=altivec
-fno-strict-aliasing -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/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -fPIC gtkplot3d.c
gtkplot3d.c:2096: erreur: types conflictuels pour 
Comment 1 Aymeric Nys 2004-11-10 08:55:03 UTC
See compilation results

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS=~ppc emerge gtkada
2.
3.

Actual Results:  
gcc -c -O2 -pipe -mtune=7450 -mcpu=7450 -maltivec -mabi=altivec
-fno-strict-aliasing -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/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -fPIC gtkplot3d.c
gtkplot3d.c:2096: erreur: types conflictuels pour « gtk_plot3d_axis_set_scale »
gtkplot3d.h:239: erreur: déclaration précédente de « gtk_plot3d_axis_set_scale »
était ici
gtkplot3d.c:2096: erreur: types conflictuels pour « gtk_plot3d_axis_set_scale »
gtkplot3d.h:239: erreur: déclaration précédente de « gtk_plot3d_axis_set_scale »
était ici
gtkplot3d.c:2105: erreur: types conflictuels pour « gtk_plot3d_axis_get_scale »
gtkplot3d.h:241: erreur: déclaration précédente de « gtk_plot3d_axis_get_scale »
était ici
gtkplot3d.c:2105: erreur: types conflictuels pour « gtk_plot3d_axis_get_scale »
gtkplot3d.h:241: erreur: déclaration précédente de « gtk_plot3d_axis_get_scale »
était ici
make[2]: *** [gtkplot3d.o] Erreur 1
make[2]: Leaving directory
`/var/tmp/portage/gtkada-2.2.1-r1/work/GtkAda-2.2.1/src/gtkextra'
make[1]: *** [extra] Erreur 2
make[1]: Leaving directory `/var/tmp/portage/gtkada-2.2.1-r1/work/GtkAda-2.2.1/src'
make: *** [all] Erreur 2
Comment 2 Rodolfo Boer 2004-12-05 04:07:29 UTC
Created attachment 45318 [details, diff]
completely untested hack

At least it compiles now
Comment 3 tim 2005-12-18 04:06:18 UTC
same problem here ... 

Comment 4 Darryl Bleau 2006-03-20 10:13:42 UTC
same here

emerge info:

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cli crypt ctype cups dba dri eds emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad memlimit mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 5 vasquez 2006-05-15 23:56:14 UTC
same here
Comment 6 Hal Engel 2006-09-09 15:45:42 UTC
Mean while AdaCore has released GtkAda 2.8.0 so this needs a version bump since this is almost two years old.
Comment 7 George Shapovalov (RETIRED) gentoo-dev 2006-11-14 13:49:13 UTC
Well, I masked the 2.2 versions as old style. The 2.4 "new style" is in portage for quite a while and seems to work. 2.8 is underway as well..
Closing the bug, as I don't think trying to make 2.2 work is worth it.

George