Created
October 23, 2018 08:23
-
-
Save thesunwave/2e99235ad7f0cb87c3e826ebbb361b34 to your computer and use it in GitHub Desktop.
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
Fetching scrypt 2.0.2 | |
Installing scrypt 2.0.2 with native extensions | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: /Users/thesunwave/.rvm/gems/ruby-2.3.5/gems/scrypt-2.0.2/ext/scrypt | |
/Users/thesunwave/.rvm/rubies/ruby-2.3.5/bin/ruby -rrubygems /Users/thesunwave/.rvm/gems/ruby-2.3.5/gems/rake-10.5.0/bin/rake | |
RUBYARCHDIR=/Users/thesunwave/.rvm/gems/ruby-2.3.5/extensions/x86_64-darwin-18/2.3.0/scrypt-2.0.2 | |
RUBYLIBDIR=/Users/thesunwave/.rvm/gems/ruby-2.3.5/extensions/x86_64-darwin-18/2.3.0/scrypt-2.0.2 | |
mkdir -p x86_64-darwin | |
/Users/thesunwave/.rvm/rubies/ruby-2.3.5/bin/ruby -I/Users/thesunwave/.rvm/gems/ruby-2.3.5/gems/ffi-compiler-0.1.3/lib/ffi-compiler/fake_ffi | |
/Users/thesunwave/.rvm/gems/ruby-2.3.5/gems/ffi-compiler-0.1.3/lib/ffi-compiler/exporter.rb ../../lib/scrypt/scrypt_ext.rb ./scrypt_ext.h | |
/Users/thesunwave/.rvm/gems/ruby-2.3.5/gems/rake-10.5.0/lib/rake/file_utils.rb:82: warning: Insecure world writable dir /usr/local/sbin in PATH, mode 040777 | |
gcc-4.2 -fexceptions -O -fno-omit-frame-pointer -fno-strict-aliasing -Wall -msse -msse2 -arch x86_64 -arch i386 -o x86_64-darwin/crypto_scrypt-sse.o -c | |
./crypto_scrypt-sse.c | |
couldn't understand kern.osversion `18.0.0' | |
./crypto_scrypt-sse.c:31:23: error: sys/types.h: No such file or directory | |
./crypto_scrypt-sse.c:33:22: error: sys/mman.h: No such file or directory | |
In file included from /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/xmmintrin.h:45, | |
from /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/emmintrin.h:35, | |
from ./crypto_scrypt-sse.c:36: | |
/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:30:20: error: stdlib.h: No such file or directory | |
/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:31:19: error: errno.h: No such file or directory | |
In file included from /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/xmmintrin.h:45, | |
from /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/emmintrin.h:35, | |
from ./crypto_scrypt-sse.c:36: | |
/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:34: error: expected ‘)’ before ‘size’ | |
./crypto_scrypt-sse.c:38:20: error: stdint.h: No such file or directory | |
./crypto_scrypt-sse.c:40:20: error: string.h: No such file or directory | |
In file included from ./crypto_scrypt-sse.c:42: | |
./sha256.h:37: error: expected specifier-qualifier-list before ‘uint32_t’ | |
./sha256.h:48: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./sha256.h:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./sha256.h:51: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./sha256.h:59: warning: type defaults to ‘int’ in declaration of ‘uint8_t’ | |
./sha256.h:59: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
In file included from ./crypto_scrypt-sse.c:43: | |
./sysendian.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32dec’ | |
./sysendian.h:57: error: expected declaration specifiers or ‘...’ before ‘uint32_t’ | |
./sysendian.h: In function ‘be32enc’: | |
./sysendian.h:59: error: ‘uint8_t’ undeclared (first use in this function) | |
./sysendian.h:59: error: (Each undeclared identifier is reported only once | |
./sysendian.h:59: error: for each function it appears in.) | |
./sysendian.h:59: error: ‘p’ undeclared (first use in this function) | |
./sysendian.h:59: error: expected expression before ‘)’ token | |
./sysendian.h:61: error: ‘x’ undeclared (first use in this function) | |
./sysendian.h: At top level: | |
./sysendian.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be64dec’ | |
./sysendian.h:79: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ | |
./sysendian.h: In function ‘be64enc’: | |
./sysendian.h:81: error: ‘uint8_t’ undeclared (first use in this function) | |
./sysendian.h:81: error: ‘p’ undeclared (first use in this function) | |
./sysendian.h:81: error: expected expression before ‘)’ token | |
./sysendian.h:83: error: ‘x’ undeclared (first use in this function) | |
./sysendian.h: At top level: | |
./sysendian.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32dec’ | |
./sysendian.h:103: error: expected declaration specifiers or ‘...’ before ‘uint32_t’ | |
./sysendian.h: In function ‘le32enc’: | |
./sysendian.h:105: error: ‘uint8_t’ undeclared (first use in this function) | |
./sysendian.h:105: error: ‘p’ undeclared (first use in this function) | |
./sysendian.h:105: error: expected expression before ‘)’ token | |
./sysendian.h:107: error: ‘x’ undeclared (first use in this function) | |
./sysendian.h: At top level: | |
./sysendian.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le64dec’ | |
./sysendian.h:125: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ | |
./sysendian.h: In function ‘le64enc’: | |
./sysendian.h:127: error: ‘uint8_t’ undeclared (first use in this function) | |
./sysendian.h:127: error: ‘p’ undeclared (first use in this function) | |
./sysendian.h:127: error: expected expression before ‘)’ token | |
./sysendian.h:129: error: ‘x’ undeclared (first use in this function) | |
In file included from ./crypto_scrypt-sse.c:45: | |
./crypto_scrypt.h: At top level: | |
./crypto_scrypt.h:43: warning: type defaults to ‘int’ in declaration of ‘uint8_t’ | |
./crypto_scrypt.h:43: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
./crypto_scrypt-sse.c:47: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c:48: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘integerify’ | |
./crypto_scrypt-sse.c:52: error: expected ‘)’ before ‘*’ token | |
./crypto_scrypt-sse.c:55: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c: In function ‘blkcpy’: | |
./crypto_scrypt-sse.c:59: error: ‘size_t’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:59: error: expected ‘;’ before ‘L’ | |
./crypto_scrypt-sse.c:60: error: expected ‘;’ before ‘i’ | |
./crypto_scrypt-sse.c:62: error: ‘i’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:62: error: ‘L’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c: At top level: | |
./crypto_scrypt-sse.c:67: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c: In function ‘blkxor’: | |
./crypto_scrypt-sse.c:71: error: ‘size_t’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:71: error: expected ‘;’ before ‘L’ | |
./crypto_scrypt-sse.c:72: error: expected ‘;’ before ‘i’ | |
./crypto_scrypt-sse.c:74: error: ‘i’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:74: error: ‘L’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c: In function ‘salsa20_8’: | |
./crypto_scrypt-sse.c:87: error: ‘size_t’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:87: error: expected ‘;’ before ‘i’ | |
./crypto_scrypt-sse.c:94: error: ‘i’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c: At top level: | |
./crypto_scrypt-sse.c:147: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c: In function ‘blockmix_salsa8’: | |
./crypto_scrypt-sse.c:149: error: ‘size_t’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:149: error: expected ‘;’ before ‘i’ | |
./crypto_scrypt-sse.c:152: error: ‘r’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:152: error: too many arguments to function ‘blkcpy’ | |
./crypto_scrypt-sse.c:155: error: ‘i’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:157: error: too many arguments to function ‘blkxor’ | |
./crypto_scrypt-sse.c:162: error: too many arguments to function ‘blkcpy’ | |
./crypto_scrypt-sse.c:165: error: too many arguments to function ‘blkxor’ | |
./crypto_scrypt-sse.c:170: error: too many arguments to function ‘blkcpy’ | |
./crypto_scrypt-sse.c: At top level: | |
./crypto_scrypt-sse.c:179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘integerify’ | |
./crypto_scrypt-sse.c:195: error: expected ‘)’ before ‘*’ token | |
./crypto_scrypt-sse.c:264: warning: type defaults to ‘int’ in declaration of ‘uint8_t’ | |
./crypto_scrypt-sse.c:264: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
couldn't understand kern.osversion `18.0.0' | |
./crypto_scrypt-sse.c:31:23: error: sys/types.h: No such file or directory | |
./crypto_scrypt-sse.c:33:22: error: sys/mman.h: No such file or directory | |
In file included from /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/xmmintrin.h:45, | |
from /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/emmintrin.h:35, | |
from ./crypto_scrypt-sse.c:36: | |
/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:30:20: error: stdlib.h: No such file or directory | |
/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:31:19: error: errno.h: No such file or directory | |
In file included from /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/xmmintrin.h:45, | |
from /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/emmintrin.h:35, | |
from ./crypto_scrypt-sse.c:36: | |
/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:34: error: expected ‘)’ before ‘size’ | |
./crypto_scrypt-sse.c:38:20: error: stdint.h: No such file or directory | |
./crypto_scrypt-sse.c:40:20: error: string.h: No such file or directory | |
In file included from ./crypto_scrypt-sse.c:42: | |
./sha256.h:37: error: expected specifier-qualifier-list before ‘uint32_t’ | |
./sha256.h:48: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./sha256.h:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./sha256.h:51: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./sha256.h:59: warning: type defaults to ‘int’ in declaration of ‘uint8_t’ | |
./sha256.h:59: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
In file included from ./crypto_scrypt-sse.c:43: | |
./sysendian.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32dec’ | |
./sysendian.h:57: error: expected declaration specifiers or ‘...’ before ‘uint32_t’ | |
./sysendian.h: In function ‘be32enc’: | |
./sysendian.h:59: error: ‘uint8_t’ undeclared (first use in this function) | |
./sysendian.h:59: error: (Each undeclared identifier is reported only once | |
./sysendian.h:59: error: for each function it appears in.) | |
./sysendian.h:59: error: ‘p’ undeclared (first use in this function) | |
./sysendian.h:59: error: expected expression before ‘)’ token | |
./sysendian.h:61: error: ‘x’ undeclared (first use in this function) | |
./sysendian.h: At top level: | |
./sysendian.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be64dec’ | |
./sysendian.h:79: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ | |
./sysendian.h: In function ‘be64enc’: | |
./sysendian.h:81: error: ‘uint8_t’ undeclared (first use in this function) | |
./sysendian.h:81: error: ‘p’ undeclared (first use in this function) | |
./sysendian.h:81: error: expected expression before ‘)’ token | |
./sysendian.h:83: error: ‘x’ undeclared (first use in this function) | |
./sysendian.h: At top level: | |
./sysendian.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32dec’ | |
./sysendian.h:103: error: expected declaration specifiers or ‘...’ before ‘uint32_t’ | |
./sysendian.h: In function ‘le32enc’: | |
./sysendian.h:105: error: ‘uint8_t’ undeclared (first use in this function) | |
./sysendian.h:105: error: ‘p’ undeclared (first use in this function) | |
./sysendian.h:105: error: expected expression before ‘)’ token | |
./sysendian.h:107: error: ‘x’ undeclared (first use in this function) | |
./sysendian.h: At top level: | |
./sysendian.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le64dec’ | |
./sysendian.h:125: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ | |
./sysendian.h: In function ‘le64enc’: | |
./sysendian.h:127: error: ‘uint8_t’ undeclared (first use in this function) | |
./sysendian.h:127: error: ‘p’ undeclared (first use in this function) | |
./sysendian.h:127: error: expected expression before ‘)’ token | |
./sysendian.h:129: error: ‘x’ undeclared (first use in this function) | |
In file included from ./crypto_scrypt-sse.c:45: | |
./crypto_scrypt.h: At top level: | |
./crypto_scrypt.h:43: warning: type defaults to ‘int’ in declaration of ‘uint8_t’ | |
./crypto_scrypt.h:43: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
./crypto_scrypt-sse.c:47: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c:48: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘integerify’ | |
./crypto_scrypt-sse.c:52: error: expected ‘)’ before ‘*’ token | |
./crypto_scrypt-sse.c:55: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c: In function ‘blkcpy’: | |
./crypto_scrypt-sse.c:59: error: ‘size_t’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:59: error: expected ‘;’ before ‘L’ | |
./crypto_scrypt-sse.c:60: error: expected ‘;’ before ‘i’ | |
./crypto_scrypt-sse.c:62: error: ‘i’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:62: error: ‘L’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c: At top level: | |
./crypto_scrypt-sse.c:67: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c: In function ‘blkxor’: | |
./crypto_scrypt-sse.c:71: error: ‘size_t’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:71: error: expected ‘;’ before ‘L’ | |
./crypto_scrypt-sse.c:72: error: expected ‘;’ before ‘i’ | |
./crypto_scrypt-sse.c:74: error: ‘i’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:74: error: ‘L’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c: In function ‘salsa20_8’: | |
./crypto_scrypt-sse.c:87: error: ‘size_t’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:87: error: expected ‘;’ before ‘i’ | |
./crypto_scrypt-sse.c:94: error: ‘i’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c: At top level: | |
./crypto_scrypt-sse.c:147: error: expected declaration specifiers or ‘...’ before ‘size_t’ | |
./crypto_scrypt-sse.c: In function ‘blockmix_salsa8’: | |
./crypto_scrypt-sse.c:149: error: ‘size_t’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:149: error: expected ‘;’ before ‘i’ | |
./crypto_scrypt-sse.c:152: error: ‘r’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:152: error: too many arguments to function ‘blkcpy’ | |
./crypto_scrypt-sse.c:155: error: ‘i’ undeclared (first use in this function) | |
./crypto_scrypt-sse.c:157: error: too many arguments to function ‘blkxor’ | |
./crypto_scrypt-sse.c:162: error: too many arguments to function ‘blkcpy’ | |
./crypto_scrypt-sse.c:165: error: too many arguments to function ‘blkxor’ | |
./crypto_scrypt-sse.c:170: error: too many arguments to function ‘blkcpy’ | |
./crypto_scrypt-sse.c: At top level: | |
./crypto_scrypt-sse.c:179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘integerify’ | |
./crypto_scrypt-sse.c:195: error: expected ‘)’ before ‘*’ token | |
./crypto_scrypt-sse.c:264: warning: type defaults to ‘int’ in declaration of ‘uint8_t’ | |
./crypto_scrypt-sse.c:264: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token | |
fatal error: /Library/Developer/CommandLineTools/usr/bin/lipo: can't figure out the architecture type of: /var/folders/yj/1ff5pgdj5c3dh5sq_23zbkmm0000gn/T//ccSBMa6T.out | |
rake aborted! | |
Command failed with status (1): [gcc-4.2 -fexceptions -O -fno-omit-frame-po...] | |
/Users/thesunwave/.rvm/gems/ruby-2.3.5/gems/ffi-compiler-0.1.3/lib/ffi-compiler/compile_task.rb:114:in `block (2 levels) in define_task!' | |
Tasks: TOP => default => x86_64-darwin/libscrypt_ext.bundle => x86_64-darwin/crypto_scrypt-sse.o | |
(See full trace by running task with --trace) | |
rake failed, exit code 1 | |
Gem files will remain installed in /Users/thesunwave/.rvm/gems/ruby-2.3.5/gems/scrypt-2.0.2 for inspection. | |
Results logged to /Users/thesunwave/.rvm/gems/ruby-2.3.5/extensions/x86_64-darwin-18/2.3.0/scrypt-2.0.2/gem_make.out | |
An error occurred while installing scrypt (2.0.2), and Bundler cannot continue. | |
Make sure that `gem install scrypt -v '2.0.2'` succeeds before bundling. | |
In Gemfile: | |
authlogic was resolved to 3.4.6, which depends on | |
scrypt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment