Giter Club home page Giter Club logo

Comments (3)

pma avatar pma commented on July 16, 2024

@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.

pma avatar pma commented on July 16, 2024

@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.

pma avatar pma commented on July 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.