You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2011/09/23 16:20:27 UTC

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

Erlang Dependency breaks build
------------------------------

                 Key: THRIFT-1357
                 URL: https://issues.apache.org/jira/browse/THRIFT-1357
             Project: Thrift
          Issue Type: Bug
         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


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

        

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

Posted by Peter Neumark <ne...@gmail.com>.
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) <ji...@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] [Commented] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Roger Meier (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252003#comment-13252003 ] 

Roger Meier commented on THRIFT-1357:
-------------------------------------

no news from my side.

Should we remove jsx and json for erlang?
Is this used somewhere?
It came in with THRIFT-1227
                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114723#comment-13114723 ] 

Jake Farrell commented on THRIFT-1357:
--------------------------------------

Peter, I committed your changes. I am leaving this ticket open until i add the erlang version check to configure to help guarantee a known env for erlang.

> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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] [Commented] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Marjo Mercado (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202516#comment-13202516 ] 

Marjo Mercado commented on THRIFT-1357:
---------------------------------------

Any update on the status of this issue? I've just confirmed same on Maverick 10.10 and revision http://svn.apache.org/viewvc/?view=rev&rev=1175906
                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Florian Schmitt (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252281#comment-13252281 ] 

Florian Schmitt commented on THRIFT-1357:
-----------------------------------------

Ah, there's a fix in trunk? Great, i will give it a try. In the meanwhile, i just disabled erlang - hoping not to break anything else, i'm completely new to thrift.
                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114708#comment-13114708 ] 

Jake Farrell commented on THRIFT-1357:
--------------------------------------

Peter, this patch does not apply cleanly against trunk. What version was it made against?

> 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
>         Attachments: 0001-updated-JSX-version.patch
>
>
> 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] [Commented] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114745#comment-13114745 ] 

Hudson commented on THRIFT-1357:
--------------------------------

Integrated in Thrift #280 (See [https://builds.apache.org/job/Thrift/280/])
    THRIFT-1357: Erlang dependency breaks build
Client: erl
Patch: Peter Neumark

Updates json protocol to work with JSX 0.9.

jfarrell : http://svn.apache.org/viewvc/?view=rev&rev=1175906
Files : 
* /thrift/trunk/lib/erl/src/thrift_json_protocol.erl


> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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] [Commented] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Anthony Molinaro (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117433#comment-13117433 ] 

Anthony Molinaro commented on THRIFT-1357:
------------------------------------------

Does that mean erlang is back in the automated build checks or are you waiting until you have configure changes for that.  It seems like this change should mean that we can turn back on the build checks (and also that it's unnecessary to do a check for a particular erlang version as this purportedly means it should work with the version on the build system).

                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113470#comment-13113470 ] 

Roger Meier commented on THRIFT-1357:
-------------------------------------

I have disabled continous build for erlang for the moment.
https://builds.apache.org/view/S-Z/view/Thrift/job/Thrift/

> 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
>
> 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

Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
     [ 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] [Commented] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Jake Farrell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204682#comment-13204682 ] 

Jake Farrell commented on THRIFT-1357:
--------------------------------------

is it possible in rebar to have jsx as an optional dependency and if it can be compiled successfully then its added otherwise ignored? 
                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier updated THRIFT-1357:
--------------------------------

    Component/s: Erlang - Library

> 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
>
> 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] [Commented] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Jake Farrell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252170#comment-13252170 ] 

Jake Farrell commented on THRIFT-1357:
--------------------------------------

Florian, update your git version and the erlang client build should not have this issue
                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Marjo Mercado (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204447#comment-13204447 ] 

Marjo Mercado commented on THRIFT-1357:
---------------------------------------

This is not a problem on Oneiric 11.10. It did require git version > 1.5.
                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Florian Schmitt (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251606#comment-13251606 ] 

Florian Schmitt commented on THRIFT-1357:
-----------------------------------------

any news / workarounds for this?
                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113476#comment-13113476 ] 

Jake Farrell commented on THRIFT-1357:
--------------------------------------

The build infra is a stock ubuntu with only the required packages to help keep the system stable and in a known 'good' state. If the jsx lib depends on a specific version of erl then we should add that check into configure and if not met dont allow the erl client lib to be built (similar to ruby and the spec vs rspec versioning issue). If you are good with this path then I can throw together a patch to detect the erlang version on initial configure which should resolve this

> 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
>
> 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] [Commented] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113508#comment-13113508 ] 

Roger Meier commented on THRIFT-1357:
-------------------------------------

Jake, I like that idea! please proceed if you have some time to do this!

-roger

> 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
>
> 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] [Updated] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Peter Neumark (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Neumark updated THRIFT-1357:
----------------------------------

    Attachment: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch

My apologies, 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch should apply cleanly to trunk.

> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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] [Commented] (THRIFT-1357) Erlang Dependency breaks build

Posted by "Jake Farrell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117443#comment-13117443 ] 

Jake Farrell commented on THRIFT-1357:
--------------------------------------

@roger can you reenable the erlang build on the ci server please. @anthony If there is no need for a specific version of erlang then this issue can be closed.
                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Roger Meier (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117504#comment-13117504 ] 

Roger Meier commented on THRIFT-1357:
-------------------------------------

just reenabled erlang on ci server, still the same issue, see:
https://builds.apache.org/view/S-Z/view/Thrift/job/Thrift/285/console

                
> 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
>         Attachments: 0001-Fixed-thrift_json_protocol.erl-to-work-with-JSX-v0.9.patch, 0001-updated-JSX-version.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Peter Neumark (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Neumark updated THRIFT-1357:
----------------------------------

    Attachment: 0001-updated-JSX-version.patch

This patch fixes the compilation issue, which is due to the fact, that the JSX api changed slightly with version 0.9.0

> 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
>         Attachments: 0001-updated-JSX-version.patch
>
>
> 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