Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50061 - Evolution 1.4.6 fails to compile with gcc 3.4 after robert_moss2k's patch is applied
Summary: Evolution 1.4.6 fails to compile with gcc 3.4 after robert_moss2k's patch is ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 20:20 UTC by Christopher Gentile
Modified: 2004-07-12 13:26 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 Christopher Gentile 2004-05-04 20:20:46 UTC
When i try to emerge evolution 1.4.6 with gcc 3.4 the compiler complains about gtk_widget_get_toplevel and e_day_view_on_main_canvas_scroll' and others

Reproducible: Always
Steps to Reproduce:
1.Emerge gcc 3.4 and gcc-config to use it, source /etc/profile
2.apply robert_moss2k's patch
3.emerge net-mail/evolution-1.4.6

Actual Results:  
compiles almost all towards the end then i get the error:

nome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -O2
-march=pentium4 -pipe -fomit-frame-pointer -pthread -Wall -Wmissing-prototypes
-c e-day-view.c  -fPIC -DPIC -o .libs/e-day-view.lo
e-day-view.c: In function `e_day_view_on_main_canvas_scroll':
e-day-view.c:3239: error: label at end of compound statement
e-day-view.c: In function `e_day_view_on_time_canvas_scroll':
e-day-view.c:3259: error: label at end of compound statement
e-day-view.c: In function `e_day_view_delete_event_internal':
e-day-view.c:4145: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c: In function `e_day_view_on_cut':
e-day-view.c:4282: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c: In function `e_day_view_finish_long_event_resize':
e-day-view.c:4918: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:4919: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c:4929: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:4930: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c: In function `e_day_view_finish_resize':
e-day-view.c:5000: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:5001: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c:5011: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:5011: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c: In function `e_day_view_on_editing_stopped':
e-day-view.c:6634: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:6635: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c:6644: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:6645: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c: In function `e_day_view_on_top_canvas_drag_data_received':
e-day-view.c:7750: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:7751: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c:7762: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:7763: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c: In function `e_day_view_on_main_canvas_drag_data_received':
e-day-view.c:7881: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:7882: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c:7893: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:7894: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
e-day-view.c: In function `selection_received':
e-day-view.c:8081: warning: passing arg 1 of `gtk_widget_get_toplevel' from
incompatible pointer type
e-day-view.c:8081: warning: passing arg 1 of `send_component_dialog' from
incompatible pointer type
make[4]: *** [e-day-view.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6/calendar/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6/calendar/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6/calendar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: net-mail/evolution-1.4.6 failed.
!!! Function src_compile, Line 174, Exitcode 2
!!! make failed


Expected Results:  
clean compile

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0,
2.6.5-mm6)
=================================================================
System uname: 2.6.5-mm6 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.9
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.binarycompass.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mozilla
mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-05-05 14:08:37 UTC
you're not being very descriptive here... what patch? and why are you filing bugs for things not in gentoo with the gentoo bugzilla? or am i confused here?
Comment 2 Robert Moss (RETIRED) gentoo-dev 2004-07-12 13:26:35 UTC
Indeed. Telling us which patch I managed to break something with would be helpful...