Summary: | evolution 2.0.1 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Murray <murray.alex> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andreas.kotowicz, dante333, derek.berube, fschricker, leroutier, marduk, miaomx5, pebenito, sebastian, tester, tetromino, travesty |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic.php?t=231121 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 67824 | ||
Attachments: |
patch which removes unwanted(?) const declaration
remove this please - I'm sorry wrong dir :-/ this is the ebuild... (damnit) |
Description
Alex Murray
2004-10-01 07:38:55 UTC
Same here with Portage 2.0.51_rc7 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r5 i686) ================================================================= System uname: 2.6.8-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium-m -mno-sse2 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium-m -mno-sse2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 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/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa avi berkdb bitmap-fonts cdr crypt cscope cups dvd dvdr eds encode esd evo foomaticdb gdbm gif gnome gpm gtk gtk2 hal howl imlib java jpeg libg++ libwww mad mikmod mmx mono motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls nntp oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svg svga tcltk tcpd tiff truetype x86 xml2 xmms xprint xv zlib" while testing locally I figured that configuring with --enable-ipv6=yes, thus enabling ipv6-support, made SRCDIR/camel compile. I enabled ipv6 USE for evoution and am merging it right now. Will report back... :-) *** Bug 66027 has been marked as a duplicate of this bug. *** examining the error more in detail shows why this cannot compile: camel-service.c:900: error: assignment of read-only member `ai_family' fails because the assignment is tried on a const-declared pointer. I have a patch created which removes this const-declaration and I am merging evo-2.0.1 with this right now - with a modified ebuild. I will create attachments with the patch and the r1-ebuild once I know if doing so is a good idea... ;-) Created attachment 40873 [details, diff]
patch which removes unwanted(?) const declaration
add it do files-dir
Created attachment 40875 [details]
remove this please - I'm sorry
don't forget 'ebuild evolution-2.0.1-r1.ebuild digest'
;-)
Created attachment 40876 [details]
wrong dir :-/ this is the ebuild... (damnit)
there's a different fix in cvs: http://cvs.gnome.org/viewcvs/evolution/camel/camel-service.c?r1=1.92&r2=1.93 --- camel-service.c 2004-10-01 15:18:12.569172112 -0500 +++ camel-service.c.new 2004-10-01 15:18:44.004393232 -0500 @@ -897,7 +897,7 @@ hints = &myhints; } - hints->ai_family = AF_INET; + ((struct addrinfo *) hints)->ai_family = AF_INET; #endif msg = g_malloc0(sizeof(*msg)); :-) nice - this is just casting the "constness" away. Not really different to my "solution" but oh well; I am no evo-dev at all... ;-) I just thought that putting the constness away for sure is the more clear solution so I chose that option. link to upstream bug : http://bugzilla.ximian.com/show_bug.cgi?id=67028 *** Bug 66127 has been marked as a duplicate of this bug. *** btw, I think files/evolution-1.5.93-addressbooklibs.patch is no longer needed with 2.0.1 I can confirm files/evolution-1.5.93-addressbooklibs.patch is no longer needed. evolution-2.0.1/addressbook/gui/component/Makefile.in: [snip] libevolution_addressbook_la_LIBADD = \ $(SMIME_LIB) \ $(top_builddir)/addressbook/printing/libecontactprint.la \ $(top_builddir)/addressbook/gui/component/select-names/libeselectnames.la \ $(top_builddir)/camel/libcamel.la \ $(top_builddir)/shell/libeshell.la \ [snip] I apologize about the above comment -- I was looking at the patched version. The statement is still true, though. $(top_builddir)/camel/libcamel.la is the last lib listed (line 306). fixed in 2.0.1 now. oddly, i didn't get any problems compiling with gcc-3.4.2 without the patch. thanks for the report tho. *** Bug 66278 has been marked as a duplicate of this bug. *** |