https://bugzilla.redhat.com/show_bug.cgi?id=1379898

            Bug ID: 1379898
           Summary: rebar does not seem to build ejabberd, but does not
                    print any errors and returns exit code 0
           Product: Fedora
           Version: rawhide
         Component: erlang-rebar
          Severity: high
          Assignee: lemen...@gmail.com
          Reporter: ra...@electronsweatshop.com
        QA Contact: extras...@fedoraproject.org
                CC: erlang@lists.fedoraproject.org, fi...@andresovi.net,
                    lemen...@gmail.com, s...@shk.io



Created attachment 1205382
  --> https://bugzilla.redhat.com/attachment.cgi?id=1205382&action=edit
rebar output

Description of problem:
I've been working on debugging ejabberd's build, and I think it might be a
problem in rebar. It looks like rebar is checking the dependencies and exiting
with code 0 with seemingly no errors, without building anything.


Version-Release number of selected component (if applicable):
erlang-rebar-2.6.4-2.fc26.x86_64


How reproducible:
Every time


Steps to Reproduce:
1. Try to build ejabberd on Rawhide


Actual results:
The build fails, due to rebar not building any beam or app files.


Expected results:
Rebar should either build the files or print an error and return an exit code.


Additional info:
I am going to attach the full rebar output. I used my spec file to create a
failing build in ~/rpbbuild/BUILD/ejabberd-16.08 so that I would have all the
patches applied and dependencies installed. Then I ran the commands shown in
the attachment. Note that rebar exits after resolving the dependency
information, but does not seem to build any output, doesn't print errors, and
returns a 0 exit code.

The output does not show this, but earlier in this shell session I did run
these commands so that rebar would skip looking for the dependencies in the
deps/ folder:

REBAR_DEPS_PREFER_LIBS=TRUE
export REBAR_DEPS_PREFER_LIBS
IGNORE_MISSING_DEPS=TRUE
export IGNORE_MISSING_DEPS

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org

Reply via email to