You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/09/20 10:31:39 UTC
[GitHub] janl commented on issue #1406: Add initial Elixir suite
janl commented on issue #1406: Add initial Elixir suite
URL: https://github.com/apache/couchdb/pull/1406#issuecomment-423132522
Getting errors when running this, is there anything obvious I’m missing?
I don’t think it is related, but I’ve had to do a PATH hack to allow CouchDB to be built with Erlang 20 and Elixir to ru under Erlang 21 because Homebrew.
```
> elixir --erl -i
jan@rose (12:28:30) ~/Work/couchdb (elixir-suite)
> make elixir
[ * ] Setup environment ... ok
[ * ] Ensure CouchDB is built ... ok
[ * ] Prepare configuration files ... ok
[ * ] Start node node1 ... ok
[ * ] Start node node2 ... ok
[ * ] Start node node3 ... ok
[ * ] Check node at http://127.0.0.1:15984/ ... ok
[ * ] Check node at http://127.0.0.1:25984/ ... ok
[ * ] Check node at http://127.0.0.1:35984/ ... ok
[ * ] Running cluster setup ... ok
[ * ] Exec command test/elixir/run ... Resolving Hex dependencies...
Dependency resolution completed:
httpotion 3.0.3
ibrowse 4.4.0
jiffy 0.14.11
All dependencies up to date
===> Compiling jiffy
Compiling c_src/decoder.c
Compiling c_src/encoder.c
Compiling c_src/jiffy.c
Compiling c_src/utf8.c
Compiling c_src/util.c
Compiling c_src/doubles.cc
Compiling c_src/double-conversion/bignum-dtoa.cc
Compiling c_src/double-conversion/bignum.cc
Compiling c_src/double-conversion/cached-powers.cc
Compiling c_src/double-conversion/diy-fp.cc
Compiling c_src/double-conversion/double-conversion.cc
Compiling c_src/double-conversion/fast-dtoa.cc
Compiling c_src/double-conversion/fixed-dtoa.cc
Compiling c_src/double-conversion/strtod.cc
===> Compiling ibrowse
==> httpotion
Compiling 1 file (.ex)
Generated httpotion app
==> foo
Compiling 1 file (.ex)
Generated foo app
warning: found quoted keyword "_id" but the quotes are not required. Note that keywords are always atoms, even when quoted, and quotes should only be used to introduce keywords with foreign characters in them
test/test_helper.exs:178
warning: found quoted keyword "bar" but the quotes are not required. Note that keywords are always atoms, even when quoted, and quotes should only be used to introduce keywords with foreign characters in them
test/test_helper.exs:179
Excluding tags: [pending: true]
== Compilation error in file test/compact_test.exs ==
** (CompileError) test/compact_test.exs:83: defp rev/2 already defined as def
test/compact_test.exs:83: (module)
(stdlib) erl_eval.erl:677: :erl_eval.do_apply/6
(elixir) lib/code.ex:767: Code.require_file/2
(elixir) lib/kernel/parallel_compiler.ex:209: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6
make: *** [elixir] Error 1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services