On Mon, Nov 8, 2010 at 11:24 AM, Jan Lehnardt <j...@apache.org> wrote:
> On 8 Nov 2010, at 17:13, Gabriel Farrell wrote:
>> Attempts to compile from HEAD on Github (at commit e9bf7b33c7),
>> following the DEVELOPERS doc, on my 64-bit Debian testing machine
>> resulted in the following error:
>>
>>    ./mochifmt.erl:none: error in parse transform 'eunit_autoexport'
>>
>> Full configure and make logs attached.
>
> Thanks for the extensive logs. Does your Erlang installation
> include EUnit? From the looks of it you are running Erlang
> R14B, is that correct?

    $ erl
    Erlang R14A (erts-5.8) [source] [64-bit] [smp:2:2] [rq:2]
[async-threads:0] [kernel-poll:false]

An `apt-cache show erlang-dev` says "Version: 1:14.a-dfsg-2".

I didn't have erlang-eunit installed. Once I apt-get it,
`./configure`, `make`, and `make install` run without errors, but an
attempt to start up couch produces the attached error report.


Gabriel
Apache CouchDB 1.1.0ae9bf7b3-git (LogLevel=info) is starting.
[error] [<0.86.0>] {error_report,<0.31.0>,
    {<0.86.0>,supervisor_report,
     [{supervisor,{local,couch_secondary_services}},
      {errorContext,start_error},
      {reason,
          {'EXIT',
              {function_clause,
                  [{mochiweb_socket_server,parse_options,
                       [[{nodelay,false}],
                        {mochiweb_socket_server,5984,
                            #Fun<mochiweb_http.1.100536444>,
                            {local,couch_httpd},
                            2048,
                            {0,0,0,0},
                            null,null,128}]},
                   {mochiweb_socket_server,start,1},
                   {couch_httpd,start_link,2},
                   {supervisor,do_start_child,2},
                   {supervisor,start_children,3},
                   {supervisor,init_children,2},
                   {gen_server,init_it,6},
                   {proc_lib,init_p_do_apply,3}]}}},
      {offender,
          [{pid,undefined},
           {name,httpd},
           {mfargs,{couch_httpd,start_link,[]}},
           {restart_type,permanent},
           {shutdown,1000},
           {child_type,worker}]}]}}

=SUPERVISOR REPORT==== 8-Nov-2010::12:01:24 ===
     Supervisor: {local,couch_secondary_services}
     Context:    start_error
     Reason:     {'EXIT',
                     {function_clause,
                         [{mochiweb_socket_server,parse_options,
                              [[{nodelay,false}],
                               {mochiweb_socket_server,5984,
                                   #Fun<mochiweb_http.1.100536444>,
                                   {local,couch_httpd},
                                   2048,
                                   {0,0,0,0},
                                   null,null,128}]},
                          {mochiweb_socket_server,start,1},
                          {couch_httpd,start_link,2},
                          {supervisor,do_start_child,2},
                          {supervisor,start_children,3},
                          {supervisor,init_children,2},
                          {gen_server,init_it,6},
                          {proc_lib,init_p_do_apply,3}]}}
     Offender:   [{pid,undefined},
                  {name,httpd},
                  {mfargs,{couch_httpd,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,1000},
                  {child_type,worker}]

[error] [<0.78.0>] {error_report,<0.31.0>,
    {<0.78.0>,supervisor_report,
     [{supervisor,{local,couch_server_sup}},
      {errorContext,start_error},
      {reason,shutdown},
      {offender,
          [{pid,undefined},
           {name,couch_secondary_services},
           {mfargs,{couch_server_sup,start_secondary_services,[]}},
           {restart_type,permanent},
           {shutdown,infinity},
           {child_type,supervisor}]}]}}

=SUPERVISOR REPORT==== 8-Nov-2010::12:01:24 ===
     Supervisor: {local,couch_server_sup}
     Context:    start_error
     Reason:     shutdown
     Offender:   [{pid,undefined},
                  {name,couch_secondary_services},
                  {mfargs,{couch_server_sup,start_secondary_services,[]}},
                  {restart_type,permanent},
                  {shutdown,infinity},
                  {child_type,supervisor}]


=CRASH REPORT==== 8-Nov-2010::12:01:24 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.31.0>
    registered_name: []
    exception exit: {bad_return,
                        {{couch_app,start,
                             [normal,
                              ["/usr/local/etc/couchdb/default.ini",
                               "/usr/local/etc/couchdb/local.ini"]]},
                         {'EXIT',
                             {{badmatch,{error,shutdown}},
                              [{couch_server_sup,start_server,1},
                               {application_master,start_it_old,4}]}}}}
      in function  application_master:init/4
    ancestors: [<0.30.0>]
    messages: [{'EXIT',<0.32.0>,normal}]
    links: [<0.30.0>,<0.7.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 24
    reductions: 164
  neighbours:

=INFO REPORT==== 8-Nov-2010::12:01:24 ===
    application: couch
    exited: {bad_return,{{couch_app,start,
                                    [normal,
                                     ["/usr/local/etc/couchdb/default.ini",
                                      "/usr/local/etc/couchdb/local.ini"]]},
                         {'EXIT',{{badmatch,{error,shutdown}},
                                  [{couch_server_sup,start_server,1},
                                   {application_master,start_it_old,4}]}}}}
    type: temporary

Reply via email to