Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285007 - >=mail-client/balsa-2.4.1 fails to build with gpgme-1.2
Summary: >=mail-client/balsa-2.4.1 fails to build with gpgme-1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 278718
  Show dependency tree
 
Reported: 2009-09-14 21:50 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2010-01-14 14:40 UTC (History)
3 users (show)

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


Attachments
Patch which solves the problem (test needed) (balsa-2.4.1-gpgme-lfs.patch,759 bytes, patch)
2009-09-17 15:08 UTC, Romain Perier (RETIRED)
Details | Diff
new patch (balsa-2.4.1-gpgme-lfs.patch,1.63 KB, patch)
2009-09-18 15:37 UTC, Romain Perier (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-14 21:50:22 UTC
+++ This bug was initially created as a clone of Bug #278718 +++

(In reply to comment #11)
> (In reply to comment #7)
> > Hrm, 2.4.1 fails with gpgme 1.2.0 again.
> > 
> 
> could you be a bit more precise, I'm running this on amd64 and it seems to be
> working fine, checking gpg signatures returns correct results or at least
> similar to evolution.

In file included from rfc3156.h:31,
                 from message.h:37,
                 from libbalsa.h:45,
                 from body.c:34:
/usr/include/gpgme/gpgme.h:80:2: error: #error GPGME was compiled with
_FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the
GPGME manual.
mv -f .deps/address-view.Tpo .deps/address-view.Po
Comment 1 Romain Perier (RETIRED) gentoo-dev 2009-09-17 15:08:38 UTC
Created attachment 204437 [details, diff]
Patch which solves the problem (test needed)
Comment 2 Romain Perier (RETIRED) gentoo-dev 2009-09-17 15:08:59 UTC
@fauli: Could you try this patch ?
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-17 16:02:05 UTC
@romain, this fix is just wrong. There's most likely a macro that does the appropriate tests and sets this variable (check gpgme code). Like I said on irc, this value is not always 64 which is why it's not reproducible on amd64.
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-09-18 15:37:46 UTC
Created attachment 204523 [details, diff]
new patch

new patch
Comment 5 Romain Perier (RETIRED) gentoo-dev 2009-09-19 07:44:35 UTC
@x86 guys: ping, could you try this patch ?
please get back us, thanks in advance.
Comment 6 Romain Perier (RETIRED) gentoo-dev 2009-09-20 18:30:23 UTC
ping ^^
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2009-09-21 23:38:44 UTC
Sorry, I was away for some days.  GPGME seems to be fine now, but now there seem to be libtool issues:

/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -ansi -O2 -march=i686 -pipe -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wuninitialized
 -Wmissing-prototypes -Wreturn-type -Wdeclaration-after-statement  -Wl,-O1 -o imap_tst imap_tst.o libimap.a -pthread -lgmime-2.4 -lz -lnsl -lgnomeui-2 -lSM -lICE -lbonoboui-2 -l
gnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lf
reetype -lfontconfig -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lgconf-2 -lgnome-keyring -lglib-2.0   -lgpgme-pthread -lpthread -lg
pg-error -lsqlite3   -lesmtp -lssl -lcrypto -ldl   -lnotify -lgtksourceview-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 
-lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lunique-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0
 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lgtkspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lldap -llber -lresolv
../../libtool: line 834: X--tag=CC: command not found
../../libtool: line 867: libtool: ignoring unknown tag : command not found
../../libtool: line 834: X--mode=link: command not found
../../libtool: line 1001: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 1002: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../libtool: line 2251: X-ansi: command not found
../../libtool: line 2251: X-O2: command not found
../../libtool: line 2081: X-march=i686: command not found
../../libtool: line 2251: X-pipe: command not found
../../libtool: line 2251: X-Wsign-compare: command not found
../../libtool: line 2251: X-Wpointer-arith: command not found
../../libtool: line 2251: X-Wnested-externs: command not found
../../libtool: line 2251: X-Wchar-subscripts: command not found
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-22 06:20:41 UTC
Hum the libtool-1 vs. libtool-2 issue, just need to remove libtool macros before doing eautoreconf and probably running intltoolize as well.
Comment 9 Romain Perier (RETIRED) gentoo-dev 2009-09-23 10:52:56 UTC
(In reply to comment #8)
> Hum the libtool-1 vs. libtool-2 issue, just need to remove libtool macros
> before doing eautoreconf and probably running intltoolize as well.
> 

balsa doesn't contains macro directory (none m4/ or macros/)
all libtool macros seem to be defined in aclocal.m4,
so I think fauli must call intltoolize + eautoreconf (which should overwrite aclocal.m4 nop ?)

@fauli : could you try ?
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2009-09-23 14:14:18 UTC
In file included from rfc3156.h:31,
                 from message.h:37,
                 from libbalsa.h:45,
                 from body.c:34:
/usr/include/gpgme/gpgme.h:83:2: error: #error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual.
make[3]: *** [body.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/address-view.Tpo .deps/address-view.Po
mv -f .deps/address.Tpo .deps/address.Po
make[3]: Leaving directory `/var/tmp/portage/mail-client/balsa-2.4.1-r1/work/balsa-2.4.1/libbalsa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mail-client/balsa-2.4.1-r1/work/balsa-2.4.1/libbalsa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-client/balsa-2.4.1-r1/work/balsa-2.4.1'
make: *** [all] Error 2

We are getting nearer.  intltoolize --force --copy plus eautoreconf helped for the following error, but the patch does not help as I thought.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-01 21:36:40 UTC
for some reason I can't reproduce this problem on my x86
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2009-11-04 16:11:39 UTC
(In reply to comment #11)
> for some reason I can't reproduce this problem on my x86

 Could someone else from the team please try it?
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2010-01-11 14:06:52 UTC
balsa 2.4.2 is out...they don't talk about gpgme, but maybe they improved it nonetheless.
Comment 14 Thomas Kahle (RETIRED) gentoo-dev 2010-01-12 18:55:07 UTC
Hi, I can't reproduce this problem on x86. I just built gpgme-1.2 and balsa-2.4.1-r1 without any issues. (I don't have the attached patch applied, portage version works.)
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2010-01-14 14:40:01 UTC
Right, Thomas...it does not fail for me anymore...however.