Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pu-m2crypto fails for pkgsrc build Q12012
Hi All
building m2crypto fails with the following error.
Crypto.__m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/usr/pkg/include/python2.6 -I/usr/include -o
SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
SWIG/_bio.i:64: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_rand.i:21: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_evp.i:159: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_dh.i:36: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_rsa.i:43: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_dsa.i:31: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_ssl.i:214: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_x509.i:323: Warning(454): Setting a pointer/reference variable may
leak memory.
SWIG/_pkcs7.i:44: Warning(454): Setting a pointer/reference variable may
leak memory.
SWIG/_pkcs7.i:44: Warning(454): Setting a pointer/reference variable may
leak memory.
SWIG/_util.i:11: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_ec.i:111: Warning(454): Setting a pointer/reference variable may leak
memory.
SWIG/_engine.i:168: Warning(454): Setting a pointer/reference variable may
leak memory.
creating build/temp.netbsd-6.0_BETA-amd64-2.6
creating build/temp.netbsd-6.0_BETA-amd64-2.6/SWIG
gcc -DNDEBUG -O2 -DHAVE_DB_185_H -I/usr/include -I/usr/pkg/include -O2
-I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -fPIC
-I/usr/pkg/include/python2.6 -I/usr/include
-I/usr/obj/security/py-m2crypto/work.x86_64/M2Crypto-0.21.1/SWIG -c
SWIG/_m2crypto_wrap.c -o
build/temp.netbsd-6.0_BETA-amd64-2.6/SWIG/_m2crypto_wrap.o -DTHREADING
SWIG/_m2crypto_wrap.c: In function
'_wrap_stack_st_OPENSSL_STRING_stack_set':
SWIG/_m2crypto_wrap.c:6855:3: error: '_STACK' undeclared (first use in this
function)
SWIG/_m2crypto_wrap.c:6855:3: note: each undeclared identifier is reported
only once for each function it appears in
SWIG/_m2crypto_wrap.c:6855:10: error: expected ';' before 'arg2'
SWIG/_m2crypto_wrap.c:6877:7: error: 'arg2' undeclared (first use in this
function)
SWIG/_m2crypto_wrap.c:6877:25: error: expected expression before ')' token
SWIG/_m2crypto_wrap.c:6881:21: error: dereferencing pointer to incomplete
type
SWIG/_m2crypto_wrap.c: In function
'_wrap_stack_st_OPENSSL_STRING_stack_get':
SWIG/_m2crypto_wrap.c:6896:3: error: '_STACK' undeclared (first use in this
function)
SWIG/_m2crypto_wrap.c:6896:10: error: expected ';' before 'result'
SWIG/_m2crypto_wrap.c:6905:5: error: 'result' undeclared (first use in this
function)
SWIG/_m2crypto_wrap.c:6905:22: error: dereferencing pointer to incomplete
type
SWIG/_m2crypto_wrap.c:6907:15: error: expected expression before ')' token
SWIG/_m2crypto_wrap.c:6907:15: error: too few arguments to function
'SWIG_Python_NewPointerObj'
SWIG/_m2crypto_wrap.c:2219:1: note: declared here
SWIG/_m2crypto_wrap.c: In function '_wrap_new_stack_st_OPENSSL_STRING':
SWIG/_m2crypto_wrap.c:6920:65: error: invalid application of 'sizeof' to
incomplete type 'struct stack_st_OPENSSL_STRING'
SWIG/_m2crypto_wrap.c: In function '_wrap_stack_st_OPENSSL_BLOCK_stack_set':
SWIG/_m2crypto_wrap.c:6962:3: error: '_STACK' undeclared (first use in this
function)
SWIG/_m2crypto_wrap.c:6962:10: error: expected ';' before 'arg2'
SWIG/_m2crypto_wrap.c:6984:7: error: 'arg2' undeclared (first use in this
function)
SWIG/_m2crypto_wrap.c:6984:25: error: expected expression before ')' token
SWIG/_m2crypto_wrap.c:6988:21: error: dereferencing pointer to incomplete
type
SWIG/_m2crypto_wrap.c: In function '_wrap_stack_st_OPENSSL_BLOCK_stack_get':
SWIG/_m2crypto_wrap.c:7003:3: error: '_STACK' undeclared (first use in this
function)
SWIG/_m2crypto_wrap.c:7003:10: error: expected ';' before 'result'
SWIG/_m2crypto_wrap.c:7012:5: error: 'result' undeclared (first use in this
function)
SWIG/_m2crypto_wrap.c:7012:22: error: dereferencing pointer to incomplete
type
SWIG/_m2crypto_wrap.c:7014:15: error: expected expression before ')' token
SWIG/_m2crypto_wrap.c:7014:15: error: too few arguments to function
'SWIG_Python_NewPointerObj'
SWIG/_m2crypto_wrap.c:2219:1: note: declared here
SWIG/_m2crypto_wrap.c: In function '_wrap_new_stack_st_OPENSSL_BLOCK':
SWIG/_m2crypto_wrap.c:7027:64: error: invalid application of 'sizeof' to
incomplete type 'struct stack_st_OPENSSL_BLOCK'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_ssl_cipher_num':
SWIG/_m2crypto_wrap.c:17568:5: warning: passing argument 1 of
'sk_ssl_cipher_num' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5665:5: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_SSL_CIPHER *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_ssl_cipher_value':
SWIG/_m2crypto_wrap.c:17609:5: warning: passing argument 1 of
'sk_ssl_cipher_value' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5669:13: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_SSL_CIPHER *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_num':
SWIG/_m2crypto_wrap.c:17667:5: warning: passing argument 1 of 'sk_x509_num'
from incompatible pointer type
SWIG/_m2crypto_wrap.c:5677:5: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_value':
SWIG/_m2crypto_wrap.c:17708:5: warning: passing argument 1 of
'sk_x509_value' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5681:7: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_free':
SWIG/_m2crypto_wrap.c:21391:5: warning: passing argument 1 of 'sk_x509_free'
from incompatible pointer type
SWIG/_m2crypto_wrap.c:5858:6: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_push':
SWIG/_m2crypto_wrap.c:21434:5: warning: passing argument 1 of 'sk_x509_push'
from incompatible pointer type
SWIG/_m2crypto_wrap.c:5863:5: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_pop':
SWIG/_m2crypto_wrap.c:21466:5: warning: passing argument 1 of 'sk_x509_pop'
from incompatible pointer type
SWIG/_m2crypto_wrap.c:5868:7: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_x509_req_add_extensions':
SWIG/_m2crypto_wrap.c:21706:5: warning: passing argument 2 of
'x509_req_add_extensions' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5896:5: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509_EXTENSION *'
SWIG/_m2crypto_wrap.c: In function '_wrap_x509v3_set_conf_lhash':
SWIG/_m2crypto_wrap.c:21814:5: warning: passing argument 1 of
'x509v3_set_conf_lhash' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5917:1: note: expected 'struct LHASH *' but argument
is of type 'struct lhash_st_CONF_VALUE *'
SWIG/_m2crypto_wrap.c: In function '_wrap_x509v3_ext_conf':
SWIG/_m2crypto_wrap.c:21867:5: warning: passing argument 1 of
'x509v3_ext_conf' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5932:1: note: expected 'struct LHASH *' but argument
is of type 'struct lhash_st_CONF_VALUE *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_extension_free':
SWIG/_m2crypto_wrap.c:21958:5: warning: passing argument 1 of
'sk_x509_extension_free' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5968:6: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509_EXTENSION *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_extension_push':
SWIG/_m2crypto_wrap.c:21991:5: warning: passing argument 1 of
'sk_x509_extension_push' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5973:5: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509_EXTENSION *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_extension_pop':
SWIG/_m2crypto_wrap.c:22018:5: warning: passing argument 1 of
'sk_x509_extension_pop' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5978:17: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509_EXTENSION *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_extension_num':
SWIG/_m2crypto_wrap.c:22042:5: warning: passing argument 1 of
'sk_x509_extension_num' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5983:5: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509_EXTENSION *'
SWIG/_m2crypto_wrap.c: In function '_wrap_sk_x509_extension_value':
SWIG/_m2crypto_wrap.c:22078:5: warning: passing argument 1 of
'sk_x509_extension_value' from incompatible pointer type
SWIG/_m2crypto_wrap.c:5988:17: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509_EXTENSION *'
SWIG/_m2crypto_wrap.c: In function '_wrap_get_der_encoding_stack':
SWIG/_m2crypto_wrap.c:22151:5: warning: passing argument 1 of
'get_der_encoding_stack' from incompatible pointer type
SWIG/_m2crypto_wrap.c:6036:1: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_pkcs7_encrypt':
SWIG/_m2crypto_wrap.c:23264:5: warning: passing argument 1 of
'pkcs7_encrypt' from incompatible pointer type
SWIG/_m2crypto_wrap.c:6179:8: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_pkcs7_sign1':
SWIG/_m2crypto_wrap.c:23482:5: warning: passing argument 3 of 'pkcs7_sign1'
from incompatible pointer type
SWIG/_m2crypto_wrap.c:6217:8: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_pkcs7_verify1':
SWIG/_m2crypto_wrap.c:23558:5: warning: passing argument 2 of
'pkcs7_verify1' from incompatible pointer type
SWIG/_m2crypto_wrap.c:6222:11: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_pkcs7_verify0':
SWIG/_m2crypto_wrap.c:23621:5: warning: passing argument 2 of
'pkcs7_verify0' from incompatible pointer type
SWIG/_m2crypto_wrap.c:6253:11: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
SWIG/_m2crypto_wrap.c: In function '_wrap_pkcs7_get0_signers':
SWIG/_m2crypto_wrap.c:24101:22: warning: passing argument 2 of
'pkcs7_get0_signers' from incompatible pointer type
SWIG/_m2crypto_wrap.c:6337:17: note: expected 'struct STACK *' but argument
is of type 'struct stack_st_X509 *'
error: command 'gcc' failed with exit status 1
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-m2crypto
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-m2crypto
Derrick Lobo
Home |
Main Index |
Thread Index |
Old Index