On Wed, Aug 05, 2009 at 07:16:42PM -0400, Paul Davis wrote:
> Anyone care to svn up and
> try building CouchDB on an Erlang VM that before R12B5?

- Ubuntu Hardy with erlang 12b3 from Intrepid (1:12.b.3-dfsg-1ubuntu1) (*)
- git HEAD aebdb31001126dab6b579b8cc2e605ef7ec499c6 (**)
- Builds and installs without errors
- But drops HTTP connections on the floor :-(

$ telnet localhost 5984
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.0

Connection closed by foreign host.
$ 

- To me the backtrace suggests a problem with re:split, but it mentions
  oauth in the same breath

[Thu, 06 Aug 2009 07:40:27 GMT] [error] [<0.104.0>] {error_report,<0.22.0>,
    {<0.104.0>,crash_report,
     [[{pid,<0.104.0>},
       {registered_name,[]},
       {error_info,
           {error,undef,
               [{re,split,
                    ["{couch_httpd_oauth, oauth_authentication_handler}, 
{couch_httpd_auth, default_authentication_handler}",
                     "(?<=})\\s*,\\s*(?={)",
                     [{return,list}]]},
                {couch_httpd,make_arity_1_fun_list,1},
                {couch_httpd,handle_request,5},
                {mochiweb_http,headers,5},
                {proc_lib,init_p,5}]}},
       {initial_call,
           {mochiweb_socket_server,acceptor_loop,
               [{<0.56.0>,#Port<0.155>,#Fun<mochiweb_http.1.81679042>}]}},
       {ancestors,
           [couch_httpd,couch_secondary_services,couch_server_sup,
            <0.1.0>]},
       {messages,[]},
       {links,[<0.56.0>,#Port<0.170>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,2584},
       {stack_size,23},
       {reductions,572}],
      []]}}

[Thu, 06 Aug 2009 07:40:27 GMT] [error] [<0.56.0>] {error_report,<0.22.0>,
              {<0.56.0>,std_error,
               {mochiweb_socket_server,235,{child_error,undef}}}}

Regards,

Brian.

(*)

$ dpkg --status erlang
Package: erlang
Status: install ok installed
Priority: optional
Section: interpreters
Installed-Size: 80
Maintainer: Ubuntu MOTU Developers <ubuntu-m...@lists.ubuntu.com>
Architecture: all
Version: 1:12.b.3-dfsg-1ubuntu1
Depends: erlang-base | erlang-base-hipe, erlang-nox, erlang-x11, erlang-dev
Recommends: erlang-src, erlang-examples, erlang-mode
Suggests: erlang-manpages, erlang-doc-html
Description: Concurrent, real-time, distributed functional language
 Open Source Erlang is a functional programming language designed at
 the Ericsson Computer Science Laboratory.
 .
 Some of Erlang main features are:
  Clear declarative syntax and is largely free from side-effects;
  Builtin support for real-time, concurrent and distributed programming;
  Designed for development of robust and continously operated programs;
  Dynamic code replacement at runtime.
 .
 This package will install erlang runtime, librarires, sources, code
 examples and the Erlang editing mode for Emacs.
Homepage: http://www.erlang.org/
Original-Maintainer: Erlang Packagers <erlang-pkg-de...@lists.berlios.de>

(**)

commit aebdb31001126dab6b579b8cc2e605ef7ec499c6
Author: davisp <dav...@13f79535-47bb-0310-9956-ffa450edef68>
Date:   Wed Aug 5 23:08:25 2009 +0000

    The RSA SHA1 Oauth module was breaking trunk for older versions of the 
Erlang
    VM. Since we don't actually use it, I'm removing it from the build until
    we add a ./conifgure option or we update our Erlang version requirement.
    
    
    
    git-svn-id: http://svn.apache.org/repos/asf/couchdb/tr...@801456 
13f79535-47bb-0310-9956-ffa450edef68

Reply via email to