robgolding / ex_celery

A Celery task producer for Elixir.
MIT License
7 stars 3 forks source link

Compile Failure on OTP 19 #2

Open bryanhelmig opened 7 years ago

bryanhelmig commented 7 years ago

Likely due to an upstream bug on a dependency https://github.com/pma/amqp/issues/28#issuecomment-231146075:

$ mix deps.compile amqp_client
==> amqp_client (compile)
include/amqp_gen_consumer_spec.hrl:30: syntax error before: '/'
include/amqp_gen_consumer_spec.hrl:31: syntax error before: '/'
include/amqp_gen_consumer_spec.hrl:32: syntax error before: '/'
include/amqp_gen_consumer_spec.hrl:34: syntax error before: '/'
...

Versions:

$ mix -v
Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Mix 1.4.0
robgolding commented 7 years ago

Hmm, that's weird. I did run into this myself but I reference the master branch of amqp_client to work around it (which is the recommended fix in the linked issue).

My versions:

$ mix -v
Erlang/OTP 19 [erts-8.0.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Mix 1.3.2
$ mix deps.compile
==> rabbit_common (compile)
==> amqp_client (compile)
==> amqp
Compiling 9 files (.ex)
Generated amqp app
==> uuid
Compiling 1 file (.ex)
Generated uuid app

I wonder why that's different!