Package: src:hydra
Version: 9.5-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking

Starting hydra auto configuration ...
Detected 64 Bit Linux OS

Checking for zlib (libz/zlib.h) ...
                                ... found
Checking for openssl (libssl/libcrypto/ssl.h/sha.h) ...
                                                    ... found

[... snipped ...]

   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~~
sasl.c:183:5: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  183 |     SHA1_Final(sha1_raw, &shac);
      |     ^~~~~~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
sasl.c:194:3: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  194 |   SHA1_Init(&shac);
      |   ^~~~~~~~~
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
sasl.c:195:3: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  195 |   SHA1_Update(&shac, ipad, 64);
      |   ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~~
sasl.c:196:3: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  196 |   SHA1_Update(&shac, challenge, strlen(challenge));
      |   ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~~
sasl.c:197:3: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  197 |   SHA1_Final(sha1_raw, &shac);
      |   ^~~~~~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
sasl.c:198:3: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  198 |   SHA1_Init(&shac);
      |   ^~~~~~~~~
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
sasl.c:199:3: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  199 |   SHA1_Update(&shac, opad, 64);
      |   ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~~
sasl.c:200:3: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  200 |   SHA1_Update(&shac, sha1_raw, SHA_DIGEST_LENGTH);
      |   ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~~
sasl.c:201:3: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  201 |   SHA1_Final(sha1_raw, &shac);
      |   ^~~~~~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
sasl.c: In function ‘sasl_cram_sha256’:
sasl.c:236:5: warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  236 |     SHA256_Init(&sha256c);
      |     ^~~~~~~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
sasl.c:237:5: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  237 |     SHA256_Update(&sha256c, preppasswd, strlen(preppasswd));
      |     ^~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
sasl.c:238:5: warning: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  238 |     SHA256_Final(sha256_raw, &sha256c);
      |     ^~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX 
*c);
      |                           ^~~~~~~~~~~~
sasl.c:249:3: warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  249 |   SHA256_Init(&sha256c);
      |   ^~~~~~~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
sasl.c:250:3: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  250 |   SHA256_Update(&sha256c, ipad, 64);
      |   ^~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
sasl.c:251:3: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  251 |   SHA256_Update(&sha256c, challenge, strlen(challenge));
      |   ^~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
sasl.c:252:3: warning: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  252 |   SHA256_Final(sha256_raw, &sha256c);
      |   ^~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX 
*c);
      |                           ^~~~~~~~~~~~
sasl.c:253:3: warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  253 |   SHA256_Init(&sha256c);
      |   ^~~~~~~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
sasl.c:254:3: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  254 |   SHA256_Update(&sha256c, opad, 64);
      |   ^~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
sasl.c:255:3: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  255 |   SHA256_Update(&sha256c, sha256_raw, SHA256_DIGEST_LENGTH);
      |   ^~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
sasl.c:256:3: warning: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  256 |   SHA256_Final(sha256_raw, &sha256c);
      |   ^~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX 
*c);
      |                           ^~~~~~~~~~~~
sasl.c: In function ‘sasl_digest_md5’:
sasl.c:449:3: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  449 |   MD5_Init(&md5c);
      |   ^~~~~~~~
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
sasl.c:450:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  450 |   MD5_Update(&md5c, buffer, strlen(buffer));
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
sasl.c:451:3: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  451 |   MD5_Final(response, &md5c);
      |   ^~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
sasl.c:469:5: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  469 |     MD5_Init(&md5c);
      |     ^~~~~~~~
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
sasl.c:470:5: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  470 |     MD5_Update(&md5c, buffer, strlen(buffer));
      |     ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
sasl.c:471:5: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  471 |     MD5_Final(response, &md5c);
      |     ^~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
sasl.c:499:3: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  499 |   MD5_Init(&md5c);
      |   ^~~~~~~~
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
sasl.c:500:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  500 |   MD5_Update(&md5c, buffer, strlen(buffer));
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
sasl.c:501:3: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  501 |   MD5_Final(response, &md5c);
      |   ^~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
sasl.c:512:3: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  512 |   MD5_Init(&md5c);
      |   ^~~~~~~~
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
sasl.c:513:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  513 |   MD5_Update(&md5c, buffer3, strlen(buffer3));
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
sasl.c:514:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  514 |   MD5_Update(&md5c, ":", 1);
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
sasl.c:515:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  515 |   MD5_Update(&md5c, buffer, strlen(buffer));
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
sasl.c:516:3: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  516 |   MD5_Final(response, &md5c);
      |   ^~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
sasl.c:467:68: warning: ‘%s’ directive output may be truncated writing up to 
199 bytes into a region of size 33 [-Wformat-truncation=]
  467 |       snprintf(buffer + sizeof(response), 50 - sizeof(response), ":%s:%s", nonce, 
"hydra");
      |                                                                    ^~   
   ~~~~~
In file included from /usr/include/stdio.h:970,
                 from hydra.h:3,
                 from hydra-mod.h:4,
                 from sasl.h:2:
In function ‘snprintf’,
    inlined from ‘sasl_digest_md5’ at sasl.c:467:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 8 and 207 bytes into a destination of 
size 34
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
sasl.c: In function ‘sasl_digest_md5’:
sasl.c:511:40: warning: ‘%s’ directive output may be truncated writing up to 
499 bytes into a region of size between 280 and 479 [-Wformat-truncation=]
  511 |     snprintf(buffer, 500, "%s:%s:%s:%s:%s", nonce, "00000001", "hydra", 
"auth", buffer2);
      |                                        ^~                               
        ~~~~~~~
In function ‘snprintf’,
    inlined from ‘sasl_digest_md5’ at sasl.c:511:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 22 and 720 bytes into a destination 
of size 500
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
sasl.c: In function ‘sasl_digest_md5’:
sasl.c:509:31: warning: ‘%s’ directive output may be truncated writing up to 
499 bytes into a region of size between 300 and 499 [-Wformat-truncation=]
  509 |     snprintf(buffer, 500, "%s:%s", nonce, buffer2);
      |                               ^~          ~~~~~~~
In function ‘snprintf’,
    inlined from ‘sasl_digest_md5’ at sasl.c:509:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 2 and 700 bytes into a destination of 
size 500
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -I. -Wall -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -fcommon -pie -fPIE -fstack-protector-all --param 
ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -Wl,--allow-multiple-definition -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -c hmacmd5.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL 
-DLIBNCURSES -DLIBFIREBIRD -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN 
-DLIBSSH -DHAVE_ZLIB -DHAVE_GCRYPT -DLIBMCACHED -DLIBMONGODB -DLIBBSON -DLIBFREERDP -DLIBWINPR3 
-DHAVE_MATH_H  -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include 
-I/usr/include/postgresql -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1.0 
-I/usr/include/subversion-1 -I/usr/include/libmemcached -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/freerdp3 -I/usr/include/winpr3
x86_64-linux-gnu-gcc -I. -Wall -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -fcommon -pie -fPIE -fstack-protector-all --param 
ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -Wl,--allow-multiple-definition -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -c hydra-mod.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL 
-DLIBNCURSES -DLIBFIREBIRD -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN 
-DLIBSSH -DHAVE_ZLIB -DHAVE_GCRYPT -DLIBMCACHED -DLIBMONGODB -DLIBBSON -DLIBFREERDP -DLIBWINPR3 
-DHAVE_MATH_H  -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include 
-I/usr/include/postgresql -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1.0 
-I/usr/include/subversion-1 -I/usr/include/libmemcached -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/freerdp3 -I/usr/include/winpr3
hmacmd5.c: In function ‘hmac_md5_init_rfc2104’:
hmacmd5.c:54:5: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
   54 |     MD5_Init(&tctx);
      |     ^~~~~~~~
In file included from hmacmd5.h:39,
                 from hmacmd5.c:37:
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
hmacmd5.c:55:5: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
   55 |     MD5_Update(&tctx, (void *)key, key_len);
      |     ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
hmacmd5.c:56:5: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
   56 |     MD5_Final(tk, &tctx);
      |     ^~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
hmacmd5.c:74:3: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
   74 |   MD5_Init(&ctx->ctx);
      |   ^~~~~~~~
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
hmacmd5.c:75:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
   75 |   MD5_Update(&ctx->ctx, ctx->k_ipad, 64);
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
hmacmd5.c: In function ‘hmac_md5_init_limK_to_64’:
hmacmd5.c:102:3: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  102 |   MD5_Init(&ctx->ctx);
      |   ^~~~~~~~
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
hmacmd5.c:103:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  103 |   MD5_Update(&ctx->ctx, ctx->k_ipad, 64);
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
hmacmd5.c: In function ‘hmac_md5_update’:
hmacmd5.c:110:1: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  110 | void hmac_md5_update(const unsigned char *text, int32_t text_len, 
HMACMD5Context *ctx) { MD5_Update(&ctx->ctx, (void *)text, text_len); /* then 
text of datagram */ }
      | ^~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
hmacmd5.c: In function ‘hmac_md5_final’:
hmacmd5.c:118:3: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  118 |   MD5_Final(digest, &ctx->ctx);
      |   ^~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
hmacmd5.c:120:3: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  120 |   MD5_Init(&ctx_o);
      |   ^~~~~~~~
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
hmacmd5.c:121:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  121 |   MD5_Update(&ctx_o, ctx->k_opad, 64);
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
hmacmd5.c:122:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  122 |   MD5_Update(&ctx_o, digest, 16);
      |   ^~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
      |                           ^~~~~~~~~~
hmacmd5.c:123:3: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  123 |   MD5_Final(digest, &ctx_o);
      |   ^~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
x86_64-linux-gnu-gcc -I. -Wall -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -fcommon -pie -fPIE -fstack-protector-all --param 
ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -Wl,--allow-multiple-definition -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -c hydra-time.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL 
-DLIBNCURSES -DLIBFIREBIRD -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN 
-DLIBSSH -DHAVE_ZLIB -DHAVE_GCRYPT -DLIBMCACHED -DLIBMONGODB -DLIBBSON -DLIBFREERDP -DLIBWINPR3 
-DHAVE_MATH_H  -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include 
-I/usr/include/postgresql -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1.0 
-I/usr/include/subversion-1 -I/usr/include/libmemcached -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/freerdp3 -I/usr/include/winpr3
hydra-mod.c: In function ‘ssl_temp_rsa_cb’:
hydra-mod.c:488:3: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  488 |   RSA_get0_key(rsa, (const struct bignum_st **)&n, NULL, NULL);
      |   ^~~~~~~~~~~~
In file included from hydra-mod.c:6:
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
hydra-mod.c:494:3: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  494 |   if (nok == 0 && RSA_size(rsa) != (keylength / 8)) { // n is not zero
      |   ^~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
hydra-mod.c:498:5: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  498 |     RSA_free(rsa);
      |     ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
hydra-mod.c:503:5: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
  503 |     RSA *rsa = RSA_new();
      |     ^~~
/usr/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
hydra-mod.c:506:5: warning: ‘RSA_generate_key_ex’ is deprecated: Since OpenSSL 
3.0 [-Wdeprecated-declarations]
  506 |     RSA_generate_key_ex(rsa, keylength, f4, NULL);
      |     ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:271:27: note: declared here
  271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, 
BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
hydra-mod.c: In function ‘hydra_recv’:
hydra-mod.c:927:21: warning: pointer targets in passing argument 1 of 
‘hydra_dump_data’ differ in signedness [-Wpointer-sign]
  927 |     hydra_dump_data(buf, ret, text);
      |                     ^~~
      |                     |
      |                     char *
In file included from hydra-mod.c:1:
hydra-mod.h:47:44: note: expected ‘unsigned char *’ but argument is of type 
‘char *’
   47 | extern void hydra_dump_data(unsigned char *buf, int32_t len, char 
*text);
      |                             ~~~~~~~~~~~~~~~^~~
hydra-mod.c: In function ‘hydra_recv_nb’:
hydra-mod.c:943:25: warning: pointer targets in passing argument 1 of 
‘hydra_dump_data’ differ in signedness [-Wpointer-sign]
  943 |         hydra_dump_data(buf, ret, text);
      |                         ^~~
      |                         |
      |                         char *
hydra-mod.h:47:44: note: expected ‘unsigned char *’ but argument is of type 
‘char *’
   47 | extern void hydra_dump_data(unsigned char *buf, int32_t len, char 
*text);
      |                             ~~~~~~~~~~~~~~~^~~
hydra-mod.c:949:23: warning: pointer targets in passing argument 1 of 
‘hydra_dump_data’ differ in signedness [-Wpointer-sign]
  949 |       hydra_dump_data(buf, ret, text);
      |                       ^~~
      |                       |
      |                       char *
hydra-mod.h:47:44: note: expected ‘unsigned char *’ but argument is of type 
‘char *’
   47 | extern void hydra_dump_data(unsigned char *buf, int32_t len, char 
*text);
      |                             ~~~~~~~~~~~~~~~^~~
hydra-mod.c: In function ‘hydra_receive_line’:
hydra-mod.c:996:43: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
  996 |     } while (hydra_data_ready(socket) > 0 && j > 0
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
hydra-mod.c:1005:25: warning: pointer targets in passing argument 1 of 
‘hydra_dump_data’ differ in signedness [-Wpointer-sign]
 1005 |         hydra_dump_data(buff, got, pid);
      |                         ^~~~
      |                         |
      |                         char *
hydra-mod.h:47:44: note: expected ‘unsigned char *’ but argument is of type 
‘char *’
   47 | extern void hydra_dump_data(unsigned char *buf, int32_t len, char 
*text);
      |                             ~~~~~~~~~~~~~~~^~~
hydra-mod.c: In function ‘hydra_send’:
hydra-mod.c:1039:21: warning: pointer targets in passing argument 1 of 
‘hydra_dump_data’ differ in signedness [-Wpointer-sign]
 1039 |     hydra_dump_data(buf, size, text);
      |                     ^~~
      |                     |
      |                     char *
hydra-mod.h:47:44: note: expected ‘unsigned char *’ but argument is of type 
‘char *’
   47 | extern void hydra_dump_data(unsigned char *buf, int32_t len, char 
*text);
      |                             ~~~~~~~~~~~~~~~^~~
hydra-mod.c: In function ‘hydra_string_match’:
hydra-mod.c:1300:22: warning: pointer targets in passing argument 1 of 
‘pcre2_compile_8’ differ in signedness [-Wpointer-sign]
 1300 |   re = pcre2_compile(regex, PCRE2_ZERO_TERMINATED, PCRE2_CASELESS | 
PCRE2_DOTALL, &error_code, &error_offset, NULL);
      |                      ^~~~~
      |                      |
      |                      const char *
In file included from hydra-mod.c:11:
/usr/include/pcre2.h:935:1: note: expected ‘PCRE2_SPTR8’ {aka ‘const unsigned 
char *’} but argument is of type ‘const char *’
  935 | PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hydra-mod.c:1302:65: warning: format ‘%d’ expects argument of type ‘int’, but 
argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
 1302 |     fprintf(stderr, "[ERROR] PCRE compilation failed at offset %d: 
%d\n", error_offset, error_code);
      |                                                                ~^       
  ~~~~~~~~~~~~
      |                                                                 |       
  |
      |                                                                 int     
  size_t {aka long unsigned int}
      |                                                                %ld
hydra-mod.c:1307:24: warning: pointer targets in passing argument 2 of 
‘pcre2_match_8’ differ in signedness [-Wpointer-sign]
 1307 |   rc = pcre2_match(re, str, PCRE2_ZERO_TERMINATED, 0, 0, match_data, 
NULL);
      |                        ^~~
      |                        |
      |                        char *
/usr/include/pcre2.h:935:1: note: expected ‘PCRE2_SPTR8’ {aka ‘const unsigned 
char *’} but argument is of type ‘char *’
  935 | PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -I. -Wall -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -fcommon -pie -fPIE -fstack-protector-all --param 
ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -Wl,--allow-multiple-definition -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -c hydra-smb2.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL 
-DLIBNCURSES -DLIBFIREBIRD -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN 
-DLIBSSH -DHAVE_ZLIB -DHAVE_GCRYPT -DLIBMCACHED -DLIBMONGODB -DLIBBSON -DLIBFREERDP -DLIBWINPR3 
-DHAVE_MATH_H  -I/usr/include/mysql -I/usr/include -I/usr/include -I/usr/include -I/usr/include 
-I/usr/include/postgresql -I/usr/include -I/usr/include/subversion-1 -I/usr/include/apr-1.0 
-I/usr/include/subversion-1 -I/usr/include/libmemcached -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/freerdp3 -I/usr/include/winpr3
x86_64-linux-gnu-gcc -I. -Wall -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -fcommon -pie -fPIE -fstack-protector-all --param 
ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -Wl,--allow-multiple-definition -lm -g 
-O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wl,-z,relro -Wl,-z,now -o hydra  hydra.c hydra-vnc.o 
hydra-pcnfs.o hydra-rexec.o hydra-nntp.o hydra-socks5.o hydra-telnet.o hydra-cisco.o hydra-http.o 
hydra-ftp.o hydra-imap.o hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o 
hydra-memcached.o hydra-mongodb.o hydra-mysql.o hydra-mssql.o hydra-cobaltstrike.o hydra-xmpp.o 
hydra-http-proxy-urlenum.o hydra-snmp.o hydra-cvs.o hydra-smtp.o hydra-smtp-enum.o hydra-sapr3.o 
hydra-ssh.o hydra-sshkey.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o 
hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-oracle-sid.o hydra-oracle.o 
hydra-vmauthd.o hydra-asterisk.o hydra-firebird.o hydra-afp.o hydra-ncp.o hydra-http-proxy.o 
hydra-http-form.o hydra-irc.o hydra-redis.o hydra-rdp.o hydra-s7-300.c hydra-adam6500.o hydra-rtsp.o 
hydra-rpcap.o hydra-radmin2.o crc32.o d3des.o bfg.o ntlm.o sasl.o hmacmd5.o hydra-mod.o hydra-time.o 
hydra-smb2.o -lm -lgcrypt -lz -lcurses -lssl -lfbclient -lidn -lpcre2-8 -lmysqlclient -lpq 
-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1 -lssh -lcrypto -lmemcached -lmongoc-1.0 -lbson-1.0 
-lfreerdp3 -lwinpr3 -L/usr/lib -L/usr/local/lib -L/lib -L/lib/x86_64-linux-gnu -I/usr/include/mysql 
-I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/postgresql -I/usr/include 
-I/usr/include/subversion-1 -I/usr/include/apr-1.0 -I/usr/include/subversion-1 
-I/usr/include/libmemcached -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 
-I/usr/include/freerdp3 -I/usr/include/winpr3 -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES 
-DLIBFIREBIRD -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DLIBSSH 
-DHAVE_ZLIB -DHAVE_GCRYPT -DLIBMCACHED -DLIBMONGODB -DLIBBSON -DLIBFREERDP -DLIBWINPR3 -DHAVE_MATH_H
hydra.c: In function ‘main’:
hydra.c:4367:5: warning: ‘__builtin___strncat_chk’ output may be truncated 
copying 10240 bytes from a string of length 10241 [-Wstringop-truncation]
 4367 |     strncat(json_error, tmp_str, STRMAX);
      |     ^
hydra.c:4378:5: warning: ‘__builtin___strncat_chk’ output may be truncated 
copying 10240 bytes from a string of length 10241 [-Wstringop-truncation]
 4378 |     strncat(json_error, tmp_str, STRMAX);
      |     ^
hydra.c:4389:5: warning: ‘__builtin___strncat_chk’ output may be truncated 
copying 10240 bytes from a string of length 10241 [-Wstringop-truncation]
 4389 |     strncat(json_error, tmp_str, STRMAX);
      |     ^
hydra-s7-300.c: In function ‘start_s7_300’:
hydra-s7-300.c:42:5: warning: ‘__builtin___strncat_chk’ output truncated 
copying between 0 and 8 bytes from a string of length 8 [-Wstringop-truncation]
   42 |     strncat(context, spaces, S7PASSLEN - strlen(pass));
      |     ^

If men could get pregnant, abortion would be a sacrament


Now type make install
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
install -m 755 hydra /<<PKGBUILDDIR>>/debian/hydra/usr/bin
install -m 755 pw-inspector /<<PKGBUILDDIR>>/debian/hydra/usr/bin
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
iconv -c -f UTF-8 -t UTF-8 
/<<PKGBUILDDIR>>/debian/hydra/usr/share/hydra/dpl4hydra_local.csv > \
        /<<PKGBUILDDIR>>/debian/hydra/usr/share/hydra/dpl4hydra_local.csv.tmp
make[1]: *** [debian/rules:24: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to