You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Germán Blanco (JIRA)" <ji...@apache.org> on 2013/10/16 11:37:42 UTC

[jira] [Updated] (ZOOKEEPER-1742) "make check" doesn't work on macos

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

Germán Blanco updated ZOOKEEPER-1742:
-------------------------------------

    Attachment: ZOOKEEPER-1742.patch

With the attached patch, the build in mac os works.
However, it fails in a test case:
tests/TestZookeeperClose.cc:127: Assertion: equality assertion failed [Expected: 0, Actual  : -4]
Both in Mac and Linux. I can't figure out why, so I am leaving it here. I hope this is of any help.

> "make check" doesn't work on macos
> ----------------------------------
>
>                 Key: ZOOKEEPER-1742
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1742
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Flavio Junqueira
>            Assignee: Benjamin Reed
>             Fix For: 3.4.6, 3.5.0
>
>         Attachments: ZOOKEEPER-1742.patch
>
>
> There are two problems I have spotted when running "make check" with the C client. First, it complains that the sleep call is not defined in two test files: tests/ZooKeeperQuorumServer.cc and tests/TestReconfigServer.cc. Including unistd.h works. The second problem is with linker options. It complains that "--wrap" is not a valid. I'm not sure how to deal with this one yet, since I'm not sure why we are using it.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)