Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922700 - dev-lang/elixir-1.15.6 fails tests (MUSL-SYSTEM)
Summary: dev-lang/elixir-1.15.6 fails tests (MUSL-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Haelwenn (lanodan) Monnier
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-01-22 15:42 UTC by Agostino Sarubbo
Modified: 2024-02-24 13:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,57.38 KB, text/plain)
2024-01-22 15:42 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-22 15:42:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/elixir-1.15.6 fails tests (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-22 15:42:03 UTC
Created attachment 882851 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-22 15:42:03 UTC
Error(s) that match a know pattern:


                 Assertion with == failed
      %{__struct__: ExUnit.FormatterTest.BadInspect, key: 0}
      %{key: 0, __struct__: ExUnit.FormatterTest.BadInspect}
      \"\"\"
      no function clause matching in Inspect.ExUnit.FormatterTest.BadInspect.inspect/2
     Assertion with == failed
     Assertion with =~ failed
     code:  assert :will_fail == %BadInspect{}
     left:  "  1) world (Hello)
     left:  :will_fail
     right: "  1) world (Hello)
     right: #Inspect.Error<
     test/ex_unit/formatter_test.exs:1
    (elixir 1.15.6) lib/enum.ex:1794: Enum.map_join/3
    (elixir 1.15.6) lib/enum.ex:1794: anonymous fn/2 in Enum.map_join/3
    (elixir 1.15.6) lib/enum.ex:4369: Enum.map_intersperse_list/3
    (elixir 1.15.6) lib/inspect/algebra.ex:348: Inspect.Algebra.to_doc/2
    (ex_unit 1.15.6) lib/ex_unit/formatter.ex:160: ExUnit.Formatter.format_test_failure/5
    (ex_unit 1.15.6) lib/ex_unit/formatter.ex:161: anonymous fn/7 in ExUnit.Formatter.format_test_failure/5
    (ex_unit 1.15.6) lib/ex_unit/formatter.ex:247: ExUnit.Formatter.format_exception/6
    (ex_unit 1.15.6) lib/ex_unit/formatter.ex:318: ExUnit.Formatter.format_assertion_diff/4
    (ex_unit 1.15.6) lib/ex_unit/formatter.ex:343: ExUnit.Formatter.format_sides/6
    (ex_unit 1.15.6) lib/ex_unit/formatter.ex:502: ExUnit.Formatter.inspect_multiline/3
    (ex_unit 1.15.6) lib/ex_unit/runner.ex:385: anonymous fn/5 in ExUnit.Runner.spawn_test_monitor/4
    (ex_unit 1.15.6) lib/ex_unit/runner.ex:463: ExUnit.Runner.exec_test/2
    (stdlib 5.2) timer.erl:270: :timer.tc/2
    test/ex_unit/formatter_test.exs:485: Inspect.ExUnit.FormatterTest.BadInspect.inspect(%{key: 0, __struct__: ExUnit.FormatterTest.BadInspect}, %Inspect.Opts{base: :decimal, binaries: :infer, char_lists: :infer, charlists: :infer, custom_options: [], inspect_fun: &Inspect.inspect/2, limit: 50, pretty: false, printable_limit: 4096, safe: true, structs: true, syntax_colors: [], width: 68})
    test/ex_unit/formatter_test.exs:508: ExUnit.FormatterTest.\"test inspect failure\"/1
  Stacktrace:
  got FunctionClauseError with message:
  while inspecting:
"
>
Comment 3 Larry the Git Cow gentoo-dev 2024-02-24 13:30:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1353c813434a276b04313c7c5030c487bb0ddc0

commit c1353c813434a276b04313c7c5030c487bb0ddc0
Author:     Haelwenn (lanodan) Monnier <contact@hacktivis.me>
AuthorDate: 2024-01-29 14:41:23 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-02-24 13:26:41 +0000

    dev-lang/elixir: lower restriction to <erlang-26.1
    
    Upstream issue: https://github.com/elixir-lang/elixir/issues/12975
    
    Closes: https://bugs.gentoo.org/922700
    Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-lang/elixir/elixir-1.15.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)