Bug#692316: FTBFS if local hostname cannot be resolved

Ansgar Burchardt ansgar at debian.org
Sun Nov 4 22:17:22 UTC 2012


Package: src:libnet-xmpp-perl
Version: 1.02-2
Severity: important

libnet-xmpp-perl fails to build if the local hostname cannot be
resolved, for example by forbidding non-local network communication (see
#692311) and not having the local hostname in /etc/hosts inside a chroot.

---
   dh_auto_test
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
t/1_load.t ............... ok
t/2_client_jabberd1.4.t .. skipped: Disabled for the Debian build
t/3_client_jabberd2.t .... skipped: Disabled for the Debian build
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
t/iq.t ................... ok
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
t/jid.t .................. ok
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
t/message.t .............. ok
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
t/packet_iqauth.t ........ ok
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
t/packet_iqroster.t ...... ok
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
t/presence.t ............. ok
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
t/rawxml.t ............... ok
Use of uninitialized value $args{"file"} in lc at /«PKGBUILDDIR»/blib/lib/Net/XMPP/Debug.pm line 154.
Cannot resolve deep-thought: Resource temporarily unavailable at /usr/share/perl5/XML/Stream.pm line 409.
# Looks like you planned 75 tests but only ran 1.
# Looks like your test died just after 1.
t/roster.t ............... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 74/75 subtests 

Test Summary Report
-------------------
t/roster.t             (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 75 tests but ran 1.
Files=11, Tests=566,  1 wallclock secs ( 0.09 usr  0.03 sys +  1.03 cusr  0.11 csys =  1.26 CPU)
Result: FAIL
Failed 1/11 test programs. 0/566 subtests failed.
dh_auto_test: perl Build test returned exit code 255
---

Ansgar



More information about the pkg-perl-maintainers mailing list