Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3414

Support Erlang 20.0

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • None
    • None

    Description

      Hi,

      I'm maintaining erlang for Arch Linux. Recently, our package for erlang 19.3 was patched in connection with the upgrade to OpenSSL 1.1.0. Normally we don't patch packages but try to keep them as close to the upstream release as possible, but this was security related and therefore prioritized. Most things related to Erlang continued to work fine, but CouchDB didn't and a bug was reported in the Arch Linux bug tracker.

      3 days ago, Erlang released version 20.0 rc1, which included the desired changes related to OpenSSL 1.1.0. I released a version of this package to [community-testing]. This looks promising.

      As far as I am aware, the current situation is that couchdb does not run on Arch Linux at all, right now.

      When compiling couchdb with Erlang 20.0 rc1, I get:

      ==> couch_epi (compile)
      ERROR: OTP release 20 does not match required regex R16B03|R16B03-1|17|18|19
      ERROR: compile failed while processing /build/couchdb/src/apache-couchdb-2.0.0/src/couch_epi: rebar_abort
      make: *** [Makefile:67: couch] Error 1

      Please support Erlang 20.0.

      Related bug report: https://bugs.archlinux.org/task/53499

      Cheers,
      Alexander F Rødseth

      Edit:

      Error message when running, from Bruno Pagani at https://bugs.archlinux.org/task/53499:

      [os_mon] memory supervisor port (memsup): Erlang has closed
      [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
      {"Kernel pid terminated",application_controller,"{application_start_failure,couch_epi,{{shutdown,{failed_to_start_child,\"couch_epi|chttpd_auth|keeper\",{undef,[

      {crypto,md5,[<<131,106>>],[]}

      ,{couch_epi_util,hash,1,[

      {file,\"src/couch_epi_util.erl\"}

      ,

      {line,25}

      ]},{couch_epi_functions,data,1,[

      {file,\"src/couch_epi_functions.erl\"}

      ,

      {line,33}

      ]},{couch_epi_module_keeper,do_reload_if_updated,1,[

      {file,\"src/couch_epi_module_keeper.erl\"}

      ,

      {line,116}

      ]},{gen_server,init_it,6,[

      {file,\"gen_server.erl\"}

      ,

      {line,328}

      ]},{proc_lib,init_p_do_apply,3,[

      {file,\"proc_lib.erl\"}

      ,

      {line,247}

      ]}]}}},

      {couch_epi_app,start,[normal,[]]}

      }}"}

      Attachments

        Activity

          People

            Unassigned Unassigned
            xyproto Alexander F Rødseth
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: