You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rake dependencies build is broken on my Mac. I haven't tried to debug it yet.
Just a git clone and then rake dependencies build.
[ 96%] Building C object CMakeFiles/git2.dir/src/unix/map.c.o
[ 97%] Building C object CMakeFiles/git2.dir/src/unix/realpath.c.o
[ 98%] Building C object CMakeFiles/git2.dir/deps/http-parser/http_parser.c.o
[ 99%] Building C object CMakeFiles/git2.dir/src/hash/hash_generic.c.o
In file included from /Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:10:
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.h:13:8: error: redefinition of 'git_hash_ctx'
struct git_hash_ctx {
^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_common_crypto.h:15:8: note: previous definition is here
struct git_hash_ctx {
^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:121:11: error: no member named 'H' in 'struct git_hash_ctx'
A = ctx->H[0];
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:122:11: error: no member named 'H' in 'struct git_hash_ctx'
B = ctx->H[1];
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:123:11: error: no member named 'H' in 'struct git_hash_ctx'
C = ctx->H[2];
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:124:11: error: no member named 'H' in 'struct git_hash_ctx'
D = ctx->H[3];
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:125:11: error: no member named 'H' in 'struct git_hash_ctx'
E = ctx->H[4];
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:217:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[0] += A;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:218:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[1] += B;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:219:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[2] += C;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:220:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[3] += D;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:221:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[4] += E;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:224:5: error: redefinition of 'git_hash_init'
int git_hash_init(git_hash_ctx *ctx)
^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_common_crypto.h:23:17: note: previous definition is here
GIT_INLINE(int) git_hash_init(git_hash_ctx *ctx)
^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:226:7: error: no member named 'size' in 'struct git_hash_ctx'
ctx->size = 0;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:229:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[0] = 0x67452301;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:230:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[1] = 0xefcdab89;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:231:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[2] = 0x98badcfe;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:232:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[3] = 0x10325476;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:233:7: error: no member named 'H' in 'struct git_hash_ctx'
ctx->H[4] = 0xc3d2e1f0;
~~~ ^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_generic.c:238:5: error: redefinition of 'git_hash_update'
int git_hash_update(git_hash_ctx *ctx, const void *data, size_t len)
^
/Users/erg/sedit/deps/Gift/External/libgit2/src/hash/hash_common_crypto.h:30:17: note: previous definition is here
GIT_INLINE(int) git_hash_update(git_hash_ctx *ctx, const void *data, size_t len)
/*
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/git2.dir/src/hash/hash_generic.c.o] Error 1
make[1]: *** [CMakeFiles/git2.dir/all] Error 2
make: *** [all] Error 2
rake aborted!
RAKE TASK FAILED: mkdir -p External/libgit2/build && \
cd External/libgit2/build && \
cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_CLAR:BOOL=OFF -DTHREADSAFE:BOOL=ON ..
cmake --build .
/Users/erg/sedit/deps/Gift/Scripts/helpers.rb:3:in `run'
Scripts/build_osx.rake:22:in `block (3 levels) in <top (required)>'
Tasks: TOP => build => build:osx => build:osx:libgit2
(See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
rake dependencies build
is broken on my Mac. I haven't tried to debug it yet.Just a
git clone
and thenrake dependencies build
.The text was updated successfully, but these errors were encountered: