Package: src:feersum
Version: 1.406-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
   dh_auto_configure -a
        perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" 
"LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
-Wl,-z,now"
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Feersum
Writing MYMETA.yml and MYMETA.json
   dh_auto_build -a
        make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp lib/Feersum/Connection/Handle.pm blib/lib/Feersum/Connection/Handle.pm
cp lib/Feersum/Connection.pm blib/lib/Feersum/Connection.pm
cp lib/Feersum.pm blib/lib/Feersum.pm
cp lib/Plack/Handler/Feersum.pm blib/lib/Plack/Handler/Feersum.pm
cp lib/Feersum/Runner.pm blib/lib/Feersum/Runner.pm
Running Mkbootstrap for Feersum ()
chmod 644 "Feersum.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Feersum.bs 
blib/arch/auto/Feersum/Feersum.bs 644
"/usr/bin/perl" "/usr/share/perl/5.26/ExtUtils/xsubpp"  -typemap 
'/usr/share/perl/5.26/ExtUtils/typemap' -typemap '/<<PKGBUILDDIR>>/typemap'  
Feersum.xs > Feersum.xsc
mv Feersum.xsc Feersum.c
x86_64-linux-gnu-gcc -c  -I. -I/usr/lib/x86_64-linux-gnu/perl5/5.26/EV 
-I/usr/lib/x86_64-linux-gnu/perl5/5.26 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN 
-fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2   -DVERSION=\"1.406\" -DXS_VERSION=\"1.406\" -fPIC 
"-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"   Feersum.c
In file included from /usr/include/string.h:494,
                 from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:941,
                 from /usr/lib/x86_64-linux-gnu/perl5/5.26/EV/EVAPI.h:5,
                 from Feersum.xs:1:
In function 'memcpy',
    inlined from 'feersum_env.isra.23' at Feersum.xs:1566:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: 
'__builtin_memcpy' reading 8 bytes from a region of size 5 
[-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f blib/arch/auto/Feersum/Feersum.so
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
-Wl,-z,now  -shared -L/usr/local/lib -fstack-protector-strong Feersum.o  -o 
blib/arch/auto/Feersum/Feersum.so  \
      \
  
chmod 755 blib/arch/auto/Feersum/Feersum.so
cp bin/feersum blib/script/feersum
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/feersum
Manifying 1 pod document
Manifying 5 pod documents
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -a
        make -j1 test TEST_VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Feersum.bs 
blib/arch/auto/Feersum/Feersum.bs 644
"/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef 
*Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/01-simple.t ............. 
1..31
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - assigned socket
ok 5 - can assign code block
ok 6 - after undef cb
ok 7 - cv recycled
ok 8 - can assign another code block
ok 9 - unicode connected
ok 10 - ascii connected
ok 11 - called back!
ok 12 - 'got an object!' isa 'Feersum::Connection'
ok 13 - got env
ok 14 - got a ua!
ok 15 - done request handler
ok 16 - called back!
ok 17 - 'got an object!' isa 'Feersum::Connection'
ok 18 - got env
ok 19 - got a ua!
ok 20 - done request handler
ok 21 - client 2 got 200
ok 22 - got a custom x-client header
ok 23 - content-length was overwritten by the engine
ok 24
ok 25 - unicode body!
ok 26 - client 1 got 200
ok 27 - got a custom x-client header
ok 28 - content-length was overwritten by the engine
ok 29
ok 30 - plain old body
ok 31 - all done
ok
t/02-array-body.t ......... 
1..12
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - assigned socket
ok 5 - simple_client connected
ok 6 - 'got an object!' isa 'Feersum::Connection'
ok 7 - sent response
ok 8 - client got 200
ok 9
ok 10 - content-length was calculated correctly
ok 11 - body was concatenated together
ok 12 - all done
ok
t/03-env-hash.t ........... 
1..143
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - assigned socket
ok 5 - simple_client connected
ok 6 - simple_client connected
ok 7 - simple_client connected
ok 8 - simple_client connected
ok 9 - simple_client connected
ok 10 - 'connection' isa 'Feersum::Connection'
ok 11 - obtain env
ok 12 - env hash
ok 13 - got a test number header 5
ok 14 - got psgi.version
ok 15 - got psgi.url_scheme
ok 16 - got psgi.run_once
ok 17 - got psgi.nonblocking
ok 18 - got psgi.multithread
ok 19 - got psgi.multiprocess
ok 20 - Feersum supports scalar-refs in the body part of the response 
(psgix.body.scalar_refs)
ok 21 - got psgi.errors
ok 22 - errors fh can print()
ok 23 - got req method
ok 24 - got UA
ok 25 - C-L is a promoted header
ok 26 - C-T is a promoted header
ok 27 - got zero C-L
ok 28 - C-T is a promoted header
ok 29 - got server name
ok 30 - got server port
ok 31 - remote addr
ok 32 - remote port
ok 33 - spot check that a placeholder Accept-Charset isn't there
ok 34 - spot check that a placeholder Accept-Language isn't there
ok 35 - sent response
ok 36 - 'connection' isa 'Feersum::Connection'
ok 37 - obtain env
ok 38 - env hash
ok 39 - got a test number header 3
ok 40 - got psgi.version
ok 41 - got psgi.url_scheme
ok 42 - got psgi.run_once
ok 43 - got psgi.nonblocking
ok 44 - got psgi.multithread
ok 45 - got psgi.multiprocess
ok 46 - Feersum supports scalar-refs in the body part of the response 
(psgix.body.scalar_refs)
ok 47 - got psgi.errors
ok 48 - errors fh can print()
ok 49 - got req method
ok 50 - got UA
ok 51 - C-L is a promoted header
ok 52 - C-T is a promoted header
ok 53 - got zero C-L
ok 54 - got a Referer
ok 55 - got query string
ok 56 - got decoded path info string
ok 57 - got full URI string
ok 58 - got server name
ok 59 - got server port
ok 60 - remote addr
ok 61 - remote port
ok 62 - spot check that a placeholder Accept-Charset isn't there
ok 63 - spot check that a placeholder Accept-Language isn't there
ok 64 - sent response
ok 65 - 'connection' isa 'Feersum::Connection'
ok 66 - obtain env
ok 67 - env hash
ok 68 - got a test number header 2
ok 69 - got psgi.version
ok 70 - got psgi.url_scheme
ok 71 - got psgi.run_once
ok 72 - got psgi.nonblocking
ok 73 - got psgi.multithread
ok 74 - got psgi.multiprocess
ok 75 - Feersum supports scalar-refs in the body part of the response 
(psgix.body.scalar_refs)
ok 76 - got psgi.errors
ok 77 - errors fh can print()
ok 78 - got req method
ok 79 - got UA
ok 80 - C-L is a promoted header
ok 81 - C-T is a promoted header
ok 82 - got zero C-L
ok 83 - got a Referer
ok 84 - got query string
ok 85 - got decoded path info string
ok 86 - got full URI string
ok 87 - got server name
ok 88 - got server port
ok 89 - remote addr
ok 90 - remote port
ok 91 - spot check that a placeholder Accept-Charset isn't there
ok 92 - spot check that a placeholder Accept-Language isn't there
ok 93 - sent response
ok 94 - 'connection' isa 'Feersum::Connection'
ok 95 - obtain env
ok 96 - env hash
ok 97 - got a test number header 1
ok 98 - got psgi.version
ok 99 - got psgi.url_scheme
ok 100 - got psgi.run_once
ok 101 - got psgi.nonblocking
ok 102 - got psgi.multithread
ok 103 - got psgi.multiprocess
ok 104 - Feersum supports scalar-refs in the body part of the response 
(psgix.body.scalar_refs)
ok 105 - got psgi.errors
ok 106 - errors fh can print()
ok 107 - got req method
ok 108 - got UA
ok 109 - C-L is a promoted header
ok 110 - C-T is a promoted header
ok 111 - got zero C-L
ok 112 - got the Referer
ok 113 - got query string
ok 114 - got decoded path info string
ok 115 - got full URI string
ok 116 - got server name
ok 117 - got server port
ok 118 - remote addr
ok 119 - remote port
ok 120 - spot check that a placeholder Accept-Charset isn't there
ok 121 - spot check that a placeholder Accept-Language isn't there
ok 122 - sent response
ok 123 - client 4 Bad Request
ok 124
ok 125
ok 126 - client 4 expected error
ok 127 - client 5 got 200
ok 128
ok 129 - client 5 content-length was calculated correctly
ok 130 - client 5 expected body
ok 131 - client 3 got 200
ok 132
ok 133 - client 3 content-length was calculated correctly
ok 134 - client 3 expected body
ok 135 - client 2 got 200
ok 136
ok 137 - client 2 content-length was calculated correctly
ok 138 - client 2 expected body
ok 139 - client 1 got 200
ok 140
ok 141 - client 1 content-length was calculated correctly
ok 142 - client 1 expected body
ok 143 - all done
ok
t/04-died.t ............... 
1..10
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - assigned socket
ok 5 - simple_client connected
ok 6 - DIED was called
ok 7 - client got 500
ok 8
ok 9 - got expected body
ok 10 - all done
ok
t/05-streaming.t .......... 
1..93
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - assigned socket
ok 5 - 2002 connected
ok 6 - 2001 connected
ok 7 - 1002 connected
ok 8 - 1001 connected
ok 9 - 'got an object!' isa 'Feersum::Connection'
ok 10
ok 11 - got psgi.streaming
ok 12 - got client number
ok 13 - write method removed from connection object
ok 14 - 'got a writer 2002' isa 'Feersum::Connection::Writer'
ok 15 - '... it's a handle 2002' isa 'Feersum::Connection::Handle'
ok 16 - 'got an object!' isa 'Feersum::Connection'
ok 17
ok 18 - got psgi.streaming
ok 19 - got client number
ok 20 - write method removed from connection object
ok 21 - 'got a writer 2001' isa 'Feersum::Connection::Writer'
ok 22 - '... it's a handle 2001' isa 'Feersum::Connection::Handle'
ok 23 - 'got an object!' isa 'Feersum::Connection'
ok 24
ok 25 - got psgi.streaming
ok 26 - got client number
ok 27 - write method removed from connection object
ok 28 - 'got a writer 1002' isa 'Feersum::Connection::Writer'
ok 29 - '... it's a handle 1002' isa 'Feersum::Connection::Handle'
ok 30 - 'got an object!' isa 'Feersum::Connection'
ok 31
ok 32 - got psgi.streaming
ok 33 - got client number
ok 34 - write method removed from connection object
ok 35 - 'got a writer 1001' isa 'Feersum::Connection::Writer'
ok 36 - '... it's a handle 1001' isa 'Feersum::Connection::Handle'
ok 37 - still blessed? 2002
ok 38 - wrote chunk 1 2002
ok 39 - still blessed? 2002
ok 40 - wrote chunk 2 2002
ok 41 - still blessed? 2002
ok 42 - 'got another writer 2002' isa 'Feersum::Connection::Writer'
ok 43 - 2002 got 200
ok 44
ok 45 - 2002 not chunked!
ok 46 - 2002 conn closed
ok 47 - 2002 got all three lines
ok 48 - still blessed? 2002
ok 49 - async writer finished 2002
ok 50 - can't write after completion 2002
ok 51 - still blessed? 2001
ok 52 - wrote chunk 1 2001
ok 53 - still blessed? 1002
ok 54 - wrote chunk 1 1002
ok 55 - still blessed? 2001
ok 56 - wrote chunk 2 2001
ok 57 - still blessed? 2001
ok 58 - 'got another writer 2001' isa 'Feersum::Connection::Writer'
ok 59 - 2001 got 200
ok 60
ok 61 - 2001 not chunked!
ok 62 - 2001 conn closed
ok 63 - 2001 got all three lines
ok 64 - still blessed? 2001
ok 65 - async writer finished 2001
ok 66 - can't write after completion 2001
ok 67 - still blessed? 1001
ok 68 - wrote chunk 1 1001
ok 69 - still blessed? 1002
ok 70 - wrote chunk 2 1002
ok 71 - still blessed? 1002
ok 72 - 'got another writer 1002' isa 'Feersum::Connection::Writer'
ok 73 - 1002 got 200
ok 74
ok 75 - 1002 got chunked!
ok 76 - 1002 got all three lines
ok 77 - still blessed? 1001
ok 78 - wrote chunk 2 1001
ok 79 - still blessed? 1002
ok 80 - async writer finished 1002
ok 81 - can't write after completion 1002
ok 82 - still blessed? 1001
ok 83 - 'got another writer 1001' isa 'Feersum::Connection::Writer'
ok 84 - 1001 got 200
ok 85
ok 86 - 1001 got chunked!
ok 87 - 1001 got all three lines
ok 88 - still blessed? 1001
ok 89 - async writer finished 1001
ok 90 - can't write after completion 1001
ok 91 - handlers started
ok 92 - handlers finished
ok 93 - all done
ok
t/06-input.t .............. 
1..53
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - simple_client connected
ok 5 - simple_client connected
ok 6 - simple_client connected
ok 7 - simple_client connected
ok 8 - got input handle
ok 9 - can always seek to cur
ok 10
ok 11
ok 12 - seek_set worked
ok 13 - can't seek back
ok 14 - can seek forward
ok 15 - can seek from end
ok 16 - can seek back from end
ok 17
ok 18
ok 19 - can't seek back
ok 20
ok 21 - closed handle
ok 22 - sent response
ok 23 - got input handle
ok 24 - read w/ too-big offset
ok 25 - got the last word
ok 26 - read again w/ offset
ok 27 - got both words
ok 28 - closed handle
ok 29 - sent response
ok 30 - got input handle
ok 31 - read whole body
ok 32 - buffer has whole body
ok 33
ok 34 - EOF
ok 35 - closed handle
ok 36 - sent response
ok 37 - got input handle
ok 38 - got first letter
ok 39 - read just one byte
ok 40 - buffer has whole body now
ok 41 - read the rest of the content
ok 42 - EOF
ok 43 - closed handle
ok 44 - sent response
ok 45 - ok
ok 46 - uppercased seeking
ok 47 - ok
ok 48 - uppercased and reversed
ok 49 - ok
ok 50 - uppercased slurp
ok 51 - ok
ok 52 - uppercased partial
ok 53 - all done
ok
t/07-graceful-shutdown.t .. 
1..43
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - assigned socket
ok 5 - 0003 connected
ok 6 - 0002 connected
ok 7 - 0001 connected
ok 8 - 'got an object!' isa 'Feersum::Connection'
ok 9
ok 10 - got psgi.streaming
ok 11 - got client number
ok 12 - 'got a writer 0003' isa 'Feersum::Connection::Writer'
ok 13 - '... it's a handle 0003' isa 'Feersum::Connection::Handle'
ok 14 - 'got an object!' isa 'Feersum::Connection'
ok 15
ok 16 - got psgi.streaming
ok 17 - got client number
ok 18 - 'got a writer 0002' isa 'Feersum::Connection::Writer'
ok 19 - '... it's a handle 0002' isa 'Feersum::Connection::Handle'
ok 20 - 'got an object!' isa 'Feersum::Connection'
ok 21
ok 22 - got psgi.streaming
ok 23 - got client number
ok 24 - 'got a writer 0001' isa 'Feersum::Connection::Writer'
ok 25 - '... it's a handle 0001' isa 'Feersum::Connection::Handle'
ok 26 - calling for shutdown
ok 27 - cool, shouldn't be able to connect
ok 28 - wrote after waiting a little 0001
ok 29 - 0001 got 200
ok 30 - 0001 got chunked!
ok 31 - 0001 got body
ok 32 - wrote after waiting a little 0003
ok 33 - 0003 got 200
ok 34 - 0003 got chunked!
ok 35 - 0003 got body
ok 36 - wrote after waiting a little 0002
ok 37 - all gracefully shut down, supposedly
ok 38 - 0002 got 200
ok 39 - 0002 got chunked!
ok 40 - 0002 got body
ok 41 - handlers started
ok 42 - handlers finished
ok 43 - all done
ok
t/08-read-timeout.t ....... 
1..27
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4
ok 5 - default timeout is 5 seconds
ok 6 - can't set a negative number
ok 7
ok 8 - can't set a negative number
ok 9
ok 10 - can't set a string as the timeout
ok 11
ok 12 - IV is OK
ok 13 - new timeout set
ok 14 - NV-as-string is OK
ok 15 - new timeout set
ok 16 - NV is OK
ok 17 - reset to default
ok 18 - (good 1) connected
ok 19 - got a request from a good client
ok 20 - (good 1) got 200
ok 21 - (good 1) got body
ok 22 - (post 1) connected
ok 23 - (get 1) connected
ok 24 - (get 1) got timeout
ok 25 - (post 1) got timeout
ok 26 - no client errors
ok 27 - all done
ok
t/09-magic.t .............. 
1..25
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - array connected
ok 5 - array connected
ok 6 - scalar connected
ok 7 - 'got an object!' isa 'Feersum::Connection'
ok 8 - got env
ok 9 - sent response for SCALAR-in-ARRAY
ok 10 - 'got an object!' isa 'Feersum::Connection'
ok 11 - got env
ok 12 - sent response for ARRAY
ok 13 - 'got an object!' isa 'Feersum::Connection'
ok 14 - got env
ok 15 - sent response for SCALAR
ok 16 - client 1 got 200
ok 17 - content-length
ok 18 - magic body used for scalar in array
ok 19 - client 1 got 200
ok 20 - content-length
ok 21 - magic body used for array
ok 22 - client 1 got 200
ok 23 - content-length was overwritten by the engine
ok 24 - magic body used for scalar
ok 25 - all done
ok
t/10-respond-304.t ........ 
1..21
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - assigned socket
ok 5 - simple_client connected
ok 6 - simple_client connected
ok 7 - 'got an object!' isa 'Feersum::Connection'
ok 8 - got env
ok 9 - sent response for 2
ok 10 - 'got an object!' isa 'Feersum::Connection'
ok 11 - got env
ok 12 - sent response for 1
ok 13 - 2nd client got 304
ok 14 - missing c-t
ok 15 - c-l not replaced
ok 16 - no body
ok 17 - client got 304
ok 18 - missing c-t
ok 19 - no c-l generated
ok 20 - no body
ok 21 - all done
ok
t/11-runner.t ............. 
1..15
ok 1 - found eg/app.feersum
ok 2 - found eg/chat.feersum
ok 3 - use Feersum::Runner;
ok 4 - did the app
ok 5 - got a runner
ok 6 - still got the app
ok 7 - manual runner connected
ok 8 - http success
ok 9
ok 10 - script runner connected
ok 11 - script http success
ok 12
ok 13 - chat runner connected
ok 14 - chat http success
ok 15
ok
t/12-close-on-drop.t ...... 
1..14
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - assigned socket
ok 4 - client 2 connected
ok 5 - client 1 connected
ok 6 - got request
ok 7 - no death on undef
ok 8 - got request
ok 9 - no death on undef
ok 10 - client 1 got 200
ok 11 - client 1 body
ok 12 - client 2 got 200
ok 13 - client 2 body
ok 14 - all done
ok
t/13-pre-fork.t ........... 
1..16
ok 1 - use Feersum::Runner;
ok 2 - client 4 connected
ok 3 - client 3 connected
ok 4 - client 2 connected
ok 5 - client 1 connected
ok 6 - client 4: http success
ok 7 - client 4: looks good
ok 8 - client 3: http success
ok 9 - client 3: looks good
ok 10 - client 2: http success
ok 11 - client 2: looks good
ok 12 - client 1: http success
ok 13 - client 1: looks good
ok 14 - killing
ok 15 - killed
ok 16 - reaped
ok
t/14-guard.t .............. 
1..22
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - simple_client connected
ok 5 - guard didn't fire yet (cancelled)
ok 6 - sent response
ok 7 - guard called
ok 8 - client got 200
ok 9 - plain old body
ok 10 - guard fired only once
ok 11 - done simple guard
ok 12 - simple_client connected
ok 13 - env says the writer has this guard
ok 14 - guard didn't fire yet (cancelled)
ok 15 - guard didn't fire yet (not closed)
ok 16 - guard didn't fire yet (closed, not gc)
ok 17 - sent response
ok 18 - stream writer guard called
ok 19 - client got 200
ok 20 - plain old body
ok 21 - guard fired only once
ok 22 - all done
ok
t/15-write_array.t ........ 
1..24
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - has a fileno
ok 4 - 0002 connected
ok 5 - 0001 connected
ok 6 - 'got an object!' isa 'Feersum::Connection'
ok 7
ok 8 - 'got a writer 0002' isa 'Feersum::Connection::Writer'
ok 9 - '... it's a handle 0002' isa 'Feersum::Connection::Handle'
ok 10 - 0002 handler completed
ok 11 - 'got an object!' isa 'Feersum::Connection'
ok 12
ok 13 - 'got a writer 0001' isa 'Feersum::Connection::Writer'
ok 14 - '... it's a handle 0001' isa 'Feersum::Connection::Handle'
ok 15 - 0001 handler completed
ok 16 - 0002 got 200
ok 17 - 0002 version
ok 18 - 0002 got chunked!
ok 19 - 0002 got all four lines
ok 20 - 0001 got 200
ok 21 - 0001 version
ok 22 - 0001 got chunked!
ok 23 - 0001 got all four lines
ok 24 - all done
ok
t/50-psgi-simple.t ........ 
1..14
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - got an app
ok 4 - (2) connected
ok 5 - (1) connected
ok 6 - got an env in callback
ok 7 - got an env in callback
ok 8 - (2) Response OK
ok 9 - ... (2) is text
ok 10 - ... (2) correct body
ok 11 - (1) Response OK
ok 12 - ... (1) is text
ok 13 - ... (1) correct body
ok 14 - all done
ok
t/51-psgi-streaming.t ..... 
1..36
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - got an app
ok 4 - simple_client connected
ok 5 - called app
ok 6 - called streamer
ok 7 - sending response
ok 8 - sent response
ok 9 - Response OK
ok 10 - ... is JSON
ok 11 - ... no T-E header
ok 12 - ... correct body
ok 13 - all done app 1
ok 14 - got app 2
ok 15 - simple_client connected
ok 16 - called app2
ok 17 - called streamer2
ok 18 - sending response2
ok 19 - started response2
ok 20 - done response2
ok 21 - Response OK
ok 22 - ... is JSON
ok 23 - ... was chunked
ok 24 - ... correct de-chunked body
ok 25 - simple_client connected
ok 26 - called app2
ok 27 - called streamer2
ok 28 - sending response2
ok 29 - started response2
ok 30 - done response2
ok 31 - Response OK
ok 32 - ... is JSON
ok 33 - ... was not chunked
ok 34 - ... got close
ok 35 - ... correct body
ok 36 - all done app 2
ok
t/52-psgi-iohandle.t ...... 
1..41
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - got an app
ok 4 - simple_client connected
ok 5 - called app
ok 6 - $/ is \4096
ok 7 - $/ is \4096
ok 8 - $/ is \4096
ok 9 - called close
ok 10 - Response OK
ok 11
ok 12
ok 13 - all done app 1
ok 14 - got app 2
ok 15 - simple_client connected
ok 16 - called app2
ok 17 - Response OK
ok 18
ok 19
ok 20 - all done app 2
ok 21 - got app 3
ok 22 - simple_client connected
ok 23 - called app3
ok 24 - Response OK
ok 25 - C-T
ok 26 - body
ok 27 - all done app 3
ok 28 - got app 4
ok 29 - simple_client connected
ok 30 - called app4
ok 31 - Response OK
ok 32 - C-T
ok 33 - utf8 body
ok 34 - all done app 4
ok 35 - got app 5
ok 36 - simple_client connected
ok 37 - called app5
ok 38 - Response OK
ok 39 - C-T
ok 40 - utf8 body from streamer
ok 41 - all done app 5
ok
t/53-psgi-overloaded.t .... 
1..12
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - got an app
ok 4 - simple_client connected
ok 5 - called app
ok 6 - called streamer
ok 7 - sent response
ok 8 - Response OK
ok 9 - ... is JSON
ok 10 - ... no T-E header
ok 11 - ... correct body
ok 12 - all done
ok
t/54-psgix-io.t ........... 
1..115
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - server setup: got an upgrade req
ok 4 - 'server setup: 2 fh' isa 'IO::Socket'
ok 5 - server setup: 2 websocket turd
ok 6 - server setup: duplicated psgix.io read results in same handle
ok 7 - server setup: got an upgrade req
ok 8 - 'server setup: 1 fh' isa 'IO::Socket'
ok 9 - server setup: 1 websocket turd
ok 10 - server setup: duplicated psgix.io read results in same handle
ok 11 - client setup: client 1 got upgraded
ok 12 - client setup: client 2 got upgraded
ok 13 - round 1 : all clients connected, sending chats...
ok 14 - client send: wrote to 1
ok 15 - client send: wrote to 2
ok 16 - round: all connected
ok 17 - server msg: read a line for server 2
ok 18 - server msg: read a line for server 1
ok 19 - client msg: 2 got a chat, 1 left
ok 20 - client msg: 2 got a chat, 0 left
ok 21 - client setup: client 2 is done
ok 22 - client msg: 1 got a chat, 1 left
ok 23 - client msg: 1 got a chat, 0 left
ok 24 - client setup: client 1 is done
ok 25 - round: done round 1
ok 26 - client setup: 1 destroyed
ok 27 - client setup: 2 destroyed
ok 28 - server setup: 1 destroyed
ok 29 - server setup: 2 destroyed
ok 30 - round: cleaned up round 1
ok 31 - server setup: got an upgrade req
ok 32 - 'server setup: 2 fh' isa 'IO::Socket'
ok 33 - server setup: 2 websocket turd
ok 34 - server setup: duplicated psgix.io read results in same handle
ok 35 - server setup: got an upgrade req
ok 36 - 'server setup: 1 fh' isa 'IO::Socket'
ok 37 - server setup: 1 websocket turd
ok 38 - server setup: duplicated psgix.io read results in same handle
ok 39 - client setup: client 1 got upgraded
ok 40 - client setup: client 2 got upgraded
ok 41 - round 2 : all clients connected, sending chats...
ok 42 - client send: wrote to 1
ok 43 - client send: wrote to 2
ok 44 - round: all connected
ok 45 - server msg: read a line for server 2
ok 46 - server msg: read a line for server 1
ok 47 - client msg: 2 got a chat, 1 left
ok 48 - client msg: 2 got a chat, 0 left
ok 49 - client setup: client 2 is done
ok 50 - client msg: 1 got a chat, 1 left
ok 51 - client msg: 1 got a chat, 0 left
ok 52 - client setup: client 1 is done
ok 53 - round: done round 2
ok 54 - client setup: 1 destroyed
ok 55 - client setup: 2 destroyed
ok 56 - server setup: 1 destroyed
ok 57 - server setup: 2 destroyed
ok 58 - round: cleaned up round 2
ok 59 - server setup: got an upgrade req
ok 60 - 'server setup: 2 fh' isa 'IO::Socket'
ok 61 - server setup: 2 websocket turd
ok 62 - server setup: duplicated psgix.io read results in same handle
ok 63 - server setup: got an upgrade req
ok 64 - 'server setup: 1 fh' isa 'IO::Socket'
ok 65 - server setup: 1 websocket turd
ok 66 - server setup: duplicated psgix.io read results in same handle
ok 67 - client setup: client 1 got upgraded
ok 68 - client setup: client 2 got upgraded
ok 69 - round 3 : all clients connected, sending chats...
ok 70 - client send: wrote to 1
ok 71 - client send: wrote to 2
ok 72 - round: all connected
ok 73 - server msg: read a line for server 2
ok 74 - server msg: read a line for server 1
ok 75 - client msg: 2 got a chat, 1 left
ok 76 - client msg: 2 got a chat, 0 left
ok 77 - client setup: client 2 is done
ok 78 - client msg: 1 got a chat, 1 left
ok 79 - client msg: 1 got a chat, 0 left
ok 80 - client setup: client 1 is done
ok 81 - round: done round 3
ok 82 - client setup: 1 destroyed
ok 83 - client setup: 2 destroyed
ok 84 - server setup: 1 destroyed
ok 85 - server setup: 2 destroyed
ok 86 - round: cleaned up round 3
ok 87 - server setup: got an upgrade req
ok 88 - 'server setup: 2 fh' isa 'IO::Socket'
ok 89 - server setup: 2 websocket turd
ok 90 - server setup: duplicated psgix.io read results in same handle
ok 91 - server setup: got an upgrade req
ok 92 - 'server setup: 1 fh' isa 'IO::Socket'
ok 93 - server setup: 1 websocket turd
ok 94 - server setup: duplicated psgix.io read results in same handle
ok 95 - client setup: client 1 got upgraded
ok 96 - client setup: client 2 got upgraded
ok 97 - round 4 : all clients connected, sending chats...
ok 98 - client send: wrote to 1
ok 99 - client send: wrote to 2
ok 100 - round: all connected
ok 101 - server msg: read a line for server 2
ok 102 - server msg: read a line for server 1
ok 103 - client msg: 2 got a chat, 1 left
ok 104 - client msg: 2 got a chat, 0 left
ok 105 - client setup: client 2 is done
ok 106 - client msg: 1 got a chat, 1 left
ok 107 - client msg: 1 got a chat, 0 left
ok 108 - client setup: client 1 is done
ok 109 - round: done round 4
ok 110 - client setup: 1 destroyed
ok 111 - client setup: 2 destroyed
ok 112 - server setup: 1 destroyed
ok 113 - server setup: 2 destroyed
ok 114 - round: cleaned up round 4
ok 115 - all done
ok
t/55-psgi-leak.t .......... 
1..47
ok 1 - use Feersum;
ok 2 - made listen socket
ok 3 - got an app
ok 4 - (10) connected
ok 5 - (9) connected
ok 6 - (8) connected
ok 7 - (7) connected
ok 8 - (6) connected
ok 9 - (5) connected
ok 10 - (4) connected
ok 11 - (3) connected
ok 12 - (2) connected
ok 13 - (1) connected
ok 14 - (10) Response OK
ok 15 - ... (10) is text
ok 16 - ... (10) correct body
ok 17 - (9) Response OK
ok 18 - ... (9) is text
ok 19 - ... (9) correct body
ok 20 - (8) Response OK
ok 21 - ... (8) is text
ok 22 - ... (8) correct body
ok 23 - (7) Response OK
ok 24 - ... (7) is text
ok 25 - ... (7) correct body
ok 26 - (6) Response OK
ok 27 - ... (6) is text
ok 28 - ... (6) correct body
ok 29 - (5) Response OK
ok 30 - ... (5) is text
ok 31 - ... (5) correct body
ok 32 - (4) Response OK
ok 33 - ... (4) is text
ok 34 - ... (4) correct body
ok 35 - (3) Response OK
ok 36 - ... (3) is text
ok 37 - ... (3) correct body
ok 38 - (2) Response OK
ok 39 - ... (2) is text
ok 40 - ... (2) correct body
ok 41 - (1) Response OK
ok 42 - ... (1) is text
ok 43 - ... (1) correct body
ok 44 - done requests
ok 45 - request leaks (leaks 0 <= 0)
ok 46 - done graceful shutdown
ok 47 - graceful shutdown leaks (leaks 0 <= 0)
ok
t/60-plack.t .............. 
1..7
ok 1 - guess feersum
ok 2 - 'explicit load' isa 'Plack::Handler::Feersum'
ok 3 - 'auto-load' isa 'Plack::Handler::Feersum'
ok 4 - seems to be Feersum
ok 5 - is PSGI 1.1
ok 6 - hello!
ok 7 - done
ok
t/61-plack-suite.t ........ 
# SCRIPT_NAME
ok 1
# GET
ok 2
ok 3
ok 4
ok 5
# POST
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
# big POST
ok 12
ok 13
ok 14
ok 15
ok 16
# psgi.url_scheme
ok 17
ok 18
ok 19
ok 20
# return glob
ok 21
ok 22
ok 23
ok 24
ok 25
# filehandle
ok 26
ok 27
ok 28
ok 29
# bigger file
ok 30
ok 31
ok 32
ok 33
ok 34
# handle HTTP-Header
ok 35
ok 36
ok 37
ok 38
# handle HTTP-Cookie
ok 39
ok 40
ok 41
ok 42
# validate env
ok 43
ok 44
ok 45
ok 46
# % encoding in PATH_INFO
ok 47 - PATH_INFO should be decoded per RFC 3875
# % double encoding in PATH_INFO
ok 48 - PATH_INFO should be decoded only once, per RFC 3875
# % encoding in PATH_INFO (outside of URI characters)
ok 49
# SERVER_PROTOCOL is required
ok 50
ok 51
ok 52
ok 53
# SCRIPT_NAME should not be undef
ok 54
# call close after read IO::Handle-like
ok 55 - closed
ok 56
# has errors
ok 57
# status line
ok 58
# Do not crash when the app dies
ok 59
ok 60
# multi headers (request)
ok 61
# multi headers (response)
ok 62
# Do not set $env->{COOKIE}
ok 63
ok 64
# no entity headers on 304
ok 65
ok 66
ok 67
ok 68 - No Content-Type
ok 69 - No Content-Length
ok 70 - No Transfer-Encoding
# REQUEST_URI is set
ok 71
# filehandle with path()
ok 72
ok 73
ok 74
ok 75
# a big header value > 128 bytes
ok 76
ok 77
ok 78
# coderef res
ok 79
ok 80
ok 81
ok 82
# coderef streaming
ok 83
ok 84
ok 85
ok 86
# CRLF output and FCGI parse bug
ok 87
ok 88
# newlines
ok 89
# test 404
ok 90
ok 91
ok 92
# request->input seekable
ok 93
# request->content on GET
ok 94
# handle Authorization header
ok 95
ok 96
ok 97
ok 98
# repeated slashes
ok 99
ok 100
ok 101
ok 102
1..102
ok
# found plackup: /usr/bin/plackup (Plack 1.0047)
t/62-plack-runner.t ....... 
1..6
ok 1 - feersum runner connected
ok 2 - script http success
ok 3
ok 4 - plackup runner connected
ok 5 - script http success
ok 6
ok

#   Failed test at t/63-plack-apps.t line 84.
#          got: '599'
#     expected: '200'

#   Failed test 'found static line (cascade)'
#   at t/63-plack-apps.t line 85.
#                   'Could not read from socket: 'Connection reset by peer'
# '
#     doesn't match '(?^m:^\#\ IS\ THIS\ FILE\ STATICALLY\ SERVED\?$)'
# Looks like you failed 2 tests of 6.
t/63-plack-apps.t ......... 
1..6
ok 1
ok 2 - found static line
ok 3
ok 4 - found static line (cascade)
not ok 5
not ok 6 - found static line (cascade)
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests 
t/99-critic.t ............. skipped: Author tests not required for installation
t/99-fixme.t .............. skipped: Author tests not required for installation
t/99-manifest.t ........... skipped: Author tests not required for installation
t/99-pod-coverage.t ....... skipped: Author tests not required for installation
t/99-pod.t ................ skipped: Author tests not required for installation

Test Summary Report
-------------------
t/63-plack-apps.t       (Wstat: 512 Tests: 6 Failed: 2)
  Failed tests:  5-6
  Non-zero exit status: 2
Files=30, Tests=935, 26 wallclock secs ( 0.28 usr  0.09 sys +  6.57 cusr  1.13 
csys =  8.07 CPU)
Result: FAIL
Failed 1/30 test programs. 2/935 subtests failed.
make[1]: *** [Makefile:1079: test_dynamic] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The error happens randomly, but I tried to build it 32 times today,
and it failed 31 times.

I've put a bunch of build logs here:

https://people.debian.org/~sanvila/build-logs/feersum/

If you could not reproduce this on a single-CPU machine using sbuild (as I do),
where this failure seems to be particularly easy to trigger, please say so
and I will gladly offer ssh access to a machine where this happens
(contact me privately for details).

Thanks.

Reply via email to