DBIx::Class authentication for djabberd

Brad Fitzpatrick brad at danga.com
Mon Jul 3 21:16:43 UTC 2006


Danga::Socket only needs Sys::Syscall for epoll, not for sendfile, and
D::S can do other stuff when epoll isn't available, so you shouldn't need
Sys::Syscall at all.

Sad that Sys::Syscall doesn't work on FreeBSD anymore... it once did, at
least enough to stay out of the way.  Ah, I see the test just failed...
force install it.  sendfile won't be used.



On Mon, 3 Jul 2006, Guillermo Roditi wrote:

> i tired to write a driver for DBIC but since Sys::Syscall puked on itself I
> couldn't test it. And no, Linux is not an option.
>
> so hopefully someone can make use of some of this stuff.... i mean until i
> have time to try to get syscall working
>
> DBIC goodness at y codeblog: (no ads, dont worry)
> http://groditi-code.blogspot.com/
>
>
>
> ####################################################
> BTW:   Sys::Syscall  puke
> #################################################
>
> # uname -a
> FreeBSD testing.cantella.com 5.5-STABLE FreeBSD 5.5-STABLE #0: Mon Jul  3
> 11:19:51 EDT 2006
> root at testing.cantella.com:/usr/obj/usr/src/sys/GENERIC  i386
>
> cpan> install Sys::Syscall
> Running install for module Sys::Syscall
> Running make for B/BR/BRADFITZ/Sys-Syscall-0.21.tar.gz
> CPAN: Digest::SHA loaded ok
> CPAN: Module::Signature loaded ok
> WARNING: This key is not certified with a trusted signature!
> Primary key fingerprint: 2E66 557A B97C 19C7 91AF  8E20 328D A867 450F 89EC
> Signature for /home/wroditi/.cpan/sources/authors/id/B/BR/BRADFITZ/CHECKSUMS
> ok
> CPAN: Compress::Zlib loaded ok
> Checksum for /home/wroditi/.cpan/sources/authors/id/B/BR/BRADFITZ/Sys-
> Syscall-0.21.tar.gz ok
> Scanning cache /home/wroditi/.cpan/build for sizes
> x Sys-Syscall-0.21/
> x Sys-Syscall-0.21 /CHANGES
> x Sys-Syscall-0.21/META.yml
> x Sys-Syscall-0.21/t/
> x Sys-Syscall-0.21/t/00-use.t
> x Sys-Syscall-0.21/t/02-sendfile.t
> x Sys-Syscall-0.21/t/01-epoll.t
> x Sys-Syscall-0.21/MANIFEST
> x Sys-Syscall-0.21 /lib/
> x Sys-Syscall-0.21/lib/Sys/
> x Sys-Syscall-0.21/lib/Sys/Syscall.pm
> x Sys-Syscall-0.21/Makefile.PL
> Removing previously used /home/wroditi/.cpan/build/Sys-Syscall-0.21
> Package came without SIGNATURE
>
>
>   CPAN.pm: Going to build B/BR/BRADFITZ/Sys-Syscall-0.21.tar.gz
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Sys::Syscall
> CPAN: YAML loaded ok
> cp lib/Sys/Syscall.pm blib/lib/Sys/Syscall.pm
> Manifying blib/man3/Sys::Syscall.3
>   /usr/bin/make  -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00-use.........ok
>
> t/01-epoll.......skipped
>         all skipped: test good only for Linux 2.6+
> t/02-sendfile....ok 1/2got rv = -1 from sendfile at t/02- sendfile.t line
> 53.
> # Looks like you planned 2 tests but only ran 1.
> # Looks like your test died just after 1.
> t/02-sendfile....dubious
>
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED test 2
>         Failed 1/2 tests, 50.00% okay
> Failed Test     Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/02- sendfile.t  255 65280     2    2 100.00%  2
> 1 test skipped.
> Failed 1/3 test scripts, 66.67% okay. 1/3 subtests failed, 66.67% okay.
> *** Error code 255
>
> Stop in /usr/home/wroditi/.cpan/build/Sys-Syscall-0.21 .
>   /usr/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force
> Failed during this command:
>   BRADFITZ/Sys-Syscall-0.21.tar.gz             : make_test NO
>


More information about the Djabberd mailing list