When I try to emerge GPA, loads of warnings are thrown and finally the compile fails. Reproducible: Always Steps to Reproduce: 1. emerge gpa Actual Results: (0) otherland ~ # emerge gpa Calculating dependencies ...done! >>> emerge (1 of 1) app-crypt/gpa-0.6.1 to / >>> md5 src_uri ;-) gpa-0.6.1.tar.gz >>> Unpacking source... >>> Unpacking gpa-0.6.1.tar.gz to /var/tmp/portage/gpa-0.6.1/work >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-nls configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for sin in -lm... yes checking for compress in -lz... yes checking for strsep... yes checking for i686-pc-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for strerror in -lcposix... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gpg... /usr/bin/gpg checking for gpgkeys_ldap... ${exec_prefix}/libexec/gnupg/gpgkeys_ldap checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory done checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 1.875, ok checking whether NLS is requested... no checking for getopt_long... yes using libc's getopt_long checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.4.9) checking for gpgme-config... /usr/bin/gpgme4-config checking for GPGME - version >= 0.4.0... yes checking for byte typedef... no checking for ushort typedef... yes checking for ulong typedef... yes checking for u16 typedef... no checking for u32 typedef... no configure: creating ./config.status config.status: creating Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating pixmaps/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing gpadefs.h commands gpadefs.h created make all-recursive make[1]: Entering directory `/var/tmp/portage/gpa-0.6.1/work/gpa-0.6.1' Making all in intl make[2]: Entering directory `/var/tmp/portage/gpa-0.6.1/work/gpa-0.6.1/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/gpa-0.6.1/work/gpa-0.6.1/intl' Making all in src make[2]: Entering directory `/var/tmp/portage/gpa-0.6.1/work/gpa-0.6.1/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../pixmaps -pipe -march=athlon-tbird -O2 -fstack-protector -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/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 -DGTK_ENABLE_BROKEN -I/usr/include/gpgme4 -Wall -MT gpa.o -MD -MP -MF ".deps/gpa.Tpo" \ -c -o gpa.o `test -f 'gpa.c' || echo './'`gpa.c; \ then mv ".deps/gpa.Tpo" ".deps/gpa.Po"; \ else rm -f ".deps/gpa.Tpo"; exit 1; \ fi In file included from gpa.h:32, from gpa.c:35: gpgmetools.h:65: warning: `GpgmeError' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1509) gpgmetools.h:71: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1508) gpgmetools.h:83: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1508) gpgmetools.h:85: warning: `GpgmeError' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1509) gpgmetools.h:89: warning: `GpgmeData' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1508) gpgmetools.h:95: warning: `GpgmeError' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1509) gpgmetools.h:112: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) gpgmetools.h:115: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) gpgmetools.h:127: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) gpgmetools.h:133: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) gpgmetools.h:138: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) gpgmetools.h:146: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) gpgmetools.h:151: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) gpgmetools.h:156: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) In file included from gpa.h:34, from gpa.c:35: keytable.h:33: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) keytable.h:49: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) keytable.h:50: warning: `GpgmeKey' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1522) In file included from gpa.c:35: gpa.h:54: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1507) gpa.c:59: warning: `GpgmeCtx' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1507) gpa.c: In function `main': gpa.c:325: warning: `GpgmeError' is deprecated (declared at /usr/include/gpgme4/gpgme.h:1509) gpa.c:382: error: `GPGME_No_Error' undeclared (first use in this function) gpa.c:382: error: (Each undeclared identifier is reported only once gpa.c:382: error: for each function it appears in.) gpa.c:384: warning: passing arg 2 of `gpgme_set_passphrase_cb' from incompatible pointer type make[2]: *** [gpa.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gpa-0.6.1/work/gpa-0.6.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gpa-0.6.1/work/gpa-0.6.1' make: *** [all] Error 2 !!! ERROR: app-crypt/gpa-0.6.1 failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. (1) otherland ~ # genlop gnupg gpgme * app-crypt/gnupg Tue Sep 23 23:37:50 2003 --> app-crypt/gnupg-1.2.3-r2 Thu Oct 16 21:30:11 2003 --> app-crypt/gnupg-1.2.3-r2 Sat Nov 22 01:41:28 2003 --> app-crypt/gnupg-1.2.3-r3 Sun Dec 7 21:32:43 2003 --> app-crypt/gnupg-1.2.3-r5 Fri Apr 16 15:30:01 2004 --> app-crypt/gnupg-1.2.4 Sun Sep 19 18:43:27 2004 --> app-crypt/gnupg-1.9.10 merged totally 6 ebuilds. * app-crypt/gpgme Thu Oct 16 21:36:31 2003 --> app-crypt/gpgme-0.3.14 Mon May 10 22:31:29 2004 --> app-crypt/gpgme-0.4.0 Mon May 10 23:31:59 2004 --> app-crypt/gpgme-0.4.0 Mon May 10 23:39:05 2004 --> app-crypt/gpgme-0.4.0 Mon May 10 23:46:33 2004 --> app-crypt/gpgme-0.4.0 Thu Jul 1 17:16:20 2004 --> app-crypt/gpgme-0.4.7 Sun Sep 19 18:50:07 2004 --> app-crypt/gpgme-0.9.0-r1 merged totally 7 ebuilds. Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r3 i686) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-pipe -march=athlon-tbird -O2 -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /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/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -march=athlon-tbird -O2 -fstack-protector" DISTDIR="/var/cache/portage/sources" FEATURES="autoaddcvs candy ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inode.at/" MAKEOPTS="-j1" PKGDIR="/var/cache/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-overlay/mortage /usr/local/portage-overlay/misc /usr/local/portage-overlay/kde-b33" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aavm acl acpi acpi4linux alsa apache2 apm arts artswrappersuid avi berkdb cdr crypt cups curl dga directfb dvd dvdr encode ethereal expat f77 faad fbcon foomaticdb gcj gd gdbm geoip gif gphoto2 gpm gtk gtk2 hbci imap imlib ipv6 irda jabber java javascript jpeg kde ldap libg++ libwww mad maildir mikmod mmx mozilla moznoirc mpeg ncurses odbc oggvorbis opengl operanom2 oss pam pda pdflib perl pic png python qt quicktime readline samba scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex theora tiff truetype usagi usb wmf x86 xine xinerama xmlxml2 xmms xv xvid zlib video_cards_radeon"
remove app-crypt/gpgme-0.4.0 and try again.
gpa-0.6.1 removed from tree - try 0.7.0