{"action":"closed","issue":{"url":"https://api.github.com/repos/puppetlabs/gettext-setup-gem/issues/64","repository_url":"https://api.github.com/repos/puppetlabs/gettext-setup-gem","labels_url":"https://api.github.com/repos/puppetlabs/gettext-setup-gem/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/gettext-setup-gem/issues/64/comments","events_url":"https://api.github.com/repos/puppetlabs/gettext-setup-gem/issues/64/events","html_url":"https://github.com/puppetlabs/gettext-setup-gem/issues/64","id":311392290,"number":64,"title":"Debian ruby2.5 / gettext 3.2.9: Failing tests","user":{"login":"ge-fa","id":8934138,"avatar_url":"https://avatars0.githubusercontent.com/u/8934138?v=4","gravatar_id":"","url":"https://api.github.com/users/ge-fa","html_url":"https://github.com/ge-fa","followers_url":"https://api.github.com/users/ge-fa/followers","following_url":"https://api.github.com/users/ge-fa/following{/other_user}","gists_url":"https://api.github.com/users/ge-fa/gists{/gist_id}","starred_url":"https://api.github.com/users/ge-fa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ge-fa/subscriptions","organizations_url":"https://api.github.com/users/ge-fa/orgs","repos_url":"https://api.github.com/users/ge-fa/repos","events_url":"https://api.github.com/users/ge-fa/events{/privacy}","received_events_url":"https://api.github.com/users/ge-fa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-04T21:09:47Z","updated_at":"2018-05-15T22:02:19Z","closed_at":"2018-05-15T22:02:19Z","author_association":"NONE","body":"Hi,\r\n\r\nRecently, ruby in Debian transitioned to 2.5, and gettext was updated to the last release, 3.2.9. The tests were working before using gettext 3.2.4. So, this be a regression or the tests need to be updated:\r\n\r\n```\r\nRUBYLIB=/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\r\n/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\\*\\*/\\*_spec.rb --format documentation\r\n\r\nGettextSetup\r\n  initialize\r\n    sets up correctly\r\n  negotiate_locale\r\n    negotiates correctly\r\n    chooses the default locale when no match is found\r\n    chooses the language with the highest q value\r\n    ignores country variant\r\n    chooses the first value when q values are equal\r\n  negotiate_locale!\r\n    sets the locale\r\n  setting default_locale\r\n    allows setting the default locale\r\n  clear\r\n    can clear the locale\r\n  multiple locales\r\n    can aggregate locales across projects\r\n    can switch to loaded locale\r\n  translation repository chain\r\n    chain is not nil\r\n    can translate without switching text domains\r\n    does not allow duplicate repositories\r\n    does allow multiple unique domains\r\n\r\nGettextSetup::MetadataPot\r\n  #metadata_path\r\n    finds the right metadata path\r\n  #pot_string\r\n    generates a reasonable POT string\r\n    includes summary when provided\r\n    includes summary when provided\r\n    includes both summary and description when provided\r\n  #load_metadata\r\n    loads metadata correctly\r\n    uses an empty hash if no metadata.json is found\r\n  #generate_metadata_pot\r\n    works with everything supplied\r\n\r\nGettextSetup::Pot\r\n  string_changes?\r\n    should detect string addition\r\n    should detect string removal\r\n    should detect string changes\r\n    should not detect non-string changes\r\n  generate_new_pot\r\n    fails when GettextSetup can't find a config.yaml\r\nfatal: not a git repository (or any of the parent directories): .git\r\n    builds a POT file\r\nfatal: not a git repository (or any of the parent directories): .git\r\n    builds a POT file with :header_only\r\n  generate_new_po\r\n    fails when GettextSetup can't find a config.yaml\r\n    complains when no language is supplied\r\n    generates new PO file\r\n    merges PO files\r\n  update_pot\r\n    fails when GettextSetup can't find a config.yaml\r\nfatal: not a git repository (or any of the parent directories): .git\r\n/usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run'\r\n\tfrom /usr/bin/rxgettext:24:in `<main>'\r\nError parsing spec/lib/gettext-setup/gettext_setup_spec.rb\r\n    creates POT when absent (FAILED - 1)\r\nfatal: not a git repository (or any of the parent directories): .git\r\nfatal: not a git repository (or any of the parent directories): .git\r\n/usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run'\r\n\tfrom /usr/bin/rxgettext:24:in `<main>'\r\nError parsing spec/lib/gettext-setup/gettext_setup_spec.rb\r\n    updates POT when something changes (FAILED - 2)\r\nfatal: not a git repository (or any of the parent directories): .git\r\n/usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run'\r\n\tfrom /usr/bin/rxgettext:24:in `<main>'\r\nError parsing spec/lib/gettext-setup/gettext_setup_spec.rb\r\n    doesn't update the POT when nothing changes (FAILED - 3)\r\n  Merge pot files\r\n    merges pot files\r\n    creates an oldpot file if one already exists\r\n\r\ngettext.rake\r\n  gettext:pot\r\nfatal: not a git repository (or any of the parent directories): .git\r\n/usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run'\r\n\tfrom /usr/bin/rxgettext:24:in `<main>'\r\nError parsing spec/lib/gettext-setup/gettext_setup_spec.rb\r\n    outputs correctly (FAILED - 4)\r\n    exits 1 on error\r\n  gettext:pot\r\nfatal: not a git repository (or any of the parent directories): .git\r\n/usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run'\r\n\tfrom /usr/bin/rxgettext:24:in `<main>'\r\nError parsing spec/lib/gettext-setup/gettext_setup_spec.rb\r\n    outputs correctly, when passing a filename (FAILED - 5)\r\n  gettext:metadata_pot\r\n    outputs correctly\r\n    exits 1 on error\r\n  gettext:po\r\n    outputs correctly\r\n    exits 1 on error\r\n  gettext:update_pot\r\nfatal: not a git repository (or any of the parent directories): .git\r\n/usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run'\r\n\tfrom /usr/bin/rxgettext:24:in `<main>'\r\nError parsing spec/lib/gettext-setup/gettext_setup_spec.rb\r\n    does not update the POT when no changes are detected (FAILED - 6)\r\nfatal: not a git repository (or any of the parent directories): .git\r\n/usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run'\r\n\tfrom /usr/bin/rxgettext:24:in `<main>'\r\nError parsing spec/lib/gettext-setup/gettext_setup_spec.rb\r\n    can create a new POT (FAILED - 7)\r\nfatal: not a git repository (or any of the parent directories): .git\r\n/usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:50:in `on_default'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:66:in `block in parse'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `each'\r\n\tfrom /usr/lib/ruby/2.5.0/ripper/filter.rb:61:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:96:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:297:in `parse_source'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:272:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb:189:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:367:in `block in parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:360:in `parse_path'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:168:in `block in parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:166:in `parse'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:217:in `generate_pot'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:151:in `run'\r\n\tfrom /usr/lib/ruby/vendor_ruby/gettext/tools/xgettext.rb:34:in `run'\r\n\tfrom /usr/bin/rxgettext:24:in `<main>'\r\nError parsing spec/lib/gettext-setup/gettext_setup_spec.rb\r\n    can update the POT (FAILED - 8)\r\n    exits 1 upon error\r\n  gettext:merge\r\n    outputs correctly\r\n    exits 1 on error\r\n\r\nFailures:\r\n\r\n  1) GettextSetup::Pot update_pot creates POT when absent\r\n     Failure/Error:\r\n       expect do\r\n         GettextSetup::Pot.update_pot(spec_locales_path, path)\r\n       end.to output(\"No existing POT file, generating new\\nPOT file #{path} has been generated\\n\").to_stdout\r\n\r\n       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\"\r\n       Diff:\r\n       @@ -1,3 +1,2 @@\r\n        No existing POT file, generating new\r\n       -POT file /tmp/d20180404-18152-6xwiqe/some-pot.pot has been generated\r\n     # ./spec/lib/gettext-setup/pot_spec.rb:126:in `block (3 levels) in <top (required)>'\r\n\r\n  2) GettextSetup::Pot update_pot updates POT when something changes\r\n     Failure/Error:\r\n       expect do\r\n         GettextSetup::Pot.update_pot(spec_locales_path, path)\r\n       end.to output(\"String changes detected, replacing with updated POT file\\n\").to_stdout\r\n\r\n       expected block to output \"String changes detected, replacing with updated POT file\\n\" to stdout, but output \"POT creation failed\\n\"\r\n       Diff:\r\n       @@ -1,2 +1,2 @@\r\n       -String changes detected, replacing with updated POT file\r\n       +POT creation failed\r\n     # ./spec/lib/gettext-setup/pot_spec.rb:141:in `block (3 levels) in <top (required)>'\r\n\r\n  3) GettextSetup::Pot update_pot doesn't update the POT when nothing changes\r\n     Failure/Error:\r\n       expect do\r\n         GettextSetup::Pot.update_pot(spec_locales_path, path)\r\n       end.to output(\"No existing POT file, generating new\\nPOT file #{path} has been generated\\n\").to_stdout\r\n\r\n       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\"\r\n       Diff:\r\n       @@ -1,3 +1,2 @@\r\n        No existing POT file, generating new\r\n       -POT file /tmp/d20180404-18152-bmxewe/some-pot.pot has been generated\r\n     # ./spec/lib/gettext-setup/pot_spec.rb:150:in `block (3 levels) in <top (required)>'\r\n\r\n  4) gettext.rake gettext:pot outputs correctly\r\n     Failure/Error: expect { test.run }.not_to raise_error\r\n\r\n       expected no Exception, got #<SystemExit: exit> with backtrace:\r\n         # ./lib/tasks/gettext.rake:26:in `exit'\r\n         # ./lib/tasks/gettext.rake:26:in `block (2 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:37:in `block (4 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:35:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n     # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n\r\n  5) gettext.rake gettext:pot outputs correctly, when passing a filename\r\n     Failure/Error: expect { test.run }.not_to raise_error\r\n\r\n       expected no Exception, got #<SystemExit: exit> with backtrace:\r\n         # ./lib/tasks/gettext.rake:26:in `exit'\r\n         # ./lib/tasks/gettext.rake:26:in `block (2 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:52:in `block (4 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:50:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n     # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n\r\n  6) gettext.rake gettext:update_pot does not update the POT when no changes are detected\r\n     Failure/Error: expect { test.run }.not_to raise_error\r\n\r\n       expected no Exception, got #<SystemExit: exit> with backtrace:\r\n         # ./lib/tasks/gettext.rake:11:in `exit'\r\n         # ./lib/tasks/gettext.rake:11:in `block (2 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:90:in `block (4 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:88:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n     # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n\r\n  7) gettext.rake gettext:update_pot can create a new POT\r\n     Failure/Error: expect { test.run }.not_to raise_error\r\n\r\n       expected no Exception, got #<SystemExit: exit> with backtrace:\r\n         # ./lib/tasks/gettext.rake:11:in `exit'\r\n         # ./lib/tasks/gettext.rake:11:in `block (2 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:97:in `block (4 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:95:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n     # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n\r\n  8) gettext.rake gettext:update_pot can update the POT\r\n     Failure/Error: expect { test.run }.not_to raise_error\r\n\r\n       expected no Exception, got #<SystemExit: exit> with backtrace:\r\n         # ./lib/tasks/gettext.rake:11:in `exit'\r\n         # ./lib/tasks/gettext.rake:11:in `block (2 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:105:in `block (4 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:103:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n     # ./spec/lib/tasks/gettext_rake_spec.rb:31:in `block (2 levels) in <top (required)>'\r\n\r\nFinished in 1 minute 9.11 seconds (files took 6.78 seconds to load)\r\n53 examples, 8 failures\r\n\r\nFailed examples:\r\n\r\nrspec ./spec/lib/gettext-setup/pot_spec.rb:123 # GettextSetup::Pot update_pot creates POT when absent\r\nrspec ./spec/lib/gettext-setup/pot_spec.rb:132 # GettextSetup::Pot update_pot updates POT when something changes\r\nrspec ./spec/lib/gettext-setup/pot_spec.rb:147 # GettextSetup::Pot update_pot doesn't update the POT when nothing changes\r\nrspec ./spec/lib/tasks/gettext_rake_spec.rb:34 # gettext.rake gettext:pot outputs correctly\r\nrspec ./spec/lib/tasks/gettext_rake_spec.rb:49 # gettext.rake gettext:pot outputs correctly, when passing a filename\r\nrspec ./spec/lib/tasks/gettext_rake_spec.rb:87 # gettext.rake gettext:update_pot does not update the POT when no changes are detected\r\nrspec ./spec/lib/tasks/gettext_rake_spec.rb:93 # gettext.rake gettext:update_pot can create a new POT\r\nrspec ./spec/lib/tasks/gettext_rake_spec.rb:100 # gettext.rake gettext:update_pot can update the POT\r\n\r\nCoverage report generated for RSpec to /build/1st/ruby-gettext-setup-0.30/coverage. 32 / 40 LOC (80.0%) covered.\r\n/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\\*\\*/\\*_spec.rb --format documentation failed\r\nERROR: Test \"ruby2.5\" failed. Exiting.\r\ndh_auto_install: dh_ruby --install /build/1st/ruby-gettext-setup-0.30/debian/ruby-gettext-setup returned exit code 1\r\nmake: *** [debian/rules:9: binary] Error 1\r\n```\r\n\r\n(Ignore the git errors, these are not relevant.)\r\n\r\nAny idea regarding this?\r\n\r\nThanks for your work,\r\ncheers,\r\nGeorg"}}
{"actor":{"display_login":"smcclellan"}}