Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60126 - sylpheed-claws 0.9.12 fails to compile gpgme related
Summary: sylpheed-claws 0.9.12 fails to compile gpgme related
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-12 02:50 UTC by Elie De Brauwer
Modified: 2004-08-27 06:14 UTC (History)
2 users (show)

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 Elie De Brauwer 2004-08-12 02:50:01 UTC
Last error lines where everything goes wrong :


if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Icommon -Igtk -I../intl -DG_LOG_DOMAIN=\"Sylpheed\" -DLOCALEDIR=\""/usr/share/locale"\" -DMANUALDIR=\""/usr/share/sylpheed-claws/manual"\" -DFAQDIR=\""/usr/share/sylpheed-claws/faq"\" -DTARGET_ALIAS=\""x86_64-pc-linux-gnu"\" -DSYSCONFDIR=\""/etc"\" -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gpgme -I/usr/include   -O2 -pipe -MT passphrase.o -MD -MP -MF ".deps/passphrase.Tpo" -c -o passphrase.o passphrase.c; \
then mv -f ".deps/passphrase.Tpo" ".deps/passphrase.Po"; else rm -f ".deps/passphrase.Tpo"; exit 1; fi
In file included from passphrase.c:44:
passphrase.h:26: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme/gpgme.h:1522)
passphrase.c: In function `gpgmegtk_passphrase_cb':
passphrase.c:289: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme/gpgme.h:1522)
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Icommon -Igtk -I../intl -DG_LOG_DOMAIN=\"Sylpheed\" -DLOCALEDIR=\""/usr/share/locale"\" -DMANUALDIR=\""/usr/share/sylpheed-claws/manual"\" -DFAQDIR=\""/usr/share/sylpheed-claws/faq"\" -DTARGET_ALIAS=\""x86_64-pc-linux-gnu"\" -DSYSCONFDIR=\""/etc"\" -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gpgme -I/usr/include   -O2 -pipe -MT pgpmime.o -MD -MP -MF ".deps/pgpmime.Tpo" -c -o pgpmime.o pgpmime.c; \
then mv -f ".deps/pgpmime.Tpo" ".deps/pgpmime.Po"; else rm -f ".deps/pgpmime.Tpo"; exit 1; fi
In file included from pgpmime.c:34:
sgpgme.h:30: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme/gpgme.h:1522)
sgpgme.h:31: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
sgpgme.h:32: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
sgpgme.h:32: warning: `GpgmeSigStat' is deprecated (declared at /usr/include/gpgme/gpgme.h:1528)
sgpgme.h:34: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme/gpgme.h:1522)
sgpgme.h:35: warning: `GpgmeSigStat' is deprecated (declared at /usr/include/gpgme/gpgme.h:1528)
sgpgme.h:36: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme/gpgme.h:1522)
sgpgme.h:37: warning: `GpgmeSigStat' is deprecated (declared at /usr/include/gpgme/gpgme.h:1528)
sgpgme.h:38: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme/gpgme.h:1522)
sgpgme.h:39: warning: `GpgmeSigStat' is deprecated (declared at /usr/include/gpgme/gpgme.h:1528)
sgpgme.h:40: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
sgpgme.h:41: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
sgpgme.h:41: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
pgpmime.c:45: warning: `GpgmeSigStat' is deprecated (declared at /usr/include/gpgme/gpgme.h:1528)
pgpmime.c:46: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme/gpgme.h:1522)
pgpmime.c: In function `pgpmime_check_signature':
pgpmime.c:134: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
pgpmime.c:134: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
pgpmime.c: In function `pgpmime_decrypt':
pgpmime.c:239: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
pgpmime.c:239: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme/gpgme.h:1523)
pgpmime.c:267: warning: `gpgme_data_rewind' is deprecated (declared at /usr/include/gpgme/gpgme.h:955)
pgpmime.c:268: error: too many arguments to function `gpgme_data_read'
pgpmime.c:268: error: `GPGME_No_Error' undeclared (first use in this function)
pgpmime.c:268: error: (Each undeclared identifier is reported only once
pgpmime.c:268: error: for each function it appears in.)
make[4]: *** [pgpmime.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.9.12/work/sylpheed-claws-0.9.12/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.9.12/work/sylpheed-claws-0.9.12/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.9.12/work/sylpheed-claws-0.9.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sylpheed-claws-0.9.12/work/sylpheed-claws-0.9.12'
make: *** [all] Error 2

!!! ERROR: mail-client/sylpheed-claws-0.9.12 failed.
!!! Function src_compile, Line 84, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:





Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r13)
=================================================================
System uname: 2.6.7-gentoo-r13 x86_64 4
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.du.se/pub/os/gentoo http://gentoo.mirror.sdv.fr
http://ftp.gentoo.skynet.be/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif gnome
gpm gtk gtk2 imlib java jpeg kde libg++ libwww mikmod motif mozilla mpeg ncurses
nls nogcj oggvorbis opengl oss pam pdflib perl png python qt quicktime readline
sdl slang snmp spell ssl tcpd tetex truetype xml2 xmms xv zlib"
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-08-13 01:58:41 UTC
What version of gpgme do you have installed? Sylpheed does work with 0.3.x branch, not 0.4.x
Comment 2 Elie De Brauwer 2004-08-14 01:03:57 UTC
Erm 0.9 ? ;-)
And if it is the gpgme version, it's probably still a dependency problem 

root@psychotic /home/helios # genlop gpgme 
 * app-crypt/gpgme

     Sat Jun  5 19:36:48 2004 >>> app-crypt/gpgme-0.3.14
     Thu Jul  8 13:41:09 2004 >>> app-crypt/gpgme-0.4.7
     Sun Aug  8 09:30:10 2004 >>> app-crypt/gpgme-0.9.0-r1
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2004-08-14 08:55:19 UTC
gpgme 0.9 is 0.4 bumped to 0.9 as they went stable. The ebuild explicitly wants gpgme 0.3, but there was a bug with multiple simultaneous gpgme versions (they're installed in slots, but they have been overwriting their files).

Anyway, according to your bugreport, you tried sylpheed-claws-0.9.12.ebuild, and there's a new -r1 ebuild, which pulls in newer revision of gpgme 0.3.something too. That should fix your problem.
Comment 4 Elie De Brauwer 2004-08-14 09:05:22 UTC
First comment is that the -r1 ebuild is missing the ~amd64 keyword (I'll add it and test it now)
Comment 5 Elie De Brauwer 2004-08-14 09:24:37 UTC
Blah, I added the ~amd64 keyword and tried to 

root@psychotic /usr/portage/mail-client/sylpheed-claws # emerge sylpheed-claws-0.9.12-r1
Calculating dependencies   
!!! Problem in mail-client/sylpheed-claws-0.9.12-r1 dependencies.
!!! "Specific key requires an operator (mail-client/sylpheed-claws-0.9.12-r1) (try adding an '=')"

(I assume it's supposed to be done this way but I can be mistaken since I'm not using gentoo _that_ long). Any pointers on how to go from there ?
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2004-08-14 09:34:38 UTC
No, you should just sync, and do 'emerge sylpheed-claws'. This should start to emerge -r1, if you added ~amd64 to KEYWORDS.

For the future, if you need to emerge a specific version of ebuild, you do 'emerge \=blah-1.2.3' (the \ is necessary on bash).

Good luck.
Comment 7 cerement 2004-08-14 15:29:05 UTC
Also getting this error on emerging 0.9.12 ... BUT currently have 0.9.12-r1 installed, portage wants to downgrade to 0.9.12 and the error occurs on the downgrade.

Also, Comment #7 of Bug #53942 indicates that sylpheed-claws should now be using gpgme-0.90-r1, not 0.3 or 0.4 ...
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2004-08-15 05:56:09 UTC
Not true, according to claws' configure.ac, it still makes use of the 0.3 branch. I have just spoken to the devs and next release of sylpheed-claws will still use it.
Comment 9 Daniel Black (RETIRED) gentoo-dev 2004-08-21 17:49:12 UTC
Andrej, quite right you are. Me wrong.

Does sylpheed-claws 0.9.12-r1 work for you now?
Comment 10 Elie De Brauwer 2004-08-21 23:34:42 UTC
Sorry, finally figured out how to unmask the package :D (no gentoo veteran (yet)).

But now everything (seems to) work(s)
Comment 11 Andrej Kacian (RETIRED) gentoo-dev 2004-08-22 01:59:42 UTC
Confirmed, -r1 builds fine.

FYI, new claws release comes tomorrow (I just finished my translation for the new release), so you might want to take a look at it.
Comment 12 Marius Mauch (RETIRED) gentoo-dev 2004-08-25 01:10:24 UTC
Daniel, can you add blockers in gpgme so that they don't overwrite each others files?
Comment 13 Daniel Black (RETIRED) gentoo-dev 2004-08-27 01:25:02 UTC
Marius - yep done - should of done it earlier - sylpheed-claws-0.9.12a is there I see.

Can this bug be closed?
Comment 14 Marius Mauch (RETIRED) gentoo-dev 2004-08-27 06:14:21 UTC
done