Package: src:rubocop Version: 1.39.0+dfsg-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202602/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:rubocop, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean W: XS-Ruby-Versions is deprecated, and will be ignored dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules binary dh binary --buildsystem=ruby --with ruby dh_update_autotools_config -O--buildsystem=ruby dh_autoreconf -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby dh_ruby --configure dh_auto_build -O--buildsystem=ruby dh_ruby --build [... snipped ...] with a multiline braces lambda literal as a keyword argument registers an offense with a multiline do-end lambda literal as a keyword argument registers an offense when using safe navigation operator does not break with enforced `literal` style with a multiline lambda method call without arguments registers an offense with arguments registers an offense with a single line lambda method call with arguments registers an offense without arguments registers an offense RuboCop::Cop::Registry exposes cop departments can filter down to all but one type exposes a list of cop names can be cloned can filter down to one type exposes the number of stored cops exposes a mapping of cop names to cop classes when dismissing a cop class disallows it if done too late allows re-listing allows it if done rapidly #cops exposes a list of cops with cops having the same inner-most module exposes both cops #qualified_cop_name raises an error when a cop name is ambiguous qualifies names with the correct namespace qualifies names without a namespace gives back already properly qualified names emits a warning when namespace is incorrect returns the provided name if no namespace is found #department? returns true for department name returns false for other names names_for_department returns array of cops for specified department #contains_cop_matching? returns false for cops not included in the store can find cops matching a given name #enabled overrides config if :only includes the cop selects only safe cops if :safe passed selects cops which are enabled in the config when new cops are introduced does not include them overrides config if :only includes the cop when specifying `--disable-pending-cops` command-line option does not include them when specifying `NewCops: enable` option in .rubocop.yml does not include them because command-line option takes precedence over .rubocop.yml when specifying `NewCops: enable` option in .rubocop.yml includes them when specifying `NewCops: pending` option in .rubocop.yml does not include them when specifying `NewCops: disable` option in .rubocop.yml does not include them when specifying `--enable-pending-cops` command-line option includes them when specifying `NewCops: disable` option in .rubocop.yml includes them because command-line option takes precedence over .rubocop.yml RuboCop::Cop::Style::NegatedIfElseCondition does not register an offense when both branches are empty registers an offense and corrects nested `if-else` with negated condition does not register an offense when negating condition for `if-elsif` works with duplicate nodes does not register an offense when the `else` branch is empty works with comments and multiple statements registers an offense when using negated condition and `if` branch body is empty works with comments when one branch is a begin and the other is not registers an offense and corrects when negating condition with `!` for `if-else` works with comments when neither branch is a begin node does not register an offense when `if` with `!!` condition registers an offense and corrects when negating condition with `not` for ternary does not register an offense when `if` with negated condition has no `else` branch registers an offense and corrects a multiline ternary registers an offense and corrects when negating condition with `not` for `if-else` moves comments to correct branches during autocorrect does not register an offense when only part of the condition is negated correctly moves comments at the end of branches behaves like negation method registers an offense and corrects when negating condition with `!=` in parentheses for `if-else` registers an offense and corrects when negating condition with `!=` for ternary registers an offense and corrects when negating condition with `!=` for `if-else` registers an offense and corrects when negating condition with `!=` in parentheses for ternary registers an offense and corrects when negating condition with `!=` in begin-end for ternary registers an offense and corrects when negating condition with `!=` in begin-end for `if-else` behaves like negation method registers an offense and corrects when negating condition with `!~` in parentheses for ternary registers an offense and corrects when negating condition with `!~` for `if-else` registers an offense and corrects when negating condition with `!~` for ternary registers an offense and corrects when negating condition with `!~` in begin-end for `if-else` registers an offense and corrects when negating condition with `!~` in begin-end for ternary registers an offense and corrects when negating condition with `!~` in parentheses for `if-else` RuboCop::Cop::InternalAffairs::StyleDetectedApiUse registers an offense when correct_style_detected is used without a negative *_style_detected follow up registers an offense when correct_style_detected is used in a conditional expression registers an offense when opposite_style_detected is used without a correct_style_detected follow up registers an offense when conflicting_styles_detected is used in a conditional expression registers an offense when conflicting_styles_detected is used without a correct_style_detected follow up does not register an offense when correct_style_detected and a no_acceptable_style! are both used registers an offense when opposite_style_detected is used in a conditional expression does not register an offense when correct_style_detected and a unexpected_style_detected are both used registers an offense when unrecognized_style_detected is used in a conditional expression registers an offense when ambiguous_style_detected is used without a correct_style_detected follow up registers an offense when unexpected_style_detected is used without a correct_style_detected follow up registers an offense when no_acceptable_style! is used without a correct_style_detected follow up does not register an offense when correct_style_detected and a unrecognized_style_detected are both used registers an offense when unexpected_style_detected is used in a conditional expression does not register an offense when correct_style_detected and a conflicting_styles_detected are both used registers an offense when ambiguous_style_detected is used in a conditional expression registers an offense when no_acceptable_style! is used in a conditional expression does not register an offense when correct_style_detected and a opposite_style_detected are both used registers an offense when unrecognized_style_detected is used without a correct_style_detected follow up does not register an offense when correct_style_detected and a ambiguous_style_detected are both used RuboCop::Cop::Style::MultipleComparison does not register an offense for comparing multiple literal strings does not register an offense for comparing an lvar does not register an offense for comparing lvars when a string is on the lefthand side does not register an offense for comparing lvars does not register an offense for comparing multiple int literals registers an offense and corrects when `a` is compared three times does not register an offense for a duplicated condition registers an offense and corrects when `a` is compared three times, once on the righthand side does not register an offense for a == b || b == a registers an offense and corrects when multiple comparison is not part of a conditional registers an offense and corrects when `a` is compared twice in `if` and `elsif` conditions does not register an offense for Array#include? registers an offense and corrects when `a` is compared three times on the right hand side does not register an offense when comparing two sides of the disjunction is unrelated registers an offense and corrects when `a` is compared twice when `AllowMethodComparison: false` registers an offense and corrects when using multiple method calls when `AllowMethodComparison: true` does not register an offense when using multiple method calls RuboCop::Cop::Style::StringMethods registers an offense when using safe navigation operator registers an offense RuboCop::Cop::Style::ClassAndModuleChildren compact style correctly indents heavily nested children registers a offense for classes with nested children registers a offense for classes with nested one-liner children registers a offense for modules with nested children preserves comments between classes registers an offense for classes with partially nested children accepts nesting for classes with an explicit superclass accepts nesting for classes/modules with more than one child accepts compact style for classes/modules registers and offense for deeply nested children accepts class/module with single method registers an offense for modules with partially nested children nested style accepts :: in parent class on inheritance registers an offense for not nested classes when namespace is defined as a module registers an offense for partially nested modules registers an offense for not nested modules registers an offense for not nested classes with explicit superclass accepts nested children accepts cbase class name accepts cbase module name registers an offense for partially nested classes registers an offense for not nested classes when namespace is defined as a class registers an offense for not nested classes preserves comments RuboCop::Cop::Style::EachWithObject ignores inject and reduce with condition as body ignores inject and reduce with passed in, but not returned hash does not blow up for reduce with no arguments correctly autocorrects with return value only ignores inject/reduce with assignment to accumulator param in block finds inject and reduce with passed in and returned hash ignores inject and reduce with empty body ignores inject and reduce passed in symbol correctly autocorrects when a simple literal is passed as initial value ignores inject/reduce Ruby 2.7 finds inject and reduce with passed in and returned hash and numblock RuboCop::ConfigObsoletion::RenamedCop #message when the cop has been moved to a new department is expected to start with "The `Style/MyCop` cop has been moved to `Layout/MyCop`" when the cop has changed names but in the same department is expected to start with "The `Style/MyCop` cop has been renamed to `Style/NewCop`" when the cop has changed names but in a new department is expected to start with "The `Style/MyCop` cop has been renamed to `Layout/NewCop`" RuboCop::Cop::Style::BeginBlock reports an offense for a BEGIN block Pending: (Failures listed here are expected and do not affect your suite's status) 1) RuboCop::Cop::Lint::UselessAssignment when a variable is reassigned in loop body but won't be referenced either next iteration or loop condition registers an offense # Requires an advanced logic that checks whether the return value of an operator assignment is used or not. Failure/Error: expect(actual_annotations).to eq(expected_annotations), '' Diff: @@ -5,7 +5,6 @@ while total < 100 total += 1 foo += 1 - ^^^ Useless assignment to variable - `foo`. end total # /<<PKGBUILDDIR>>/lib/rubocop/rspec/expect_offense.rb:123:in `expect_offense' # /<<PKGBUILDDIR>>/spec/rubocop/cop/lint/useless_assignment_spec.rb:341:in `block (3 levels) in <top (required)>' # /usr/share/rubygems-integration/all/gems/webmock-3.26.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>' 2) RuboCop::Cop::Generator compliance with rubocop generates a spec file that has no offense # Temporarily skipped with xit # /<<PKGBUILDDIR>>/spec/rubocop/cop/generator_spec.rb:380 3) RuboCop::Cop::Generator compliance with rubocop generates a cop file that has no offense # Temporarily skipped with xit # /<<PKGBUILDDIR>>/spec/rubocop/cop/generator_spec.rb:375 Failures: 1) RuboCop::Cop::Style::RedundantRegexpCharacterClass with a character class containing an escaped-0 does not register an offense Failure/Error: expect(actual_annotations.to_s).to eq(source) expected: "foo = /[\\032]/" got: "foo = /[\\032]/ ^^^^^^ Redundant single-element character class, `[\\032]` can be replaced with `\\032`.\n" (compared using ==) Diff: @@ -1 +1 @@ -foo = /[\032]/ +foo = /[\032]/ ^^^^^^ Redundant single-element character class, `[\032]` can be replaced with `\032`. # /<<PKGBUILDDIR>>/lib/rubocop/rspec/expect_offense.rb:184:in `expect_no_offenses' # /<<PKGBUILDDIR>>/spec/rubocop/cop/style/redundant_regexp_character_class_spec.rb:315:in `block (3 levels) in <top (required)>' # /usr/share/rubygems-integration/all/gems/webmock-3.26.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>' Finished in 1 minute 2.62 seconds (files took 2.96 seconds to load) 19138 examples, 1 failure, 3 pending Failed examples: rspec /<<PKGBUILDDIR>>/spec/rubocop/cop/style/redundant_regexp_character_class_spec.rb:314 # RuboCop::Cop::Style::RedundantRegexpCharacterClass with a character class containing an escaped-0 does not register an offense Randomized with seed 22004 /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --exclude-pattern spec/rubocop/config_loader_spec.rb,spec/project_spec.rb,spec/rubocop/cli/options_spec.rb,spec/rubocop/cli/suggest_extensions_spec.rb,spec/rubocop/config_obsoletion_spec.rb,spec/rubocop/lockfile_spec.rb,spec/rubocop/server/rubocop_server_spec.rb,spec/rubocop/version_spec.rb --format documentation failed /usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed) from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby' from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild' from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:57:in `install' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install' from /usr/bin/dh_ruby:89:in `<main>' dh_auto_install: error: dh_ruby --install /<<BUILDDIR>>/rubocop-1.39.0\+dfsg/debian/rubocop returned exit code 1 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

