perl-DBD-Multi-1.01-1.fc28 fails to build because a test fails on properly configured network like this: # Failed test 'Direct connection timed out' # at t/unavailable-server.t line 45. # Pausing up to 10 seconds to test timeout... DBI connect('dbname=fake;host=192.0.2.1','fakeuser',...) failed: could not connect to server: Network is unreachable Is the server running on host "192.0.2.1" and accepting TCP/IP connections on port 5432? at /builddir/build/BUILD/DBD-Multi-1.01/blib/lib/DBD/Multi.pm line 441. DBI connect('dbname=fake;host=192.0.2.1','fakeuser',...) failed: could not connect to server: Network is unreachable Is the server running on host "192.0.2.1" and accepting TCP/IP connections on port 5432? at /builddir/build/BUILD/DBD-Multi-1.01/blib/lib/DBD/Multi.pm line 441. DBI connect('dbname=fake;host=192.0.2.1','fakeuser',...) failed: could not connect to server: Network is unreachable Is the server running on host "192.0.2.1" and accepting TCP/IP connections on port 5432? at /builddir/build/BUILD/DBD-Multi-1.01/blib/lib/DBD/Multi.pm line 441. # Looks like you failed 1 test of 7. t/unavailable-server.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed This is because 92.0.2.0/24 destination is refused by a router with an ICMP error message and the test does not expect it.
I patched the test to use a local TCP server instead that is always reachable.