Bug 86750 - Balsa compilation error
|
Bug#:
86750
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: allanonjl@gentoo.org
|
Reported By: didier@famille-link.fr
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: Balsa compilation error
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-03-26 01:55 0000
|
When I try to update balsa from 2.0.15-r2 to 2.2.6, compilation failed with :
if i686-pc-linux-gnu-gcc -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED_SOURCE -DGNOME_VFS_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -I. -I. -I.. -I.. -I.. -I../libbalsa -I../libbalsa/imap -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-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/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-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/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gmime-2.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/libgtkhtml-3.1 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libglade-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -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/libxml2 -I/usr/include/gpgme -O2 -march=athlon-xp -mtune=athlon-xp -momit-leaf-frame-pointer -ftracer -ggdb -pipe -msse2 -feliminate-dwarf2-dups -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wuninitialized -Wmissing-prototypes -Wreturn-type -MT rfc3156.o -MD -MP -MF ".deps/rfc3156.Tpo" -c -o rfc3156.o rfc3156.c; \
then mv -f ".deps/rfc3156.Tpo" ".deps/rfc3156.Po"; else rm -f ".deps/rfc3156.Tpo"; exit 1; fi
rfc3156.c: In function `libbalsa_sign_mime_object':
rfc3156.c:247: attention : d
When I try to update balsa from 2.0.15-r2 to 2.2.6, compilation failed with :
if i686-pc-linux-gnu-gcc -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED_SOURCE -DGNOME_VFS_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -I. -I. -I.. -I.. -I.. -I../libbalsa -I../libbalsa/imap -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-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/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-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/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gmime-2.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/libgtkhtml-3.1 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libglade-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -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/libxml2 -I/usr/include/gpgme -O2 -march=athlon-xp -mtune=athlon-xp -momit-leaf-frame-pointer -ftracer -ggdb -pipe -msse2 -feliminate-dwarf2-dups -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wuninitialized -Wmissing-prototypes -Wreturn-type -MT rfc3156.o -MD -MP -MF ".deps/rfc3156.Tpo" -c -o rfc3156.o rfc3156.c; \
then mv -f ".deps/rfc3156.Tpo" ".deps/rfc3156.Po"; else rm -f ".deps/rfc3156.Tpo"; exit 1; fi
rfc3156.c: In function `libbalsa_sign_mime_object':
rfc3156.c:247: attention : déclaration de « GMIME_CHECK_CAST » externe imbriquéerfc3156.c:247: erreur: erreur d'analyse syntaxique avant « GMimeGpgmeContext »
rfc3156.c: In function `libbalsa_encrypt_mime_object':
rfc3156.c:338: attention : déclaration de « GMIME_CHECK_CAST » externe imbriquéerfc3156.c:338: erreur: erreur d'analyse syntaxique avant « GMimeGpgmeContext »
rfc3156.c: In function `libbalsa_body_check_signature':
rfc3156.c:542: attention : déclaration de « GMIME_CHECK_CAST » externe imbriquéerfc3156.c:542: erreur: erreur d'analyse syntaxique avant « GMimeGpgmeContext »
rfc3156.c: At top level:
rfc3156.c:546: attention : noms de paramètres (sans type) dans la déclaration de fonction
rfc3156.c:546: erreur: types conflictuels pour « g_mime_signature_validity_free »
/usr/include/gmime-2.0/gmime/gmime-cipher-context.h:197: erreur: déclaration précédente de « g_mime_signature_validity_free » était ici
rfc3156.c:546: erreur: types conflictuels pour « g_mime_signature_validity_free »
/usr/include/gmime-2.0/gmime/gmime-cipher-context.h:197: erreur: déclaration précédente de « g_mime_signature_validity_free » était ici
rfc3156.c:546: attention : la définition de données n'a pas de type ni de classe de stockage
rfc3156.c:547: attention : noms de paramètres (sans type) dans la déclaration de fonction
rfc3156.c:547: erreur: types conflictuels pour « g_object_unref »
/usr/include/glib-2.0/gobject/gobject.h:170: erreur: déclaration précédente de « g_object_unref » était ici
rfc3156.c:547: erreur: types conflictuels pour « g_object_unref »
/usr/include/glib-2.0/gobject/gobject.h:170: erreur: déclaration précédente de « g_object_unref » était ici
rfc3156.c:547: attention : la définition de données n'a pas de type ni de classe de stockage
rfc3156.c:548: attention : noms de paramètres (sans type) dans la déclaration de fonction
rfc3156.c:548: attention : la définition de données n'a pas de type ni de classe de stockage
rfc3156.c:549: erreur: erreur d'analyse syntaxique avant « return »
rfc3156.c: In function `libbalsa_body_decrypt':
rfc3156.c:607: attention : déclaration de « GMIME_CHECK_CAST » externe imbriquéerfc3156.c:607: erreur: erreur d'analyse syntaxique avant « GMimeGpgmeContext »
rfc3156.c: In function `libbalsa_rfc2440_sign_encrypt':
rfc3156.c:717: attention : déclaration de « GMIME_CHECK_CAST » externe imbriquéerfc3156.c:717: erreur: erreur d'analyse syntaxique avant « GMimeGpgmeContext »
rfc3156.c: In function `libbalsa_rfc2440_verify':
rfc3156.c:827: attention : déclaration de « GMIME_CHECK_CAST » externe imbriquéerfc3156.c:827: erreur: erreur d'analyse syntaxique avant « GMimeGpgmeContext »
rfc3156.c: In function `libbalsa_rfc2440_decrypt':
rfc3156.c:908: attention : déclaration de « GMIME_CHECK_CAST » externe imbriquéerfc3156.c:908: erreur: erreur d'analyse syntaxique avant « GMimeGpgmeContext »
rfc3156.c: In function `get_passphrase_cb':
rfc3156.c:1578: attention : déclaration de « GMIME_CHECK_TYPE » externe imbriquée
rfc3156.c:1582: attention : déclaration de « GMIME_CHECK_CAST » externe imbriquée
rfc3156.c:1582: erreur: erreur d'analyse syntaxique avant « GMimeGpgmeContext »
make[3]: *** [rfc3156.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
make[3]: Leaving directory `/var/tmp/portage/balsa-2.2.6/work/balsa-2.2.6/libbalsa'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/balsa-2.2.6/work/balsa-2.2.6/libbalsa'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/balsa-2.2.6/work/balsa-2.2.6'
make: *** [all] Erreur 2
!!! ERROR: mail-client/balsa-2.2.6 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Reproducible: Always
Steps to Reproduce:
emerge info :
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.10
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 11:46:30)]
dev-lang/python: 2.3.5
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.14
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -momit-leaf-frame-pointer -ftracer
-ggdb -pipe -msse2 -feliminate-dwarf2-dups "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -momit-leaf-frame-pointer
-ftracer -ggdb -pipe -msse2 -feliminate-dwarf2-dups "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirror.switch.ch/mirror/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 Xaw3d aac aalib acl acpi acpi4linux adns alsa apache2
artworkextra audiofile avi bash-completion berkdb bitmap-fonts bluetooth bmp
bonobo bzip2 c++ caps cddb cdr chroot crypt cups curl dbm dga divx4linux dmx dts
dv dvd eds emboss encode esd exif expat ext-png ext-zlib fam fbcon ffmpeg flac
foomaticdb fortran ftp gcc-libffi gcj gd gd-external gdbm gif gimp gimpprint
gkrellm glade gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl
ieee1394 imagemagick imap imlib imlib2 innodb ipv6 jabber java javamail jce
jikes jpeg junit latex lcms ldap libg++ libwww lm_sensors logrotate mad mikmod
mime mmx mng motif mozilla mp3 mpeg mpeg4 mysql ncurses nls nptl objc ogg
oggvorbis opengl oss pam pcre pdflib perl php plotutils png posix postgres ppds
python quicktime readline real scanner sdl silc slang speex spell sse ssl svg
svga sysfs syslog tcltk tcpd tetex tga theora threads tidy tiff truetype
truetype-fonts type1-fonts unicode usb userlocales xine xinerama xinetd xml2
xosd xpm xrandr xv xvid xvmc yahoo yv12 zeroconf zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
could you post the english version of what the error messages are? Thanks!
Excuse me, I can't :(
I've try to unset LC_ALL and LANG in my bash env before emerge, set this 2 variables to "C" in make.conf, nothing works, always in french ... Any idea ?
Sorry for the delay ...
what are your versions of gmime and gpgme?
Can you attach the entire emerge log for me?
So, I've gmime-2.1.11 freshly installed and gpgme-0.3.14-r1 and 1.0.2
I send entire "make" result and the config.log.
Thanks
Didier
After talking to some other people, there were a few suggestions for you to
try:
in MAKEOPTS, use MAKEOPTS="-j1", and to lower your CFLAGS.
Perhaps try something like:
CFLAGS="-O2 -march=athlon-xp -msse2 -msse -pipe"
Please post the results after you try and re-emerge the package. Thanks!
Exactly the same results ...
I've tried to remerge glib, gmime and gpgme before another try, same thing ...
But if I force the merge of gmime-2.1.9-r1, balsa don't complain !!
Certainly a breakage in the gmime API.
Please update depends of balsa !
Thanks
Didier