Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: ejabberd 13.12
    • Fix Version/s: ejabberd 14.05
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 13.10 (Saucy) and 14.04 (Trusty) or Debian Jessie (testing) or Sid (unstable).

      Description

      I am trying to compile ejabberd on various Ubuntu/Debian distributions. Compilation fails on every distribution that provides erlang 16 (see environment field above), giving the following error:

      ==> p1_cache_tab (compile)
      ERROR: compile failed while processing /tmp/buildd/ejabberd-13.12/deps/p1_cache_tab: {'EXIT',{undef,[{erl_syntax,type,[{attribute,27,module,cache_tab}],[]},
                      {rebar_erlc_compiler,parse_attrs,2,
                                           [{file,"src/rebar_erlc_compiler.erl"},
                                            {line,480}]},
                      {rebar_erlc_compiler,modify_graph,3,
                                           [{file,"src/rebar_erlc_compiler.erl"},
                                            {line,312}]},
                      {lists,foreach,2,[{file,"lists.erl"},{line,1323}]},
                      {rebar_erlc_compiler,init_graph,2,
                                           [{file,"src/rebar_erlc_compiler.erl"},
                                            {line,284}]},
                      {rebar_erlc_compiler,doterl_compile,3,
                                           [{file,"src/rebar_erlc_compiler.erl"},
                                            {line,246}]},
                      {rebar_core,run_modules,4,
                                  [{file,"src/rebar_core.erl"},{line,405}]},
                      {rebar_core,execute,5,
                                  [{file,"src/rebar_core.erl"},{line,334}]}]}}
      make[1]: *** [deps/.built] Error 1
      make[1]: Leaving directory `/tmp/buildd/ejabberd-13.12'
      

      The code compiles fine with Ubuntu 13.04 or Debian Stable.

        Activity

        Hide
        mati Mathias Ertl added a comment -

        I narrowed it down by installing the packages installed by the "erlang" meta-package one-by-one. The missing dependency is the erlang-syntax-tools package.

        Should this package be listed in the dependencies in the README? Or is it a package that you can normally assume is installed and this is a Debian specific issue?

        Show
        mati Mathias Ertl added a comment - I narrowed it down by installing the packages installed by the "erlang" meta-package one-by-one. The missing dependency is the erlang-syntax-tools package. Should this package be listed in the dependencies in the README? Or is it a package that you can normally assume is installed and this is a Debian specific issue?
        Hide
        holger Holger Weiß added a comment -

        Ah, I had erlang-syntax-tools installed because it's recommended by erlang-base and that system of mine auto-installs recommendations.

        It's a Debian-specific thing to split up Erlang/OTP into many small packages. (Well, other distributions might split it up in similar or other ways as well, but there's no upstream "syntax-tools" package the README could refer to.)

        So I guess this ticket could just be closed?

        Show
        holger Holger Weiß added a comment - Ah, I had erlang-syntax-tools installed because it's recommended by erlang-base and that system of mine auto-installs recommendations. It's a Debian-specific thing to split up Erlang/OTP into many small packages. (Well, other distributions might split it up in similar or other ways as well, but there's no upstream "syntax-tools" package the README could refer to.) So I guess this ticket could just be closed?
        Hide
        mati Mathias Ertl added a comment -

        Yes, I guess so. But I do think a hint should be added to the Readme.

        Show
        mati Mathias Ertl added a comment - Yes, I guess so. But I do think a hint should be added to the Readme.
        Hide
        holger Holger Weiß added a comment -

        Personally, I'd rather not add distribution-specific documentation to the source package, but I'm not an ejabberd maintainer. Was just trying to help with your issue and am happy to hear it's fixed.

        Show
        holger Holger Weiß added a comment - Personally, I'd rather not add distribution-specific documentation to the source package, but I'm not an ejabberd maintainer. Was just trying to help with your issue and am happy to hear it's fixed.
        Hide
        mati Mathias Ertl added a comment -

        Turned out to be a missing dependency - see comments

        Show
        mati Mathias Ertl added a comment - Turned out to be a missing dependency - see comments

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development