Skip to content

Conversation

@yuchao86
Copy link

@yuchao86 yuchao86 commented Nov 3, 2014

╭─yuchao@localhost ~/Downloads/zookeeper-3.4.6/src/c ‹system›
╰─➤ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -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
libtool: compile: gcc -DHAVE_CONFIG_H -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 .libs/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);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25: note:
expanded from macro 'htonll'

define htonll(x) __DARWIN_OSSwapInt64(x)

                    ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/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 '('
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25: note:
expanded from macro 'htonll'

define htonll(x) __DARWIN_OSSwapInt64(x)

                    ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/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:
./include/recordio.h:76:9: error: conflicting types for '__builtin_constant_p'
int64_t htonll(int64_t v);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25: note:
expanded from macro 'htonll'

define htonll(x) __DARWIN_OSSwapInt64(x)

                    ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libkern/_OSByteOrder.h:78:6: note:
expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
^
./include/recordio.h:76:9: note: '__builtin_constant_p' is a builtin with type
'int ()'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25: note:
expanded from macro 'htonll'

define htonll(x) __DARWIN_OSSwapInt64(x)

                    ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libkern/_OSByteOrder.h:78:6: note:
expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
^
2 errors generated.
make[1]: *** [zookeeper.lo] Error 1
make: *** [all] Error 2

Mahadev Konar and others added 30 commits November 5, 2011 06:35
…orum formed, no serving. (Flavio, Camille and Alexander Shraer via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1197892 13f79535-47bb-0310-9956-ffa450edef68
ZOOKEEPER-1282. Learner.java not following Zab 1.0 protocol - setCurrentEpoch should be done upon receipt of NEWLEADER (before acking it) and not upon receipt of UPTODATE.
ZOOKEEPER-1291. AcceptedEpoch not updated at leader before it proposes the epoch to followers.


git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1198043 13f79535-47bb-0310-9956-ffa450edef68
…ptr. (Daniel Lescohier via mahadev) - Merging r1212153 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1212161 13f79535-47bb-0310-9956-ffa450edef68
…rick Hunt and Andrew Mc Nair via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1221837 13f79535-47bb-0310-9956-ffa450edef68
…ipse project files excluded (Harsh J via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1225928 13f79535-47bb-0310-9956-ffa450edef68
…ipse project files excluded (Harsh J via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1225931 13f79535-47bb-0310-9956-ffa450edef68
…ipse project files excluded (Harsh J via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1225935 13f79535-47bb-0310-9956-ffa450edef68
…orZero tests that hostProvider.next(0) doesn't sleep by checking that the latency of this call is less than 10sec (Alex Shraer via camille)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1231807 13f79535-47bb-0310-9956-ffa450edef68
…seAddress on its ServerSocket (Harsh J via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1234975 13f79535-47bb-0310-9956-ffa450edef68
…ter cluster restart. (Bejamin Reed via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1238177 13f79535-47bb-0310-9956-ffa450edef68
Michi Mutsuzaki and others added 25 commits April 1, 2014 21:00
…es for source and text files (Raja Aluri via michim)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1584502 13f79535-47bb-0310-9956-ffa450edef68
… value (Raul Gutierrez Segales via michim)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1588585 13f79535-47bb-0310-9956-ffa450edef68
…es when packaged (Sean Mackrory via michim)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1589950 13f79535-47bb-0310-9956-ffa450edef68
… in stat is not null (Michi Mutsuzaki via rakeshr)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1608873 13f79535-47bb-0310-9956-ffa450edef68
@yuchao86 yuchao86 closed this Nov 3, 2014
@yuchao86 yuchao86 reopened this Nov 3, 2014
@yuchao86
Copy link
Author

yuchao86 commented Nov 3, 2014

######################################################################## 100.0%
==> Downloading https://issues.apache.org/jira/secure/attachment/12673210/ZOOKEEPER-2049.noprefix.bra
######################################################################## 100.0%
==> Patching
patching file src/c/include/recordio.h
patching file src/c/src/recordio.c
patching file src/c/src/zookeeper.c
patching file src/c/tests/ZKMocks.cc

@yuchao86 yuchao86 closed this Nov 3, 2014
mgao0 added a commit to mgao0/zookeeper that referenced this pull request Jan 25, 2022
This commit renamed NfsBackupStorage to FileSystemBackupStorage, so it could be used for a broader usage, not only limited to NFS client, but also other file systems which works on a file path. One immediate usage is to use local storage as the backup storage for integration tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants