Giter Club home page Giter Club logo

erlang-sd_notify's Issues

Tests dont work on Centos

vagrant@localhost erlang-sd_notify]$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[vagrant@localhost erlang-sd_notify]$ make test
/usr/bin/rebar compile
==> erlang-sd_notify (compile)
/usr/bin/rebar eunit
==> erlang-sd_notify (eunit)
sd_notify_test: sd_notify_test_local (Try sending message)...*failed*
in function sd_notify_test:'-sd_notify_test_local/1-fun-3-'/2 (test/sd_notify_test.erl, line 24)
**error:{badmatch,{error,timeout}}
  output:<<"">>

=======================================================
  Failed: 1.  Skipped: 0.  Passed: 0.
ERROR: One or more eunit tests failed.
ERROR: eunit failed while processing /home/vagrant/erlang-sd_notify: rebar_abort
make: *** [test] Error 1
[vagrant@localhost erlang-sd_notify]$

That it is the same error here:

https://travis-ci.org/systemd/erlang-sd_notify/builds/184542478#L5210

Found while trying: https://github.com/systemd/erlang-sd_notify/pull/23/files#diff-354f30a63fb0907d4ad57269548329e3R21

Ubuntu works correctly

Unable to include as a library inside a rebar3 project.

I am currently unable to include this project in a rebar3 since the .app.src file contains de mod entry. As mention here this is the entry point for the application module (-behavior(application)). This is only necessary when a supervisor tree need to be created.

When I do include this project as a dependency, I got error like {exited,{bad_return,{{sd_notify,start,[normal,[]]},{'EXIT',{undef,[{sd_notify,start,[normal,[]],[]} which suggest the start method is not found.

Failed to build with erlang-23.0 version

erlang-sd_notify failed to build with erlang version 23.0 with this error:

ERROR: sh(cc c_src/sd_notify.o -lsystemd -shared -L"/usr/lib/erlang/lib/erl_interface-4.0/lib" -lerl_interface -lei -o priv/sd_notify_drv.so) failed with return code 1 and the following output: /bin/ld: cannot find -lerl_interface

It seems that from version 23.0 of erlang, erl_interface is deprecated and removed. Could you please help is there a way to fix this issue?

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.