[Pkg-haproxy-maintainers] Bug#803752: haproxy: FTBFS: implicit declaration of function 'SSLv3_server_method'

Chris Lamb lamby at debian.org
Mon Nov 2 12:04:33 UTC 2015


Source: haproxy
Version: 1.5.14-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

haproxy fails to build from source in unstable/amd64:

  [..]

  src/ssl_sock.c: In function 'ssl_sock_prepare_ctx':
  src/ssl_sock.c:1409:32: warning: implicit declaration of function
  'SSLv3_server_method' [-Wimplicit-function-declaration]
     SSL_CTX_set_ssl_version(ctx, SSLv3_server_method());
                                  ^
  src/ssl_sock.c:1409:32: warning: passing argument 2 of
  'SSL_CTX_set_ssl_version' makes pointer from integer without a cast
  [-Wint-conversion]
  In file included from src/ssl_sock.c:41:0:
  /usr/include/openssl/ssl.h:2346:5: note: expected 'const SSL_METHOD *
  {aka const struct ssl_method_st *}' but argument is of type 'int'
   int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
       ^
  src/ssl_sock.c: In function 'ssl_sock_prepare_srv_ctx':
  src/ssl_sock.c:1754:45: warning: implicit declaration of function
  'SSLv3_client_method' [-Wimplicit-function-declaration]
     SSL_CTX_set_ssl_version(srv->ssl_ctx.ctx, SSLv3_client_method());
                                               ^
  src/ssl_sock.c:1754:45: warning: passing argument 2 of
  'SSL_CTX_set_ssl_version' makes pointer from integer without a cast
  [-Wint-conversion]
  In file included from src/ssl_sock.c:41:0:
  /usr/include/openssl/ssl.h:2346:5: note: expected 'const SSL_METHOD *
  {aka const struct ssl_method_st *}' but argument is of type 'int'
   int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
       ^
  [..]

  src/ssl_sock.o: In function `ssl_sock_prepare_ctx':
  /build/haproxy-1.5.14/src/ssl_sock.c:1409: undefined reference to
  `SSLv3_server_method'
  src/ssl_sock.o: In function `ssl_sock_prepare_srv_ctx':
  /build/haproxy-1.5.14/src/ssl_sock.c:1754: undefined reference to
  `SSLv3_client_method'
  collect2: error: ld returned 1 exit status
  Makefile:677: recipe for target 'haproxy' failed
  make[2]: *** [haproxy] Error 1
  make[2]: Leaving directory '/build/haproxy-1.5.14'
  debian/rules:37: recipe for target 'override_dh_auto_build-arch'
  failed
  make[1]: *** [override_dh_auto_build-arch] Error 2
  make[1]: Leaving directory '/build/haproxy-1.5.14'
  debian/rules:32: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or (an alternate build) can be viewed
here:

    https://reproducible.debian.net/logs/unstable/amd64/haproxy_1.5.14-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haproxy.1.5.14-1.unstable.amd64.log.txt.gz
Type: application/gzip
Size: 7853 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haproxy-maintainers/attachments/20151102/7fdeafb6/attachment.bin>


More information about the Pkg-haproxy-maintainers mailing list