Package: netsed
Version: 1.2-1
Severity: important
User: [email protected]
Usertags: 2.23
This package fails to build with libc6 2.23 (2.23-0experimental0 from
experimental). It's not immediately obvious to me how that's related
to libc6 but I compiled the package several times and got the same
result whereas it built fine in a regular unstable chroot.
> make -j1
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall
> -fomit-frame-pointer -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro netsed.c
> -o netsed
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> make -j1 test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ruby test/ts_full.rb
> Loaded suite test/ts_full
> Started
> E
> ===============================================================================
> Error: test_basic_rule(TC_RuleTest): TypeError: no implicit conversion of nil
> into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:45:in `new'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:45:in `TCP_RuleCheck'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:57:in `test_basic_rule'
> 54:
> 55: # Check a basic rule.
> 56: def test_basic_rule
> => 57: TCP_RuleCheck('test andrew is there' ,"test mike\0\0 is there",
> ['s/andrew/mike%00%00'])
> 58: end
> 59:
> 60: # Check single char replacement.
> ===============================================================================
> E
> ===============================================================================
> Error: test_chain_2_rule(TC_RuleTest): Errno::EADDRINUSE: Address already in
> use - bind(2) for "127.0.0.1" port 20001
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `new'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:126:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:43:in `TCP_RuleCheck'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:70:in `test_chain_2_rule'
> 67:
> 68: # Check with 2 rules.
> 69: def test_chain_2_rule
> => 70: TCP_RuleCheck('test andrew is there' ,'test mike is here',
> ['s/andrew/mike', 's/there/here'])
> 71: end
> 72:
> 73: # Check traditionally delimited rules
> ===============================================================================
> E
> ===============================================================================
> Error: test_direction_rule(TC_RuleTest): TypeError: no implicit conversion of
> nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:83:in `new'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:83:in `TCP_RuleChatCheck'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:103:in `test_direction_rule'
> 100: # Check direction rules
> 101: # tests based on tcp chat: test_case_04_Chat
> 102: def test_direction_rule
> => 103: TCP_RuleChatCheck(
> 104: ['client: bla bla Rilke Proust', 'server: ok Proust ok
> Rilke'],
> 105: ['client: bla bla Proust Proust', 'server: ok Rilke ok
> Rilke'],
> 106: ['s/Rilke/Proust/o', 's/Proust/Rilke/i'])
> ===============================================================================
> E
> ===============================================================================
> Error: test_direction_ttl_rule(TC_RuleTest): TypeError: no implicit
> conversion of nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:83:in `new'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:83:in `TCP_RuleChatCheck'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:112:in `test_direction_ttl_rule'
> 109: # Check direction+ttl rules
> 110: # tests based on tcp chat: test_case_04_Chat
> 111: def test_direction_ttl_rule
> => 112: TCP_RuleChatCheck(
> 113: ['client: bla bla Rilke Rilke', 'server: ok Proust ok
> Proust'],
> 114: ['client: bla bla Proust Rilke', 'server: ok Rilke ok
> Proust'],
> 115: ['s/Rilke/Proust/o1', 's/Proust/Rilke/i1'])
> ===============================================================================
> E
> ===============================================================================
> Error: test_smallpattern_rule(TC_RuleTest): Errno::EADDRINUSE: Address
> already in use - bind(2) for "127.0.0.1" port 20001
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `new'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:126:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:43:in `TCP_RuleCheck'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:65:in `test_smallpattern_rule'
> 62: # Note: This one fail without commit
> 387a9d46387e2488efac08931b0aab57c7594aa2,
> 63: # it returns "b b ba bab baba" !!
> 64: def test_smallpattern_rule
> => 65: TCP_RuleCheck('a a aa aaa aaaa' ,"b b bb bbb bbbb", ['s/a/b'])
> 66: end
> 67:
> 68: # Check with 2 rules.
> ===============================================================================
> E
> ===============================================================================
> Error: test_traddelim_rule(TC_RuleTest): Errno::EADDRINUSE: Address already
> in use - bind(2) for "127.0.0.1" port 20001
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `new'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:126:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:43:in `TCP_RuleCheck'
> /<<PKGBUILDDIR>>/test/tc_rules.rb:75:in `test_traddelim_rule'
> 72:
> 73: # Check traditionally delimited rules
> 74: def test_traddelim_rule
> => 75: TCP_RuleCheck('a a aa aaa aaaa' ,"b b bb bbb bbbb", ['s/a/b/'])
> 76: end
> 77:
> 78: # General rule checker method in chat mode
> ===============================================================================
> E
> ===============================================================================
> Error: test_TightNonBlockingLoop(TC_SystemTest): Errno::EADDRINUSE: Address
> already in use - bind(2) for "127.0.0.1" port 20001
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `new'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_system.rb:50:in `new'
> /<<PKGBUILDDIR>>/test/tc_system.rb:50:in `test_TightNonBlockingLoop'
> 47: mutex=Mutex.new
> 48: datasent = 'test andrew and andrew'
> 49: dataexpect = 'test mike and andrew'
> => 50: serv = TCPServeSingleConnection.new(SERVER, RPORT) { |s|
> 51: # to ensure the server stays open
> 52: mutex.synchronize do
> 53: end
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_01_ServerDisconnect(TC_TCPTest): TypeError: no implicit
> conversion of nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_01_ServerDisconnect(TC_TCPTest): NoMethodError: undefined
> method `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:48:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_02_NoServer(TC_TCPTest): TypeError: no implicit conversion
> of nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_02_NoServer(TC_TCPTest): NoMethodError: undefined method
> `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:48:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_03_ClientSendData(TC_TCPTest): TypeError: no implicit
> conversion of nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_03_ClientSendData(TC_TCPTest): NoMethodError: undefined
> method `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:48:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_04_Chat(TC_TCPTest): TypeError: no implicit conversion of
> nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_04_Chat(TC_TCPTest): NoMethodError: undefined method `kill'
> for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:48:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_05_ServeMultiple(TC_TCPTest): TypeError: no implicit
> conversion of nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_05_ServeMultiple(TC_TCPTest): NoMethodError: undefined
> method `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:48:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_zz_LastCheck(TC_TCPTest): TypeError: no implicit conversion
> of nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_zz_LastCheck(TC_TCPTest): NoMethodError: undefined method
> `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:48:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_group_all(TC_TCPTest): TypeError: no implicit conversion of nil
> into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `new'
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:43:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_group_all(TC_TCPTest): NoMethodError: undefined method `kill' for
> nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_tcp.rb:48:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_TTL_1(TC_TTLTest): Errno::EADDRINUSE: Address already in use -
> bind(2) for "127.0.0.1" port 20001
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `new'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:126:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_ttl.rb:22:in `new'
> /<<PKGBUILDDIR>>/test/tc_ttl.rb:22:in `test_TTL_1'
> 19: def test_TTL_1
> 20: datasent = 'test andrew and andrew'
> 21: dataexpect = 'test mike and andrew'
> => 22: serv = TCPServeSingleDataSender.new(SERVER, RPORT, datasent)
> 23:
> 24: netsed = NetsedRun.new('tcp', LPORT, SERVER, RPORT,
> ['s/andrew/mike/1'])
> 25:
> ===============================================================================
> E
> ===============================================================================
> Error: test_TTL_1_byConnections(TC_TTLTest): NoMethodError: undefined method
> `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_ttl.rb:70:in `ensure in test_TTL_1_byConnections'
> /<<PKGBUILDDIR>>/test/tc_ttl.rb:70:in `test_TTL_1_byConnections'
> 67:
> 68: assert_equal(dataexpect, datarecv, 'At second connection')
> 69: ensure
> => 70: netsed.kill
> 71: end
> 72:
> 73: end
> ===============================================================================
> E
> ===============================================================================
> Error: test_TTL_20(TC_TTLTest): Errno::EADDRINUSE: Address already in use -
> bind(2) for "127.0.0.1" port 20001
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `new'
> /<<PKGBUILDDIR>>/test/test_helper.rb:105:in `initialize'
> /<<PKGBUILDDIR>>/test/test_helper.rb:126:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_ttl.rb:38:in `new'
> /<<PKGBUILDDIR>>/test/tc_ttl.rb:38:in `test_TTL_20'
> 35: def test_TTL_20
> 36: datasent = '% %% %%% %%%% %%%%% %%%%%% %%%%%%%'
> 37: dataexpect = '/ // /// //// ///// /////% %%%%%%%'
> => 38: serv = TCPServeSingleDataSender.new(SERVER, RPORT, datasent)
> 39:
> 40: netsed = NetsedRun.new('tcp', LPORT, SERVER, RPORT,
> ['s/%%/%2f/20'])
> 41:
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_01_single(TC_UDPTest): TypeError: no implicit conversion of
> nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `new'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_01_single(TC_UDPTest): NoMethodError: undefined method
> `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_udp.rb:49:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_02_Chat(TC_UDPTest): TypeError: no implicit conversion of
> nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `new'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_02_Chat(TC_UDPTest): NoMethodError: undefined method `kill'
> for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_udp.rb:49:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_03_ServeMultiple(TC_UDPTest): TypeError: no implicit
> conversion of nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `new'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_03_ServeMultiple(TC_UDPTest): NoMethodError: undefined
> method `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_udp.rb:49:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_zz_LastCheck(TC_UDPTest): TypeError: no implicit conversion
> of nil into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `new'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_case_zz_LastCheck(TC_UDPTest): NoMethodError: undefined method
> `kill' for nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_udp.rb:49:in `teardown'
> ===============================================================================
> E
> ===============================================================================
> Error: test_group_all(TC_UDPTest): TypeError: no implicit conversion of nil
> into String
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `<<'
> /<<PKGBUILDDIR>>/test/test_helper.rb:50:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `new'
> /<<PKGBUILDDIR>>/test/tc_udp.rb:44:in `setup'
> ===============================================================================
> E
> ===============================================================================
> Error: test_group_all(TC_UDPTest): NoMethodError: undefined method `kill' for
> nil:NilClass
> /<<PKGBUILDDIR>>/test/tc_udp.rb:49:in `teardown'
> ===============================================================================
>
>
> Finished in 0.097328832 seconds.
> ------
> 22 tests, 0 assertions, 0 failures, 34 errors, 0 pendings, 0 omissions, 0
> notifications
> 0% passed
> ------
> 226.04 tests/s, 0.00 assertions/s
> Makefile:30: recipe for target 'test' failed
> make[1]: *** [test] Error 1
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise