Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.84 KB | None | 0 0
  1. vallo@ubuntu:~/Scopic/share911/lambda/usersApi$ yarn
  2. yarn install v1.16.0
  3. [1/4] Resolving packages...
  4. [2/4] Fetching packages...
  5. [3/4] Linking dependencies...
  6. warning " > @sanjo/serverless-webpack-plugin@0.5.0" has unmet peer dependency "webpack@^1.13.1".
  7. warning " > serverless-plugin-aws-alerts@1.2.4" has unmet peer dependency "serverless@^1.12.0".
  8. [4/4] Building fresh packages...
  9. error /home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt: Command failed.
  10. Exit code: 1
  11. Command: node-pre-gyp install --fallback-to-build
  12. Arguments:
  13. Directory: /home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt
  14. Output:
  15. node-pre-gyp info it worked if it ends with ok
  16. node-pre-gyp info using node-pre-gyp@0.10.2
  17. node-pre-gyp info using node@8.15.1 | linux | x64
  18. node-pre-gyp info check checked for "/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/lib/binding/bcrypt_lib.node" (not found)
  19. node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.0/bcrypt_lib-v3.0.0-node-v57-linux-x64-glibc.tar.gz
  20. node-pre-gyp http 302 https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.0/bcrypt_lib-v3.0.0-node-v57-linux-x64-glibc.tar.gz
  21. node-pre-gyp WARN Pre-built binaries not installable for bcrypt@3.0.0 and node@8.15.1 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
  22. node-pre-gyp WARN Hit error Remote end closed socket abruptly.
  23. gyp info it worked if it ends with ok
  24. gyp info using node-gyp@3.8.0
  25. gyp info using node@8.15.1 | linux | x64
  26. gyp info ok
  27. gyp info it worked if it ends with ok
  28. gyp info using node-gyp@3.8.0
  29. gyp info using node@8.15.1 | linux | x64
  30. gyp info spawn /usr/bin/python2
  31. gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
  32. gyp info spawn args 'binding.gyp',
  33. gyp info spawn args '-f',
  34. gyp info spawn args 'make',
  35. gyp info spawn args '-I',
  36. gyp info spawn args '/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/build/config.gypi',
  37. gyp info spawn args '-I',
  38. gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
  39. gyp info spawn args '-I',
  40. gyp info spawn args '/home/vallo/.node-gyp/8.15.1/include/node/common.gypi',
  41. gyp info spawn args '-Dlibrary=shared_library',
  42. gyp info spawn args '-Dvisibility=default',
  43. gyp info spawn args '-Dnode_root_dir=/home/vallo/.node-gyp/8.15.1',
  44. gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
  45. gyp info spawn args '-Dnode_lib_file=/home/vallo/.node-gyp/8.15.1/<(target_arch)/node.lib',
  46. gyp info spawn args '-Dmodule_root_dir=/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt',
  47. gyp info spawn args '-Dnode_engine=v8',
  48. gyp info spawn args '--depth=.',
  49. gyp info spawn args '--no-parallel',
  50. gyp info spawn args '--generator-output',
  51. gyp info spawn args 'build',
  52. gyp info spawn args '-Goutput_dir=.' ]
  53. gyp info ok
  54. gyp info it worked if it ends with ok
  55. gyp info using node-gyp@3.8.0
  56. gyp info using node@8.15.1 | linux | x64
  57. gyp info spawn make
  58. gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  59. make: Entering directory '/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/build'
  60. CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
  61. CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
  62. ../src/bcrypt.cc: In function ‘void encode_salt(char*, u_int8_t*, char, u_int16_t, u_int8_t)’:
  63. ../src/bcrypt.cc:114:1: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  64. encode_salt(char *salt, u_int8_t *csalt, char minor, u_int16_t clen, u_int8_t logr)
  65. ^~~~~~~~~~~
  66. In file included from /usr/include/stdio.h:862:0,
  67. from ../src/bcrypt.cc:34:
  68. /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output between 4 and 5 bytes into a destination of size 4
  69. __bos (__s), __fmt, __va_arg_pack ());
  70. ^
  71. ../src/bcrypt.cc: In function ‘void bcrypt(const char*, const char*, char*)’:
  72. ../src/bcrypt.cc:147:1: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  73. bcrypt(const char *key, const char *salt, char *encrypted)
  74. ^~~~~~
  75. In file included from /usr/include/stdio.h:862:0,
  76. from ../src/bcrypt.cc:34:
  77. /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output between 4 and 5 bytes into a destination of size 4
  78. __bos (__s), __fmt, __va_arg_pack ());
  79. ^
  80. CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
  81. node-pre-gyp http 200 https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.0/bcrypt_lib-v3.0.0-node-v57-linux-x64-glibc.tar.gz
  82. node-pre-gyp info install unpacking binding/bcrypt_lib.node
  83. node-pre-gyp WARN Pre-built binaries not installable for bcrypt@3.0.0 and node@8.15.1 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
  84. node-pre-gyp WARN Hit error bad download
  85. gyp info it worked if it ends with ok
  86. gyp info using node-gyp@3.8.0
  87. gyp info using node@8.15.1 | linux | x64
  88. gyp info ok
  89. gyp info it worked if it ends with ok
  90. gyp info using node-gyp@3.8.0
  91. gyp info using node@8.15.1 | linux | x64
  92. gyp info spawn /usr/bin/python2
  93. gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
  94. gyp info spawn args 'binding.gyp',
  95. gyp info spawn args '-f',
  96. gyp info spawn args 'make',
  97. gyp info spawn args '-I',
  98. gyp info spawn args '/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/build/config.gypi',
  99. gyp info spawn args '-I',
  100. gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
  101. gyp info spawn args '-I',
  102. gyp info spawn args '/home/vallo/.node-gyp/8.15.1/include/node/common.gypi',
  103. gyp info spawn args '-Dlibrary=shared_library',
  104. gyp info spawn args '-Dvisibility=default',
  105. gyp info spawn args '-Dnode_root_dir=/home/vallo/.node-gyp/8.15.1',
  106. gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
  107. gyp info spawn args '-Dnode_lib_file=/home/vallo/.node-gyp/8.15.1/<(target_arch)/node.lib',
  108. gyp info spawn args '-Dmodule_root_dir=/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt',
  109. gyp info spawn args '-Dnode_engine=v8',
  110. gyp info spawn args '--depth=.',
  111. gyp info spawn args '--no-parallel',
  112. gyp info spawn args '--generator-output',
  113. gyp info spawn args 'build',
  114. gyp info spawn args '-Goutput_dir=.' ]
  115. gyp info ok
  116. gyp info it worked if it ends with ok
  117. gyp info using node-gyp@3.8.0
  118. gyp info using node@8.15.1 | linux | x64
  119. gyp info spawn make
  120. gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  121. make: Entering directory '/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/build'
  122. CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
  123. ../src/bcrypt_node.cc:375:30: fatal error: opening dependency file ./Release/.deps/Release/obj.target/bcrypt_lib/src/bcrypt_node.o.d.raw: No such file or directory
  124. NODE_MODULE(bcrypt_lib, init);
  125. ^
  126. compilation terminated.
  127. bcrypt_lib.target.mk:103: recipe for target 'Release/obj.target/bcrypt_lib/src/bcrypt_node.o' failed
  128. make: Leaving directory '/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/build'
  129. make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1
  130. gyp ERR! build error
  131. gyp ERR! stack Error: `make` failed with exit code: 2
  132. gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
  133. gyp ERR! stack at emitTwo (events.js:126:13)
  134. gyp ERR! stack at ChildProcess.emit (events.js:214:7)
  135. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
  136. gyp ERR! System Linux 4.18.0-24-generic
  137. gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/lib/binding" "--napi_version=3" "--node_abi_napi=napi"
  138. gyp ERR! cwd /home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt
  139. gyp ERR! node -v v8.15.1
  140. gyp ERR! node-gyp -v v3.8.0
  141. gyp ERR! not ok
  142. node-pre-gyp ERR! build error
  143. node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/lib/binding --napi_version=3 --node_abi_napi=napi' (1)
  144. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/vallo/Scopic/share911/lambda/usersApi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  145. node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
  146. node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
  147. node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
  148. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
  149. node-pre-gyp ERR! System Linux 4.18.0-24-generic
  150. node-pre-gyp ERR! command "/usr/local/bin/node" "/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  151. node-pre-gyp ERR! cwd /home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt
  152. node-pre-gyp ERR! node -v v8.15.1
  153. node-pre-gyp ERR! node-pre-gyp -v v0.10.2
  154. node-pre-gyp ERR! not ok
  155. Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/lib/binding --napi_version=3 --node_abi_napi=napi' (1)
  156. CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
  157. ../src/bcrypt.cc: In function ‘void encode_salt(char*, u_int8_t*, char, u_int16_t, u_int8_t)’:
  158. ../src/bcrypt.cc:114:1: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  159. encode_salt(char *salt, u_int8_t *csalt, char minor, u_int16_t clen, u_int8_t logr)
  160. ^~~~~~~~~~~
  161. In file included from /usr/include/stdio.h:862:0,
  162. from ../src/bcrypt.cc:34:
  163. /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output between 4 and 5 bytes into a destination of size 4
  164. __bos (__s), __fmt, __va_arg_pack ());
  165. ^
  166. ../src/bcrypt.cc: In function ‘void bcrypt(const char*, const char*, char*)’:
  167. ../src/bcrypt.cc:147:1: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  168. bcrypt(const char *key, const char *salt, char *encrypted)
  169. ^~~~~~
  170. In file included from /usr/include/stdio.h:862:0,
  171. from ../src/bcrypt.cc:34:
  172. /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output between 4 and 5 bytes into a destination of size 4
  173. __bos (__s), __fmt, __va_arg_pack ());
  174. ^
  175. CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
  176. SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
  177. COPY Release/bcrypt_lib.node
  178. COPY /home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/lib/binding/bcrypt_lib.node
  179. TOUCH Release/obj.target/action_after_build.stamp
  180. make: Leaving directory '/home/vallo/Scopic/share911/lambda/usersApi/node_modules/bcrypt/build'
  181. gyp info ok
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement