Source: elixir-lang
Version: 1.6.5-1
Severity: serious
Tags: ftbfs

elixir-lang fails to build from source in sbuild on unstable/amd64. A
build log ends with:

|   5) test translates :supervisor_bridge progress (Logger.TranslatorTest)
|      test/logger/translator_test.exs:751
|      Assertion with =~ failed
|      code:  assert capture_log(:info, fn ->
|               trap = Process.flag(:trap_exit, true)
|               {:ok, pid} = :supervisor_bridge.start_link(MyBridge, :normal)
|               receive() do
|                 {:EXIT, ^pid, _} ->
|                   :ok
|               end
|               Process.flag(:trap_exit, trap)
|             end) =~ ~r"\\[info\\]  Child of Supervisor 
#PID<\\d+\\.\\d+\\.\\d+> \\(Logger\\.TranslatorTest\\.MyBridge\\) started\nPid: 
#PID<\\d+\\.\\d+\\.\\d+>\nStart Call: 
Logger.TranslatorTest.MyBridge.init\\(:normal\\)\n"
|      left:  ""
|      right: ~r/\[info\]  Child of Supervisor #PID<\d+\.\d+\.\d+> 
\(Logger\.TranslatorTest\.MyBridge\) started\nPid: #PID<\d+\.\d+\.\d+>\nStart 
Call: Logger.TranslatorTest.MyBridge.init\(:normal\)\n/
|      stacktrace:
|        test/logger/translator_test.exs:752: (test)
| 
| ....=INFO REPORT==== 4-Oct-2018::17:13:59.511859 ===
|     application: logger
|     exited: stopped
|     type: temporary
| .............................................
| 
| Finished in 0.7 seconds (0.3s on load, 0.4s on tests)
| 1 doctest, 109 tests, 5 failures
| 
| Randomized with seed 183795
| make[2]: *** [Makefile:92: test_logger] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_test: make -j18 test returned exit code 2
| epmd: Thu Oct  4 17:13:59 2018: got KILL_REQ - terminates normal
| 
| Killed
| make[1]: *** [debian/rules:12: override_dh_auto_test] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:9: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

It also fails on the reproducible builds infrastructure:

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/elixir-lang_1.6.5-1.rbuild.log.gz

Helmut

Reply via email to