Hello, this is my first bug report, hope it's OK. balsa 2.3.8 doesn't compile with -O3 nor -O0. output: if i686-pc-linux-gnu-gcc -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGMIME_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED_SOURCE -DGNOME_VFS_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I.. -I.. -I../libbalsa -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-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/cairo -I/usr/include/pango-1.0 -I/usr/include/gmime-2.0 -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/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gpgme -pipe -march=athlon-xp -O0 -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wuninitialized -Wmissing-prototypes -Wreturn-type -Wdeclaration-after-statement -D_FORTIFY_SOURCE=2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi cc1: attention : -Wuninitialized n'est pas support
Hello, this is my first bug report, hope it's OK. balsa 2.3.8 doesn't compile with -O3 nor -O0. output: if i686-pc-linux-gnu-gcc -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGMIME_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED_SOURCE -DGNOME_VFS_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I.. -I.. -I../libbalsa -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-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/cairo -I/usr/include/pango-1.0 -I/usr/include/gmime-2.0 -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/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/gtkhtml-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gpgme -pipe -march=athlon-xp -O0 -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wuninitialized -Wmissing-prototypes -Wreturn-type -Wdeclaration-after-statement -D_FORTIFY_SOURCE=2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi cc1: attention : -Wuninitialized n'est pas supporté sans -O main.c: In function 'balsa_init': main.c:252: erreur: 'GNOME_PARAM_POPT_TABLE' undeclared (first use in this function) emerge --info: Portage 2.1.1_pre1-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-pipe -march=athlon-xp -mmmx -m3dnow -msse -maccumulate-outgoing-args -minline-all-stringops -O3 -fforce-addr -funroll-loops -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-pipe -march=athlon-xp -mmmx -m3dnow -msse -maccumulate-outgoing-args -minline-all-stringops -O3 -fforce-addr -funroll-loops -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d a52 aac acpi alsa avi bash-completion berkdb bidi bindist bitmap-fonts boundschecking bzip2 cairo cdda cddb cdr cli crypt cscope dbus directfb dri dts dvd dvdr dvdread dynagraph emoticon encode esd exif fam fbcon firefox flac fortran gcc-libffi gcj gdbm gif glibc-compat20 glibc-omitfp glitz gnome gnustep gnutls gpm gstreamer gtk gtk2 gtkhtml hpn imlib isdnlog jack jikes joystick jpeg jpeg2k kdeenablefinal libcaca libg++ libsamplerate libwww live lm_sensors logrotate mad matroska mikmod mmx mod mozsvg mp3 mpeg mpi musepack nas ncurses neXt nls nptl nptlonly numeric objc objc++ objc-gc ogg openal openexr opengl pam pcre pdflib perl physfs png pppd python qt quicktime readline real reflection ruby sdl session slang sndfile sox speex spell spl sse ssl svg svga symlink sysfs tcpd threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode userlocales utf8 vcd vim-pager vim-with-x vlm vorbis wxgtk1 wxwindows xface xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr userland_GNU video_cards_nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
The fix is to upgrade to mail-client/balsa-2.3.12, which is not yet in portage. Google says that GNOME_PARAM_POPT_TABLE is a depreciated symbol, and this was addressed by upstream in balsa-2.3.11. I couldn't find 2.6.11 code but 2.6.12 is out there on the usual mirrors. Gergan Penkov provides this patch to the 2.3.8 ebuild See http://forums.gentoo.org/viewtopic-p-3403734.html#3403734 ======================================================== diff -Nua /usr/portage/mail-client/balsa/balsa-2.3.8.ebuild /usr/local/overlays/portage/mail-client/balsa/balsa-2.3.12.ebuild --- /usr/portage/mail-client/balsa/balsa-2.3.8.ebuild 2006-01-21 22:26:53.000000000 +0100 +++ /usr/local/overlays/portage/mail-client/balsa/balsa-2.3.12.ebuild 2006-06-24 22:01:59.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-client/balsa/balsa-2.3.8.ebuild,v 1.1 2006/01/21 21:26:53 compnerd Exp $ -inherit gnome2 +inherit gnome2 autotools eutils DESCRIPTION="Email client for GNOME" HOMEPAGE="http://balsa.gnome.org" @@ -48,6 +48,13 @@ DOCS="AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO docs/*" USE_DESTDIR="1" +src_unpack (){ + unpack ${A} + cd ${S} + epatch ${FILESDIR}/pthreads.patch + eautoreconf || die +} + pkg_setup() { if use crypt ; then G2CONF="${G2CONF} --with-gpgme=gpgme-config" ============================================================= This is the epatch ${FILESDIR}/pthreads.patch file content ============================================================= --- configure.in.orig 2006-06-24 21:25:45.000000000 +0200 +++ configure.in 2006-06-24 21:25:53.000000000 +0200 @@ -313,7 +313,7 @@ AC_DEFINE(HAVE_GPGME,1,[Defined when gpgme is available.]) BALSA_CFLAGS="$BALSA_CFLAGS `$gpgmecfg --cflags`" if test x"$use_threads" = xyes; then - BALSA_LIBS="$BALSA_LIBS `$gpgmecfg --thread=pthread --libs`" + BALSA_LIBS="$BALSA_LIBS `$gpgmecfg --thread=pth --libs`" else BALSA_LIBS="$BALSA_LIBS `$gpgmecfg --libs`" fi ================================================================= After doing all that, mail-client/balsa-2.3.12 will compile but it segfaults frequently when run if you use gtk+-2.8.19. You must downgrade to gtk+-2.8.18 (or lower) to fix the segfault.
*** Bug 138092 has been marked as a duplicate of this bug. ***
This part is the problem and needs to be removed (balsa uses stuff that has been deprecated lately) : -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGMIME_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED_SOURCE -DGNOME_VFS_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
I have the same problem, but I have been using this version of balsa successfully for some time. (gtk 2.8.19) I wanted to re-emerge to see if it would fix the recent disappearance of some icons in the app. If something has changed in one of balsa's dependencies, could the 2.3.8 ebuild have it's DEPEND changed appropriately? I'll try to figure out which it is, but I'm not sure I'll be able.
(In reply to comment #4) balsa-2.6.12 and 2.6.13 both build ok but neither appears to work with >gtk+-2.6.18. I can host my ebuilds somewhere if you want to take it further. As foser says, balsa-2.6.8 depends on depreciated upstream stuff. There is no point in doing further work with it. I have not invesigated why >gtk+-2.6.18 and balsa break together.
Try with balsa-2.3.13. It has threads disabled since it doesn't play nice with gpgme (crypt) in this rev. I'll look into this later when i get some more free time.
2.3.13 fine for sparc, we're out!
Fixed, then.