Source: ruby-gettext-setup Version: 0.30-1 Severity: serious Some recent change in unstable makes ruby-gettext-setup FTBFS:
https://tests.reproducible-builds.org/debian/history/ruby-gettext-setup.html https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-gettext-setup.html ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/1st/ruby-gettext-setup-0.30/debian/ruby-gettext-setup/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-gettext-setup/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation GettextSetup initialize sets up correctly negotiate_locale negotiates correctly chooses the default locale when no match is found chooses the language with the highest q value ignores country variant chooses the first value when q values are equal negotiate_locale! sets the locale setting default_locale allows setting the default locale clear can clear the locale multiple locales can aggregate locales across projects can switch to loaded locale translation repository chain chain is not nil can translate without switching text domains does not allow duplicate repositories does allow multiple unique domains GettextSetup::MetadataPot #metadata_path finds the right metadata path #pot_string generates a reasonable POT string includes summary when provided includes summary when provided includes both summary and description when provided #load_metadata loads metadata correctly uses an empty hash if no metadata.json is found #generate_metadata_pot works with everything supplied GettextSetup::Pot string_changes? should detect string addition should detect string removal should detect string changes should not detect non-string changes generate_new_pot fails when GettextSetup can't find a config.yaml fatal: not a git repository (or any of the parent directories): .git builds a POT file fatal: not a git repository (or any of the parent directories): .git builds a POT file with :header_only generate_new_po fails when GettextSetup can't find a config.yaml complains when no language is supplied generates new PO file merges PO files update_pot fails when GettextSetup can't find a config.yaml fatal: not a git repository (or any of the parent directories): .git /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default' from /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run' from /usr/bin/rxgettext:24:in `<main>' Error parsing spec/lib/gettext-setup/gettext_setup_spec.rb creates POT when absent (FAILED - 1) fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default' from /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run' from /usr/bin/rxgettext:24:in `<main>' Error parsing spec/lib/gettext-setup/gettext_setup_spec.rb updates POT when something changes (FAILED - 2) fatal: not a git repository (or any of the parent directories): .git /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default' from /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run' from /usr/bin/rxgettext:24:in `<main>' Error parsing spec/lib/gettext-setup/gettext_setup_spec.rb doesn't update the POT when nothing changes (FAILED - 3) Merge pot files merges pot files creates an oldpot file if one already exists gettext.rake gettext:pot fatal: not a git repository (or any of the parent directories): .git /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default' from /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run' from /usr/bin/rxgettext:24:in `<main>' Error parsing spec/lib/gettext-setup/gettext_setup_spec.rb outputs correctly (FAILED - 4) exits 1 on error gettext:pot fatal: not a git repository (or any of the parent directories): .git /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default' from /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run' from /usr/bin/rxgettext:24:in `<main>' Error parsing spec/lib/gettext-setup/gettext_setup_spec.rb outputs correctly, when passing a filename (FAILED - 5) gettext:metadata_pot outputs correctly exits 1 on error gettext:po outputs correctly exits 1 on error gettext:update_pot fatal: not a git repository (or any of the parent directories): .git /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default' from /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run' from /usr/bin/rxgettext:24:in `<main>' Error parsing spec/lib/gettext-setup/gettext_setup_spec.rb does not update the POT when no changes are detected (FAILED - 6) fatal: not a git repository (or any of the parent directories): .git /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default' from /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run' from /usr/bin/rxgettext:24:in `<main>' Error parsing spec/lib/gettext-setup/gettext_setup_spec.rb can create a new POT (FAILED - 7) fatal: not a git repository (or any of the parent directories): .git /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError) from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default' from /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each' from /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run' from /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run' from /usr/bin/rxgettext:24:in `<main>' Error parsing spec/lib/gettext-setup/gettext_setup_spec.rb can update the POT (FAILED - 8) exits 1 upon error gettext:merge outputs correctly exits 1 on error Failures: 1) GettextSetup::Pot update_pot creates POT when absent Failure/Error: expect do GettextSetup::Pot.update_pot(spec_locales_path, path) end.to output("No existing POT file, generating new\nPOT file #{path} has been generated\n").to_stdout expected block to output "No existing POT file, generating new\nPOT file /tmp/d20180404-18152-6xwiqe/some-pot.pot has been generated\n" to stdout, but output "No existing POT file, generating new\n" Diff: @@ -1,3 +1,2 @@ No existing POT file, generating new -POT file /tmp/d20180404-18152-6xwiqe/some-pot.pot has been generated # ./spec/lib/gettext-setup/pot_spec.rb:126:in `block (3 levels) in <top (required)>' 2) GettextSetup::Pot update_pot updates POT when something changes Failure/Error: expect do GettextSetup::Pot.update_pot(spec_locales_path, path) end.to output("String changes detected, replacing with updated POT file\n").to_stdout expected block to output "String changes detected, replacing with updated POT file\n" to stdout, but output "POT creation failed\n" Diff: @@ -1,2 +1,2 @@ -String changes detected, replacing with updated POT file +POT creation failed # ./spec/lib/gettext-setup/pot_spec.rb:141:in `block (3 levels) in <top (required)>' 3) GettextSetup::Pot update_pot doesn't update the POT when nothing changes Failure/Error: expect do GettextSetup::Pot.update_pot(spec_locales_path, path) end.to output("No existing POT file, generating new\nPOT file #{path} has been generated\n").to_stdout expected block to output "No existing POT file, generating new\nPOT file /tmp/d20180404-18152-bmxewe/some-pot.pot has been generated\n" to stdout, but output "No existing POT file, generating new\n" Diff: @@ -1,3 +1,2 @@ No existing POT file, generating new -POT file /tmp/d20180404-18152-bmxewe/some-pot.pot has been generated # ./spec/lib/gettext-setup/pot_spec.rb:150:in `block (3 levels) in <top (required)>' 4) gettext.rake gettext:pot outputs correctly Failure/Error: expect { test.run }.not_to raise_error expected no Exception, got #<SystemExit: exit> with backtrace: # ./lib/tasks/gettext.rake:26:in `exit' # ./lib/tasks/gettext.rake:26:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:37:in `block (4 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:35:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' 5) gettext.rake gettext:pot outputs correctly, when passing a filename Failure/Error: expect { test.run }.not_to raise_error expected no Exception, got #<SystemExit: exit> with backtrace: # ./lib/tasks/gettext.rake:26:in `exit' # ./lib/tasks/gettext.rake:26:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:52:in `block (4 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:50:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' 6) gettext.rake gettext:update_pot does not update the POT when no changes are detected Failure/Error: expect { test.run }.not_to raise_error expected no Exception, got #<SystemExit: exit> with backtrace: # ./lib/tasks/gettext.rake:11:in `exit' # ./lib/tasks/gettext.rake:11:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:90:in `block (4 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:88:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' 7) gettext.rake gettext:update_pot can create a new POT Failure/Error: expect { test.run }.not_to raise_error expected no Exception, got #<SystemExit: exit> with backtrace: # ./lib/tasks/gettext.rake:11:in `exit' # ./lib/tasks/gettext.rake:11:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:97:in `block (4 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:95:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' 8) gettext.rake gettext:update_pot can update the POT Failure/Error: expect { test.run }.not_to raise_error expected no Exception, got #<SystemExit: exit> with backtrace: # ./lib/tasks/gettext.rake:11:in `exit' # ./lib/tasks/gettext.rake:11:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:105:in `block (4 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:103:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>' Finished in 1 minute 9.11 seconds (files took 6.78 seconds to load) 53 examples, 8 failures Failed examples: rspec ./spec/lib/gettext-setup/pot_spec.rb:123 # GettextSetup::Pot update_pot creates POT when absent rspec ./spec/lib/gettext-setup/pot_spec.rb:132 # GettextSetup::Pot update_pot updates POT when something changes rspec ./spec/lib/gettext-setup/pot_spec.rb:147 # GettextSetup::Pot update_pot doesn't update the POT when nothing changes rspec ./spec/lib/tasks/gettext_rake_spec.rb:34 # gettext.rake gettext:pot outputs correctly rspec ./spec/lib/tasks/gettext_rake_spec.rb:49 # gettext.rake gettext:pot outputs correctly, when passing a filename rspec ./spec/lib/tasks/gettext_rake_spec.rb:87 # gettext.rake gettext:update_pot does not update the POT when no changes are detected rspec ./spec/lib/tasks/gettext_rake_spec.rb:93 # gettext.rake gettext:update_pot can create a new POT rspec ./spec/lib/tasks/gettext_rake_spec.rb:100 # gettext.rake gettext:update_pot can update the POT Coverage report generated for RSpec to /build/1st/ruby-gettext-setup-0.30/coverage. 32 / 40 LOC (80.0%) covered. /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed ERROR: Test "ruby2.5" failed. Exiting. dh_auto_install: dh_ruby --install /build/1st/ruby-gettext-setup-0.30/debian/ruby-gettext-setup returned exit code 1 make: *** [debian/rules:9: binary] Error 1