Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65323 - sylpheed-claws-0.9.12a compilation fails with mbox use flag enabled
Summary: sylpheed-claws-0.9.12a compilation fails with mbox use flag enabled
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-25 08:33 UTC by Flammie Pirinen (RETIRED)
Modified: 2004-10-18 10:00 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 Flammie Pirinen (RETIRED) gentoo-dev 2004-09-25 08:33:11 UTC
When mbox is enabled, compilation of the related plugin fails:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/include/gpgme3 -I/usr/include/sylpheed-claws -I/usr/include/sylpheed-claws/common -I/usr/include/sylpheed-claws/gtk -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/common -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/gtk -march=athlon -pipe -fprefetch-loop-arrays -fstack-protector -MT mailmbox_la-chash.lo -MD -MP -MF .deps/mailmbox_la-chash.Tpo -c chash.c -o mailmbox_la-chash.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/include/gpgme3 -I/usr/include/sylpheed-claws -I/usr/include/sylpheed-claws/common -I/usr/include/sylpheed-claws/gtk -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/common -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/gtk -march=athlon -pipe -fprefetch-loop-arrays -fstack-protector -MT mailmbox_la-clist.lo -MD -MP -MF .deps/mailmbox_la-clist.Tpo -c clist.c -o mailmbox_la-clist.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include -I/usr/include/gpgme3 -I/usr/include/sylpheed-claws -I/usr/include/sylpheed-claws/common -I/usr/include/sylpheed-claws/gtk   -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT   -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/common -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/gtk -march=athlon -pipe -fprefetch-loop-arrays -fstack-protector -MT mailmbox_la-mailimf_types.lo -MD -MP -MF ".deps/mailmbox_la-mailimf_types.Tpo" -c -o mailmbox_la-mailimf_types.lo `test -f 'mailimf_types.c' || echo './'`mailimf_types.c; \
then mv -f ".deps/mailmbox_la-mailimf_types.Tpo" ".deps/mailmbox_la-mailimf_types.Plo"; else rm -f ".deps/mailmbox_la-mailimf_types.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include -I/usr/include/gpgme3 -I/usr/include/sylpheed-claws -I/usr/include/sylpheed-claws/common -I/usr/include/sylpheed-claws/gtk   -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT   -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src -I/var/tmp/portage/sylpheed-claws-0.9.12a/work//sylpheed-claws-0.9.12a/src/common -I/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/gtk -march=athlon -pipe -fprefetch-loop-arrays -fstack-protector -MT mailmbox_la-mailimf_types_helper.lo -MD -MP -MF ".deps/mailmbox_la-mailimf_types_helper.Tpo" -c -o mailmbox_la-mailimf_types_helper.lo `test -f 'mailimf_types_helper.c' || echo './'`mailimf_types_helper.c; \
then mv -f ".deps/mailmbox_la-mailimf_types_helper.Tpo" ".deps/mailmbox_la-mailimf_types_helper.Plo"; else rm -f ".deps/mailmbox_la-mailimf_types_helper.Tpo"; exit 1; fi
In file included from mailmbox_folder.h:26,
                 from plugin.c:23:
/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/localfolder.h:23: error: redefinition of typedef 'LocalFolder'
/usr/include/sylpheed-claws/folder.h:29: error: previous declaration of 'LocalFolder' was here
In file included from mailmbox_folder.h:26,
                 from plugin.c:23:
/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/localfolder.h:32: error: redefinition of `struct _LocalFolder'
/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/localfolder.h:43: error: parse error before "XMLTag"
/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/localfolder.h:44: error: parse error before '*' token
/var/tmp/portage/sylpheed-claws-0.9.12a/work/sylpheed-claws-0.9.12a/src/localfolder.h:44: warning: data definition has no type or storage class
make[2]: *** [mailmbox_la-plugin.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
[...]
make: *** [all] Error 2

!!! ERROR: mail-client/sylpheed-claws-0.9.12a failed.
!!! Function plugin_compile, Line 83, Exitcode 2
!!! plugin compile failed: mailmbox-0.9
!!! If you need support, post the topmost build error, NOT this status message.

Here's related emerge info; I've just updated to gcc-3.4 which might have something to do with it or not.

Portage 2.0.51_rc1 (default-linux/x86/2004.2, gcc-3.4.2, glibc-2.3.4.20040619-r0, 2.6.8-rc2 i686)
=================================================================
System uname: 2.6.8-rc2 i686 AMD Duron(tm) processor
Gentoo Base System version 1.5.1
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r3
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -pipe -fprefetch-loop-arrays -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /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="-march=athlon -pipe -fprefetch-loop-arrays -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts bonobo bzlib cddb crypt ctype cups curl dba dnd encode esd faad flac foomaticdb freetype gb gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib ipv6 java joystick jpeg kde libg++ libwww mad mbox mikmod mime mmx mng motif mozdomi mozilla moznomail mozp3p mozsvg mozxmlterm mpeg music mysql ncurses net nls nptl offensive oggvorbis opengl oscar oss pam pdflib perl png propolice python qt quicktime readline ruby samba scanner sdl slang spell sse ssl stroke svg svga tcltk tcpd tetex theora tiff transcode truetype type1 unicode usb videos x86 xface xforms xine xinerama xml xml2 xmms xosd xprint xrandr xsl xv xvid zlib"

If I'm not greatly mistaken, the sylpheed-claws has quite good native support of mbox already, so the compilation of mbox plugin is kind of useless anyways? At least my USE=-mbox compiled version does still have the mbox functionalities left.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-10-04 18:32:20 UTC
hmm, which sc-version did you have installed before the update ?
As for the use of the plugin: without it sc can im- and export mbox files, but not use them directly. If you mean the native sc mailbox format, that's MH.
Comment 2 Flammie Pirinen (RETIRED) gentoo-dev 2004-10-05 01:41:47 UTC
Uhh, I had been using thunderbird for some, perhaps 6 months, so the version of Sylpheed claws must have been rather old. Ah, there it is, 0.9.7 was logged to be removed at time of 0.9.12a installation. And you are right, it does have a valid use the mailbox plugin, I was confused by the feature listings in the web site.
Comment 3 Flammie Pirinen (RETIRED) gentoo-dev 2004-10-12 10:52:11 UTC
0.9.12b compiled successfully and seems to work, perhaps the problem was fixed upstream and can be closed as such?
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-10-17 16:16:38 UTC
please try sylpheed-claws-0.9.12b-r1, that version should fix all these header problems.
Comment 5 Flammie Pirinen (RETIRED) gentoo-dev 2004-10-18 10:00:42 UTC
It seems to compile and work alright for me, including the plugin.