Package: m2crypto Version: 0.13-1.1 Severity: serious m2crypto fails to build because a number of prototypes conflict:
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes > -fPIC -I/tmp/buildd/m2crypto-0.13/SWIG -I/usr/include > -I/usr/include/python2.3 -c SWIG/_m2crypto.c -o > build/temp.linux-i686-2.3/SWIG/_m2crypto.o -DTHREADING > SWIG/_m2crypto.c:703: warning: function declaration isn't a prototype > SWIG/_m2crypto.c:885: warning: function declaration isn't a prototype > SWIG/_m2crypto.c:1288: warning: function declaration isn't a prototype > SWIG/_m2crypto.c:1310: warning: function declaration isn't a prototype > SWIG/_m2crypto.c: In function 'rand_pseudo_bytes': > SWIG/_m2crypto.c:2342: warning: pointer targets in passing argument 1 of > 'PyString_FromStringAndSize' differ in signedness > SWIG/_m2crypto.c: In function 'hmac': > SWIG/_m2crypto.c:2645: warning: pointer targets in passing argument 7 of > 'HMAC' differ in signedness > SWIG/_m2crypto.c: In function 'sign_final': > SWIG/_m2crypto.c:2870: warning: pointer targets in passing argument 1 of > 'PyString_FromStringAndSize' differ in signedness > SWIG/_m2crypto.c:2864: warning: unused variable 'ret' > SWIG/_m2crypto.c: In function 'dsa_sign_asn1': > SWIG/_m2crypto.c:3812: warning: pointer targets in passing argument 5 of > 'DSA_sign' differ in signedness > SWIG/_m2crypto.c: At top level: > SWIG/_m2crypto.c:3870: error: conflicting types for 'SSL_get_error' > /usr/include/openssl/ssl.h:1326: error: previous declaration of > 'SSL_get_error' was here > SWIG/_m2crypto.c:3884: error: conflicting types for 'SSL_CTX_get_verify_depth' > /usr/include/openssl/ssl.h:1281: error: previous declaration of > 'SSL_CTX_get_verify_depth' was here > SWIG/_m2crypto.c:3885: error: conflicting types for 'SSL_CTX_get_verify_mode' > /usr/include/openssl/ssl.h:1280: error: previous declaration of > 'SSL_CTX_get_verify_mode' was here > SWIG/_m2crypto.c:3895: error: conflicting types for 'SSL_CTX_get_timeout' > /usr/include/openssl/ssl.h:1175: error: previous declaration of > 'SSL_CTX_get_timeout' was here > SWIG/_m2crypto.c:3907: error: conflicting types for 'SSL_pending' > /usr/include/openssl/ssl.h:1194: error: previous declaration of 'SSL_pending' > was here > SWIG/_m2crypto.c:3908: error: conflicting types for 'SSL_get_peer_certificate' > /usr/include/openssl/ssl.h:1275: error: previous declaration of > 'SSL_get_peer_certificate' was here > SWIG/_m2crypto.c:3909: error: conflicting types for 'SSL_get_current_cipher' > /usr/include/openssl/ssl.h:1183: error: previous declaration of > 'SSL_get_current_cipher' was here > SWIG/_m2crypto.c:3910: error: conflicting types for 'SSL_get_verify_mode' > /usr/include/openssl/ssl.h:1207: error: previous declaration of > 'SSL_get_verify_mode' was here > SWIG/_m2crypto.c:3911: error: conflicting types for 'SSL_get_verify_depth' > /usr/include/openssl/ssl.h:1208: error: previous declaration of > 'SSL_get_verify_depth' was here > SWIG/_m2crypto.c:3912: error: conflicting types for 'SSL_get_verify_result' > /usr/include/openssl/ssl.h:1404: error: previous declaration of > 'SSL_get_verify_result' was here > SWIG/_m2crypto.c:3913: error: conflicting types for 'SSL_get_SSL_CTX' > /usr/include/openssl/ssl.h:1397: error: previous declaration of > 'SSL_get_SSL_CTX' was here > SWIG/_m2crypto.c:3914: error: conflicting types for 'SSL_get_default_timeout' > /usr/include/openssl/ssl.h:1372: error: previous declaration of > 'SSL_get_default_timeout' was here > SWIG/_m2crypto.c:3916: error: conflicting types for 'SSL_get_cipher_list' > /usr/include/openssl/ssl.h:1191: error: previous declaration of > 'SSL_get_cipher_list' was here > SWIG/_m2crypto.c:3917: error: conflicting types for 'SSL_CIPHER_get_name' > /usr/include/openssl/ssl.h:1186: error: previous declaration of > 'SSL_CIPHER_get_name' was here > SWIG/_m2crypto.c:3918: error: conflicting types for 'SSL_CIPHER_get_version' > /usr/include/openssl/ssl.h:1185: error: previous declaration of > 'SSL_CIPHER_get_version' was here > SWIG/_m2crypto.c:3919: error: conflicting types for 'SSL_get_session' > /usr/include/openssl/ssl.h:1395: error: previous declaration of > 'SSL_get_session' was here > SWIG/_m2crypto.c:3923: error: conflicting types for 'SSL_SESSION_print' > /usr/include/openssl/ssl.h:1260: error: previous declaration of > 'SSL_SESSION_print' was here > SWIG/_m2crypto.c:3925: error: conflicting types for 'SSL_SESSION_get_timeout' > /usr/include/openssl/ssl.h:1249: error: previous declaration of > 'SSL_SESSION_get_timeout' was here > SWIG/_m2crypto.c: In function 'ssl_ctx_set_tmp_dh': > SWIG/_m2crypto.c:4024: warning: no return statement in function returning > non-void > SWIG/_m2crypto.c: In function 'ssl_ctx_set_tmp_rsa': > SWIG/_m2crypto.c:4035: warning: no return statement in function returning > non-void > SWIG/_m2crypto.c: In function 'ssl_session_read_pem': > SWIG/_m2crypto.c:4387: warning: function declaration isn't a prototype > SWIG/_m2crypto.c: In function 'ssl_session_write_pem': > SWIG/_m2crypto.c:4391: warning: function declaration isn't a prototype > SWIG/_m2crypto.c: At top level: > SWIG/_m2crypto.c:4438: error: conflicting types for 'X509_NAME_ENTRY_set_data' > /usr/include/openssl/x509.h:1052: error: previous declaration of > 'X509_NAME_ENTRY_set_data' was here > SWIG/_m2crypto.c:4441: warning: function declaration isn't a prototype > SWIG/_m2crypto.c: In function 'x509_name_set_by_nid': > SWIG/_m2crypto.c:4548: warning: pointer targets in passing argument 4 of > 'X509_NAME_add_entry_by_NID' differ in signedness > SWIG/_m2crypto.c: In function 'x509_name_add_entry_by_txt': > SWIG/_m2crypto.c:4553: warning: pointer targets in passing argument 2 of > 'X509_NAME_add_entry_by_txt' differ in signedness > SWIG/_m2crypto.c:4553: warning: pointer targets in passing argument 4 of > 'X509_NAME_add_entry_by_txt' differ in signedness > SWIG/_m2crypto.c: In function 'util_string_to_hex': > SWIG/_m2crypto.c:4842: warning: pointer targets in passing argument 1 of > 'PyString_FromStringAndSize' differ in signedness > SWIG/_m2crypto.c: At top level: > SWIG/_m2crypto.c:15621: warning: function declaration isn't a prototype > error: command 'gcc' failed with exit status 1 -- Matt
signature.asc
Description: Digital signature