Source: golang-github-google-go-pkcs11
Version: 0.3.0+dfsg-1
Severity: serious
Justification: debci
Control: block 1024276 by -1

go-pkcs11 tests are failing on 32-bit architectures (armel, armhf, i386),
see https://ci.debian.net/packages/g/golang-github-google-go-pkcs11/

This is preventing migration to testing,
see https://tracker.debian.org/pkg/golang-github-google-go-pkcs11
and therefore blocking processing of
golang-github-googleapis-enterprise-certificate-proxy

Excerpt from the test log for i386 reports

 ...
 79s crypto/x509
 79s github.com/google/go-pkcs11/pkcs11
 82s # github.com/google/go-pkcs11/pkcs11
 82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:300:33: cannot use 
(_Ciconst_sizeof_CK_UTF8CHAR) * _Ctype_ulong(len(s)) (value of type 
_Ctype_ulong) as _Ctype_uint value in argument to (_Cfunc__CMalloc)
 82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1019:38: cannot use 
_Ctype_ulong(n) (value of type _Ctype_ulong) as _Ctype_uint value in argument 
to (_Cfunc__CMalloc)
 82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1100:33: cannot use 
attrs[0].ulValueLen * (_Ciconst_sizeof_CK_BYTE) (value of type _Ctype_ulong) as 
_Ctype_uint value in argument to (_Cfunc__CMalloc)
 82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1104:33: cannot use 
attrs[1].ulValueLen (variable of type _Ctype_ulong) as _Ctype_uint value in 
argument to (_Cfunc__CMalloc)
 82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1137:37: cannot use 
attrs[0].ulValueLen (variable of type _Ctype_ulong) as _Ctype_uint value in 
argument to (_Cfunc__CMalloc)
 82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1141:37: cannot use 
attrs[1].ulValueLen (variable of type _Ctype_ulong) as _Ctype_uint value in 
argument to (_Cfunc__CMalloc)
 82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1440:35: cannot use 
_Ctype_ulong(n) (value of type _Ctype_ulong) as _Ctype_uint value in argument 
to (_Cfunc__CMalloc)
 82s dh_auto_build: error: cd _build && go install -trimpath -v -p 2 
github.com/google/go-pkcs11/pkcs11 returned exit code 1

Reply via email to