You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Nebojsa Sabovic (Created) (JIRA)" <ji...@apache.org> on 2011/11/04 19:59:51 UTC

[jira] [Created] (AVRO-952) C++/CMake build does not detect flex & bison correctly

C++/CMake build does not detect flex & bison correctly
------------------------------------------------------

                 Key: AVRO-952
                 URL: https://issues.apache.org/jira/browse/AVRO-952
             Project: Avro
          Issue Type: Bug
          Components: c++
    Affects Versions: 1.6.0
            Reporter: Nebojsa Sabovic


Configure should test for flex and bison. CMake has built in support for those, we should use that. I've verified that it existed at 2.6, which is the minimum CMake release that we currently require.

--
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] (AVRO-952) C++/CMake build does not detect flex & bison correctly

Posted by "Nebojsa Sabovic (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nebojsa Sabovic updated AVRO-952:
---------------------------------

    Attachment: AVRO-952.patch

Fix
                
> C++/CMake build does not detect flex & bison correctly
> ------------------------------------------------------
>
>                 Key: AVRO-952
>                 URL: https://issues.apache.org/jira/browse/AVRO-952
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.6.0
>            Reporter: Nebojsa Sabovic
>              Labels: c++, cmake
>         Attachments: AVRO-952.patch
>
>
> Configure should test for flex and bison. CMake has built in support for those, we should use that. I've verified that it existed at 2.6, which is the minimum CMake release that we currently require.

--
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] (AVRO-952) C++/CMake build does not detect flex & bison correctly

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-952:
-------------------------------------

    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

The C++ port no longer uses Flex or Bison and hence this problem no longer exists.

Thank you Nebojsa Sabovic for looking into this issue.
                
> C++/CMake build does not detect flex & bison correctly
> ------------------------------------------------------
>
>                 Key: AVRO-952
>                 URL: https://issues.apache.org/jira/browse/AVRO-952
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.6.0
>            Reporter: Nebojsa Sabovic
>              Labels: c++, cmake
>         Attachments: AVRO-952.patch
>
>
> Configure should test for flex and bison. CMake has built in support for those, we should use that. I've verified that it existed at 2.6, which is the minimum CMake release that we currently require.

--
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] (AVRO-952) C++/CMake build does not detect flex & bison correctly

Posted by "Nebojsa Sabovic (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nebojsa Sabovic updated AVRO-952:
---------------------------------

    Status: Patch Available  (was: Open)
    
> C++/CMake build does not detect flex & bison correctly
> ------------------------------------------------------
>
>                 Key: AVRO-952
>                 URL: https://issues.apache.org/jira/browse/AVRO-952
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.6.0
>            Reporter: Nebojsa Sabovic
>              Labels: c++, cmake
>         Attachments: AVRO-952.patch
>
>
> Configure should test for flex and bison. CMake has built in support for those, we should use that. I've verified that it existed at 2.6, which is the minimum CMake release that we currently require.

--
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] (AVRO-952) C++/CMake build does not detect flex & bison correctly

Posted by "Thiruvalluvan M. G. (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145505#comment-13145505 ] 

Thiruvalluvan M. G. commented on AVRO-952:
------------------------------------------

This is a valid patch. However, I'm almost done with porting Avro C++ to Miscrosoft Windows. CMake + Windows + Flex/Bison appear to be a problem combination. Moreover, the Schema parser based on Flex/Bison is not complete and produces no good error messages. I've implemented a new parser on top of Json parser we already have in Avro C++. We can then implement full compliance to Avro standard including namespaces, docs etc.

I'll file 2 Jiras one for getting rid of dependence on flex/bison and BoostRegex and another for porting to Microsoft Windows. With those patches we don't have to fix the Flex/Bison find problems.


                
> C++/CMake build does not detect flex & bison correctly
> ------------------------------------------------------
>
>                 Key: AVRO-952
>                 URL: https://issues.apache.org/jira/browse/AVRO-952
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.6.0
>            Reporter: Nebojsa Sabovic
>              Labels: c++, cmake
>         Attachments: AVRO-952.patch
>
>
> Configure should test for flex and bison. CMake has built in support for those, we should use that. I've verified that it existed at 2.6, which is the minimum CMake release that we currently require.

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