Source: uftp
Version: 4.9.2-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Dear Maintainer,

uftp fails to build from source in unstable/amd64:

  […]

        make -j1
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20161116173956.JevpBpJbR0.db.uftp/uftp-4.9.2'
  cc -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 
-Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow 
-Wno-missing-field-initializers -Wstrict-prototypes -Winline 
-Wbad-function-cast -DHAS_GETIFADDRS   -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20161116173956.JevpBpJbR0.db.uftp/uftp-4.9.2=.
 -fstack-protector-strong -Wformat -Werror=format-security `getconf LFS_CFLAGS` 
 -c uftp_common.c
  uftp_common.c: In function 'multicast_join':
  uftp_common.c:1636:17: warning: 'level' may be used uninitialized in this 
function [-Wmaybe-uninitialized]
               if (setsockopt(s, level, MCAST_JOIN_GROUP,
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       (char *)&greq, sizeof(greq)) == -1) {
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  uftp_common.c: In function 'multicast_leave':
  uftp_common.c:1700:21: warning: 'level' may be used uninitialized in this 
function [-Wmaybe-uninitialized]
                   if (setsockopt(s, level, MCAST_LEAVE_SOURCE_GROUP,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                           (char *)&gsreq, sizeof(gsreq)) == -1) {
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cc -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 
-Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow 
-Wno-missing-field-initializers -Wstrict-prototypes -Winline 
-Wbad-function-cast -DHAS_GETIFADDRS   -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20161116173956.JevpBpJbR0.db.uftp/uftp-4.9.2=.
 -fstack-protector-strong -Wformat -Werror=format-security `getconf LFS_CFLAGS` 
 -c encrypt_openssl.c
  encrypt_openssl.c: In function 'encrypt_block':
  encrypt_openssl.c:352:20: error: storage size of 'ctx' isn't known
       EVP_CIPHER_CTX ctx;
                      ^~~
  encrypt_openssl.c:352:20: warning: unused variable 'ctx' [-Wunused-variable]
  encrypt_openssl.c: In function 'decrypt_block':
  encrypt_openssl.c:456:20: error: storage size of 'ctx' isn't known
       EVP_CIPHER_CTX ctx;
                      ^~~
  encrypt_openssl.c:456:20: warning: unused variable 'ctx' [-Wunused-variable]
  encrypt_openssl.c: In function 'hash':
  encrypt_openssl.c:572:16: error: storage size of 'hashctx' isn't known
       EVP_MD_CTX hashctx;
                  ^~~~~~~
  encrypt_openssl.c:582:9: warning: implicit declaration of function 
'EVP_MD_CTX_cleanup' [-Wimplicit-function-declaration]
           EVP_MD_CTX_cleanup(&hashctx);
           ^~~~~~~~~~~~~~~~~~
  encrypt_openssl.c:572:16: warning: unused variable 'hashctx' 
[-Wunused-variable]
       EVP_MD_CTX hashctx;
                  ^~~~~~~
  In file included from /usr/include/openssl/asn1.h:24:0,
                   from /usr/include/openssl/objects.h:916,
                   from /usr/include/openssl/evp.h:27,
                   from encrypt_openssl.c:39:
  encrypt_openssl.c: In function 'create_ECDSA_sig':
  encrypt_openssl.c:793:36: error: dereferencing pointer to incomplete type 
'ECDSA_SIG {aka struct ECDSA_SIG_st}'
       sval = rval + BN_num_bytes(_sig->r);
                                      ^
  encrypt_openssl.c: In function 'import_RSA_key':
  encrypt_openssl.c:926:16: error: dereferencing pointer to incomplete type 
'RSA {aka struct rsa_st}'
       if (((*rsa)->e = BN_bin2bn((const unsigned char *)&rsablob->exponent,
                  ^~
  In file included from /usr/include/openssl/asn1.h:24:0,
                   from /usr/include/openssl/objects.h:916,
                   from /usr/include/openssl/evp.h:27,
                   from encrypt_openssl.c:39:
  encrypt_openssl.c: In function 'export_RSA_key':
  encrypt_openssl.c:954:25: error: dereferencing pointer to incomplete type 
'RSA {aka struct rsa_st}'
       if (BN_num_bytes(rsa->e) > sizeof(bin_exponent)) {
                           ^
  encrypt_openssl.c: In function 'gen_RSA_key':
  encrypt_openssl.c:1078:5: warning: 'RSA_generate_key' is deprecated 
[-Wdeprecated-declarations]
       if ((rsa = RSA_generate_key(bits ? bits : DEF_RSA_LEN,
       ^~
  In file included from /usr/include/openssl/rsa.h:13:0,
                   from encrypt_openssl.c:43:
  /usr/include/openssl/rsa.h:193:1: note: declared here
   DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
   ^
  makefile:195: recipe for target 'encrypt_openssl.o' failed
  make[1]: *** [encrypt_openssl.o] Error 1
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20161116173956.JevpBpJbR0.db.uftp/uftp-4.9.2'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Attachment: uftp.4.9.2-1.unstable.amd64.log.txt.gz
Description: Binary data

Reply via email to