Created
August 6, 2014 16:52
-
-
Save mverzilli/a54b3b475d2b6741d78d to your computer and use it in GitHub Desktop.
Error while bundle install'ing
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
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/Users/mverzilli/.rbenv/versions/1.9.3-p484/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 | |
Gem files will remain installed in /Users/mverzilli/Documents/work/repos/resource_map/.bundle/ruby/1.9.1/gems/thrift-0.9.1 for inspection. | |
Results logged to /Users/mverzilli/Documents/work/repos/resource_map/.bundle/ruby/1.9.1/gems/thrift-0.9.1/ext/gem_make.out | |
An error occurred while installing thrift (0.9.1), and Bundler cannot continue. | |
Make sure that `gem install thrift -v '0.9.1'` succeeds before bundling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment