Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4096 - gliv-1.5.2.ebuild does not compile propely with gtk2.0 support
Summary: gliv-1.5.2.ebuild does not compile propely with gtk2.0 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-24 13:04 UTC by Stefano Peluchetti
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
gliv.log (gliv.log,25.33 KB, text/plain)
2002-06-25 21:55 UTC, Spider (RETIRED)
Details
Fail compile log. (i'm using gcc 2.95.3-r5) (compilefail.log,18.09 KB, text/plain)
2002-06-26 05:30 UTC, Stefano Peluchetti
Details
Epm query log. (epm.log,418 bytes, text/plain)
2002-06-26 05:30 UTC, Stefano Peluchetti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano Peluchetti 2002-06-24 13:04:56 UTC
While compiling it gives this error:
*******
In file included from gliv.h:23,
                 from callbacks.c:25:
gtk2_compat.h:13: warning: `G_N_ELEMENTS' redefined
/usr/include/glib-2.0/glib/gmacros.h:149: warning: this is the location of the p
revious definition
gtk2_compat.h:56: warning: `GTK_STOCK_OK' redefined
/usr/include/gtk-2.0/gtk/gtkstock.h:108: warning: this is the location of the pr
evious definition
gtk2_compat.h:57: warning: `GTK_STOCK_CANCEL' redefined
/usr/include/gtk-2.0/gtk/gtkstock.h:76: warning: this is the location of the pre
vious definition
gtk2_compat.h:101: warning: `g_signal_connect' redefined
/usr/include/glib-2.0/gobject/gsignal.h:240: warning: this is the location of th
e previous definition
gtk2_compat.h:104: warning: `g_signal_connect_after' redefined
/usr/include/glib-2.0/gobject/gsignal.h:242: warning: this is the location of th
e previous definition
gtk2_compat.h:108: warning: `g_signal_connect_swapped' redefined
/usr/include/glib-2.0/gobject/gsignal.h:244: warning: this is the location of th
e previous definition
gtk2_compat.h:110: warning: `g_signal_handlers_disconnect_by_func' redefined
/usr/include/glib-2.0/gobject/gsignal.h:248: warning: this is the location of th
e previous definition
gtk2_compat.h:111: warning: `G_CALLBACK' redefined
/usr/include/glib-2.0/gobject/gclosure.h:35: warning: this is the location of th
e previous definition
gtk2_compat.h:115: warning: `GDK_PRIORITY_REDRAW' redefined
/usr/include/gtk-2.0/gdk/gdkevents.h:16: warning: this is the location of the pr
evious definition
In file included from gliv.h:23,
                 from callbacks.c:25:
gtk2_compat.h:17: conflicting types for `GRand'
/usr/include/glib-2.0/glib/grand.h:34: previous declaration of `GRand'
gtk2_compat.h:19: conflicting types for `g_rand_new_with_seed'
/usr/include/glib-2.0/glib/grand.h:45: previous declaration of `g_rand_new_with_
seed'
gtk2_compat.h:33: conflicting types for `g_build_filename'
/usr/include/glib-2.0/glib/gfileutils.h:95: previous declaration of `g_build_fil
ename'
gtk2_compat.h:39: conflicting types for `g_file_test'
/usr/include/glib-2.0/glib/gfileutils.h:76: previous declaration of `g_file_test
'
gtk2_compat.h:43: conflicting types for `PangoFontDescription'
/usr/include/pango-1.0/pango/pango-font.h:32: previous declaration of `PangoFont
Description'
gtk2_compat.h:47: conflicting types for `gtk_widget_modify_font'
/usr/include/gtk-2.0/gtk/gtkwidget.h:648: previous declaration of `gtk_widget_mo
dify_font'
gtk2_compat.h:98: warning: redefinition of `GCallback'
/usr/include/glib-2.0/gobject/gclosure.h:41: warning: `GCallback' previously dec
lared here
make[2]: *** [callbacks.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gliv-1.5.2/work/gliv-1.5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gliv-1.5.2/work/gliv-1.5.2'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -20, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/media-gfx/gliv/gliv-1.5.2.ebuild .
********

Please fix this :))
Comment 1 Spider (RETIRED) gentoo-dev 2002-06-25 17:40:13 UTC
ok, this is strange, I'm testing right now but I'm not sure what will do to
this, I've never played with theese before either so...
Comment 2 Spider (RETIRED) gentoo-dev 2002-06-25 17:43:19 UTC
ok, this seems to be an upstream bug, could you please file it there?
Comment 3 Stefano Peluchetti 2002-06-25 17:48:55 UTC
Excuse me, but i ' m new to the bugzilla system...i'm sorry!
What do i have exacly to do? Do i have to create a new attachment with something? 
The gzip source code?
Thanks!

Comment 4 Spider (RETIRED) gentoo-dev 2002-06-25 17:50:58 UTC
Az: care to tell me what you think in this issue? just disabling gtk2 support
could probably solve it for now, but its unclean...
Comment 5 Spider (RETIRED) gentoo-dev 2002-06-25 18:11:31 UTC
with "upstream" bug I mean a bug to those who create the package, most often
those are documented in usr/share/doc/package-name-0.12/README.gz or another
file in that directory.

Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-25 18:30:28 UTC
Just for the record; it compiles fine here with gtk+-2.0 or gtk+-1.2.10.
I am actually using it now compiled against gtk+-2.0 and Gnome2.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-25 18:36:44 UTC
Can you maybe include a more detailed compile log ?
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-25 18:40:27 UTC
Also install "gentoolkit", and supply the output of:

# epm -q gtk+ glib pango gtkglarea

I for instance get:

---------------cut----------------
nosferatu audiofile-0.2.3 # epm -q gtk+ glib pango gtkglarea
gtk+-2.0.5
gtk+-1.2.10-r8
glib-1.2.10-r4
glib-2.0.4
pango-1.0.3
gtkglarea-1.2.3-r1
gtkglarea-1.99.0
nosferatu audiofile-0.2.3 # 
---------------cut----------------

Thanks
Comment 9 Spider (RETIRED) gentoo-dev 2002-06-25 21:55:58 UTC
Created attachment 1806 [details]
gliv.log
Comment 10 Stefano Peluchetti 2002-06-26 05:30:32 UTC
Created attachment 1819 [details]
Fail compile log. (i'm using gcc 2.95.3-r5)
Comment 11 Stefano Peluchetti 2002-06-26 05:30:56 UTC
Created attachment 1820 [details]
Epm query log.
Comment 12 Stefano Peluchetti 2002-06-26 05:32:56 UTC
It seems that the errors that stops my building are ignored by your compiler.
May be the different version of it? (are you using gcc3.1 right?)
I' ve posted the logs you requested.
Comment 13 Stefano Peluchetti 2002-06-26 06:43:29 UTC
Ah, i forgot. Please post the upstrem but , as i can't see who is the mantainer
of the package as was unable to install it and look in /usr/share/doc/....
Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-26 15:50:43 UTC
I am using gcc-2.95.3, and I dont get any "redefine" errors.  If I though
unmerge the older gtkglarea, it do not compile :/   Ill try to submit the
bug to the authors.
Comment 15 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-28 15:58:18 UTC
Fixed in 1.5.3