Giter Club home page Giter Club logo

erlang-sd_notify's Introduction

Systemd

System and Service Manager

Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
CentOS CI - CentOS 9
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
Fossies codespell report
Weblate
Coverage Status
Packaging status
OpenSSF Scorecard

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Code Map for information about this repository's layout and content.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel

Stable branches with backported patches are available in the stable repo.

We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack

erlang-sd_notify's People

Contributors

getong avatar gsantomaggio avatar jan-g avatar kragniz avatar lemenkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.