Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 101739

Summary: m2crypto compile error (/usr/include/openssl/ssl.h:1326: error: previous declaration of `SSL_get_error', and others.
Product: Gentoo Linux Reporter: Tomasz Klukinski <univac>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomasz Klukinski 2005-08-08 06:08:06 UTC
emerge m2crypto
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-python/m2crypto-0.13 to /
>>> md5 files   ;-) m2crypto-0.13.ebuild
>>> md5 files   ;-) m2crypto-0.12-r1.ebuild
>>> md5 files   ;-) m2crypto-0.07_alpha3.ebuild
>>> md5 files   ;-) m2crypto-0.12.ebuild
>>> md5 files   ;-) files/digest-m2crypto-0.12-r1
>>> md5 files   ;-) files/m2crypto.patch
>>> md5 files   ;-) files/digest-m2crypto-0.12
>>> md5 files   ;-) files/digest-m2crypto-0.13
>>> md5 files   ;-) files/digest-m2crypto-0.07_alpha3
>>> md5 src_uri ;-) m2crypto-0.13.zip
>>> Unpacking source...
>>> Unpacking m2crypto-0.13.zip to /var/tmp/portage/m2crypto-0.13/work
 * Applying m2crypto.patch ...                                                 
                     [ ok ]
>>> Source unpacked.
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/ASN1.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/AuthCookie.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/BIO.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/DH.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/DSA.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/EVP.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/Err.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/RC4.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/RSA.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/Rand.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/SMIME.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/X509.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/__init__.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/_version.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/callback.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/ftpslib.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/httpslib.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/m2.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/m2urllib.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/threading.py -> build/lib.linux-i686-2.4/M2Crypto
copying M2Crypto/util.py -> build/lib.linux-i686-2.4/M2Crypto
creating build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/Cipher.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/Connection.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/Context.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/Error.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/Session.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/__init__.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/cb.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
copying M2Crypto/SSL/timeout.py -> build/lib.linux-i686-2.4/M2Crypto/SSL
creating build/lib.linux-i686-2.4/M2Crypto/PGP
copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-i686-2.4/M2Crypto/PGP
copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-i686-2.4/M2Crypto/PGP
copying M2Crypto/PGP/RSA.py -> build/lib.linux-i686-2.4/M2Crypto/PGP
copying M2Crypto/PGP/__init__.py -> build/lib.linux-i686-2.4/M2Crypto/PGP
copying M2Crypto/PGP/constants.py -> build/lib.linux-i686-2.4/M2Crypto/PGP
copying M2Crypto/PGP/packet.py -> build/lib.linux-i686-2.4/M2Crypto/PGP
running build_ext
building '__m2crypto' extension
swig -python -ISWIG -o SWIG/_m2crypto.c SWIG/_m2crypto.i
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/SWIG
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -Os -s -pipe
-march=athlon-xp -fomit-frame-pointer -mfpmath=sse -msse -m3dnow -mmmx -fPIC
-I/var/tmp/portage/m2crypto-0.13/work/m2crypto-0.13/SWIG -I/usr/include
-I/usr/include/python2.4 -c SWIG/_m2crypto.c -o
build/temp.linux-i686-2.4/SWIG/_m2crypto.o -DTHREADING
SWIG/_m2crypto.c:2931: error: conflicting types for `SSL_get_error'
/usr/include/openssl/ssl.h:1326: error: previous declaration of `SSL_get_error'
SWIG/_m2crypto.c:2945: error: conflicting types for `SSL_CTX_get_verify_depth'
/usr/include/openssl/ssl.h:1281: error: previous declaration of
`SSL_CTX_get_verify_depth'
SWIG/_m2crypto.c:2946: error: conflicting types for `SSL_CTX_get_verify_mode'
/usr/include/openssl/ssl.h:1280: error: previous declaration of
`SSL_CTX_get_verify_mode'
SWIG/_m2crypto.c:2951: error: conflicting types for `SSL_CTX_get_timeout'
/usr/include/openssl/ssl.h:1175: error: previous declaration of
`SSL_CTX_get_timeout'
SWIG/_m2crypto.c:2963: error: conflicting types for `SSL_pending'
/usr/include/openssl/ssl.h:1194: error: previous declaration of `SSL_pending'
SWIG/_m2crypto.c:2964: error: conflicting types for `SSL_get_peer_certificate'
/usr/include/openssl/ssl.h:1275: error: previous declaration of
`SSL_get_peer_certificate'
SWIG/_m2crypto.c:2965: error: conflicting types for `SSL_get_current_cipher'
/usr/include/openssl/ssl.h:1183: error: previous declaration of
`SSL_get_current_cipher'
SWIG/_m2crypto.c:2966: error: conflicting types for `SSL_get_verify_mode'
/usr/include/openssl/ssl.h:1207: error: previous declaration of
`SSL_get_verify_mode'
SWIG/_m2crypto.c:2967: error: conflicting types for `SSL_get_verify_depth'
/usr/include/openssl/ssl.h:1208: error: previous declaration of
`SSL_get_verify_depth'
SWIG/_m2crypto.c:2968: error: conflicting types for `SSL_get_verify_result'
/usr/include/openssl/ssl.h:1404: error: previous declaration of
`SSL_get_verify_result'
SWIG/_m2crypto.c:2969: error: conflicting types for `SSL_get_SSL_CTX'
/usr/include/openssl/ssl.h:1397: error: previous declaration of `SSL_get_SSL_CTX'
SWIG/_m2crypto.c:2970: error: conflicting types for `SSL_get_default_timeout'
/usr/include/openssl/ssl.h:1372: error: previous declaration of
`SSL_get_default_timeout'
SWIG/_m2crypto.c:2972: error: conflicting types for `SSL_get_cipher_list'
/usr/include/openssl/ssl.h:1191: error: previous declaration of
`SSL_get_cipher_list'
SWIG/_m2crypto.c:2973: error: conflicting types for `SSL_CIPHER_get_name'
/usr/include/openssl/ssl.h:1186: error: previous declaration of
`SSL_CIPHER_get_name'
SWIG/_m2crypto.c:2974: error: conflicting types for `SSL_CIPHER_get_version'
/usr/include/openssl/ssl.h:1185: error: previous declaration of
`SSL_CIPHER_get_version'
SWIG/_m2crypto.c:2975: error: conflicting types for `SSL_get_session'
/usr/include/openssl/ssl.h:1395: error: previous declaration of `SSL_get_session'
SWIG/_m2crypto.c:2979: error: conflicting types for `SSL_SESSION_print'
/usr/include/openssl/ssl.h:1260: error: previous declaration of `SSL_SESSION_print'
SWIG/_m2crypto.c:2981: error: conflicting types for `SSL_SESSION_get_timeout'
/usr/include/openssl/ssl.h:1249: error: previous declaration of
`SSL_SESSION_get_timeout'
SWIG/_m2crypto.c:3494: error: conflicting types for `X509_NAME_ENTRY_set_data'
/usr/include/openssl/x509.h:1052: error: previous declaration of
`X509_NAME_ENTRY_set_data'
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/m2crypto-0.13 failed.
!!! Function distutils_src_compile, Line 35, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


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




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r7 i686)
=================================================================
System uname: 2.6.12-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -s -pipe -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -msse
-m3dnow -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -s -pipe -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -msse
-m3dnow -mmmx"
DISTDIR="/usr/share/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
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 3dnow X alsa apm avi bash-completion berkdb bitmap-fonts bluetooth
browserplugin cdr crypt cups curl dbus directfb dvd dvdread eds emboss encode
esd extras fam fbcon firefox foomaticdb fortran gdbm gif gimpprint gnome gpm gsm
gstreamer gtk gtk2 gtkhtml gvim hal imagemagick imlib ipv6 jabber java
javascript jpeg kde libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses nls
nptl nptlonly nvidia ogg oggvorbis opengl oss other_var1 other_var2 pam pdflib
perl png ppds python qt quicktime readline real ruby sdl slang speedup spell ssl
stroke svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode
usb userlocales vorbis win32codecs xine xml2 xmms xv zlib linguas_pl
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2005-08-08 06:12:44 UTC

*** This bug has been marked as a duplicate of 101738 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-08 06:14:44 UTC
.