Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67824 - mail-client/evolution-2.0.2 fails to compile
Summary: mail-client/evolution-2.0.2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 67846 67861 67891 67923 67956 68004 (view as bug list)
Depends on: 66024
Blocks:
  Show dependency tree
 
Reported: 2004-10-16 16:07 UTC by Carl A. Dunham
Modified: 2004-10-18 05:27 UTC (History)
9 users (show)

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


Attachments
patch to fix compile (evolution-2.0.2-service.patch,422 bytes, text/plain)
2004-10-17 06:57 UTC, Jory A. Pratt
Details
fixed patch (evolution-2.0.2-service.patch,422 bytes, patch)
2004-10-17 07:02 UTC, Jory A. Pratt
Details | Diff
corrected patch (evolution-2.0.2-service.patch,420 bytes, patch)
2004-10-17 07:06 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carl A. Dunham 2004-10-16 16:07:30 UTC
...
make[2]: Leaving directory `/var/tmp/portage/evolution-2.0.2/work/evolution-2.0.2/shell'
Making all in camel
make[2]: Entering directory `/var/tmp/portage/evolution-2.0.2/work/evolution-2.0.2/camel'
Making all in .
make[3]: Entering directory `/var/tmp/portage/evolution-2.0.2/work/evolution-2.0.2/camel'
source='camel-service.c' object='camel-service.lo' libtool=yes \
depfile='.deps/camel-service.Plo' tmpdepfile='.deps/camel-service.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I../intl -I../e-util -DCAMEL_LIBEXECDIR=\""/usr/libexec/evolution/2.0/camel"\" -DCAMEL_PROVIDERDIR=\""/usr/lib/evolution/2.0/camel-providers"\" -DG_LOG_DOMAIN=\"camel\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gal-2.2 -I/usr/include/gtk-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -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/libart-2.0       -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include/nss     -O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -Wmissing-prototypes  -Wno-sign-compare -c -o camel-service.lo `test -f 'camel-service.c' || echo './'`camel-service.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I../intl -I../e-util -DCAMEL_LIBEXECDIR=\"/usr/libexec/evolution/2.0/camel\" -DCAMEL_PROVIDERDIR=\"/usr/lib/evolution/2.0/camel-providers\" -DG_LOG_DOMAIN=\"camel\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gal-2.2 -I/usr/include/gtk-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -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/libart-2.0 -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include/nss -O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -c camel-service.c -MT camel-service.lo -MD -MP -MF .deps/camel-service.TPlo  -fPIC -DPIC -o .libs/camel-service.o
camel-service.c: In function `camel_getaddrinfo':
camel-service.c:899: error: structure has no member named `ai_faimily'
make[3]: *** [camel-service.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/evolution-2.0.2/work/evolution-2.0.2/camel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/evolution-2.0.2/work/evolution-2.0.2/camel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-2.0.2/work/evolution-2.0.2'
make: *** [all] Error 2

!!! ERROR: mail-client/evolution-2.0.2 failed.
!!! Function src_compile, Line 122, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

# emerge info
Portage 2.0.51_rc9 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r9 i686)
=================================================================
System uname: 2.6.8-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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/share/config /usr/lib/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="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="S3TC X aalib acpi alsa apache2 arts artswrappersuid avi bindist bitmap-fonts bonobo cdr crypt cups curl directfbdnd doc dvd dvdr emacs encode ethereal f77 faad fbcon fbdev freetds gd gif gphoto2 gpm gtk gtk2 gtkhtml guile hbci imagemagick imlib innodb java jikes jpeg kde ldap libg++ libwww mad mailwrapper md5sum mikmod mmx mng motif mozcalendar mozdevelop mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg music mysql nas ncurses ntlm offensive oggvorbis opengl pam parse-clocks pda pdflib perl php pic png ppds qt quicktime radeon readline scanner sdl slang spell sse ssl stroke svga tcpd tetex tiff transcode truetype type1 usb x86 xemacs xft xml xml2 xmms xosd xprint xv zlib"



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alex Murray 2004-10-16 17:44:39 UTC
can also confirm this - this looks like Bug #66024 has reappeared in a new form..
Has this (2.0.2) been patched / been patched incorrectly to try to fix 66024
Comment 2 Wayne Mitchell 2004-10-16 18:22:14 UTC
Happened to me as well. It appears to be a typo in camel-service at line 899:
ai->faimily should be 
ai->family

I edited the file after pausing compilation and it completes OK.
Comment 3 Wayne Mitchell 2004-10-16 18:24:34 UTC
Oops. That should be ai_family not ai->family.
Comment 4 Alex Murray 2004-10-16 18:50:06 UTC
ahh so it should be.. didn't even notice the typo.. :)
yeah compiles for me too now...
Alastair can you update this in cvs??

Comment 5 Scott Taylor (RETIRED) gentoo-dev 2004-10-17 00:57:26 UTC
*** Bug 67846 has been marked as a duplicate of this bug. ***
Comment 6 Scott Taylor (RETIRED) gentoo-dev 2004-10-17 01:37:21 UTC
this ebuild runs elibtoolize twice. once in the ebuild itself, and the second time
appears to be from within the gnome2.eclass. Thats causing the "verify this patch
is not needed" message at the beginning of the build. The "Compiling Evolution"
einfo should probably get moved right after the gnome2_src_configure call for
cosmetic reasons, and the pkg_postinst makes reference to mozilla... Though of
course its the ai_faimily typo thats really breaking things here
Comment 7 Sven Wegener gentoo-dev 2004-10-17 05:49:38 UTC
*** Bug 67861 has been marked as a duplicate of this bug. ***
Comment 8 Jory A. Pratt 2004-10-17 06:57:32 UTC
Created attachment 42029 [details]
patch to fix compile

make sure you add a patch it saves much time with getting these things fixed in
the future also if you know that it fixes the problem confirm it so we can get
things pushed to the servers to others dont have to fight like we do.
Comment 9 Alex Murray 2004-10-17 07:01:24 UTC
your patch is wrong!
Should be:
diff -ruN evolution-2.0.2/camel/camel-service.c evolution-2.0.2-new/camel/camel-service.c
--- evolution-2.0.2/camel/camel-service.c	2004-10-11 11:24:23.000000000 -0400
+++ evolution-2.0.2-new/camel/camel-service.c	2004-10-17 09:50:14.994596320 -0400
@@ -896,7 +896,7 @@
 	else
 		memcpy (&myhints, hints, sizeof (myhints));
 	
-	myhints.ai_faimily = AF_INET;
+	myhints.ai_family = AF_INET;
 	hints = &myhints;
 #endif


Sorry would make a new patch if I knew how - I am new to this stuff
ie the error is in the spelling of family 
 
Comment 10 Jory A. Pratt 2004-10-17 07:02:39 UTC
Created attachment 42030 [details, diff]
fixed patch

oops I submitted the wrong patch LOL this is the correct one you will also need
to add a patch line to the ebuild that looks like			       
		      

epatch ${FILESDIR}/${P}-service.patch

just drop this patch into the files dir inside the portage tree add your patch
line following the patch that is already there and away you go have fun
Comment 11 Jory A. Pratt 2004-10-17 07:06:24 UTC
Created attachment 42031 [details, diff]
corrected patch

sorry about that I have too many patches goin on right now with gaim and chit I
promise you this is the correct patch
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2004-10-17 07:40:32 UTC
fixed in portage. thanks for all your reports.
Comment 13 Sven Wegener gentoo-dev 2004-10-17 08:59:26 UTC
*** Bug 67891 has been marked as a duplicate of this bug. ***
Comment 14 Joe McCann (RETIRED) gentoo-dev 2004-10-17 16:01:06 UTC
*** Bug 67923 has been marked as a duplicate of this bug. ***
Comment 15 Joe McCann (RETIRED) gentoo-dev 2004-10-17 18:33:24 UTC
*** Bug 67956 has been marked as a duplicate of this bug. ***
Comment 16 Joe McCann (RETIRED) gentoo-dev 2004-10-18 05:27:43 UTC
*** Bug 68004 has been marked as a duplicate of this bug. ***