Building the latest Wget (1.20.3) from sources on Fedora 29. 'make check' fails as shown below. The Wget folks tracked it down to Perl's IPv6 handling. A similar issue for Ubuntu and Linaro can be found at https://www.mail-archive.com/bug-wget@gnu.org/msg09204.html. ********** $ cat wget-1.20.3/tests/test-suite.log ======================================= wget 1.20.3: tests/test-suite.log ======================================= # TOTAL: 93 # PASS: 86 # SKIP: 1 # XFAIL: 0 # FAIL: 6 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: Test-https-pfs ==================== Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Running test Test-https-pfs Calling /home/test/wget-1.20.3/tests/../src/wget -d --no-config --secure-protocol=PFS --ca-certificate=/home/test/wget-1.20.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:24443/somefile.txt Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Setting --secure-protocol (secureprotocol) to PFS Setting --secure-protocol (secureprotocol) to PFS Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem DEBUG output created by Wget 1.20.3 on linux-gnu. Reading HSTS entries from /home/jwalton/.wget-hsts URI encoding = 'ANSI_X3.4-1968' iconv UTF-8 -> ANSI_X3.4-1968 iconv outlen=88 inlen=44 converted 'https://WgetTestingServer:24443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:24443/somefile.txt' (UTF-8) Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968) --2019-04-18 20:43:03-- https://wgettestingserver:24443/somefile.txt Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:24443... connected. Created socket 3. Releasing 0x00005561cf524560 (new refcount 1). Initiating SSL handshake. Handshake successful; connected socket 3 to SSL handle 0x00005561cf526810 certificate: subject: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget issuer: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget X509 certificate successfully verified and matches host wgettestingserver ---request begin--- GET /somefile.txt HTTP/1.1 User-Agent: Wget/1.20.3 (linux-gnu) Accept: */* Accept-Encoding: identity Host: wgettestingserver:24443 Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51. No data received. Closed 3/SSL 0x00005561cf526810 Retrying. --2019-04-18 20:43:04-- (try: 2) https://wgettestingserver:24443/somefile.txt Found wgettestingserver in host_name_addresses_map (0x5561cf524560) Connecting to wgettestingserver (wgettestingserver)|::1|:24443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... Closed fd 3 failed: Connection refused. Releasing 0x00005561cf524560 (new refcount 1). Releasing 0x00005561cf524560 (new refcount 0). Deleting unused 0x00005561cf524560. Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:24443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... Closed fd 3 failed: Connection refused. Releasing 0x00005561cf53c150 (new refcount 1). Test failed: wrong code returned (was: 4, expected: 0) FAIL Test-https-pfs.px (exit status: 1) FAIL: Test-https-tlsv1 ====================== Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Running test Test-https-tlsv1 Calling /home/test/wget-1.20.3/tests/../src/wget -d --no-config --secure-protocol=TLSv1 --ca-certificate=/home/test/wget-1.20.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:28443/somefile.txt Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Setting --secure-protocol (secureprotocol) to TLSv1 Setting --secure-protocol (secureprotocol) to TLSv1 Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem DEBUG output created by Wget 1.20.3 on linux-gnu. Reading HSTS entries from /home/jwalton/.wget-hsts URI encoding = 'ANSI_X3.4-1968' iconv UTF-8 -> ANSI_X3.4-1968 iconv outlen=88 inlen=44 converted 'https://WgetTestingServer:28443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:28443/somefile.txt' (UTF-8) Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968) --2019-04-18 20:43:04-- https://wgettestingserver:28443/somefile.txt Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:28443... connected. Created socket 3. Releasing 0x000055cb6347de10 (new refcount 1). Initiating SSL handshake. Handshake successful; connected socket 3 to SSL handle 0x000055cb63480c10 certificate: subject: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget issuer: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget X509 certificate successfully verified and matches host wgettestingserver ---request begin--- GET /somefile.txt HTTP/1.1 User-Agent: Wget/1.20.3 (linux-gnu) Accept: */* Accept-Encoding: identity Host: wgettestingserver:28443 Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51. No data received. Closed 3/SSL 0x000055cb63480c10 Retrying. --2019-04-18 20:43:05-- (try: 2) https://wgettestingserver:28443/somefile.txt Found wgettestingserver in host_name_addresses_map (0x55cb6347de10) Connecting to wgettestingserver (wgettestingserver)|::1|:28443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:28443... Closed fd 3 failed: Connection refused. Releasing 0x000055cb6347de10 (new refcount 1). Releasing 0x000055cb6347de10 (new refcount 0). Deleting unused 0x000055cb6347de10. Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:28443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:28443... Closed fd 3 failed: Connection refused. Releasing 0x000055cb6348ee90 (new refcount 1). Test failed: wrong code returned (was: 4, expected: 0) FAIL Test-https-tlsv1.px (exit status: 1) FAIL: Test-https-tlsv1x ======================= Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Running test Test-https-tlsv1x Calling /home/test/wget-1.20.3/tests/../src/wget -d --no-config --secure-protocol=TLSv1_1 --ca-certificate=/home/test/wget-1.20.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:29443/somefile.txt Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Setting --secure-protocol (secureprotocol) to TLSv1_1 Setting --secure-protocol (secureprotocol) to TLSv1_1 Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem DEBUG output created by Wget 1.20.3 on linux-gnu. Reading HSTS entries from /home/jwalton/.wget-hsts URI encoding = 'ANSI_X3.4-1968' iconv UTF-8 -> ANSI_X3.4-1968 iconv outlen=88 inlen=44 converted 'https://WgetTestingServer:29443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:29443/somefile.txt' (UTF-8) Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968) --2019-04-18 20:43:06-- https://wgettestingserver:29443/somefile.txt Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:29443... connected. Created socket 3. Releasing 0x000055a215fb6e10 (new refcount 1). Initiating SSL handshake. Handshake successful; connected socket 3 to SSL handle 0x000055a215fb9c10 certificate: subject: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget issuer: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget X509 certificate successfully verified and matches host wgettestingserver ---request begin--- GET /somefile.txt HTTP/1.1 User-Agent: Wget/1.20.3 (linux-gnu) Accept: */* Accept-Encoding: identity Host: wgettestingserver:29443 Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51. No data received. Closed 3/SSL 0x000055a215fb9c10 Retrying. --2019-04-18 20:43:07-- (try: 2) https://wgettestingserver:29443/somefile.txt Found wgettestingserver in host_name_addresses_map (0x55a215fb6e10) Connecting to wgettestingserver (wgettestingserver)|::1|:29443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:29443... Closed fd 3 failed: Connection refused. Releasing 0x000055a215fb6e10 (new refcount 1). Releasing 0x000055a215fb6e10 (new refcount 0). Deleting unused 0x000055a215fb6e10. Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:29443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:29443... Closed fd 3 failed: Connection refused. Releasing 0x000055a215fc7e90 (new refcount 1). Test failed: wrong code returned (was: 4, expected: 0) FAIL Test-https-tlsv1x.px (exit status: 1) FAIL: Test-https-selfsigned =========================== Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Running test Test-https-selfsigned Calling /home/test/wget-1.20.3/tests/../src/wget -d --no-config --ca-certificate=/home/test/wget-1.20.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:26443/somefile.txt Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem DEBUG output created by Wget 1.20.3 on linux-gnu. Reading HSTS entries from /home/jwalton/.wget-hsts URI encoding = 'ANSI_X3.4-1968' iconv UTF-8 -> ANSI_X3.4-1968 iconv outlen=88 inlen=44 converted 'https://WgetTestingServer:26443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:26443/somefile.txt' (UTF-8) Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968) --2019-04-18 20:43:07-- https://wgettestingserver:26443/somefile.txt Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:26443... connected. Created socket 3. Releasing 0x00005558ad0eba40 (new refcount 1). Initiating SSL handshake. Handshake successful; connected socket 3 to SSL handle 0x00005558ad0eec20 certificate: subject: emailAddress=tester,CN=WgetTestingServer,O=Dis,L=Mystery Spot,ST=CA,C=US issuer: emailAddress=tester,CN=WgetTestingServer,O=Dis,L=Mystery Spot,ST=CA,C=US ERROR: cannot verify wgettestingserver's certificate, issued by 'emailAddress=tester,CN=WgetTestingServer,O=Dis,L=Mystery Spot,ST=CA,C=US': Self-signed certificate encountered. To connect to wgettestingserver insecurely, use `--no-check-certificate'. Closed 3/SSL 0x00005558ad0eec20 Test failed: file somefile.txt not downloaded Running test Test-https-selfsigned Calling /home/test/wget-1.20.3/tests/../src/wget -d --no-config --no-check-certificate --ca-certificate=/home/test/wget-1.20.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:27443/somefile.txt Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Setting --check-certificate (checkcertificate) to 0 Setting --check-certificate (checkcertificate) to 0 Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem DEBUG output created by Wget 1.20.3 on linux-gnu. Reading HSTS entries from /home/jwalton/.wget-hsts URI encoding = 'ANSI_X3.4-1968' iconv UTF-8 -> ANSI_X3.4-1968 iconv outlen=88 inlen=44 converted 'https://WgetTestingServer:27443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:27443/somefile.txt' (UTF-8) Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968) --2019-04-18 20:43:07-- https://wgettestingserver:27443/somefile.txt Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:27443... connected. Created socket 3. Releasing 0x000055da6b516a60 (new refcount 1). Initiating SSL handshake. Handshake successful; connected socket 3 to SSL handle 0x000055da6b519c40 certificate: subject: emailAddress=tester,CN=WgetTestingServer,O=Dis,L=Mystery Spot,ST=CA,C=US issuer: emailAddress=tester,CN=WgetTestingServer,O=Dis,L=Mystery Spot,ST=CA,C=US WARNING: cannot verify wgettestingserver's certificate, issued by 'emailAddress=tester,CN=WgetTestingServer,O=Dis,L=Mystery Spot,ST=CA,C=US': Self-signed certificate encountered. ---request begin--- GET /somefile.txt HTTP/1.1 User-Agent: Wget/1.20.3 (linux-gnu) Accept: */* Accept-Encoding: identity Host: wgettestingserver:27443 Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51. No data received. Closed 3/SSL 0x000055da6b519c40 Retrying. --2019-04-18 20:43:08-- (try: 2) https://wgettestingserver:27443/somefile.txt Found wgettestingserver in host_name_addresses_map (0x55da6b516a60) Connecting to wgettestingserver (wgettestingserver)|::1|:27443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:27443... Closed fd 3 failed: Connection refused. Releasing 0x000055da6b516a60 (new refcount 1). Releasing 0x000055da6b516a60 (new refcount 0). Deleting unused 0x000055da6b516a60. Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:27443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:27443... Closed fd 3 failed: Connection refused. Releasing 0x000055da6b52c480 (new refcount 1). Test failed: wrong code returned (was: 4, expected: 0) FAIL Test-https-selfsigned.px (exit status: 1) SKIP: Test-https-weboftrust =========================== Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 SKIP Test-https-weboftrust.px (exit status: 77) FAIL: Test-https-clientcert =========================== Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Running test Test-https-clientcert Calling /home/test/wget-1.20.3/tests/../src/wget -d --no-config --certificate=/home/test/wget-1.20.3/tests/certs/client-cert.pem --private-key=/home/test/wget-1.20.3/tests/certs/server-key.pem --ca-certificate=/home/test/wget-1.20.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:21443/somefile.txt Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Setting --certificate (certificate) to /home/test/wget-1.20.3/tests/certs/client-cert.pem Setting --certificate (certificate) to /home/test/wget-1.20.3/tests/certs/client-cert.pem Setting --private-key (privatekey) to /home/test/wget-1.20.3/tests/certs/server-key.pem Setting --private-key (privatekey) to /home/test/wget-1.20.3/tests/certs/server-key.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem DEBUG output created by Wget 1.20.3 on linux-gnu. Reading HSTS entries from /home/jwalton/.wget-hsts URI encoding = 'ANSI_X3.4-1968' iconv UTF-8 -> ANSI_X3.4-1968 iconv outlen=88 inlen=44 converted 'https://WgetTestingServer:21443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:21443/somefile.txt' (UTF-8) Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968) --2019-04-18 20:43:08-- https://wgettestingserver:21443/somefile.txt OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch Disabling SSL due to encountered errors. Test failed: wrong code returned (was: 1, expected: 5) Running test Test-https-clientcert Calling /home/test/wget-1.20.3/tests/../src/wget -d --no-config --certificate=/home/test/wget-1.20.3/tests/certs/client-cert.pem --private-key=/home/test/wget-1.20.3/tests/certs/client-key.pem --ca-certificate=/home/test/wget-1.20.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:22443/somefile.txt Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Setting --certificate (certificate) to /home/test/wget-1.20.3/tests/certs/client-cert.pem Setting --certificate (certificate) to /home/test/wget-1.20.3/tests/certs/client-cert.pem Setting --private-key (privatekey) to /home/test/wget-1.20.3/tests/certs/client-key.pem Setting --private-key (privatekey) to /home/test/wget-1.20.3/tests/certs/client-key.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem DEBUG output created by Wget 1.20.3 on linux-gnu. Reading HSTS entries from /home/jwalton/.wget-hsts URI encoding = 'ANSI_X3.4-1968' iconv UTF-8 -> ANSI_X3.4-1968 iconv outlen=88 inlen=44 converted 'https://WgetTestingServer:22443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:22443/somefile.txt' (UTF-8) Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968) --2019-04-18 20:43:08-- https://wgettestingserver:22443/somefile.txt Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:22443... connected. Created socket 3. Releasing 0x0000559dde8711a0 (new refcount 1). Initiating SSL handshake. Handshake successful; connected socket 3 to SSL handle 0x0000559dde871400 certificate: subject: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget issuer: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget X509 certificate successfully verified and matches host wgettestingserver ---request begin--- GET /somefile.txt HTTP/1.1 User-Agent: Wget/1.20.3 (linux-gnu) Accept: */* Accept-Encoding: identity Host: wgettestingserver:22443 Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51. No data received. Closed 3/SSL 0x0000559dde871400 Retrying. --2019-04-18 20:43:09-- (try: 2) https://wgettestingserver:22443/somefile.txt Found wgettestingserver in host_name_addresses_map (0x559dde8711a0) Connecting to wgettestingserver (wgettestingserver)|::1|:22443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:22443... Closed fd 3 failed: Connection refused. Releasing 0x0000559dde8711a0 (new refcount 1). Releasing 0x0000559dde8711a0 (new refcount 0). Deleting unused 0x0000559dde8711a0. Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:22443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:22443... Closed fd 3 failed: Connection refused. Releasing 0x0000559dde86e8f0 (new refcount 1). Test failed: wrong code returned (was: 4, expected: 0) FAIL Test-https-clientcert.px (exit status: 1) FAIL: Test-https-crl ==================== Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Running test Test-https-crl Calling /home/test/wget-1.20.3/tests/../src/wget -d --no-config --ca-certificate=/home/test/wget-1.20.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:32443/somefile.txt Setting --no-config (noconfig) to 1 Setting --no-config (noconfig) to 1 Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem Setting --ca-certificate (cacertificate) to /home/test/wget-1.20.3/tests/certs/test-ca-cert.pem DEBUG output created by Wget 1.20.3 on linux-gnu. Reading HSTS entries from /home/jwalton/.wget-hsts URI encoding = 'ANSI_X3.4-1968' iconv UTF-8 -> ANSI_X3.4-1968 iconv outlen=88 inlen=44 converted 'https://WgetTestingServer:32443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:32443/somefile.txt' (UTF-8) Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968) --2019-04-18 20:43:10-- https://wgettestingserver:32443/somefile.txt Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:32443... connected. Created socket 3. Releasing 0x000055af80192a40 (new refcount 1). Initiating SSL handshake. Handshake successful; connected socket 3 to SSL handle 0x000055af80195c20 certificate: subject: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget issuer: C=Freeland,ST=Sunshine,O=GNU,OU=Wget,CN=Wget X509 certificate successfully verified and matches host wgettestingserver ---request begin--- GET /somefile.txt HTTP/1.1 User-Agent: Wget/1.20.3 (linux-gnu) Accept: */* Accept-Encoding: identity Host: wgettestingserver:32443 Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51. No data received. Closed 3/SSL 0x000055af80195c20 Retrying. --2019-04-18 20:43:11-- (try: 2) https://wgettestingserver:32443/somefile.txt Found wgettestingserver in host_name_addresses_map (0x55af80192a40) Connecting to wgettestingserver (wgettestingserver)|::1|:32443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:32443... Closed fd 3 failed: Connection refused. Releasing 0x000055af80192a40 (new refcount 1). Releasing 0x000055af80192a40 (new refcount 0). Deleting unused 0x000055af80192a40. Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:32443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:32443... Closed fd 3 failed: Connection refused. Releasing 0x000055af801ab590 (new refcount 1). Test failed: wrong code returned (was: 4, expected: 0) FAIL Test-https-crl.px (exit status: 255)
Could you please show us the exact Perl code that fails for you? I'm sorry, but I'm not going to wade through some tests of a foreign package. If you blame Perl, then provide a Perl reproducer. From the logs you posted: Found wgettestingserver in host_name_addresses_map (0x5561cf524560) Connecting to wgettestingserver (wgettestingserver)|::1|:24443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... Closed fd 3 failed: Connection refused. Releasing 0x00005561cf524560 (new refcount 1). Releasing 0x00005561cf524560 (new refcount 0). Deleting unused 0x00005561cf524560. Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 Caching wgettestingserver => ::1 127.0.0.1 Connecting to wgettestingserver (wgettestingserver)|::1|:24443... Closed fd 3 failed: Connection refused. Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... Closed fd 3 failed: Connection refused. Releasing 0x00005561cf53c150 (new refcount 1). Test failed: wrong code returned (was: 4, expected: 0) FAIL Test-https-pfs.px (exit status: 1) I can see something (wget?) connects to [::1]:24443 but nothing listens there. Then it retries to 127.0.0.1, but also nothing listens there. It seems your TCP server does not listen on port 24443. Please provide more details.
By the way linked <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887590> is about HTTP::Daemon missing IPv6 support. This true for upstream's code, not for Fedoras one that has already been patched to support IPv6. I worry found a bug in a non-Fedora code.
I just tried running the tests and all the tests that failed for you are actually skipped with an explanation: Failed to resolve WgetTestingServer, using /home/test/fedora/wget/wget-1.20.3/tests/certs/wgethosts They are skipped because Fedora's glibc does not respect HOSTALIASES environment variable that e.g. Test-https-pfs.px test uses to fake a domain name. You can see that in an official Fedora build system too <https://kojipkgs.fedoraproject.org//packages/wget/1.20.3/1.fc29/data/logs/x86_64/build.log>.
(In reply to Petr Pisar from comment #3) > They are skipped because Fedora's glibc does not respect HOSTALIASES > environment variable Reported as glibc bug #1702218.
If I add WgetTestingServer entry into /etc/hosts (IPv4 only, IPv6 only, or both), all tests pass for me except of tests/Test-https-weboftrust.px that is skipped always (it calls "exit 77;" unconditionally). I conclude you have installed HTTP::Daemon from upstream (CPAN) instead of using Fedora's one ("dnf install 'perl(HTTP::Daemon)'").
I performed a dnf update today. The updated perl-IO-Socket-SSL cleared the issue: ============================================================================ Testsuite summary for wget 1.20.3 ============================================================================ # TOTAL: 44 # PASS: 44 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 Close this out. Sorry about the shitty report. I don't know Perl, so there was nothing I could do to help you. Thanks for the help.