#1138413 wget: FTBFS with openssl 4.0

Package:
wget
Source:
wget
Description:
retrieves files from the web
Submitter:
Sebastian Andrzej Siewior
Date:
2026-05-30 16:11:03 UTC
Severity:
normal
Tags:
#1138413#5
Date:
2026-05-30 16:10:11 UTC
From:
To:
OpenSSL 4.0 is in experimental. This package fails to build against it:

| gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I../../src  -I../lib -I../../lib  -Wdate-time -D_FORTIFY_SOURCE=2    -DHAVE_LIBSSL  -DNDEBUG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wget-1.25.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_SSLv2 -Os -c -o openssl.o ../../src/openssl.c
| ../../src/openssl.c: In function 'ssl_init':
| ../../src/openssl.c:230:14: error: implicit declaration of function 'SSLv3_client_method'; did you mean 'SSLv23_client_method'? [-Wimplicit-function-declaration]
|   230 |       meth = SSLv3_client_method ();
|       |              ^~~~~~~~~~~~~~~~~~~
|       |              SSLv23_client_method
| ../../src/openssl.c:230:12: error: assignment to 'const SSL_METHOD *' {aka 'const struct ssl_method_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
|   230 |       meth = SSLv3_client_method ();
|       |            ^

Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/wget_1.25.0-2_amd64-2026-04-19T13:25:38Z

Sebastian