Bug#692311: FTBFS if non-local network communication is forbidden

Ansgar Burchardt ansgar at debian.org
Sun Nov 4 21:40:36 UTC 2012


Package: src:libxml-stream-perl
Version: 1.23-1
Severity: important

libxml-stream-perl fails to build when I forbid non-local network
communication via iptables:

  iptables -A OUTPUT -m owner --uid-owner $username ! -o lo -j REJECT

---
dh_auto_test
make[2]: Entering directory `/«PKGBUILDDIR»'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0-signature.t .. skipped: Set the environment variable TEST_SIGNATURE to enable this test.
Cannot resolve deep-thought: Resource temporarily unavailable at lib/XML/Stream.pm line 409.
# Looks like you planned 56 tests but ran 1.
# Looks like your test exited with 11 just after 1.
t/buildxml.t ..... 
Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 55/56 subtests 
t/cdata.t ........ ok
t/load.t ......... ok
Cannot resolve deep-thought: Resource temporarily unavailable at /«PKGBUILDDIR»/blib/lib/XML/Stream.pm line 409.
t/parse_node.t ... 
Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 6/7 subtests 
Cannot resolve deep-thought: Resource temporarily unavailable at /«PKGBUILDDIR»/blib/lib/XML/Stream.pm line 409.
t/parse_tree.t ... 
Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 4/5 subtests 
Use of uninitialized value within @_ in lc at lib/XML/Stream/Parser.pm line 71.
Use of uninitialized value within @_ in lc at lib/XML/Stream/Parser.pm line 71.
t/quotes.t ....... ok
Cannot resolve deep-thought: Resource temporarily unavailable at /«PKGBUILDDIR»/blib/lib/XML/Stream.pm line 409.
# Looks like you planned 4 tests but ran 1.
# Looks like your test exited with 11 just after 1.
t/tcpip.t ........ 
Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 3/4 subtests 
Cannot resolve deep-thought: Resource temporarily unavailable at /«PKGBUILDDIR»/blib/lib/XML/Stream.pm line 409.
# Looks like you planned 3 tests but ran 1.
# Looks like your test exited with 11 just after 1.
t/tcpip2ssl.t .... 
Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 2/3 subtests 
Use of uninitialized value within @_ in lc at /«PKGBUILDDIR»/blib/lib/XML/Stream/Parser.pm line 71.
Use of uninitialized value within @_ in lc at /«PKGBUILDDIR»/blib/lib/XML/Stream/Parser.pm line 71.
t/xml2config.t ... ok
Use of uninitialized value within @_ in lc at /«PKGBUILDDIR»/blib/lib/XML/Stream/Parser.pm line 71.
Use of uninitialized value within @_ in lc at /«PKGBUILDDIR»/blib/lib/XML/Stream/Parser.pm line 71.
t/xpath.t ........ ok

Test Summary Report
-------------------
t/buildxml.t   (Wstat: 2816 Tests: 1 Failed: 0)
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 56 tests but ran 1.
t/parse_node.t (Wstat: 2816 Tests: 1 Failed: 0)
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 7 tests but ran 1.
t/parse_tree.t (Wstat: 2816 Tests: 1 Failed: 0)
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 5 tests but ran 1.
t/tcpip.t      (Wstat: 2816 Tests: 1 Failed: 0)
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 4 tests but ran 1.
t/tcpip2ssl.t  (Wstat: 2816 Tests: 1 Failed: 0)
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 3 tests but ran 1.
Files=11, Tests=128,  1 wallclock secs ( 0.06 usr  0.02 sys +  0.61 cusr  0.09 csys =  0.78 CPU)
Result: FAIL
Failed 5/11 test programs. 0/128 subtests failed.
make[2]: *** [test_dynamic] Error 255
---

deep-thought is the hostname of the system I tried to build the package on.

Ansgar



More information about the pkg-perl-maintainers mailing list