Re: [jira] [Assigned] (THRIFT-1357) Erlang Dependency breaks build

2011-09-26 Thread Peter Neumark
Hi!

The issue is not that JSX requires a specific verison of erlang.
Instead, we are faced with the fact that v0.9.0 has a slightly
different interface than what thrift_json_protocol.erl expects.
The attached patch resolves this issue.
As long as we use jsx 0.9.0, the problem should not resurface.

Regards,
Peter

On Fri, Sep 23, 2011 at 5:48 PM, Jake Farrell (JIRA) j...@apache.org wrote:

     [ 
 https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
  ]

 Jake Farrell reassigned THRIFT-1357:
 

    Assignee: Jake Farrell

 Erlang Dependency breaks build
 --

                 Key: THRIFT-1357
                 URL: https://issues.apache.org/jira/browse/THRIFT-1357
             Project: Thrift
          Issue Type: Bug
          Components: Erlang - Library
         Environment: Apache build Infrastructure based on Ubuntu lucid
 {noformat}
 ii  erlang-base                                     1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP virtual machine and base applicat
 ii  erlang-crypto                                   1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP cryprographic modules
 ii  erlang-dev                                      1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP development libraries and headers
 ii  erlang-eunit                                    1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP module for unit testing
 ii  erlang-syntax-tools                             1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP modules for handling abstract Erl
 ii  erlang-base                                     1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP virtual machine and base applicat
 ii  erlang-crypto                                   1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP cryprographic modules
 ii  erlang-dev                                      1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP development libraries and headers
 ii  erlang-eunit                                    1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP module for unit testing
 ii  erlang-syntax-tools                             1:13.b.3-dfsg-2ubuntu2.1 
                        Erlang/OTP modules for handling abstract Erl
 {noformat}
            Reporter: Roger Meier
            Assignee: Jake Farrell

 THRIFT-1227 introduced JSON for erlang,
 however the Ubuntu build infrastructur does not support this...
 {noformat}
 ./rebar get-deps
 == erl (get-deps)
 Pulling jsx from 
 {git,git://github.com/talentdeficit/jsx.git,{tag,v0.9.0}}
 Initialized empty Git repository in 
 /home/jenkins/jenkins-slave/workspace/Thrift/thrift/lib/erl/deps/jsx/.git/
 == nicefloats (get-deps)
 == jsx (get-deps)
 ./rebar compile
 == nicefloats (compile)
 Compiled src/nicefloats.erl
 == jsx (compile)
 ./include/jsx_common.hrl:34: type jsx_opt() undefined
 ./include/jsx_common.hrl:66: type jsx_parser_result() undefined
 ./include/jsx_common.hrl:82: type eep0018_array() undefined
 ./include/jsx_common.hrl:82: type eep0018_object() undefined
 ./include/jsx_common.hrl:84: type eep0018_term() undefined
 ./include/jsx_common.hrl:85: type eep0018_key() undefined
 ./include/jsx_common.hrl:85: type eep0018_term() undefined
 ./include/jsx_common.hrl:91: type eep0018_string() undefined
 ./include/jsx_common.hrl:92: type eep0018_number() undefined
 ./include/jsx_common.hrl:100: type encoder_opt() undefined
 ./include/jsx_common.hrl:109: type decoder_opt() undefined
 ./include/jsx_common.hrl:117: type verify_opt() undefined
 ./include/jsx_common.hrl:123: type format_opt() undefined
 make[3]: *** [all] Error 1
 {noformat}

 --
 This message is automatically generated by JIRA.
 For more information on JIRA, see: http://www.atlassian.com/software/jira





[jira] [Assigned] (THRIFT-1357) Erlang Dependency breaks build

2011-09-23 Thread Jake Farrell (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jake Farrell reassigned THRIFT-1357:


Assignee: Jake Farrell

 Erlang Dependency breaks build
 --

 Key: THRIFT-1357
 URL: https://issues.apache.org/jira/browse/THRIFT-1357
 Project: Thrift
  Issue Type: Bug
  Components: Erlang - Library
 Environment: Apache build Infrastructure based on Ubuntu lucid
 {noformat}
 ii  erlang-base 1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP virtual machine and base applicat
 ii  erlang-crypto   1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP cryprographic modules
 ii  erlang-dev  1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP development libraries and headers
 ii  erlang-eunit1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP module for unit testing
 ii  erlang-syntax-tools 1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP modules for handling abstract Erl
 ii  erlang-base 1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP virtual machine and base applicat
 ii  erlang-crypto   1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP cryprographic modules
 ii  erlang-dev  1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP development libraries and headers
 ii  erlang-eunit1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP module for unit testing
 ii  erlang-syntax-tools 1:13.b.3-dfsg-2ubuntu2.1  
   Erlang/OTP modules for handling abstract Erl
 {noformat}
Reporter: Roger Meier
Assignee: Jake Farrell

 THRIFT-1227 introduced JSON for erlang,
 however the Ubuntu build infrastructur does not support this...
 {noformat}
 ./rebar get-deps
 == erl (get-deps)
 Pulling jsx from {git,git://github.com/talentdeficit/jsx.git,{tag,v0.9.0}}
 Initialized empty Git repository in 
 /home/jenkins/jenkins-slave/workspace/Thrift/thrift/lib/erl/deps/jsx/.git/
 == nicefloats (get-deps)
 == jsx (get-deps)
 ./rebar compile
 == nicefloats (compile)
 Compiled src/nicefloats.erl
 == jsx (compile)
 ./include/jsx_common.hrl:34: type jsx_opt() undefined
 ./include/jsx_common.hrl:66: type jsx_parser_result() undefined
 ./include/jsx_common.hrl:82: type eep0018_array() undefined
 ./include/jsx_common.hrl:82: type eep0018_object() undefined
 ./include/jsx_common.hrl:84: type eep0018_term() undefined
 ./include/jsx_common.hrl:85: type eep0018_key() undefined
 ./include/jsx_common.hrl:85: type eep0018_term() undefined
 ./include/jsx_common.hrl:91: type eep0018_string() undefined
 ./include/jsx_common.hrl:92: type eep0018_number() undefined
 ./include/jsx_common.hrl:100: type encoder_opt() undefined
 ./include/jsx_common.hrl:109: type decoder_opt() undefined
 ./include/jsx_common.hrl:117: type verify_opt() undefined
 ./include/jsx_common.hrl:123: type format_opt() undefined
 make[3]: *** [all] Error 1
 {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira