You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Esteve Fernandez (JIRA)" <ji...@apache.org> on 2009/01/16 19:24:59 UTC

[jira] Created: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

(C#) ThreadedServer fails to build on Ubuntu 8.04
-------------------------------------------------

                 Key: THRIFT-272
                 URL: https://issues.apache.org/jira/browse/THRIFT-272
             Project: Thrift
          Issue Type: Bug
          Components: Library (C#)
            Reporter: Esteve Fernandez


ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

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

Esteve Fernandez updated THRIFT-272:
------------------------------------

    Attachment: thread_server_csharp_error.log

Output log of running "make -C lib/csharp"

> (C#) ThreadedServer fails to build on Ubuntu 8.04
> -------------------------------------------------
>
>                 Key: THRIFT-272
>                 URL: https://issues.apache.org/jira/browse/THRIFT-272
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>            Reporter: Esteve Fernandez
>         Attachments: thread_server_csharp_error.log
>
>
> ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

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

Michael Greene commented on THRIFT-272:
---------------------------------------

HashSet has been incorporated in the C# compiler from its first commit, the current r665421.  What is the use case for this? Having the compiler on a machine with a newer Mono/.NET while using the library from an older machine?

It would be nice if the generated code could compile on both .NET 2.0 compatible compilers and .NET 3.5 compatible compilers with some compiler directives, but I'd hate to sacrifice the efficiency of HashSet just to support older platforms.

> (C#) ThreadedServer fails to build on Ubuntu 8.04
> -------------------------------------------------
>
>                 Key: THRIFT-272
>                 URL: https://issues.apache.org/jira/browse/THRIFT-272
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>            Reporter: Esteve Fernandez
>
> ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

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

Esteve Fernandez resolved THRIFT-272.
-------------------------------------

    Resolution: Fixed

> (C#) ThreadedServer fails to build on Ubuntu 8.04
> -------------------------------------------------
>
>                 Key: THRIFT-272
>                 URL: https://issues.apache.org/jira/browse/THRIFT-272
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>            Reporter: Esteve Fernandez
>         Attachments: thread_server_csharp_error.log
>
>
> ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

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

Esteve Fernandez commented on THRIFT-272:
-----------------------------------------

I think I didn't express myself clearly, the issue is that ThreadedServer (included in the Thrift C# library) uses HashSet#Count and HashSet#GetEnumerator, which are not available in Mono 1.2.6

According to Mono's roadmap (http://www.mono-project.com/Roadmap), .NET 3.5 will be officially supported in Mono 2.4

> (C#) ThreadedServer fails to build on Ubuntu 8.04
> -------------------------------------------------
>
>                 Key: THRIFT-272
>                 URL: https://issues.apache.org/jira/browse/THRIFT-272
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>            Reporter: Esteve Fernandez
>
> ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

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

Esteve Fernandez commented on THRIFT-272:
-----------------------------------------

I just closed it. Sorry for the delay.

> (C#) ThreadedServer fails to build on Ubuntu 8.04
> -------------------------------------------------
>
>                 Key: THRIFT-272
>                 URL: https://issues.apache.org/jira/browse/THRIFT-272
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>            Reporter: Esteve Fernandez
>         Attachments: thread_server_csharp_error.log
>
>
> ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

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

Michael Greene commented on THRIFT-272:
---------------------------------------

Was HashSet in 1.2.6 and Count/GetEnumerator have no implementations?

I guess this is the part that I'm confused about: "ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet."  The code generated by the thrift compiler for C# has always depended on HashSet.  Have you observed otherwise?

> (C#) ThreadedServer fails to build on Ubuntu 8.04
> -------------------------------------------------
>
>                 Key: THRIFT-272
>                 URL: https://issues.apache.org/jira/browse/THRIFT-272
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>            Reporter: Esteve Fernandez
>
> ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

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

Michael Greene commented on THRIFT-272:
---------------------------------------

Esteve, can you confirm that THRIFT-309 fixes this for you so we can close this?

> (C#) ThreadedServer fails to build on Ubuntu 8.04
> -------------------------------------------------
>
>                 Key: THRIFT-272
>                 URL: https://issues.apache.org/jira/browse/THRIFT-272
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>            Reporter: Esteve Fernandez
>         Attachments: thread_server_csharp_error.log
>
>
> ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-272) (C#) ThreadedServer fails to build on Ubuntu 8.04

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

Esteve Fernandez commented on THRIFT-272:
-----------------------------------------

It's not an issue in the code generated by the Thrift compiler, it's in the library (in TThreadedServer).

> (C#) ThreadedServer fails to build on Ubuntu 8.04
> -------------------------------------------------
>
>                 Key: THRIFT-272
>                 URL: https://issues.apache.org/jira/browse/THRIFT-272
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C#)
>            Reporter: Esteve Fernandez
>         Attachments: thread_server_csharp_error.log
>
>
> ThreadedServer no longer compiles in Mono 1.2.6 (shipped with Ubuntu 8.04) due to depending on HashSet. HashSet#Count and HashSet#GetEnumerator were introduced in .NET 3.5, but aren't available in Mono 1.2.6

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.