You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (Created) (JIRA)" <ji...@apache.org> on 2011/12/09 02:29:40 UTC

[jira] [Created] (ZOOKEEPER-1323) c client doesn't compile on freebsd

c client doesn't compile on freebsd
-----------------------------------

                 Key: ZOOKEEPER-1323
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1323
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.4.0
         Environment: freebsd 6.4
            Reporter: Michi Mutsuzaki
            Assignee: Michi Mutsuzaki
             Fix For: 3.5.0


EAI_NODATA and EAI_ADDRFAMILY have been deprecated in FreeBSD. I'm getting this error:

src/zookeeper.c: In function `getaddrinfo_errno':
src/zookeeper.c:446: error: `EAI_NODATA' undeclared (first use in this function)
src/zookeeper.c:446: error: (Each undeclared identifier is reported only once
src/zookeeper.c:446: error: for each function it appears in.)
src/zookeeper.c: In function `getaddrs':
src/zookeeper.c:581: error: `EAI_ADDRFAMILY' undeclared (first use in this function)

I'll submit a patch.

--Michi

--
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] (ZOOKEEPER-1323) c client doesn't compile on freebsd

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

Michi Mutsuzaki updated ZOOKEEPER-1323:
---------------------------------------

    Attachment: ZOOKEEPER-1323.patch
    
> c client doesn't compile on freebsd
> -----------------------------------
>
>                 Key: ZOOKEEPER-1323
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1323
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.0
>         Environment: freebsd 6.4
>            Reporter: Michi Mutsuzaki
>            Assignee: Michi Mutsuzaki
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1323.patch
>
>
> EAI_NODATA and EAI_ADDRFAMILY have been deprecated in FreeBSD. I'm getting this error:
> src/zookeeper.c: In function `getaddrinfo_errno':
> src/zookeeper.c:446: error: `EAI_NODATA' undeclared (first use in this function)
> src/zookeeper.c:446: error: (Each undeclared identifier is reported only once
> src/zookeeper.c:446: error: for each function it appears in.)
> src/zookeeper.c: In function `getaddrs':
> src/zookeeper.c:581: error: `EAI_ADDRFAMILY' undeclared (first use in this function)
> I'll submit a patch.
> --Michi

--
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] (ZOOKEEPER-1323) c client doesn't compile on freebsd

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

Hudson commented on ZOOKEEPER-1323:
-----------------------------------

Integrated in ZooKeeper-trunk #1397 (See [https://builds.apache.org/job/ZooKeeper-trunk/1397/])
    ZOOKEEPER-1323. c client doesn't compile on freebsd (michi mutsuzaki via phunt)

phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1214537
Files : 
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/c/src/zookeeper.c

                
> c client doesn't compile on freebsd
> -----------------------------------
>
>                 Key: ZOOKEEPER-1323
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1323
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.0
>         Environment: freebsd 6.4
>            Reporter: Michi Mutsuzaki
>            Assignee: Michi Mutsuzaki
>             Fix For: 3.5.0, 3.4.2
>
>         Attachments: ZOOKEEPER-1323.patch
>
>
> EAI_NODATA and EAI_ADDRFAMILY have been deprecated in FreeBSD. I'm getting this error:
> src/zookeeper.c: In function `getaddrinfo_errno':
> src/zookeeper.c:446: error: `EAI_NODATA' undeclared (first use in this function)
> src/zookeeper.c:446: error: (Each undeclared identifier is reported only once
> src/zookeeper.c:446: error: for each function it appears in.)
> src/zookeeper.c: In function `getaddrs':
> src/zookeeper.c:581: error: `EAI_ADDRFAMILY' undeclared (first use in this function)
> I'll submit a patch.
> --Michi

--
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] (ZOOKEEPER-1323) c client doesn't compile on freebsd

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165763#comment-13165763 ] 

Hadoop QA commented on ZOOKEEPER-1323:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12506693/ZOOKEEPER-1323.patch
  against trunk revision 1212192.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/826//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/826//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/826//console

This message is automatically generated.
                
> c client doesn't compile on freebsd
> -----------------------------------
>
>                 Key: ZOOKEEPER-1323
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1323
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.0
>         Environment: freebsd 6.4
>            Reporter: Michi Mutsuzaki
>            Assignee: Michi Mutsuzaki
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1323.patch
>
>
> EAI_NODATA and EAI_ADDRFAMILY have been deprecated in FreeBSD. I'm getting this error:
> src/zookeeper.c: In function `getaddrinfo_errno':
> src/zookeeper.c:446: error: `EAI_NODATA' undeclared (first use in this function)
> src/zookeeper.c:446: error: (Each undeclared identifier is reported only once
> src/zookeeper.c:446: error: for each function it appears in.)
> src/zookeeper.c: In function `getaddrs':
> src/zookeeper.c:581: error: `EAI_ADDRFAMILY' undeclared (first use in this function)
> I'll submit a patch.
> --Michi

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