> ======================================= > wget 1.19.5: 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 > ==================== > > Running test Test-https-pfs > Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --secure-protocol=PFS --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:24443/somefile.txt > Debugging support not compiled in. Ignoring --debug flag. > --2018-05-08 01:19:04-- https://wgettestingserver:24443/somefile.txt > Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem' > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:24443... connected. > HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51. > No data received. > Retrying. > > --2018-05-08 01:19:05-- (try: 2) https://wgettestingserver:24443/somefile.txt > Connecting to wgettestingserver (wgettestingserver)|::1|:24443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... failed: Connection refused. > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:24443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:24443... failed: Connection refused. > Test failed: wrong code returned (was: 4, expected: 0) > FAIL Test-https-pfs.px (exit status: 1) > > FAIL: Test-https-tlsv1 > ====================== > > Running test Test-https-tlsv1 > Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --secure-protocol=TLSv1 --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:28443/somefile.txt > Debugging support not compiled in. Ignoring --debug flag. > --2018-05-08 01:19:04-- https://wgettestingserver:28443/somefile.txt > Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem' > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:28443... connected. > HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51. > No data received. > Retrying. > > --2018-05-08 01:19:05-- (try: 2) https://wgettestingserver:28443/somefile.txt > Connecting to wgettestingserver (wgettestingserver)|::1|:28443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:28443... failed: Connection refused. > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:28443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:28443... failed: Connection refused. > Test failed: wrong code returned (was: 4, expected: 0) > FAIL Test-https-tlsv1.px (exit status: 1) > > FAIL: Test-https-tlsv1x > ======================= > > Running test Test-https-tlsv1x > Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --secure-protocol=TLSv1_1 --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:29443/somefile.txt > Debugging support not compiled in. Ignoring --debug flag. > --2018-05-08 01:19:04-- https://wgettestingserver:29443/somefile.txt > Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem' > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:29443... connected. > HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51. > No data received. > Retrying. > > --2018-05-08 01:19:05-- (try: 2) https://wgettestingserver:29443/somefile.txt > Connecting to wgettestingserver (wgettestingserver)|::1|:29443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:29443... failed: Connection refused. > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:29443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:29443... failed: Connection refused. > Test failed: wrong code returned (was: 4, expected: 0) > FAIL Test-https-tlsv1x.px (exit status: 1) > > FAIL: Test-https-selfsigned > =========================== > > Running test Test-https-selfsigned > Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:26443/somefile.txt > Debugging support not compiled in. Ignoring --debug flag. > --2018-05-08 01:19:04-- https://wgettestingserver:26443/somefile.txt > Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem' > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:26443... connected. > ERROR: The certificate of 'wgettestingserver' is not trusted. > ERROR: The certificate of 'wgettestingserver' hasn't got a known issuer. > Test failed: file somefile.txt not downloaded > Running test Test-https-selfsigned > Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --no-check-certificate --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:27443/somefile.txt > Debugging support not compiled in. Ignoring --debug flag. > --2018-05-08 01:19:04-- https://wgettestingserver:27443/somefile.txt > Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem' > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:27443... connected. > WARNING: The certificate of 'wgettestingserver' is not trusted. > WARNING: The certificate of 'wgettestingserver' hasn't got a known issuer. > HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51. > No data received. > Retrying. > > --2018-05-08 01:19:05-- (try: 2) https://wgettestingserver:27443/somefile.txt > Connecting to wgettestingserver (wgettestingserver)|::1|:27443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:27443... failed: Connection refused. > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:27443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:27443... failed: Connection refused. > Test failed: wrong code returned (was: 4, expected: 0) > FAIL Test-https-selfsigned.px (exit status: 1) > > SKIP: Test-https-weboftrust > =========================== > > SKIP Test-https-weboftrust.px (exit status: 77) > > FAIL: Test-https-clientcert > =========================== > > Running test Test-https-clientcert > Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/client.crt --private-key=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/server.key --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:21443/somefile.txt > Debugging support not compiled in. Ignoring --debug flag. > --2018-05-08 01:19:04-- https://wgettestingserver:21443/somefile.txt > Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem' > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:21443... connected. > HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51. > No data received. > Retrying. > > --2018-05-08 01:19:05-- (try: 2) https://wgettestingserver:21443/somefile.txt > Connecting to wgettestingserver (wgettestingserver)|::1|:21443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:21443... failed: Connection refused. > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:21443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:21443... failed: Connection refused. > Test failed: wrong code returned (was: 4, expected: 5) > Running test Test-https-clientcert > Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/client.crt --private-key=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/client.key --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:22443/somefile.txt > Debugging support not compiled in. Ignoring --debug flag. > --2018-05-08 01:19:05-- https://wgettestingserver:22443/somefile.txt > Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem' > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:22443... connected. > HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51. > No data received. > Retrying. > > --2018-05-08 01:19:06-- (try: 2) https://wgettestingserver:22443/somefile.txt > Connecting to wgettestingserver (wgettestingserver)|::1|:22443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:22443... failed: Connection refused. > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:22443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:22443... failed: Connection refused. > Test failed: wrong code returned (was: 4, expected: 0) > FAIL Test-https-clientcert.px (exit status: 1) > > FAIL: Test-https-crl > ==================== > > Running test Test-https-crl > Calling /var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/../src/wget -d --no-config --ca-certificate=/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem https://WgetTestingServer:32443/somefile.txt > Debugging support not compiled in. Ignoring --debug flag. > --2018-05-08 01:19:05-- https://wgettestingserver:32443/somefile.txt > Loaded CA certificate '/var/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests/certs/test-ca-cert.pem' > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:32443... connected. > HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/lib/perl5/vendor_perl/5.24.3/HTTP/Daemon.pm line 51. > No data received. > Retrying. > > --2018-05-08 01:19:06-- (try: 2) https://wgettestingserver:32443/somefile.txt > Connecting to wgettestingserver (wgettestingserver)|::1|:32443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:32443... failed: Connection refused. > Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1 > Connecting to wgettestingserver (wgettestingserver)|::1|:32443... failed: Connection refused. > Connecting to wgettestingserver (wgettestingserver)|127.0.0.1|:32443... failed: Connection refused. > Test failed: wrong code returned (was: 4, expected: 0) > FAIL Test-https-crl.px (exit status: 255) >
This is due to missing IPv6 support in dev-perl/HTTP-Daemon. Passing tests when dev-perl/HTTP-Daemon is patched with https://rt.cpan.org/Ticket/Attachment/1699040/912443/0001-Add-IPv6-support.patch.
The problem still exists in net-misc/wget-1.20.3-r3 due to missing minimum version in the dependency declaration: DEPEND=".. test? ( .. dev-perl/HTTP-Daemon .. )" - tests fail with an installed older dev-perl/HTTP-Daemon - tests pass after explicitly updating to dev-perl/HTTP-Daemon-6.60.0 as expected since https://bugs.gentoo.org/show_bug.cgi?id=655230 is fixed - changing the dependencies in wget to ">=dev-perl/HTTP-Daemon-6.60" should resolve this ticket
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c194c9bcae2722262b091478302b3d9a5df9002a commit c194c9bcae2722262b091478302b3d9a5df9002a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-29 08:58:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-29 20:35:44 +0000 net-misc/wget: tighten dev-perl/HTTP-Daemon test dep Closes: https://bugs.gentoo.org/655228 Signed-off-by: Sam James <sam@gentoo.org> net-misc/wget/wget-1.21.2.ebuild | 2 +- net-misc/wget/wget-1.21.3-r1.ebuild | 2 +- net-misc/wget/wget-1.21.3.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)