https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-ruby/stringex-2.8.5-r2 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 792158 [details] build.log build log and emerge --info
Error(s) that match a know pattern: Error: test_apostrophes(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_asterisks(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_bars(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_circumflexes(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_colons(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_commas(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_dotleader(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_ellipsis(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_emdash(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_endash(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_equals(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_exclamation_marks(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_grave_accents(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_greater_thans(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_greek_letters(BasicGreekTest): I18n::InvalidLocale: :en is not a valid locale Error: test_greek_words(BasicGreekTest): I18n::InvalidLocale: :en is not a valid locale Error: test_hyphens(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_less_thans(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_periods(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_question_marks(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_quotation_marks(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_related_letters(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_semicolons(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_slashes(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_spaces(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_tildes(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale Error: test_underscores(BasicLatinTest): I18n::InvalidLocale: :en is not a valid locale
I can't for the life of me understand what's going on here. It picks up all the *other* locales fine, just not en.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=858ed927ac580d6310674e158ca35010eb7daa74 commit 858ed927ac580d6310674e158ca35010eb7daa74 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-02 01:47:16 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-02 01:50:31 +0000 dev-ruby/stringex: install locales Noticed when investigating the test failure bug, although this *does not* fix it. Bug: https://bugs.gentoo.org/858809 Signed-off-by: Sam James <sam@gentoo.org> dev-ruby/stringex/stringex-2.8.5-r3.ebuild | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)
I'm still completely beat on this. I spent a while trying again and I don't get it. I feel like it's got to be something to do with our layout for gem installation? Maybe?
(In reply to Sam James from comment #5) > I'm still completely beat on this. I spent a while trying again and I don't > get it. > > I feel like it's got to be something to do with our layout for gem > installation? Maybe? btw: it'd be very helpful to know if this does pass in some environments, so please comment if it does
(In reply to Sam James from comment #6) > btw: it'd be very helpful to know if this does pass in some environments, so > please comment if it does It only fails for me for ruby32.
(In reply to Hans de Graaff from comment #7) > (In reply to Sam James from comment #6) > > > btw: it'd be very helpful to know if this does pass in some environments, so > > please comment if it does > > It only fails for me for ruby32. It looks to be related to test/unit/acts_as_url_integration_test.rb being removed or not. Possibly that affects i18n loading somehow? Rather than trying to track this down further I think we should just remove those failing tests when activerecord is not available.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7891c4717199b13d7ed61ac96599f47ab25b9d8 commit d7891c4717199b13d7ed61ac96599f47ab25b9d8 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2023-06-12 18:20:03 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2023-06-12 18:20:55 +0000 dev-ruby/stringex: fix tests failing without activerecord Closes: https://bugs.gentoo.org/858809 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/stringex/stringex-2.8.6.ebuild | 3 +++ 1 file changed, 3 insertions(+)