Source: voms
Version: 2.0.14-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I../../src/autogen   -Wdate-time -D_FORTIFY_SOURCE=2  -I ../../src/include 
> -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -MT libssl_utils_nog_la-sslutils.lo -MD -MP 
> -MF .deps/libssl_utils_nog_la-sslutils.Tpo -c -o 
> libssl_utils_nog_la-sslutils.lo `test -f 'sslutils.c' || echo './'`sslutils.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/autogen -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I ../../src/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -MT libssl_utils_nog_la-sslutils.lo -MD -MP -MF 
> .deps/libssl_utils_nog_la-sslutils.Tpo -c sslutils.c  -fPIC -DPIC -o 
> .libs/libssl_utils_nog_la-sslutils.o
> In file included from /usr/include/inttypes.h:25:0,
>                  from /usr/include/openssl/e_os2.h:249,
>                  from /usr/include/openssl/x509.h:19,
>                  from ../../src/include/myproxycertinfo.h:29,
>                  from sslutils.c:36:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>    ^~~~~~~
> sslutils.c: In function 'X509_NAME_cmp_no_set':
> sslutils.c:263:33: error: dereferencing pointer to incomplete type 'X509_NAME 
> {aka struct X509_name_st}'
>      if (sk_X509_NAME_ENTRY_num(a->entries) !=
>                                  ^~
> sslutils.c:274:15: error: dereferencing pointer to incomplete type 
> 'X509_NAME_ENTRY {aka struct X509_name_entry_st}'
>          j = na->value->length-nb->value->length;
>                ^~
> sslutils.c: In function 'ERR_load_prxyerr_strings':
> sslutils.c:517:9: warning: implicit declaration of function 'RAND_egd' 
> [-Wimplicit-function-declaration]
>          RAND_egd(egd_path);
>          ^~~~~~~~
> sslutils.c: In function 'proxy_genreq':
> sslutils.c:718:18: error: dereferencing pointer to incomplete type 'EVP_PKEY 
> {aka struct evp_pkey_st}'
>          if (upkey->type != EVP_PKEY_RSA)
>                   ^~
> sslutils.c:743:5: warning: 'RSA_generate_key' is deprecated 
> [-Wdeprecated-declarations]
>      if ((rsa = RSA_generate_key(rbits,
>      ^~
> In file included from /usr/include/openssl/rsa.h:13:0,
>                  from /usr/include/openssl/x509.h:31,
>                  from ../../src/include/myproxycertinfo.h:29,
>                  from sslutils.c:36:
> /usr/include/openssl/rsa.h:193:1: note: declared here
>  DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
>  ^
> In file included from /usr/include/openssl/x509.h:23:0,
>                  from ../../src/include/myproxycertinfo.h:29,
>                  from sslutils.c:36:
> sslutils.c:804:41: error: dereferencing pointer to incomplete type 'X509_REQ 
> {aka struct X509_req_st}'
>      EVP_MD* md = EVP_get_digestbyobj(req->sig_alg->algorithm);
>                                          ^
> sslutils.c:808:36: error: dereferencing pointer to incomplete type 'X509 {aka 
> struct x509_st}'
>       md = EVP_get_digestbyobj(ucert->sig_alg->algorithm);
>                                     ^
> sslutils.c:812:24: warning: assignment discards 'const' qualifier from 
> pointer target type [-Wdiscarded-qualifiers]
>      if (md == NULL) md = EVP_sha1();
>                         ^
> sslutils.c: In function 'proxy_sign':
> sslutils.c:920:36: warning: assignment discards 'const' qualifier from 
> pointer target type [-Wdiscarded-qualifiers]
>      if (sig_algo == NULL) sig_algo = EVP_sha1();
>                                     ^
> sslutils.c:927:19: warning: assignment discards 'const' qualifier from 
> pointer target type [-Wdiscarded-qualifiers]
>        cn_sig_algo = EVP_sha1();
>                    ^
> sslutils.c:957:9: warning: passing argument 1 of 'free' discards 'const' 
> qualifier from pointer target type [-Wdiscarded-qualifiers]
>     free(newserial);
>          ^~~~~~~~~
> In file included from /usr/include/openssl/crypto.h:19:0,
>                  from /usr/include/openssl/buffer.h:15,
>                  from /usr/include/openssl/x509.h:22,
>                  from ../../src/include/myproxycertinfo.h:29,
>                  from sslutils.c:36:
> /usr/include/stdlib.h:444:13: note: expected 'void *' but argument is of type 
> 'const char *'
>  extern void free (void *__ptr) __THROW;
>              ^~~~
> sslutils.c:995:12: warning: passing argument 1 of 'free' discards 'const' 
> qualifier from pointer target type [-Wdiscarded-qualifiers]
>        free(newserial);
>             ^~~~~~~~~
> In file included from /usr/include/openssl/crypto.h:19:0,
>                  from /usr/include/openssl/buffer.h:15,
>                  from /usr/include/openssl/x509.h:22,
>                  from ../../src/include/myproxycertinfo.h:29,
>                  from sslutils.c:36:
> /usr/include/stdlib.h:444:13: note: expected 'void *' but argument is of type 
> 'const char *'
>  extern void free (void *__ptr) __THROW;
>              ^~~~
> sslutils.c: In function 'proxy_sign_ext':
> sslutils.c:1073:14: warning: assignment discards 'const' qualifier from 
> pointer target type [-Wdiscarded-qualifiers]
>      sig_algo = EVP_sha1();
>               ^
> sslutils.c:1234:52: error: dereferencing pointer to incomplete type 
> 'X509_CINF {aka struct x509_cinf_st}'
>          X509_set_notAfter(*new_cert, user_cert_info->validity->notAfter);
>                                                     ^~
> sslutils.c: In function 'proxy_verify_callback':
> sslutils.c:1735:41: error: storage size of 'obj' isn't known
>      X509_OBJECT                         obj;
>                                          ^~~
> sslutils.c:1798:42: error: dereferencing pointer to incomplete type 
> 'X509_STORE_CTX {aka struct x509_store_ctx_st}'
>                proxy_check_issued(ctx, ctx->current_cert, prev_cert)){
>                                           ^~
> sslutils.c:1889:27: error: dereferencing pointer to incomplete type 'X509_CRL 
> {aka struct X509_crl_st}'
>              crl_info = crl->crl;
>                            ^~
> sslutils.c:1903:47: error: dereferencing pointer to incomplete type 
> 'X509_CRL_INFO {aka struct X509_crl_info_st}'
>              i = X509_cmp_current_time(crl_info->nextUpdate);
>                                                ^~
> sslutils.c:1930:45: error: dereferencing pointer to incomplete type 
> 'X509_REVOKED {aka struct x509_revoked_st}'
>                  if(!ASN1_INTEGER_cmp(revoked->serialNumber,
>                                              ^~
> sslutils.c:2063:7: warning: implicit declaration of function 
> 'X509_OBJECT_free_contents' [-Wimplicit-function-declaration]
>        X509_OBJECT_free_contents(&obj);
>        ^~~~~~~~~~~~~~~~~~~~~~~~~
> sslutils.c: In function 'proxy_verify_cert_chain':
> sslutils.c:2154:41: error: storage size of 'csc' isn't known
>      X509_STORE_CTX                      csc;
>                                          ^~~
> Makefile:499: recipe for target 'libssl_utils_nog_la-sslutils.lo' failed
> make[3]: *** [libssl_utils_nog_la-sslutils.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/11/18/voms_2.0.14-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to