Emerging gnutls-1.2.10 fails due to some error quite late in src_compile. The trouble appears to begin on line 1064 of the output (this was part of "emerge openoffice", but the stuff also happens with "emerge gnutls"): cd . && gtkdoc-mktmpl --module=gnutls WARNING: No declaration for: cdk_ctx_s WARNING: No declaration for: cdk_ctx_t WARNING: No declaration for: cdk_strlist_s WARNING: No declaration for: cdk_strlist_t WARNING: No declaration for: cdk_sesskey_s WARNING: No declaration for: cdk_sesskey_t WARNING: No declaration for: cdk_listkey_s WARNING: No declaration for: cdk_listkey_t WARNING: No declaration for: cdk_mpi_s WARNING: No declaration for: cdk_mpi_t WARNING: No declaration for: cdk_dek_s WARNING: No declaration for: cdk_dek_t WARNING: No declaration for: cdk_s2k_s WARNING: No declaration for: cdk_s2k_t WARNING: No declaration for: cdk_stream_s WARNING: No declaration for: cdk_stream_t WARNING: No declaration for: cdk_prefitem_s WARNING: No declaration for: cdk_prefitem_t WARNING: No declaration for: cdk_kbnode_s WARNING: No declaration for: cdk_kbnode_t WARNING: No declaration for: cdk_keydb_hd_s WARNING: No declaration for: cdk_keydb_hd_t WARNING: No declaration for: cdk_keylist_s WARNING: No declaration for: cdk_keylist_t WARNING: No declaration for: cdk_subpkt_s WARNING: No declaration for: cdk_subpkt_t WARNING: No declaration for: cdk_keygen_ctx_s WARNING: No declaration for: cdk_keygen_ctx_t WARNING: No declaration for: cdk_desig_revoker_s WARNING: No declaration for: cdk_desig_revoker_t WARNING: No declaration for: cdk_md_hd_s WARNING: No declaration for: cdk_md_hd_t WARNING: No declaration for: cdk_cipher_hd_s WARNING: No declaration for: cdk_cipher_hd_t WARNING: No declaration for: cdk_pkt_userid_s WARNING: No declaration for: cdk_pkt_userid_t WARNING: No declaration for: cdk_pkt_pubkey_s WARNING: No declaration for: cdk_pkt_pubkey_t WARNING: No declaration for: cdk_pkt_seckey_s WARNING: No declaration for: cdk_pkt_seckey_t WARNING: No declaration for: cdk_pkt_signature_s WARNING: No declaration for: cdk_pkt_signature_t WARNING: No declaration for: cdk_pkt_onepass_sig_s WARNING: No declaration for: cdk_pkt_onepass_sig_t WARNING: No declaration for: cdk_pkt_pubkey_enc_s WARNING: No declaration for: cdk_pkt_pubkey_enc_t WARNING: No declaration for: cdk_pkt_symkey_enc_s WARNING: No declaration for: cdk_pkt_symkey_enc_t WARNING: No declaration for: cdk_pkt_encrypted_s WARNING: No declaration for: cdk_pkt_encrypted_t WARNING: No declaration for: cdk_pkt_mdc_s WARNING: No declaration for: cdk_pkt_mdc_t WARNING: No declaration for: cdk_pkt_literal_s WARNING: No declaration for: cdk_pkt_literal_t WARNING: No declaration for: cdk_pkt_compressed_s WARNING: No declaration for: cdk_pkt_compressed_t WARNING: No declaration for: cdk_packet_s WARNING: No declaration for: CDK_PACKET WARNING: No declaration for: cdk_packet_t ###Can't parse args for function cdk_data_transform: enum cdk_crypto_mode_t mode,cdk_strlist_t locusr, cdk_strlist_t remusr,const void * inbuf, size_t insize,unsigned char ** outbuf, size_t * outsize,int modval ###Can't parse args for function cdk_keygen_set_prefs: enum cdk_pref_type_t type,const unsigned char * array, size_t n ###Can't parse args for function cdk_keygen_set_algo_info: enum cdk_pk_algo_t algo, int bits WARNING: No declaration for: node_asn WARNING: No declaration for: static_struct_asn WARNING: No declaration for: ASN1_ARRAY_TYPE Enum declaration 'typedef enum gnutls_pkcs12_bag_type_t { GNUTLS_BAG_EMPTY = 0, GNUTLS_BAG_PKCS8_ENCRYPTED_KEY = 1, GNUTLS_BAG_PKCS8_KEY, GNUTLS_BAG_CERTIFICATE, GNUTLS_BAG_CRL, GNUTLS_BAG_ENCRYPTED = 10, GNUTLS_BAG_UNKNOWN = 20 } gnutls_pkcs12_bag_type_t; ' does not begin with typedef enum { WARNING: No declaration for: gnutls_pkcs12_int make[3]: *** [tmpl-build.stamp] Error 9 make[3]: Leaving directory `/var/tmp/portage/gnutls-1.2.10/work/gnutls-1.2.10/doc/reference' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnutls-1.2.10/work/gnutls-1.2.10/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnutls-1.2.10/work/gnutls-1.2.10' make: *** [all] Error 2 !!! ERROR: net-libs/gnutls-1.2.10 failed. !!! Function src_compile, Line 56, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ...done! >>> emerge (1 of 33) net-libs/gnutls-1.2.10 to / >>> md5 files ;-) gnutls-1.2.9.ebuild >>> md5 files ;-) gnutls-1.2.10-r1.ebuild >>> md5 files ;-) gnutls-1.2.10.ebuild >>> md5 files ;-) gnutls-1.2.9-r1.ebuild >>> md5 files ;-) gnutls-1.2.3.ebuild >>> md5 files ;-) gnutls-1.2.4.ebuild >>> md5 files ;-) files/digest-gnutls-1.2.10 >>> md5 files ;-) files/digest-gnutls-1.2.9-r1 >>> md5 files ;-) files/digest-gnutls-1.2.9 >>> md5 files ;-) files/digest-gnutls-1.2.10-r1 >>> md5 files ;-) files/digest-gnutls-1.2.3 >>> md5 files ;-) files/digest-gnutls-1.2.4 >>> md5 src_uri ;-) gnutls-1.2.10.tar.bz2 ___________________________________________________________________________ emerge --info: Portage 2203-svn (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz Gentoo Base System version 1.4.16 dev-lang/python: 2.3.4-r1 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa audiofile avi bash-completion bcmath berkdb bitmap-fonts bluetooth bzip2 cdr cli crypt cups doc dri dvd eds emacs emacs-w3 emboss exif expat foomaticdb fortran gdbm gif glut gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog java jpeg lcms leim libg++ libwww mad maildir mikmod mime mng motif mp3 mpeg mule ncurses ogg oggvorbis opengl oss pam pcre pdflib perl png pnp ppd pppd python qt quicktime readline recode reflection scanner sdl session soap sox spell spl ssl svg svga tcltk tcpd tetex tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Bleh, the gtk-doc thing is broken again... :/ Try w/ USE="-doc" as a workaround...
Upgrading gtk-doc to the current unmasked version in portage also fixed the problem for me.
Florian v. Savigny, Can you please close this bug if all OK? Thanks!
gnutls-1.2 should not be used, since it is vulnerable. Please upgrade to next stable version gnutls-1.4.4-r1. Reopen if this occurs in this version too.