Till Toenshoff created MESOS-2027:
-------------------------------------

             Summary: 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)

Reply via email to