Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80906 - gnutls-1.2.0 does not compile
Summary: gnutls-1.2.0 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-05 13:54 UTC by Ivan Yosifov
Modified: 2005-07-16 17:38 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 Ivan Yosifov 2005-02-05 13:54:46 UTC
localhost ~ # emerge gnutls
Calculating dependencies ...done!
>>> emerge (1 of 1) net-libs/gnutls-1.2.0 to /
>>> md5 src_uri ;-) gnutls-1.2.0.tar.bz2
>>> Unpacking source...
>>> Unpacking gnutls-1.2.0.tar.bz2 to /var/tmp/portage/gnutls-1.2.0/work
>>> Source unpacked.

<A FEW PAGES OF COMPILER INVOCATIONS>

 gtkdoc-scan --module=gnutls --source-dir=../../lib --ignore-headers="debug.h gnutls_compress.h defines.h gnutls_cipher.h gnutls_buffers.h gnutls_errors.h gnutls_int.h gnutls_handshake.h gnutls_num.h gnutls_algorithms.h gnutls_dh.h gnutls_kx.h gnutls_hash_int.h gnutls_cipher_int.h gnutls_db.h gnutls_compress_int.h gnutls_session.h gnutls_priority.h gnutls_auth.h auth_anon.h gnutls_extensions.h gnutls_buffer.h gnutls_auth_int.h gnutls_random.h x509_b64.h gnutls_v2_compat.h gnutls_errors_int.h gnutls_datum.h auth_cert.h gnutls_mpi.h gnutls_pk.h gnutls_record.h gnutls_cert.h gnutls_constate.h gnutls_global.h strfile.h gnutls_sig.h gnutls_mem.h gnutls_ui.h io_debug.h ext_max_record.h gnutls_session_pack.h gnutls_alert.h gnutls_str.h gnutls_state.h gnutls_x509.h ext_cert_type.h gnutls_rsa_export.h ext_server_name.h auth_dh_common.h ext_srp.h gnutls_srp.h auth_srp.h auth_srp_passwd.h memmem.h der.h errors.h gstr.h parser_aux.h element.h errors_int.h int.h mem.h structure.h common.h crq.h dsa.h mpi.h pkcs7.h rfc2818.h verify.h compat.h dn.h extensions.h privkey.h sign.h gnutls_extra.h lzoconf.h minilzo.h openssl_compat.h cipher.h context.h filters.h main.h md.h packet.h stream.h types.h gnutls_openpgp.h" --source-dir ../../includes/gnutls --source-dir ../../libextra
touch scan-build.stamp
*** Rebuilding template files ***
*** Rebuilding template files ***
*** Rebuilding template files ***
cd . && gtkdoc-mktmpl --module=gnutls
cd . && gtkdoc-mktmpl --module=gnutls
cd . && gtkdoc-mktmpl --module=gnutls
WARNING: No declaration for: cdk_ctx_s
WARNING: No declaration for: cdk_strlist_s
WARNING: No declaration for: cdk_sesskey_s
WARNING: No declaration for: cdk_listkey_s
WARNING: No declaration for: cdk_mpi_s
WARNING: No declaration for: cdk_dek_s
WARNING: No declaration for: cdk_s2k_s
WARNING: No declaration for: cdk_stream_s
WARNING: No declaration for: cdk_prefitem_s
WARNING: No declaration for: cdk_kbnode_s
WARNING: No declaration for: cdk_keydb_hd_s
WARNING: No declaration for: cdk_keylist_s
WARNING: No declaration for: cdk_subpkt_s
WARNING: No declaration for: cdk_keygen_ctx_s
WARNING: No declaration for: cdk_desig_revoker_s
WARNING: No declaration for: cdk_md_hd_s
WARNING: No declaration for: cdk_cipher_hd_s
WARNING: No declaration for: cdk_pkt_userid_s
WARNING: No declaration for: cdk_pkt_pubkey_s
WARNING: No declaration for: cdk_pkt_seckey_s
WARNING: No declaration for: cdk_pkt_signature_s
WARNING: No declaration for: cdk_pkt_onepass_sig_s
WARNING: No declaration for: cdk_pkt_pubkey_enc_s
WARNING: No declaration for: cdk_pkt_symkey_enc_s
WARNING: No declaration for: cdk_pkt_encrypted_s
WARNING: No declaration for: cdk_pkt_mdc_s
WARNING: No declaration for: cdk_pkt_literal_s
WARNING: No declaration for: cdk_pkt_compressed_s
WARNING: No declaration for: cdk_packet_s
###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: gnutls_pkcs12_int
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 {
make[3]: *** [tmpl/extra.sgml] Error 9
make[3]: *** Waiting for unfinished jobs....
WARNING: No declaration for: cdk_ctx_s
WARNING: No declaration for: cdk_strlist_s
WARNING: No declaration for: cdk_sesskey_s
WARNING: No declaration for: cdk_listkey_s
WARNING: No declaration for: cdk_mpi_s
WARNING: No declaration for: cdk_dek_s
WARNING: No declaration for: cdk_s2k_s
WARNING: No declaration for: cdk_stream_s
WARNING: No declaration for: cdk_prefitem_s
WARNING: No declaration for: cdk_kbnode_s
WARNING: No declaration for: cdk_keydb_hd_s
WARNING: No declaration for: cdk_keylist_s
WARNING: No declaration for: cdk_subpkt_s
WARNING: No declaration for: cdk_keygen_ctx_s
WARNING: No declaration for: cdk_desig_revoker_s
WARNING: No declaration for: cdk_md_hd_s
WARNING: No declaration for: cdk_cipher_hd_s
WARNING: No declaration for: cdk_ctx_s
WARNING: No declaration for: cdk_strlist_s
WARNING: No declaration for: cdk_sesskey_s
WARNING: No declaration for: cdk_pkt_userid_s
WARNING: No declaration for: cdk_pkt_pubkey_s
WARNING: No declaration for: cdk_pkt_seckey_s
WARNING: No declaration for: cdk_pkt_signature_s
WARNING: No declaration for: cdk_pkt_onepass_sig_s
WARNING: No declaration for: cdk_pkt_pubkey_enc_s
WARNING: No declaration for: cdk_pkt_symkey_enc_s
WARNING: No declaration for: cdk_pkt_encrypted_s
WARNING: No declaration for: cdk_pkt_mdc_s
WARNING: No declaration for: cdk_pkt_literal_s
WARNING: No declaration for: cdk_pkt_compressed_s
WARNING: No declaration for: cdk_packet_s
WARNING: No declaration for: cdk_listkey_s
WARNING: No declaration for: cdk_mpi_s
WARNING: No declaration for: cdk_dek_s
WARNING: No declaration for: cdk_s2k_s
WARNING: No declaration for: cdk_stream_s
WARNING: No declaration for: cdk_prefitem_s
WARNING: No declaration for: cdk_kbnode_s
WARNING: No declaration for: cdk_keydb_hd_s
WARNING: No declaration for: cdk_keylist_s
WARNING: No declaration for: cdk_subpkt_s
WARNING: No declaration for: cdk_keygen_ctx_s
WARNING: No declaration for: cdk_desig_revoker_s
WARNING: No declaration for: cdk_md_hd_s
WARNING: No declaration for: cdk_cipher_hd_s
WARNING: No declaration for: cdk_pkt_userid_s
WARNING: No declaration for: cdk_pkt_pubkey_s
WARNING: No declaration for: cdk_pkt_seckey_s
WARNING: No declaration for: cdk_pkt_signature_s
WARNING: No declaration for: cdk_pkt_onepass_sig_s
WARNING: No declaration for: cdk_pkt_pubkey_enc_s
WARNING: No declaration for: cdk_pkt_symkey_enc_s
WARNING: No declaration for: cdk_pkt_encrypted_s
WARNING: No declaration for: cdk_pkt_mdc_s
WARNING: No declaration for: cdk_pkt_literal_s
WARNING: No declaration for: cdk_pkt_compressed_s
WARNING: No declaration for: cdk_packet_s
###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: gnutls_pkcs12_int
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 {
make[3]: *** [tmpl/gnutls-unused.sgml] Error 9
###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: gnutls_pkcs12_int
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 {
make[3]: *** [tmpl-build.stamp] Error 9
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnutls-1.2.0/work/gnutls-1.2.0/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnutls-1.2.0/work/gnutls-1.2.0'
make: *** [all] Error 2

!!! ERROR: net-libs/gnutls-1.2.0 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.emerge gnutls-1.2.0


Actual Results:  
(Documentation) compilation errors

Expected Results:  
Clean compile

Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 23 2004, 13:24:11)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /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="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi alsa arts avi bash-completion berkdb bitmap-fonts cdr
crypt cups dba doc dvd dvdr encode esd f77 fam flac font-server foomaticdb
fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl imagemagick
imlib ipv6 jack java jpeg junit kde ldap libg++ libwww mad mikmod mmap mmx motif
mozilla mpeg mysql ncurses nls nptl oggvorbis opengl pam pdflib perl plotutils
png postgres python qt quicktime readline sdl session slang spell ssl svga tcltk
tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vhosts xml xml2
xmms xv zlib linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-02-05 16:25:01 UTC
removed --enable-gtk-doc configure option. Sorry for the inconvenience. Please take note of the revdep-rebuild note at the end of this ebuild.
Comment 2 Daniel Black (RETIRED) gentoo-dev 2005-07-16 17:38:59 UTC
fixed in 1.2.6 - warnings still there bug doesn't break (for me anyway)