You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2014/12/19 21:01:13 UTC

[jira] [Closed] (MESOS-2027) make distcheck on OSX 10.10

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

Till Toenshoff closed MESOS-2027.
---------------------------------
    Resolution: Cannot Reproduce

I am currently unsure what is happening here. After investigating a little, I did see that patch got applied correctly but still the error hints that it was not. 

Fast forward a few weeks....

After testing distcheck on OSX again over the last two days, I was unable to replicate the failure - - the problem magically resolved itself. Closing the ticket for others to reopen if they still stumble across this issue.

> make distcheck on OSX 10.10
> ---------------------------
>
>                 Key: MESOS-2027
>                 URL: https://issues.apache.org/jira/browse/MESOS-2027
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>         Environment: OSX 10.10
>            Reporter: Till Toenshoff
>            Assignee: Till Toenshoff
>            Priority: Minor
>
> It seems our ZooKeeper Yosemite hotfix does not correctly get applied when doing a make distcheck on OSX 10.10.
> {noformat}
> config.status: executing depfiles commands
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
> if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE -MT zookeeper.lo -MD -MP -MF ".deps/zookeeper.Tpo" -c -o zookeeper.lo `test -f 'src/zookeeper.c' || echo './'`src/zookeeper.c; \
>     then mv -f ".deps/zookeeper.Tpo" ".deps/zookeeper.Plo"; else rm -f ".deps/zookeeper.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT zookeeper.lo -MD -MP -MF .deps/zookeeper.Tpo -c src/zookeeper.c  -fno-common -DPIC -o zookeeper.o
> In file included from src/zookeeper.c:27:
> In file included from ./include/zookeeper.h:34:
> ./include/recordio.h:76:9: error: expected ')'
> int64_t htonll(int64_t v);
>        ^
> /usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
> #define htonll(x)       __DARWIN_OSSwapInt64(x)
>                        ^
> /usr/include/libkern/_OSByteOrder.h:78:30: note: expanded from macro '__DARWIN_OSSwapInt64'
>    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
>                             ^
> ./include/recordio.h:76:9: note: to match this '('
> /usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
> #define htonll(x)       __DARWIN_OSSwapInt64(x)
>                        ^
> /usr/include/libkern/_OSByteOrder.h:78:5: note: expanded from macro '__DARWIN_OSSwapInt64'
>    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
>    ^
> In file included from src/zookeeper.c:27:
> In file included from ./include/zookeeper.h:34:
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)