Source: ruby-parser
Version: 3.6.6-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

ruby-parser fails to build from source in unstable/amd64:

  [..]

     s(:true),
  
  
  
   49) Failure:
  TestRuby19Parser#test_next [/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "loop { next if false }".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:iter, s(:call, nil, :loop), 0, s(:if, s(:false), s(:next), nil))
  +s(:iter, s(:call, nil, :loop), s(:args), s(:if, s(:false), s(:next), nil))
  
  
  
   50) Failure:
  TestRuby19Parser#test_dasgn_icky 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "a do\n  v = nil\n  assert_block(full_message) do\n    
begin\n      yield\n    rescue Exception => v\n      break\n    end\n  
end\nend".
  --- expected
  +++ actual
  @@ -1,11 +1,11 @@
   s(:iter,
    s(:call, nil, :a),
  - 0,
  + s(:args),
    s(:block,
     s(:lasgn, :v, s(:nil)),
     s(:iter,
      s(:call, nil, :assert_block, s(:call, nil, :full_message)),
  -   0,
  +   s(:args),
      s(:rescue,
       s(:yield),
       s(:resbody,
  
  
  
   51) Failure:
  TestRuby19Parser#test_postexe [/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "END { 1 }".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:iter, s(:postexe), 0, s(:lit, 1))
  +s(:iter, s(:postexe), s(:args), s(:lit, 1))
  
  
  
   52) Failure:
  TestRuby19Parser#test_defs_empty 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "def self.empty\n  # do nothing\nend".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:defs, s(:self), :empty, s(:args), s(:nil))
  +s(:defs, s(:self), :empty, s(:args))
  
  
  
   53) Failure:
  TestRuby19Parser#test_defs_expr_wtf 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "def (a.b).empty(*)\n  # do nothing\nend".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:defs, s(:call, s(:call, nil, :a), :b), :empty, s(:args, :*), s(:nil))
  +s(:defs, s(:call, s(:call, nil, :a), :b), :empty, s(:args, :*))
  
  
  
   54) Failure:
  TestRuby19Parser#test_next_arg [/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "loop { next 42 if false }".
  --- expected
  +++ actual
  @@ -1,4 +1,4 @@
   s(:iter,
    s(:call, nil, :loop),
  - 0,
  + s(:args),
    s(:if, s(:false), s(:next, s(:lit, 42)), nil))
  
  
  
   55) Failure:
  TestRuby18Parser#test_postexe [/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "END { 1 }".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:iter, s(:postexe), 0, s(:lit, 1))
  +s(:iter, s(:postexe), s(:args), s(:lit, 1))
  
  
  
   56) Failure:
  TestRuby18Parser#test_break [/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "loop { break if true }".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:iter, s(:call, nil, :loop), 0, s(:if, s(:true), s(:break), nil))
  +s(:iter, s(:call, nil, :loop), s(:args), s(:if, s(:true), s(:break), nil))
  
  
  
   57) Failure:
  TestRuby18Parser#test_proc_args_0 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "proc { || (x + 1) }".
  --- expected
  +++ actual
  @@ -1,4 +1 @@
  -s(:iter,
  - s(:call, nil, :proc),
  - s(:args),
  - s(:call, s(:call, nil, :x), :+, s(:lit, 1)))
  +s(:iter, s(:call, nil, :proc), 0, s(:call, s(:call, nil, :x), :+, s(:lit, 
1)))
  
  
  
   58) Failure:
  TestRuby18Parser#test_block_mystery_block 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "a(b) do\n  if b then\n    true\n  else\n    c = false\n    
d { |x| c = true }\n    c\n  end\nend".
  --- expected
  +++ actual
  @@ -1,6 +1,6 @@
   s(:iter,
    s(:call, nil, :a, s(:call, nil, :b)),
  - 0,
  + s(:args),
    s(:if,
     s(:call, nil, :b),
     s(:true),
  
  
  
   59) Failure:
  TestRuby18Parser#test_defs_expr_wtf 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "def (a.b).empty(*)\n  # do nothing\nend".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:defs, s(:call, s(:call, nil, :a), :b), :empty, s(:args, :*), s(:nil))
  +s(:defs, s(:call, s(:call, nil, :a), :b), :empty, s(:args, :*))
  
  
  
   60) Failure:
  TestRuby18Parser#test_proc_args_no 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "proc { (x + 1) }".
  --- expected
  +++ actual
  @@ -1 +1,4 @@
  -s(:iter, s(:call, nil, :proc), 0, s(:call, s(:call, nil, :x), :+, s(:lit, 
1)))
  +s(:iter,
  + s(:call, nil, :proc),
  + s(:args),
  + s(:call, s(:call, nil, :x), :+, s(:lit, 1)))
  
  
  
   61) Failure:
  TestRuby18Parser#test_lvar_def_boundary 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "b = 42\ndef a\n  c do\n    begin\n      do_stuff\n    
rescue RuntimeError => b\n      puts(b)\n    end\n  end\nend\n".
  --- expected
  +++ actual
  @@ -5,7 +5,7 @@
     s(:args),
     s(:iter,
      s(:call, nil, :c),
  -   0,
  +   s(:args),
      s(:rescue,
       s(:call, nil, :do_stuff),
       s(:resbody,
  
  
  
   62) Failure:
  TestRuby18Parser#test_next [/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "loop { next if false }".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:iter, s(:call, nil, :loop), 0, s(:if, s(:false), s(:next), nil))
  +s(:iter, s(:call, nil, :loop), s(:args), s(:if, s(:false), s(:next), nil))
  
  
  
   63) Failure:
  TestRuby18Parser#test_break_arg 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "loop { break 42 if true }".
  --- expected
  +++ actual
  @@ -1,4 +1,4 @@
   s(:iter,
    s(:call, nil, :loop),
  - 0,
  + s(:args),
    s(:if, s(:true), s(:break, s(:lit, 42)), nil))
  
  
  
   64) Failure:
  TestRuby18Parser#test_defs_empty 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "def self.empty\n  # do nothing\nend".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:defs, s(:self), :empty, s(:args), s(:nil))
  +s(:defs, s(:self), :empty, s(:args))
  
  
  
   65) Failure:
  TestRuby18Parser#test_next_arg [/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "loop { next 42 if false }".
  --- expected
  +++ actual
  @@ -1,4 +1,4 @@
   s(:iter,
    s(:call, nil, :loop),
  - 0,
  + s(:args),
    s(:if, s(:false), s(:next, s(:lit, 42)), nil))
  
  
  
   66) Failure:
  TestRuby18Parser#test_dasgn_icky 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "a do\n  v = nil\n  assert_block(full_message) do\n    
begin\n      yield\n    rescue Exception => v\n      break\n    end\n  
end\nend".
  --- expected
  +++ actual
  @@ -1,11 +1,11 @@
   s(:iter,
    s(:call, nil, :a),
  - 0,
  + s(:args),
    s(:block,
     s(:lasgn, :v, s(:nil)),
     s(:iter,
      s(:call, nil, :assert_block, s(:call, nil, :full_message)),
  -   0,
  +   s(:args),
      s(:rescue,
       s(:yield),
       s(:resbody,
  
  
  
   67) Failure:
  TestRuby18Parser#test_iter_loop_empty 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "loop { }".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:iter, s(:call, nil, :loop), 0)
  +s(:iter, s(:call, nil, :loop), s(:args))
  
  
  
   68) Failure:
  TestRuby18Parser#test_redo [/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "loop { redo if false }".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:iter, s(:call, nil, :loop), 0, s(:if, s(:false), s(:redo), nil))
  +s(:iter, s(:call, nil, :loop), s(:args), s(:if, s(:false), s(:redo), nil))
  
  
  
   69) Failure:
  TestRuby18Parser#test_fcall_block 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "a(:b) { :c }".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:iter, s(:call, nil, :a, s(:lit, :b)), 0, s(:lit, :c))
  +s(:iter, s(:call, nil, :a, s(:lit, :b)), s(:args), s(:lit, :c))
  
  
  
   70) Failure:
  TestRuby18Parser#test_defs_empty_args 
[/usr/lib/ruby/vendor_ruby/pt_testcase.rb:151]:
  failed on input: "def self.empty(*)\n  # do nothing\nend".
  --- expected
  +++ actual
  @@ -1 +1 @@
  -s(:defs, s(:self), :empty, s(:args, :*), s(:nil))
  +s(:defs, s(:self), :empty, s(:args, :*))
  
  
  2915 runs, 14956 assertions, 70 failures, 0 errors, 12 skips
  
  You have skipped tests. Run with --verbose for details.
  ERROR: Test "ruby2.3" failed. Exiting.
  dh_auto_install: dh_ruby --install 
/home/lamby/temp/cdt.20160727085440.57dT4C6STl.ruby-parser/ruby-parser-3.6.6/debian/ruby-parser
 returned exit code 1
  debian/rules:6: recipe for target 'binary' failed
  make: *** [binary] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Attachment: ruby-parser.3.6.6-1.unstable.amd64.log.txt.gz
Description: Binary data

Reply via email to