Comments (3)
@mschae @mobileoverlord Thanks for reporting this.
d0rc/amqp_client
compiles beause it has the the flag warnings_as_errors
commented in rebar.conf. In jbrisbin/amqp_client`, which is the one used to build the community hex package, the flag is on.
I actually submitted a couple of PR's to jbrisbin's repo to get rid of the warnings. I'm still not sure what changed in the latest rebar to cause the warning about the behaviour gen_server2 being undefined. I will look into this and update the amqp_client hex package.
A similar issue, with the supervisor2 behaviour was discussed in the RabbitMQ forum (https://groups.google.com/forum/#!topic/rabbitmq-users/ThCiHBOXMlE). It was later fixed upstream, so I'll check if they already handled the gen_server2 behaviour warning.
from amqp.
@mschae
I updated to rebar 2.5.1 but so far was unable to reproduce the problem.
Here's my log after compiling your mschae/rebar_problem: https://gist.github.com/pma/bff0f180b32d28d092b4
I noticed that in the failed Travis build log, gen_server2.erl should have been the first file to be compiled, but it's not. This is enforced in rebar.conf by https://github.com/jbrisbin/rabbit_common/blob/master/rebar.config#L2.
Edit: After updating .travis.yml I now see the build failing on Travis, but still can't reproduce the problem locally.
from amqp.
@mschae
Could be related to this issue in rebar (rebar/rebar#445). As I understand the issue can cause rebar to discard the file compilation order set by erl_first_files
in rebar.config and use the order of the filesystem.
When using container-based infrastructure for the Travis build, the file order of the filesystem could be different. Would explain why I'm not able to reproduce this locally and why my previous travis.yml did not fail (fe10f9f).
from amqp.
Related Issues (20)
- Application.Connection has a missing case clause on line 113 HOT 1
- where to find documentation HOT 3
- AMQP.Basic.get/3 option no_ack: true not working HOT 2
- Enabling transactional mode for channels? HOT 1
- FunctionClauseError no function clause matching in AMQP.Connection.open/1
- Support amqp_client 3.9.1
- unable to compile: cannot find or invoke local basic_credit_drained/0 inside match HOT 2
- unexpected_delivery_and_no_default_consumer and abandoned consumers HOT 3
- Are streams supported? HOT 3
- Unhandeled Genserver event HOT 1
- Support for streams HOT 1
- How would one approach having tests alongside this library? HOT 2
- There should be some guide on how we could write proper unit tests for this HOT 1
- No feedback when RabbitMQ is unreachable HOT 1
- AMQP issue crashes GenServer irrespective of multiple error handlers. HOT 1
- websocket support HOT 3
- OTP 26 HOT 1
- Issue compiling with Elixir 1.15 (ssl_verify_fun)
- AMQP.Connection doesn't pick the default SSL configuration HOT 1
- Why aren't channels closed when no longer needed? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amqp.