Created
October 5, 2013 00:01
-
-
Save chrismanderson/6834809 to your computer and use it in GitHub Desktop.
thrift mavericks stack trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
→ cat /Users/chris/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/thrift-0.9.1/ext/gem_make.out | |
/Users/chris/.rbenv/versions/1.9.3-p448/bin/ruby extconf.rb | |
extconf.rb:25: Use RbConfig instead of obsolete and deprecated Config. | |
checking for strlcpy() in string.h... yes | |
creating Makefile | |
make | |
compiling binary_protocol_accelerated.c | |
compiling bytes.c | |
compiling compact_protocol.c | |
compiling memory_buffer.c | |
compiling protocol.c | |
compiling strlcpy.c | |
In file included from strlcpy.c:20: | |
./strlcpy.h:28:15: error: expected parameter declarator | |
extern size_t strlcpy(char *, const char *, size_t); | |
^ | |
/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' | |
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) | |
^ | |
/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' | |
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) | |
^ | |
/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' | |
# define _USE_FORTIFY_LEVEL 2 | |
^ | |
In file included from strlcpy.c:20: | |
./strlcpy.h:28:15: error: expected ')' | |
/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' | |
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) | |
^ | |
/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' | |
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) | |
^ | |
/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' | |
# define _USE_FORTIFY_LEVEL 2 | |
^ | |
./strlcpy.h:28:15: note: to match this '(' | |
/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' | |
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) | |
^ | |
/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' | |
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) | |
^ | |
In file included from strlcpy.c:20: | |
./strlcpy.h:28:15: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] | |
extern size_t strlcpy(char *, const char *, size_t); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy' | |
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) | |
^~~~~~~~~~~~~~~~~~~~ | |
/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' | |
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) | |
^~~~~~~~~~~~~~~~~~~~~ | |
In file included from strlcpy.c:20: | |
./strlcpy.h:28:15: error: conflicting types for '__builtin___strlcpy_chk' | |
/usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' | |
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) | |
^ | |
./strlcpy.h:28:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' | |
/usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy' | |
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest)) | |
^ | |
4 errors generated. | |
make: *** [strlcpy.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@acib708 there's a workaround in the relevant Jira issue.