Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML/Stream.pm: Can't call method "can_read" on an undefined value #21

Open
tgr opened this issue Dec 4, 2023 · 1 comment
Open

XML/Stream.pm: Can't call method "can_read" on an undefined value #21

tgr opened this issue Dec 4, 2023 · 1 comment

Comments

@tgr
Copy link

tgr commented Dec 4, 2023

I get this when I try to install the module on Ubuntu 22.04 with cpanm:

Building and testing Net-XMPP-1.05
Building Net-XMPP
t/1_load.t ............... ok
t/2_client_jabberd1.4.t .. ok
t/3_client_jabberd2.t .... ok
Subroutine SASLAuth redefined at /usr/local/share/perl/5.34.0/XML/Stream.pm line 2184.
Can't call method "can_read" on an undefined value at /usr/local/share/perl/5.34.0/XML/Stream.pm line 1436.
# Looks like your test exited with 22 just after 6.
t/gtalk.t ................ 
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 26/32 subtests 
        (less 4 skipped subtests: 2 okay)
t/iq.t ................... ok
t/jid.t .................. ok
t/memory_cycle.t ......... skipped: Need Test::Memory::Cycle
t/memory_leak.t .......... skipped: Need Devel::LeakGuard::Object
t/message.t .............. ok
t/packet_iqauth.t ........ ok
t/packet_iqroster.t ...... ok
t/presence.t ............. ok
t/rawxml.t ............... ok
t/roster.t ............... ok
t/srv.t .................. ok

Test Summary Report
-------------------
t/gtalk.t              (Wstat: 5632 Tests: 6 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 32 tests but ran 6.
Files=15, Tests=663,  6 wallclock secs ( 0.13 usr  0.02 sys +  3.07 cusr  0.41 csys =  3.63 CPU)
Result: FAIL
Failed 1/15 test programs. 0/663 subtests failed.
-> FAIL Installing Net::XMPP failed. See /root/.cpanm/work/1701656032.32541/build.log for details. Retry with --force to force install it.
@tgr
Copy link
Author

tgr commented Dec 4, 2023

Maybe this is a duplicate of #11? I don't think there's any network sandboxing going on though (it's a DigitalOcean droplet with default settings).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant