-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation failed on Erlang 19 #28
Comments
This is actually fixed in jbrisbin/amqp_client#30 Including amqp_client from master does the job. |
This is the same issue as rabbitmq/rabbitmq-server#860. |
for anyone having this problem - until they include it into hex, you can add this to your deps (before |
@pma are you able to publish the latest to Hex, I see you're the owner of Any chance of this happening? This library is forcing us to stay on OTP 18 and causing several compatibility issues (I am not comfortable pointing to a branch which may be removed at any time). |
@zackehh: Same problem here. Both, linking to a branch and not being able to control the specific version made us choose a git commit hash instead. Maybe this helps you. {:amqp_client, github: "jbrisbin/amqp_client", ref: "d50aec0", override: true}, |
@max-vogler it's more than that though; the repo could go away at any time :p |
Hi guys, In order to avoid that, I have cloned the repo, so now I use my own (cloned) repo until the Erlang compatibility is fixed. I am not going to delete it, so you can use it with no concerns. |
And, as if I'm psychic:
Can no longer use the workaround because of |
I too was forced to fork both repos myself and put this in my deps:
Then everything works. Not ideal, but meh. |
Even more annoying now, you can no longer put packages on Hex which have a Git dependency. |
I also had this problem, but using the solution of @kelostrada (I think, can't find the project anymore) solved the problem for me. But it's not working anymore. Trying out all the proposed ways I get the following errors. Using the default suggested in the README Using @kelostrada solution I get
Same for the solution of @max-vogler. The solution of @Nezteb gives me:
I'm using
@pma it would be great if you can have a look. |
@sotte You can override the two deps of
This compiles in Erlang/OTP 19 [erts-8.1] with only some warnings about the random module being deprecated. The SSL issue could be something else. You may have an incomplete Erlang/OTP installation and miss some SSL related lib. |
@pma you're right. An OS update broke some erlang dependencies. After reinstalling erlang und using the deps you specified it seems to work again. Thanks! |
I built a fork of this project and pushed it to hex.pm today, because I couldn't use git or an override. Hopefully this stuff will get fixed soon, but until then, hopefully this helps: https://hex.pm/packages/amqp19 It uses an amqp_client package I also pushed today. |
BTW, in order to be able to push it, but have it be a drop in replacement, the package and app name are different. You can use it like so: {:amqp, "~> 0.1", hex: :amqp19} |
Thanks @blatyo, this patch seems to fix the issue. I wonder if this is going to get ported back into master? |
My fork is depending on forked version of other libraries as well. The RabbitMQ team has taken ownership of |
We have just merged #51 and now amqp supports OTP 19 ✌️ Please change the version of amqp to I hope all are sorted now but let us know if you experience any issues. |
Hello,
I upgraded to Erlang 19 and Elixir 1.3.1 and I get a compilation error. I believe the problem is with amqp_client and if you want me to file a bug there I will do it. The traceback is as follows:
This is on Ubuntu 14.04.
Let me know if you want to know anything else.
The text was updated successfully, but these errors were encountered: