Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78521 - ayttm gives gpgme error on compile
Summary: ayttm gives gpgme error on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 08:16 UTC by Virgil Iancu
Modified: 2005-05-23 06:52 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 Virgil Iancu 2005-01-18 08:16:40 UTC
When I try to emerge ayttm I get errros about gpgme.
After that, I've emerged gpgme but I still get the same errors.


Reproducible: Always
Steps to Reproduce:
1.emerge ayttm
2.
3.

Actual Results:  

In file included from aycryption.c:41:
select-keys.h:31: error: syntax error before "GpgmeRecipients"
select-keys.h:31: warning: no semicolon at end of struct or union
select-keys.h:32: warning: `GpgmeCtx' is deprecated (declared at
/usr/include/gpgme/gpgme.h:1522)
select-keys.h:38: error: syntax error before '}' token
In file included from select-keys.c:31:
select-keys.h:31: error: syntax error before "GpgmeRecipients"
select-keys.h:31: warning: no semicolon at end of struct or union
select-keys.h:32: warning: `GpgmeCtx' is deprecated (declared at
/usr/include/gpgme/gpgme.h:1522)
select-keys.h:38: error: syntax error before '}' token
select-keys.c:49: warning: `GpgmeKey' is deprecated (declared at
/usr/include/gpgme/gpgme.h:1537)
select-keys.c: In function `update_progress':
select-keys.c:81: error: dereferencing pointer to incomplete type
select-keys.c: At top level:
select-keys.c:98: error: return type is an incomplete type
select-keys.c:98: error: conflicting types for `gpgmegtk_recipient_selection'
select-keys.h:43: error: previous declaration of `gpgmegtk_recipient_selection'
select-keys.c: In function `gpgmegtk_recipient_selection':
select-keys.c:99: error: storage size of `sk' isn't known
select-keys.c:100: warning: `GpgmeError' is deprecated (declared at
/usr/include/gpgme/gpgme.h:1524)
select-keys.c:109: warning: `return' with a value, in function returning void
select-keys.c:134: warning: `return' with a value, in function returning void
select-keys.c: In function `destroy_key':
select-keys.c:140: warning: `GpgmeKey' is deprecated (declared at
/usr/include/gpgme/gpgme.h:1537)
select-keys.c: At top level:
select-keys.c:145: warning: `GpgmeKey' is deprecated (declared at
/usr/include/gpgme/gpgme.h:1537)
.
.
.
aycryption.c: In function `gpgmegtk_passphrase_cb':
aycryption.c:638: warning: `GpgmeCtx' is deprecated (declared at
/usr/include/gpgme/gpgme.h:1522)
make[3]: *** [aycryption.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/ayttm-0.4.6-r1/work/ayttm-0.4.6/modules/aycryption'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/ayttm-0.4.6-r1/work/ayttm-0.4.6/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ayttm-0.4.6-r1/work/ayttm-0.4.6'
make: *** [all] Error 2

!!! ERROR: net-im/ayttm-0.4.6-r1 failed.


Expected Results:  
work

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -ffast-math -funroll-loops -pipe
-fomit-frame-pointer -mmmx -m3dnow -msse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -ffast-math -funroll-loops -pipe
-fomit-frame-pointer -mmmx -m3dnow -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.lug.ro/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd fam
flac foomaticdb fortran freetds gdbm gif gnome gpm gtk gtk2 imlib ipv6 javajpeg
kde libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcltk tcpd
tiff truetype xml2 xmms xv zlib"
Comment 1 Thomas Heinrichsdobler 2005-02-06 09:12:48 UTC
Changing this part of the ebuild:

src_compile() {

    econf \
        --enable-smtp \
        --disable-arts \
        `use_enable truetype xft` \
        `use_enable esd` \
        `use_enable gnome` \
        `use_enable nls` || die
    emake || die

}

So that it looks like this:

src_compile() {

    econf \
        --enable-smtp \
        --disable-arts \
        --disable-aycryption \
        `use_enable truetype xft` \
        `use_enable esd` \
        `use_enable gnome` \
        `use_enable nls` || die
    emake || die

}

Will disable encryption and ayttm will compile just fine.

HTH
Comment 2 Nathan Adams 2005-03-11 08:13:03 UTC
I get the same error; have not tried hacking the ebuild.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-05-23 06:45:01 UTC
it just needed the right version of gpgme-0.3.14 
Comment 4 Daniel Black (RETIRED) gentoo-dev 2005-05-23 06:52:11 UTC
it just needed the right version of gpgme-0.3.14