Source: ruby-protected-attributes
Version: 1.1.3-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

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

  [..]

  [ActiveRecord::UnknownAttributeError] exception expected, not
  Class: <NameError>
  Message: <"undefined local variable or method `i_dont_even_exist=' for
  #<Firm:0x000000030676d0>">
  ---Backtrace---
  /usr/lib/ruby/vendor_ruby/active_model/attribute_methods.rb:435:in
  `method_missing'
  /usr/lib/ruby/vendor_ruby/active_record/attribute_methods.rb:213:in
  `method_missing'
  /usr/lib/ruby/vendor_ruby/active_record/attribute_assignment.rb:45:in
  `public_send'
  /usr/lib/ruby/vendor_ruby/active_record/attribute_assignment.rb:45:in
  `_assign_attribute'
  /usr/lib/ruby/vendor_ruby/active_record/attribute_assignment.rb:32:in
  `block in assign_attributes'
  /usr/lib/ruby/vendor_ruby/active_record/attribute_assignment.rb:26:in
  `each'
  /usr/lib/ruby/vendor_ruby/active_record/attribute_assignment.rb:26:in
  `assign_attributes'
  
/home/lamby/temp/cdt.20151210103022.vrGJf8XRiR/ruby-protected-attributes-1.1.3/test/attribute_sanitization_test.rb:103:in
  `block in test_mass_assigning_invalid_attribute'
  /usr/lib/ruby/vendor_ruby/minitest/assertions.rb:300:in
  `assert_raises'
  
/home/lamby/temp/cdt.20151210103022.vrGJf8XRiR/ruby-protected-attributes-1.1.3/test/attribute_sanitization_test.rb:102:in
  `test_mass_assigning_invalid_attribute'
  /usr/lib/ruby/vendor_ruby/minitest/test.rb:108:in `block (3 levels) in
  run'
  /usr/lib/ruby/vendor_ruby/minitest/test.rb:205:in `capture_exceptions'
  /usr/lib/ruby/vendor_ruby/minitest/test.rb:105:in `block (2 levels) in
  run'
  /usr/lib/ruby/vendor_ruby/minitest/test.rb:256:in `time_it'
  /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block in run'
  /usr/lib/ruby/vendor_ruby/minitest.rb:334:in `on_signal'
  /usr/lib/ruby/vendor_ruby/minitest/test.rb:276:in `with_info_handler'
  /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `run'
  /usr/lib/ruby/vendor_ruby/minitest.rb:781:in `run_one_method'
  /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run_one_method'
  /usr/lib/ruby/vendor_ruby/minitest.rb:296:in `block (2 levels) in run'
  /usr/lib/ruby/vendor_ruby/minitest.rb:295:in `each'
  /usr/lib/ruby/vendor_ruby/minitest.rb:295:in `block in run'
  /usr/lib/ruby/vendor_ruby/minitest.rb:334:in `on_signal'
  /usr/lib/ruby/vendor_ruby/minitest.rb:321:in `with_info_handler'
  /usr/lib/ruby/vendor_ruby/minitest.rb:294:in `run'
  /usr/lib/ruby/vendor_ruby/minitest.rb:155:in `block in __run'
  /usr/lib/ruby/vendor_ruby/minitest.rb:155:in `map'
  /usr/lib/ruby/vendor_ruby/minitest.rb:155:in `__run'
  /usr/lib/ruby/vendor_ruby/minitest.rb:129:in `run'
  /usr/lib/ruby/vendor_ruby/minitest.rb:56:in `block in autorun'
  ---------------
  
  203 runs, 740 assertions, 1 failures, 0 errors, 0 skips
  rake aborted!
  Command failed with status (1): [ruby -I"test" 
  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb"
  "test/accessible_params_wrapper_test.rb"
  "test/attribute_sanitization_test.rb"
  "test/mass_assignment_security/black_list_test.rb"
  "test/mass_assignment_security/permission_set_test.rb"
  "test/mass_assignment_security/sanitizer_test.rb"
  "test/mass_assignment_security/strong_parameters_fallback_test.rb"
  "test/mass_assignment_security/white_list_test.rb"
  "test/mass_assignment_security_test.rb" "test/test_helper.rb" -v]
  /usr/bin/rake2.2:33:in `<main>'
  Tasks: TOP => default
  (See full trace by running task with --trace)
  ERROR: Test "ruby2.2" failed. Exiting.
  dh_auto_install: dh_ruby --install
  
/home/lamby/temp/cdt.20151210103022.vrGJf8XRiR/ruby-protected-attributes-1.1.3/debian/ruby-protected-attributes
  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-protected-attributes.1.1.3-1.unstable.amd64.log.txt.gz
Description: Binary data

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to