Bug#1055023: FTBFS: libpoe-component-client-dns-perl requires DNS during tests.

Sven Mueller smu at google.com
Sun Oct 29 13:53:35 GMT 2023


Package: libpoe-component-client-dns-perl
Severity: serious
Version: 1:1.054-3

While rebuilding debian trixie in a network-restricted environment, we
ran into this build error (using sbuild):

Can't call method "rdstring" on an undefined value at t/06_hosts.t line 143.
# Looks like your test exited with 22 just after 1.

The problem is likely that DNS does work to some degree (it can
resolve some hosts, I'm not sure what the exact response is on other
hosts).

The test at https://sources.debian.org/src/libpoe-component-client-dns-perl/1%3A1.054-3/t/06_hosts.t/#L14
isn't a sufficient precaution to work around the Debian Policy
*requirement* that required build targets *must* *not* *use* network
resources that weren't created by the build processes themselves. The
test itself is already using network resources it hasn't created
itself.

Please disable this test or ensure that it's not using external resolvers.

Kind regards,
Sven



More information about the pkg-perl-maintainers mailing list