Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48287 - gaim 0.76-r2 fails to complie gevolution.c: too many arguments for "e_book_async_get_book_view"
Summary: gaim 0.76-r2 fails to complie gevolution.c: too many arguments for "e_book_as...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-18 19:21 UTC by James
Modified: 2004-04-19 08:51 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 James 2004-04-18 19:21:40 UTC
The gaim complie fails with too many arguments to e_book_async_get_book_view out of gevolution.c. Here is the exactly failure:

make[3]: Entering directory `/var/tmp/portage/gaim-0.76-r2/work/gaim-0.76/plugins/gevolution'
source='gevolution.c' object='gevolution.lo' libtool=yes \
depfile='.deps/gevolution.Plo' tmpdepfile='.deps/gevolution.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..  -DDATADIR=\"/usr/share\" -DVERSION=\"0.76\" -I../../src -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/evolution-data-server-1.0 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include    -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -march=pentium3 -O3 -pipe -Wall -g3 -c -o gevolution.lo `test -f 'gevolution.c' || echo './'`gevolution.c
gevolution.c: In function `load_timeout':
gevolution.c:236: warning: passing arg 2 of `e_book_async_get_book_view' from incompatible pointer type
gevolution.c:236: warning: passing arg 4 of `e_book_async_get_book_view' makes pointer from integer without a cast
gevolution.c:236: error: too many arguments to function `e_book_async_get_book_view'

gevolution.h is present in that directory but I could not find the function call's prototype.

Reproducible: Always
Steps to Reproduce:
1. emerge gaim-0.76-r2.ebuild



Actual Results:  
make[3]: Entering directory
`/var/tmp/portage/gaim-0.76-r2/work/gaim-0.76/plugins/gevolution'
source='gevolution.c' object='gevolution.lo' libtool=yes \
depfile='.deps/gevolution.Plo' tmpdepfile='.deps/gevolution.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../..  -DDATADIR=\"/usr/share\" -DVERSION=\"0.76\" -I../../src -DORBIT2=1
-pthread -I/usr/include/libxml2 -I/usr/include/evolution-data-server-1.0
-I/usr/include/libbonobo-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include   
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -march=pentium3 -O3
-pipe -Wall -g3 -c -o gevolution.lo `test -f 'gevolution.c' || echo
'./'`gevolution.c
gevolution.c: In function `load_timeout':
gevolution.c:236: warning: passing arg 2 of `e_book_async_get_book_view' from
incompatible pointer type
gevolution.c:236: warning: passing arg 4 of `e_book_async_get_book_view' makes
pointer from integer without a cast
gevolution.c:236: error: too many arguments to function `e_book_async_get_book_view'
make[3]: *** [gevolution.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gaim-0.76-r2/work/gaim-0.76/plugins/gevolution'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gaim-0.76-r2/work/gaim-0.76/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-0.76-r2/work/gaim-0.76'
make: *** [all] Error 2
 
!!! ERROR: net-im/gaim-0.76-r2 failed.
!!! Function src_compile, Line 87, Exitcode 2
!!! Make failed


Expected Results:  
Complied the package.

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22)
=================================================================
System uname: 2.4.22 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bonobo cdr crypt cups curl dga directfb dvd encode
esd evo fbcon foomaticdb gb gd gdbm gif gnome gpg gphoto2 gpm gtk gtk2 gtkhtml
guile imlib innodb java jpeg kde libg++ libgda libwww mad mcal mikmod mmx motif
mozilla mpeg mpi mysql ncurses nls oggvorbis opengl oss pam pdflib perl
plotutils png python qt quicktime readline samba scanner sdl slang spell sse ssl
svga tcltk tcpd truetype usb x86 xml2 xmms xv zlib"
Comment 1 Don Seiler (RETIRED) gentoo-dev 2004-04-19 07:38:22 UTC
Out of curiosity, what version of Evolution are you using?
Comment 2 James 2004-04-19 07:43:52 UTC
Was running 1.4.5 and got the error.

I upgraded to 1.4.6 and still received the error.
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-04-19 07:48:09 UTC
If you were just running evolution 1.4.x, gaim wouldn't try to build that plugin.  The gaim plugin is only for latest bleeding-edge evo.  You sure you don't have bits of newer evo lying about?
Comment 4 James 2004-04-19 08:41:08 UTC
Evolution-1.5 WAS installed months ago.  The ebuild didn't remove the data-server components, which the gaim configure script still picked up.

Manually removed the related files for the following 
libebook-1.0.pc
libecal-1.0.pc
libedata-book-1.0.pc
libedata-cal-1.0.pc
libedataserver-1.0.pc

in /usr/lib/pkgconfig and /usr/lib
Also removed the /usr/include/evolution-data-server-1.0 directory.

I didn't think 1.5 mattered since it was removed and newer version of 1.4.x were complied on top of it.  Guess not....
Comment 5 Don Seiler (RETIRED) gentoo-dev 2004-04-19 08:51:44 UTC
Hmm sounds like a possible bug in the evolution ebuild if those lib files are not being removed.  Perhaps file a new bug with them.