Auto-assigned to maintainer lwhsu@FreeBSD.org
Created attachment 149149 [details] pkg-plist patch to add elixir_rewrite_beam.patch
Bug description: mix doesn't run. Error message: ** (UndefinedFunctionError) undefined function: :elixir_rewrite.inline/3 (module :elixir_rewrite is not available) (elixir) :elixir_rewrite.inline(Mix, :start, 0) (elixir) src/elixir_dispatch.erl:93: :elixir_dispatch.dispatch_require/6 (stdlib) lists.erl:1352: :lists.mapfoldl/3 This was caused by the error of pkg-plist, which omitted the necessary inclusion of lib/elixir/lib/elixir/ebin/elixir_rewrite.beam in pkg-plist. The patch attached will fix this.
Created attachment 149150 [details] pkg-plist patch to add elixir_rewrite.beam
Hi, could you tell me how to reproduce/test this issue? Thanks!
(In reply to Li-Wen Hsu from comment #5) > Hi, could you tell me how to reproduce/test this issue? Thanks! Run "mix", then the error as follows generated: ** (UndefinedFunctionError) undefined function: :elixir_rewrite.inline/3 (module :elixir_rewrite is not available) (elixir) :elixir_rewrite.inline(Mix, :start, 0) (elixir) src/elixir_dispatch.erl:93: :elixir_dispatch.dispatch_require/6 (stdlib) lists.erl:1352: :lists.mapfoldl/3
A commit references this bug: Author: lwhsu Date: Fri Nov 7 04:47:15 UTC 2014 New revision: 372246 URL: https://svnweb.freebsd.org/changeset/ports/372246 Log: - Fix pkg-plist, let mix(1) work PR: 194875 Submitted by: Kenji Rikitake <kenji@k2r.org> Changes: head/lang/elixir/Makefile head/lang/elixir/pkg-plist
Created attachment 149163 [details] Fix PORTREVISION typo in Makefile
Change in r372246 had a typo "PORTRIVISION= 1"; attachment 149163 [details] will fix the typo.
A commit references this bug: Author: lwhsu Date: Fri Nov 7 17:25:42 UTC 2014 New revision: 372283 URL: https://svnweb.freebsd.org/changeset/ports/372283 Log: - Fix typo: s/PORTRIVISION/PORTREVISION/ PR: 194875 Submitted by: Kenji Rikitake <kenji@k2r.org> Changes: head/lang/elixir/Makefile
Oops, fixed. Thanks!