Advertisement
Guest User

wire-desktop_manjaro

a guest
Apr 26th, 2018
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 65.98 KB | None | 0 0
  1. > wireinternal@ rebuild-native-modules /home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron
  2. > node ./rebuild-native-modules.js "electron-rebuild" "-f -m ./"
  3.  
  4. ✖ Rebuild Failed
  5.  
  6. An unhandled error occurred inside electron-rebuild
  7. make: Entering directory '/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/node-addressbook/build'
  8.   CXX(target) Release/obj.target/electron-addressbook/AddressBook.o
  9.   CXX(target) Release/obj.target/electron-addressbook/Person.o
  10.   CXX(target) Release/obj.target/electron-addressbook/wrapper.o
  11. In file included from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:42:0,
  12.                  from ../../nan/nan.h:51,
  13.                  from ../wrapper.cc:18:
  14. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/v8/include/v8.h:15:0: error: unterminated #ifndef
  15.  #ifndef INCLUDE_V8_H_
  16.  
  17. In file included from ../wrapper.cc:18:0:
  18. ../../nan/nan.h:135:0: warning: "TYPE_CHECK" redefined
  19.  #define TYPE_CHECK(T, S)                                                       \
  20.  
  21. In file included from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:42:0,
  22.                  from ../../nan/nan.h:51,
  23.                  from ../wrapper.cc:18:
  24. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/v8/include/v8.h:184:0: note: this is the location of the previous definition
  25.  #define TYPE_CHECK(T, S)                                       \
  26.  
  27. In file included from ../../nan/nan.h:51:0,
  28.                  from ../wrapper.cc:18:
  29. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:76:8: error: two or more data types in declaration of ‘parameter’
  30.  struct uv_loop_s;
  31.         ^~~~~~~~~
  32. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:76:17: error: expected ‘)’ before ‘;’ token
  33.  struct uv_loop_s;
  34.                  ^
  35. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:80:1: error: expected unqualified-id before ‘namespace’
  36.  namespace node {
  37.  ^~~~~~~~~
  38. In file included from /usr/include/features.h:423:0,
  39.                  from /usr/include/errno.h:25,
  40.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv-errno.h:25,
  41.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv.h:48,
  42.                  from ../../nan/nan.h:50,
  43.                  from ../wrapper.cc:18:
  44. /usr/include/assert.h:64:1: error: expected unqualified-id before string constant
  45.  __BEGIN_DECLS
  46.  ^
  47. In file included from ../../nan/nan.h:51:0,
  48.                  from ../wrapper.cc:18:
  49. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:179:1: error: expected unqualified-id before ‘namespace’
  50.  namespace node {
  51.  ^~~~~~~~~
  52. In file included from ../../nan/nan.h:52:0,
  53.                  from ../wrapper.cc:18:
  54. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node_buffer.h:7:1: error: expected unqualified-id before ‘namespace’
  55.  namespace node {
  56.  ^~~~~~~~~
  57. In file included from /usr/include/features.h:423:0,
  58.                  from /usr/include/errno.h:25,
  59.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv-errno.h:25,
  60.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv.h:48,
  61.                  from ../../nan/nan.h:50,
  62.                  from ../wrapper.cc:18:
  63. /usr/include/assert.h:64:1: error: expected unqualified-id before string constant
  64.  __BEGIN_DECLS
  65.  ^
  66. In file included from ../../nan/nan.h:53:0,
  67.                  from ../wrapper.cc:18:
  68. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node_object_wrap.h:8:1: error: expected unqualified-id before ‘namespace’
  69.  namespace node {
  70.  ^~~~~~~~~
  71. In file included from /usr/include/c++/7.3.1/bits/stl_algo.h:60:0,
  72.                  from /usr/include/c++/7.3.1/algorithm:62,
  73.                  from ../../nan/nan.h:54,
  74.                  from ../wrapper.cc:18:
  75. /usr/include/c++/7.3.1/bits/algorithmfwd.h:42:1: error: expected unqualified-id before ‘namespace’
  76.  namespace std _GLIBCXX_VISIBILITY(default)
  77.  ^~~~~~~~~
  78. In file included from /usr/include/c++/7.3.1/bits/stl_algo.h:61:0,
  79.                  from /usr/include/c++/7.3.1/algorithm:62,
  80.                  from ../../nan/nan.h:54,
  81.                  from ../wrapper.cc:18:
  82. /usr/include/c++/7.3.1/bits/stl_heap.h:62:1: error: expected unqualified-id before ‘namespace’
  83.  namespace std _GLIBCXX_VISIBILITY(default)
  84.  ^~~~~~~~~
  85. In file included from /usr/include/c++/7.3.1/bits/uniform_int_dist.h:35:0,
  86.                  from /usr/include/c++/7.3.1/bits/stl_algo.h:66,
  87.                  from /usr/include/c++/7.3.1/algorithm:62,
  88.                  from ../../nan/nan.h:54,
  89.                  from ../wrapper.cc:18:
  90. /usr/include/c++/7.3.1/limits:158:1: error: expected unqualified-id before ‘namespace’
  91.  namespace std _GLIBCXX_VISIBILITY(default)
  92.  ^~~~~~~~~
  93. In file included from /usr/include/c++/7.3.1/bits/stl_algo.h:66:0,
  94.                  from /usr/include/c++/7.3.1/algorithm:62,
  95.                  from ../../nan/nan.h:54,
  96.                  from ../wrapper.cc:18:
  97. /usr/include/c++/7.3.1/bits/uniform_int_dist.h:37:1: error: expected unqualified-id before ‘namespace’
  98.  namespace std _GLIBCXX_VISIBILITY(default)
  99.  ^~~~~~~~~
  100. In file included from /usr/include/c++/7.3.1/algorithm:62:0,
  101.                  from ../../nan/nan.h:54,
  102.                  from ../wrapper.cc:18:
  103. /usr/include/c++/7.3.1/bits/stl_algo.h:71:1: error: expected unqualified-id before ‘namespace’
  104.  namespace std _GLIBCXX_VISIBILITY(default)
  105.  ^~~~~~~~~
  106. In file included from /usr/include/features.h:423:0,
  107.                  from /usr/include/errno.h:25,
  108.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv-errno.h:25,
  109.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv.h:48,
  110.                  from ../../nan/nan.h:50,
  111.                  from ../wrapper.cc:18:
  112. /usr/include/string.h:28:1: error: expected unqualified-id before string constant
  113.  __BEGIN_DECLS
  114.  ^
  115. In file included from ../../nan/nan.h:55:0,
  116.                  from ../wrapper.cc:18:
  117. /usr/include/c++/7.3.1/cstring:71:1: error: expected unqualified-id before ‘namespace’
  118.  namespace std _GLIBCXX_VISIBILITY(default)
  119.  ^~~~~~~~~
  120. In file included from /usr/include/c++/7.3.1/deque:64:0,
  121.                  from /usr/include/c++/7.3.1/queue:60,
  122.                  from ../../nan/nan.h:67,
  123.                  from ../wrapper.cc:18:
  124. /usr/include/c++/7.3.1/bits/stl_deque.h:68:1: error: expected unqualified-id before ‘namespace’
  125.  namespace std _GLIBCXX_VISIBILITY(default)
  126.  ^~~~~~~~~
  127. In file included from /usr/include/c++/7.3.1/deque:66:0,
  128.                  from /usr/include/c++/7.3.1/queue:60,
  129.                  from ../../nan/nan.h:67,
  130.                  from ../wrapper.cc:18:
  131. /usr/include/c++/7.3.1/bits/deque.tcc:59:1: error: expected unqualified-id before ‘namespace’
  132.  namespace std _GLIBCXX_VISIBILITY(default)
  133.  ^~~~~~~~~
  134. In file included from /usr/include/c++/7.3.1/queue:64:0,
  135.                  from ../../nan/nan.h:67,
  136.                  from ../wrapper.cc:18:
  137. /usr/include/c++/7.3.1/bits/stl_queue.h:65:1: error: expected unqualified-id before ‘namespace’
  138.  namespace std _GLIBCXX_VISIBILITY(default)
  139.  ^~~~~~~~~
  140. In file included from ../wrapper.cc:18:0:
  141. ../../nan/nan.h:92:1: error: expected unqualified-id before ‘namespace’
  142.  namespace Nan {
  143.  ^~~~~~~~~
  144. In file included from /usr/include/c++/7.3.1/functional:58:0,
  145.                  from ../wrapper.cc:19:
  146. /usr/include/c++/7.3.1/bits/std_function.h:47:1: error: expected unqualified-id before ‘namespace’
  147.  namespace std _GLIBCXX_VISIBILITY(default)
  148.  ^~~~~~~~~
  149. In file included from ../wrapper.cc:19:0:
  150. /usr/include/c++/7.3.1/functional:67:1: error: expected unqualified-id before ‘namespace’
  151.  namespace std _GLIBCXX_VISIBILITY(default)
  152.  ^~~~~~~~~
  153. In file included from /usr/include/c++/7.3.1/bits/ios_base.h:41:0,
  154.                  from /usr/include/c++/7.3.1/ios:42,
  155.                  from /usr/include/c++/7.3.1/ostream:38,
  156.                  from /usr/include/c++/7.3.1/iostream:39,
  157.                  from ../wrapper.cc:20:
  158. /usr/include/c++/7.3.1/bits/locale_classes.h:43:1: error: expected unqualified-id before ‘namespace’
  159.  namespace std _GLIBCXX_VISIBILITY(default)
  160.  ^~~~~~~~~
  161. In file included from /usr/include/c++/7.3.1/bits/locale_classes.h:851:0,
  162.                  from /usr/include/c++/7.3.1/bits/ios_base.h:41,
  163.                  from /usr/include/c++/7.3.1/ios:42,
  164.                  from /usr/include/c++/7.3.1/ostream:38,
  165.                  from /usr/include/c++/7.3.1/iostream:39,
  166.                  from ../wrapper.cc:20:
  167. /usr/include/c++/7.3.1/bits/locale_classes.tcc:39:1: error: expected unqualified-id before ‘namespace’
  168.  namespace std _GLIBCXX_VISIBILITY(default)
  169.  ^~~~~~~~~
  170. In file included from /usr/include/c++/7.3.1/system_error:39:0,
  171.                  from /usr/include/c++/7.3.1/bits/ios_base.h:46,
  172.                  from /usr/include/c++/7.3.1/ios:42,
  173.                  from /usr/include/c++/7.3.1/ostream:38,
  174.                  from /usr/include/c++/7.3.1/iostream:39,
  175.                  from ../wrapper.cc:20:
  176. /usr/include/c++/7.3.1/x86_64-pc-linux-gnu/bits/error_constants.h:36:1: error: expected unqualified-id before ‘namespace’
  177.  namespace std _GLIBCXX_VISIBILITY(default)
  178.  ^~~~~~~~~
  179. In file included from /usr/include/c++/7.3.1/bits/ios_base.h:46:0,
  180.                  from /usr/include/c++/7.3.1/ios:42,
  181.                  from /usr/include/c++/7.3.1/ostream:38,
  182.                  from /usr/include/c++/7.3.1/iostream:39,
  183.                  from ../wrapper.cc:20:
  184. /usr/include/c++/7.3.1/system_error:43:1: error: expected unqualified-id before ‘namespace’
  185.  namespace std _GLIBCXX_VISIBILITY(default)
  186.  ^~~~~~~~~
  187. /usr/include/c++/7.3.1/system_error:378:1: error: expected unqualified-id before ‘namespace’
  188.  namespace std _GLIBCXX_VISIBILITY(default)
  189.  ^~~~~~~~~
  190. In file included from /usr/include/c++/7.3.1/ios:42:0,
  191.                  from /usr/include/c++/7.3.1/ostream:38,
  192.                  from /usr/include/c++/7.3.1/iostream:39,
  193.                  from ../wrapper.cc:20:
  194. /usr/include/c++/7.3.1/bits/ios_base.h:49:1: error: expected unqualified-id before ‘namespace’
  195.  namespace std _GLIBCXX_VISIBILITY(default)
  196.  ^~~~~~~~~
  197. In file included from /usr/include/c++/7.3.1/ios:43:0,
  198.                  from /usr/include/c++/7.3.1/ostream:38,
  199.                  from /usr/include/c++/7.3.1/iostream:39,
  200.                  from ../wrapper.cc:20:
  201. /usr/include/c++/7.3.1/streambuf:45:1: error: expected unqualified-id before ‘namespace’
  202.  namespace std _GLIBCXX_VISIBILITY(default)
  203.  ^~~~~~~~~
  204. In file included from /usr/include/c++/7.3.1/streambuf:850:0,
  205.                  from /usr/include/c++/7.3.1/ios:43,
  206.                  from /usr/include/c++/7.3.1/ostream:38,
  207.                  from /usr/include/c++/7.3.1/iostream:39,
  208.                  from ../wrapper.cc:20:
  209. /usr/include/c++/7.3.1/bits/streambuf.tcc:39:1: error: expected unqualified-id before ‘namespace’
  210.  namespace std _GLIBCXX_VISIBILITY(default)
  211.  ^~~~~~~~~
  212. In file included from /usr/include/features.h:423:0,
  213.                  from /usr/include/errno.h:25,
  214.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv-errno.h:25,
  215.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv.h:48,
  216.                  from ../../nan/nan.h:50,
  217.                  from ../wrapper.cc:18:
  218. /usr/include/bits/wctype-wchar.h:87:1: error: expected unqualified-id before string constant
  219.  __BEGIN_DECLS
  220.  ^
  221. /usr/include/wctype.h:44:1: error: expected unqualified-id before string constant
  222.  __BEGIN_DECLS
  223.  ^
  224. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:39:0,
  225.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  226.                  from /usr/include/c++/7.3.1/ios:44,
  227.                  from /usr/include/c++/7.3.1/ostream:38,
  228.                  from /usr/include/c++/7.3.1/iostream:39,
  229.                  from ../wrapper.cc:20:
  230. /usr/include/c++/7.3.1/cwctype:80:1: error: expected unqualified-id before ‘namespace’
  231.  namespace std
  232.  ^~~~~~~~~
  233. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:41:0,
  234.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  235.                  from /usr/include/c++/7.3.1/ios:44,
  236.                  from /usr/include/c++/7.3.1/ostream:38,
  237.                  from /usr/include/c++/7.3.1/iostream:39,
  238.                  from ../wrapper.cc:20:
  239. /usr/include/c++/7.3.1/x86_64-pc-linux-gnu/bits/ctype_base.h:36:1: error: expected unqualified-id before ‘namespace’
  240.  namespace std _GLIBCXX_VISIBILITY(default)
  241.  ^~~~~~~~~
  242. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:48:0,
  243.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  244.                  from /usr/include/c++/7.3.1/ios:44,
  245.                  from /usr/include/c++/7.3.1/ostream:38,
  246.                  from /usr/include/c++/7.3.1/iostream:39,
  247.                  from ../wrapper.cc:20:
  248. /usr/include/c++/7.3.1/bits/streambuf_iterator.h:38:1: error: expected unqualified-id before ‘namespace’
  249.  namespace std _GLIBCXX_VISIBILITY(default)
  250.  ^~~~~~~~~
  251. In file included from /usr/include/c++/7.3.1/bits/basic_ios.h:37:0,
  252.                  from /usr/include/c++/7.3.1/ios:44,
  253.                  from /usr/include/c++/7.3.1/ostream:38,
  254.                  from /usr/include/c++/7.3.1/iostream:39,
  255.                  from ../wrapper.cc:20:
  256. /usr/include/c++/7.3.1/bits/locale_facets.h:50:1: error: expected unqualified-id before ‘namespace’
  257.  namespace std _GLIBCXX_VISIBILITY(default)
  258.  ^~~~~~~~~
  259. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:1534:0,
  260.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  261.                  from /usr/include/c++/7.3.1/ios:44,
  262.                  from /usr/include/c++/7.3.1/ostream:38,
  263.                  from /usr/include/c++/7.3.1/iostream:39,
  264.                  from ../wrapper.cc:20:
  265. /usr/include/c++/7.3.1/x86_64-pc-linux-gnu/bits/ctype_inline.h:37:1: error: expected unqualified-id before ‘namespace’
  266.  namespace std _GLIBCXX_VISIBILITY(default)
  267.  ^~~~~~~~~
  268. In file included from /usr/include/c++/7.3.1/bits/basic_ios.h:37:0,
  269.                  from /usr/include/c++/7.3.1/ios:44,
  270.                  from /usr/include/c++/7.3.1/ostream:38,
  271.                  from /usr/include/c++/7.3.1/iostream:39,
  272.                  from ../wrapper.cc:20:
  273. /usr/include/c++/7.3.1/bits/locale_facets.h:1536:1: error: expected unqualified-id before ‘namespace’
  274.  namespace std _GLIBCXX_VISIBILITY(default)
  275.  ^~~~~~~~~
  276. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:2651:0,
  277.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  278.                  from /usr/include/c++/7.3.1/ios:44,
  279.                  from /usr/include/c++/7.3.1/ostream:38,
  280.                  from /usr/include/c++/7.3.1/iostream:39,
  281.                  from ../wrapper.cc:20:
  282. /usr/include/c++/7.3.1/bits/locale_facets.tcc:35:1: error: expected unqualified-id before ‘namespace’
  283.  namespace std _GLIBCXX_VISIBILITY(default)
  284.  ^~~~~~~~~
  285. In file included from /usr/include/c++/7.3.1/ios:44:0,
  286.                  from /usr/include/c++/7.3.1/ostream:38,
  287.                  from /usr/include/c++/7.3.1/iostream:39,
  288.                  from ../wrapper.cc:20:
  289. /usr/include/c++/7.3.1/bits/basic_ios.h:41:1: error: expected unqualified-id before ‘namespace’
  290.  namespace std _GLIBCXX_VISIBILITY(default)
  291.  ^~~~~~~~~
  292. In file included from /usr/include/c++/7.3.1/bits/basic_ios.h:516:0,
  293.                  from /usr/include/c++/7.3.1/ios:44,
  294.                  from /usr/include/c++/7.3.1/ostream:38,
  295.                  from /usr/include/c++/7.3.1/iostream:39,
  296.                  from ../wrapper.cc:20:
  297. /usr/include/c++/7.3.1/bits/basic_ios.tcc:35:1: error: expected unqualified-id before ‘namespace’
  298.  namespace std _GLIBCXX_VISIBILITY(default)
  299.  ^~~~~~~~~
  300. In file included from /usr/include/c++/7.3.1/iostream:39:0,
  301.                  from ../wrapper.cc:20:
  302. /usr/include/c++/7.3.1/ostream:41:1: error: expected unqualified-id before ‘namespace’
  303.  namespace std _GLIBCXX_VISIBILITY(default)
  304.  ^~~~~~~~~
  305. In file included from /usr/include/c++/7.3.1/ostream:693:0,
  306.                  from /usr/include/c++/7.3.1/iostream:39,
  307.                  from ../wrapper.cc:20:
  308. /usr/include/c++/7.3.1/bits/ostream.tcc:41:1: error: expected unqualified-id before ‘namespace’
  309.  namespace std _GLIBCXX_VISIBILITY(default)
  310.  ^~~~~~~~~
  311. In file included from /usr/include/c++/7.3.1/iostream:40:0,
  312.                  from ../wrapper.cc:20:
  313. /usr/include/c++/7.3.1/istream:41:1: error: expected unqualified-id before ‘namespace’
  314.  namespace std _GLIBCXX_VISIBILITY(default)
  315.  ^~~~~~~~~
  316. In file included from /usr/include/c++/7.3.1/istream:991:0,
  317.                  from /usr/include/c++/7.3.1/iostream:40,
  318.                  from ../wrapper.cc:20:
  319. /usr/include/c++/7.3.1/bits/istream.tcc:41:1: error: expected unqualified-id before ‘namespace’
  320.  namespace std _GLIBCXX_VISIBILITY(default)
  321.  ^~~~~~~~~
  322. In file included from ../wrapper.cc:20:0:
  323. /usr/include/c++/7.3.1/iostream:42:1: error: expected unqualified-id before ‘namespace’
  324.  namespace std _GLIBCXX_VISIBILITY(default)
  325.  ^~~~~~~~~
  326. ../wrapper.cc:23:7: error: expected nested-name-specifier before ‘namespace’
  327.  using namespace Nan;
  328.        ^~~~~~~~~
  329. ../wrapper.cc:24:7: error: expected nested-name-specifier before ‘namespace’
  330.  using namespace std;
  331.        ^~~~~~~~~
  332. ../wrapper.cc:25:7: error: expected nested-name-specifier before ‘namespace’
  333.  using namespace v8;
  334.        ^~~~~~~~~
  335. ../wrapper.cc:49:54: error: expected class-name before ‘{’ token
  336.  class AddressBookWorker : public AsyncProgressWorker {
  337.                                                       ^
  338. ../wrapper.cc:51:36: error: expected ‘)’ before ‘*’ token
  339.          AddressBookWorker(Callback *callback,Callback *progress)
  340.                                     ^
  341. ../wrapper.cc:56:29: error: ‘AsyncProgressWorker’ does not name a type
  342.          void Execute (const AsyncProgressWorker::ExecutionProgress& progress) {
  343.                              ^~~~~~~~~~~~~~~~~~~
  344. ../wrapper.cc:56:67: error: expected unqualified-id before ‘&’ token
  345.          void Execute (const AsyncProgressWorker::ExecutionProgress& progress) {
  346.                                                                    ^
  347. ../wrapper.cc:56:67: error: expected ‘)’ before ‘&’ token
  348. ../wrapper.cc:56:67: error: expected ‘;’ at end of member declaration
  349. ../wrapper.cc:56:69: error: ‘progress’ does not name a type; did you mean ‘protoent’?
  350.          void Execute (const AsyncProgressWorker::ExecutionProgress& progress) {
  351.                                                                      ^~~~~~~~
  352.                                                                      protoent
  353. ../wrapper.cc:93:7: error: ‘Callback’ does not name a type; did you mean ‘valloc’?
  354.        Callback *progress;
  355.        ^~~~~~~~
  356.        valloc
  357. ../wrapper.cc:94:7: error: ‘vector’ does not name a type; did you mean ‘qecvt_r’?
  358.        vector<Person*> contacts;
  359.        ^~~~~~
  360.        qecvt_r
  361. In file included from ../wrapper.cc:18:0:
  362. ../../nan/nan.h:1444:5: error: ‘Nan’ does not name a type
  363.      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
  364.      ^
  365. ../wrapper.cc:98:1: note: in expansion of macro ‘NAN_METHOD’
  366.  NAN_METHOD(GetContacts) {
  367.  ^~~~~~~~~~
  368. ../../nan/nan.h:1444:5: error: ‘Nan’ does not name a type
  369.      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
  370.      ^
  371. ../wrapper.cc:105:1: note: in expansion of macro ‘NAN_METHOD’
  372.  NAN_METHOD(GetMe) {
  373.  ^~~~~~~~~~
  374. ../../nan/nan.h:1444:5: error: ‘Nan’ does not name a type
  375.      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
  376.      ^
  377. ../wrapper.cc:116:1: note: in expansion of macro ‘NAN_METHOD’
  378.  NAN_METHOD(GetContact) {
  379.  ^~~~~~~~~~
  380. ../../nan/nan.h:1444:5: error: ‘Nan’ does not name a type
  381.      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
  382.      ^
  383. ../wrapper.cc:128:1: note: in expansion of macro ‘NAN_METHOD’
  384.  NAN_METHOD(GetContactsCount) {
  385.  ^~~~~~~~~~
  386. In file included from ../wrapper.cc:18:0:
  387. ../../nan/nan.h:149:15: error: ‘Nan’ has not been declared
  388.      void name(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE target)
  389.                ^
  390. ../wrapper.cc:133:1: note: in expansion of macro ‘NAN_MODULE_INIT’
  391.  NAN_MODULE_INIT(Init) {
  392.  ^~~~~~~~~~~~~~~
  393. ../../nan/nan.h:149:54: error: expected ‘,’ or ‘...’ before ‘target’
  394.      void name(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE target)
  395.                                                       ^
  396. ../wrapper.cc:133:1: note: in expansion of macro ‘NAN_MODULE_INIT’
  397.  NAN_MODULE_INIT(Init) {
  398.  ^~~~~~~~~~~~~~~
  399. In file included from ../../nan/nan.h:51:0,
  400.                  from ../wrapper.cc:18:
  401. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:441:10: error: expected unqualified-id before string constant
  402.    extern "C" {                                                        \
  403.           ^
  404. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:479:3: note: in expansion of macro ‘NODE_MODULE_X’
  405.    NODE_MODULE_X(modname, regfunc, NULL, 0)
  406.    ^~~~~~~~~~~~~
  407. ../wrapper.cc:147:1: note: in expansion of macro ‘NODE_MODULE’
  408.  NODE_MODULE(addon, Init)
  409.  ^~~~~~~~~~~
  410. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:457:3: error: expected ‘}’ at end of input
  411.    }
  412.    ^
  413. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:479:3: note: in expansion of macro ‘NODE_MODULE_X’
  414.    NODE_MODULE_X(modname, regfunc, NULL, 0)
  415.    ^~~~~~~~~~~~~
  416. ../wrapper.cc:147:1: note: in expansion of macro ‘NODE_MODULE’
  417.  NODE_MODULE(addon, Init)
  418.  ^~~~~~~~~~~
  419. ../wrapper.cc: In member function ‘void v8::ArrayBuffer::AddressBookWorker::HandleProgressCallback(const char*, size_t)’:
  420. ../wrapper.cc:67:13: error: ‘Nan’ has not been declared
  421.              Nan::HandleScope scope;
  422.              ^~~
  423. ../wrapper.cc:70:32: error: expected primary-expression before ‘>’ token
  424.                  New<v8::Integer>(*reinterpret_cast<int*>(const_cast<char*>(data)))
  425.                                 ^
  426. ../wrapper.cc:72:13: error: ‘progress’ was not declared in this scope
  427.              progress->Call(1, argv);
  428.              ^~~~~~~~
  429. ../wrapper.cc:72:13: note: suggested alternative: ‘protoent’
  430.              progress->Call(1, argv);
  431.              ^~~~~~~~
  432.              protoent
  433. ../wrapper.cc: In member function ‘void v8::ArrayBuffer::AddressBookWorker::HandleOKCallback()’:
  434. ../wrapper.cc:77:41: error: incomplete type ‘v8::Isolate’ used in nested name specifier
  435.              Isolate* isolate = Isolate::GetCurrent();
  436.                                          ^~~~~~~~~~
  437. ../wrapper.cc:78:13: error: ‘Nan’ has not been declared
  438.              Nan::HandleScope scope;
  439.              ^~~
  440. ../wrapper.cc:80:45: error: expected primary-expression before ‘>’ token
  441.              Local<Array> results = New<Array>(contacts.size());
  442.                                              ^
  443. ../wrapper.cc:80:47: error: ‘contacts’ was not declared in this scope
  444.              Local<Array> results = New<Array>(contacts.size());
  445.                                                ^~~~~~~~
  446. ../wrapper.cc:80:47: note: suggested alternative: ‘Contents’
  447.              Local<Array> results = New<Array>(contacts.size());
  448.                                                ^~~~~~~~
  449.                                                Contents
  450. ../wrapper.cc: In lambda function:
  451. ../wrapper.cc:84:62: error: cannot call member function ‘void v8::ArrayBuffer::fillPersonObject(v8::Isolate*, v8::Local<v8::Object>, v8::ArrayBuffer::Person*)’ without object
  452.                      fillPersonObject(isolate, contact, person);
  453.                                                               ^
  454. ../wrapper.cc:85:21: error: ‘Nan’ has not been declared
  455.                      Nan::Set(results, i,  contact);
  456.                      ^~~
  457. ../wrapper.cc: In member function ‘void v8::ArrayBuffer::AddressBookWorker::HandleOKCallback()’:
  458. ../wrapper.cc:82:13: error: ‘for_each’ was not declared in this scope
  459.              for_each(contacts.begin(), contacts.end(), [&](Person* person) {
  460.              ^~~~~~~~
  461. ../wrapper.cc:82:13: note: suggested alternative: ‘fread’
  462.              for_each(contacts.begin(), contacts.end(), [&](Person* person) {
  463.              ^~~~~~~~
  464.              fread
  465. ../wrapper.cc:90:13: error: ‘callback’ was not declared in this scope
  466.              callback->Call(1, argv);
  467.              ^~~~~~~~
  468. ../wrapper.cc:90:13: note: suggested alternative: ‘calloc’
  469.              callback->Call(1, argv);
  470.              ^~~~~~~~
  471.              calloc
  472. ../wrapper.cc: In member function ‘void v8::ArrayBuffer::Init(int)’:
  473. ../wrapper.cc:134:5: error: ‘Nan’ has not been declared
  474.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  475.      ^~~
  476. ../wrapper.cc:134:14: error: ‘target’ was not declared in this scope
  477.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  478.               ^~~~~~
  479. ../wrapper.cc:134:14: note: suggested alternative: ‘tzset’
  480.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  481.               ^~~~~~
  482.               tzset
  483. ../wrapper.cc:134:32: error: expected primary-expression before ‘>’ token
  484.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  485.                                 ^
  486. ../wrapper.cc:134:43: error: request for member ‘ToLocalChecked’ in("getMe")’, which is of non-class type ‘const char [6]
  487.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  488.                                            ^~~~~~~~~~~~~~
  489. ../wrapper.cc:135:41: error: expected primary-expression before ‘>’ token
  490.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  491.                                          ^
  492. ../wrapper.cc:135:43: error: ‘GetMe’ was not declared in this scope
  493.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  494.                                            ^~~~~
  495. ../wrapper.cc:135:43: note: suggested alternative: ‘Get’
  496.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  497.                                            ^~~~~
  498.                                            Get
  499. ../wrapper.cc:135:9: error: ‘GetFunction’ was not declared in this scope
  500.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  501.          ^~~~~~~~~~~
  502. ../wrapper.cc:135:9: note: suggested alternative: ‘IsFunction’
  503.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  504.          ^~~~~~~~~~~
  505.          IsFunction
  506. ../wrapper.cc:137:5: error: ‘Nan’ has not been declared
  507.      Nan::Set(target, New<String>("getContact").ToLocalChecked(),
  508.      ^~~
  509. ../wrapper.cc:137:32: error: expected primary-expression before ‘>’ token
  510.      Nan::Set(target, New<String>("getContact").ToLocalChecked(),
  511.                                 ^
  512. ../wrapper.cc:137:48: error: request for member ‘ToLocalChecked’ in("getContact")’, which is of non-class type ‘const char [11]
  513.      Nan::Set(target, New<String>("getContact").ToLocalChecked(),
  514.                                                 ^~~~~~~~~~~~~~
  515. ../wrapper.cc:138:41: error: expected primary-expression before ‘>’ token
  516.          GetFunction(New<FunctionTemplate>(GetContact)).ToLocalChecked());
  517.                                          ^
  518. ../wrapper.cc:138:43: error: ‘GetContact’ was not declared in this scope
  519.          GetFunction(New<FunctionTemplate>(GetContact)).ToLocalChecked());
  520.                                            ^~~~~~~~~~
  521. ../wrapper.cc:138:43: note: suggested alternative: ‘Context’
  522.          GetFunction(New<FunctionTemplate>(GetContact)).ToLocalChecked());
  523.                                            ^~~~~~~~~~
  524.                                            Context
  525. ../wrapper.cc:140:5: error: ‘Nan’ has not been declared
  526.      Nan::Set(target, New<String>("getContactsCount").ToLocalChecked(),
  527.      ^~~
  528. ../wrapper.cc:140:32: error: expected primary-expression before ‘>’ token
  529.      Nan::Set(target, New<String>("getContactsCount").ToLocalChecked(),
  530.                                 ^
  531. ../wrapper.cc:140:54: error: request for member ‘ToLocalChecked’ in("getContactsCount")’, which is of non-class type ‘const char [17]
  532.      Nan::Set(target, New<String>("getContactsCount").ToLocalChecked(),
  533.                                                       ^~~~~~~~~~~~~~
  534. ../wrapper.cc:141:41: error: expected primary-expression before ‘>’ token
  535.          GetFunction(New<FunctionTemplate>(GetContactsCount)).ToLocalChecked());
  536.                                          ^
  537. ../wrapper.cc:141:43: error: ‘GetContactsCount’ was not declared in this scope
  538.          GetFunction(New<FunctionTemplate>(GetContactsCount)).ToLocalChecked());
  539.                                            ^~~~~~~~~~~~~~~~
  540. ../wrapper.cc:141:43: note: suggested alternative: ‘GetConstructorName’
  541.          GetFunction(New<FunctionTemplate>(GetContactsCount)).ToLocalChecked());
  542.                                            ^~~~~~~~~~~~~~~~
  543.                                            GetConstructorName
  544. ../wrapper.cc:143:5: error: ‘Nan’ has not been declared
  545.      Nan::Set(target, New<String>("getContacts").ToLocalChecked(),
  546.      ^~~
  547. ../wrapper.cc:143:32: error: expected primary-expression before ‘>’ token
  548.      Nan::Set(target, New<String>("getContacts").ToLocalChecked(),
  549.                                 ^
  550. ../wrapper.cc:143:49: error: request for member ‘ToLocalChecked’ in("getContacts")’, which is of non-class type ‘const char [12]
  551.      Nan::Set(target, New<String>("getContacts").ToLocalChecked(),
  552.                                                  ^~~~~~~~~~~~~~
  553. ../wrapper.cc:144:41: error: expected primary-expression before ‘>’ token
  554.          GetFunction(New<FunctionTemplate>(GetContacts)).ToLocalChecked());
  555.                                          ^
  556. ../wrapper.cc:144:43: error: ‘GetContacts’ was not declared in this scope
  557.          GetFunction(New<FunctionTemplate>(GetContacts)).ToLocalChecked());
  558.                                            ^~~~~~~~~~~
  559. ../wrapper.cc:144:43: note: suggested alternative: ‘Contents’
  560.          GetFunction(New<FunctionTemplate>(GetContacts)).ToLocalChecked());
  561.                                            ^~~~~~~~~~~
  562.                                            Contents
  563. ../wrapper.cc: At global scope:
  564. ../wrapper.cc:145:1: error: expected unqualified-id at end of input
  565.  }
  566.  ^
  567. ../wrapper.cc:145:1: error: expected ‘}’ at end of input
  568. In file included from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:42:0,
  569.                  from ../../nan/nan.h:51,
  570.                  from ../wrapper.cc:18:
  571. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/v8/include/v8.h:3160:19: warning: inline function ‘void* v8::Object::GetAlignedPointerFromInternalField(int)’ used but never defined
  572.    V8_INLINE void* GetAlignedPointerFromInternalField(int index);
  573.                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  574. make: *** [electron-addressbook.target.mk:96: Release/obj.target/electron-addressbook/wrapper.o] Error 1
  575. make: Leaving directory '/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/node-addressbook/build'
  576. gyp ERR! build error
  577. gyp ERR! stack Error: `make` failed with exit code: 2
  578. gyp ERR! stack     at ChildProcess.onExit (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/node-gyp/lib/build.js:258:23)
  579. gyp ERR! stack     at ChildProcess.emit (events.js:180:13)
  580. gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
  581. gyp ERR! System Linux 4.14.34-1-MANJARO
  582. gyp ERR! command "/usr/bin/node" "/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/.bin/node-gyp" "rebuild" "--target=1.7.9" "--arch=x64" "--dist-url=https://atom.io/download/electron" "--build-from-source"
  583. gyp ERR! cwd /home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/node-addressbook
  584. gyp ERR! node -v v9.11.1
  585. gyp ERR! node-gyp -v v3.6.2
  586. gyp ERR! not ok
  587.  
  588. Failed with exit code: 1
  589.  
  590. Error: make: Entering directory '/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/node-addressbook/build'
  591.   CXX(target) Release/obj.target/electron-addressbook/AddressBook.o
  592.   CXX(target) Release/obj.target/electron-addressbook/Person.o
  593.   CXX(target) Release/obj.target/electron-addressbook/wrapper.o
  594. In file included from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:42:0,
  595.                  from ../../nan/nan.h:51,
  596.                  from ../wrapper.cc:18:
  597. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/v8/include/v8.h:15:0: error: unterminated #ifndef
  598.  #ifndef INCLUDE_V8_H_
  599.  
  600. In file included from ../wrapper.cc:18:0:
  601. ../../nan/nan.h:135:0: warning: "TYPE_CHECK" redefined
  602.  #define TYPE_CHECK(T, S)                                                       \
  603.  
  604. In file included from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:42:0,
  605.                  from ../../nan/nan.h:51,
  606.                  from ../wrapper.cc:18:
  607. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/v8/include/v8.h:184:0: note: this is the location of the previous definition
  608.  #define TYPE_CHECK(T, S)                                       \
  609.  
  610. In file included from ../../nan/nan.h:51:0,
  611.                  from ../wrapper.cc:18:
  612. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:76:8: error: two or more data types in declaration of ‘parameter’
  613.  struct uv_loop_s;
  614.         ^~~~~~~~~
  615. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:76:17: error: expected ‘)’ before ‘;’ token
  616.  struct uv_loop_s;
  617.                  ^
  618. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:80:1: error: expected unqualified-id before ‘namespace’
  619.  namespace node {
  620.  ^~~~~~~~~
  621. In file included from /usr/include/features.h:423:0,
  622.                  from /usr/include/errno.h:25,
  623.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv-errno.h:25,
  624.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv.h:48,
  625.                  from ../../nan/nan.h:50,
  626.                  from ../wrapper.cc:18:
  627. /usr/include/assert.h:64:1: error: expected unqualified-id before string constant
  628.  __BEGIN_DECLS
  629.  ^
  630. In file included from ../../nan/nan.h:51:0,
  631.                  from ../wrapper.cc:18:
  632. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:179:1: error: expected unqualified-id before ‘namespace’
  633.  namespace node {
  634.  ^~~~~~~~~
  635. In file included from ../../nan/nan.h:52:0,
  636.                  from ../wrapper.cc:18:
  637. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node_buffer.h:7:1: error: expected unqualified-id before ‘namespace’
  638.  namespace node {
  639.  ^~~~~~~~~
  640. In file included from /usr/include/features.h:423:0,
  641.                  from /usr/include/errno.h:25,
  642.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv-errno.h:25,
  643.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv.h:48,
  644.                  from ../../nan/nan.h:50,
  645.                  from ../wrapper.cc:18:
  646. /usr/include/assert.h:64:1: error: expected unqualified-id before string constant
  647.  __BEGIN_DECLS
  648.  ^
  649. In file included from ../../nan/nan.h:53:0,
  650.                  from ../wrapper.cc:18:
  651. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node_object_wrap.h:8:1: error: expected unqualified-id before ‘namespace’
  652.  namespace node {
  653.  ^~~~~~~~~
  654. In file included from /usr/include/c++/7.3.1/bits/stl_algo.h:60:0,
  655.                  from /usr/include/c++/7.3.1/algorithm:62,
  656.                  from ../../nan/nan.h:54,
  657.                  from ../wrapper.cc:18:
  658. /usr/include/c++/7.3.1/bits/algorithmfwd.h:42:1: error: expected unqualified-id before ‘namespace’
  659.  namespace std _GLIBCXX_VISIBILITY(default)
  660.  ^~~~~~~~~
  661. In file included from /usr/include/c++/7.3.1/bits/stl_algo.h:61:0,
  662.                  from /usr/include/c++/7.3.1/algorithm:62,
  663.                  from ../../nan/nan.h:54,
  664.                  from ../wrapper.cc:18:
  665. /usr/include/c++/7.3.1/bits/stl_heap.h:62:1: error: expected unqualified-id before ‘namespace’
  666.  namespace std _GLIBCXX_VISIBILITY(default)
  667.  ^~~~~~~~~
  668. In file included from /usr/include/c++/7.3.1/bits/uniform_int_dist.h:35:0,
  669.                  from /usr/include/c++/7.3.1/bits/stl_algo.h:66,
  670.                  from /usr/include/c++/7.3.1/algorithm:62,
  671.                  from ../../nan/nan.h:54,
  672.                  from ../wrapper.cc:18:
  673. /usr/include/c++/7.3.1/limits:158:1: error: expected unqualified-id before ‘namespace’
  674.  namespace std _GLIBCXX_VISIBILITY(default)
  675.  ^~~~~~~~~
  676. In file included from /usr/include/c++/7.3.1/bits/stl_algo.h:66:0,
  677.                  from /usr/include/c++/7.3.1/algorithm:62,
  678.                  from ../../nan/nan.h:54,
  679.                  from ../wrapper.cc:18:
  680. /usr/include/c++/7.3.1/bits/uniform_int_dist.h:37:1: error: expected unqualified-id before ‘namespace’
  681.  namespace std _GLIBCXX_VISIBILITY(default)
  682.  ^~~~~~~~~
  683. In file included from /usr/include/c++/7.3.1/algorithm:62:0,
  684.                  from ../../nan/nan.h:54,
  685.                  from ../wrapper.cc:18:
  686. /usr/include/c++/7.3.1/bits/stl_algo.h:71:1: error: expected unqualified-id before ‘namespace’
  687.  namespace std _GLIBCXX_VISIBILITY(default)
  688.  ^~~~~~~~~
  689. In file included from /usr/include/features.h:423:0,
  690.                  from /usr/include/errno.h:25,
  691.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv-errno.h:25,
  692.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv.h:48,
  693.                  from ../../nan/nan.h:50,
  694.                  from ../wrapper.cc:18:
  695. /usr/include/string.h:28:1: error: expected unqualified-id before string constant
  696.  __BEGIN_DECLS
  697.  ^
  698. In file included from ../../nan/nan.h:55:0,
  699.                  from ../wrapper.cc:18:
  700. /usr/include/c++/7.3.1/cstring:71:1: error: expected unqualified-id before ‘namespace’
  701.  namespace std _GLIBCXX_VISIBILITY(default)
  702.  ^~~~~~~~~
  703. In file included from /usr/include/c++/7.3.1/deque:64:0,
  704.                  from /usr/include/c++/7.3.1/queue:60,
  705.                  from ../../nan/nan.h:67,
  706.                  from ../wrapper.cc:18:
  707. /usr/include/c++/7.3.1/bits/stl_deque.h:68:1: error: expected unqualified-id before ‘namespace’
  708.  namespace std _GLIBCXX_VISIBILITY(default)
  709.  ^~~~~~~~~
  710. In file included from /usr/include/c++/7.3.1/deque:66:0,
  711.                  from /usr/include/c++/7.3.1/queue:60,
  712.                  from ../../nan/nan.h:67,
  713.                  from ../wrapper.cc:18:
  714. /usr/include/c++/7.3.1/bits/deque.tcc:59:1: error: expected unqualified-id before ‘namespace’
  715.  namespace std _GLIBCXX_VISIBILITY(default)
  716.  ^~~~~~~~~
  717. In file included from /usr/include/c++/7.3.1/queue:64:0,
  718.                  from ../../nan/nan.h:67,
  719.                  from ../wrapper.cc:18:
  720. /usr/include/c++/7.3.1/bits/stl_queue.h:65:1: error: expected unqualified-id before ‘namespace’
  721.  namespace std _GLIBCXX_VISIBILITY(default)
  722.  ^~~~~~~~~
  723. In file included from ../wrapper.cc:18:0:
  724. ../../nan/nan.h:92:1: error: expected unqualified-id before ‘namespace’
  725.  namespace Nan {
  726.  ^~~~~~~~~
  727. In file included from /usr/include/c++/7.3.1/functional:58:0,
  728.                  from ../wrapper.cc:19:
  729. /usr/include/c++/7.3.1/bits/std_function.h:47:1: error: expected unqualified-id before ‘namespace’
  730.  namespace std _GLIBCXX_VISIBILITY(default)
  731.  ^~~~~~~~~
  732. In file included from ../wrapper.cc:19:0:
  733. /usr/include/c++/7.3.1/functional:67:1: error: expected unqualified-id before ‘namespace’
  734.  namespace std _GLIBCXX_VISIBILITY(default)
  735.  ^~~~~~~~~
  736. In file included from /usr/include/c++/7.3.1/bits/ios_base.h:41:0,
  737.                  from /usr/include/c++/7.3.1/ios:42,
  738.                  from /usr/include/c++/7.3.1/ostream:38,
  739.                  from /usr/include/c++/7.3.1/iostream:39,
  740.                  from ../wrapper.cc:20:
  741. /usr/include/c++/7.3.1/bits/locale_classes.h:43:1: error: expected unqualified-id before ‘namespace’
  742.  namespace std _GLIBCXX_VISIBILITY(default)
  743.  ^~~~~~~~~
  744. In file included from /usr/include/c++/7.3.1/bits/locale_classes.h:851:0,
  745.                  from /usr/include/c++/7.3.1/bits/ios_base.h:41,
  746.                  from /usr/include/c++/7.3.1/ios:42,
  747.                  from /usr/include/c++/7.3.1/ostream:38,
  748.                  from /usr/include/c++/7.3.1/iostream:39,
  749.                  from ../wrapper.cc:20:
  750. /usr/include/c++/7.3.1/bits/locale_classes.tcc:39:1: error: expected unqualified-id before ‘namespace’
  751.  namespace std _GLIBCXX_VISIBILITY(default)
  752.  ^~~~~~~~~
  753. In file included from /usr/include/c++/7.3.1/system_error:39:0,
  754.                  from /usr/include/c++/7.3.1/bits/ios_base.h:46,
  755.                  from /usr/include/c++/7.3.1/ios:42,
  756.                  from /usr/include/c++/7.3.1/ostream:38,
  757.                  from /usr/include/c++/7.3.1/iostream:39,
  758.                  from ../wrapper.cc:20:
  759. /usr/include/c++/7.3.1/x86_64-pc-linux-gnu/bits/error_constants.h:36:1: error: expected unqualified-id before ‘namespace’
  760.  namespace std _GLIBCXX_VISIBILITY(default)
  761.  ^~~~~~~~~
  762. In file included from /usr/include/c++/7.3.1/bits/ios_base.h:46:0,
  763.                  from /usr/include/c++/7.3.1/ios:42,
  764.                  from /usr/include/c++/7.3.1/ostream:38,
  765.                  from /usr/include/c++/7.3.1/iostream:39,
  766.                  from ../wrapper.cc:20:
  767. /usr/include/c++/7.3.1/system_error:43:1: error: expected unqualified-id before ‘namespace’
  768.  namespace std _GLIBCXX_VISIBILITY(default)
  769.  ^~~~~~~~~
  770. /usr/include/c++/7.3.1/system_error:378:1: error: expected unqualified-id before ‘namespace’
  771.  namespace std _GLIBCXX_VISIBILITY(default)
  772.  ^~~~~~~~~
  773. In file included from /usr/include/c++/7.3.1/ios:42:0,
  774.                  from /usr/include/c++/7.3.1/ostream:38,
  775.                  from /usr/include/c++/7.3.1/iostream:39,
  776.                  from ../wrapper.cc:20:
  777. /usr/include/c++/7.3.1/bits/ios_base.h:49:1: error: expected unqualified-id before ‘namespace’
  778.  namespace std _GLIBCXX_VISIBILITY(default)
  779.  ^~~~~~~~~
  780. In file included from /usr/include/c++/7.3.1/ios:43:0,
  781.                  from /usr/include/c++/7.3.1/ostream:38,
  782.                  from /usr/include/c++/7.3.1/iostream:39,
  783.                  from ../wrapper.cc:20:
  784. /usr/include/c++/7.3.1/streambuf:45:1: error: expected unqualified-id before ‘namespace’
  785.  namespace std _GLIBCXX_VISIBILITY(default)
  786.  ^~~~~~~~~
  787. In file included from /usr/include/c++/7.3.1/streambuf:850:0,
  788.                  from /usr/include/c++/7.3.1/ios:43,
  789.                  from /usr/include/c++/7.3.1/ostream:38,
  790.                  from /usr/include/c++/7.3.1/iostream:39,
  791.                  from ../wrapper.cc:20:
  792. /usr/include/c++/7.3.1/bits/streambuf.tcc:39:1: error: expected unqualified-id before ‘namespace’
  793.  namespace std _GLIBCXX_VISIBILITY(default)
  794.  ^~~~~~~~~
  795. In file included from /usr/include/features.h:423:0,
  796.                  from /usr/include/errno.h:25,
  797.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv-errno.h:25,
  798.                  from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/uv/include/uv.h:48,
  799.                  from ../../nan/nan.h:50,
  800.                  from ../wrapper.cc:18:
  801. /usr/include/bits/wctype-wchar.h:87:1: error: expected unqualified-id before string constant
  802.  __BEGIN_DECLS
  803.  ^
  804. /usr/include/wctype.h:44:1: error: expected unqualified-id before string constant
  805.  __BEGIN_DECLS
  806.  ^
  807. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:39:0,
  808.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  809.                  from /usr/include/c++/7.3.1/ios:44,
  810.                  from /usr/include/c++/7.3.1/ostream:38,
  811.                  from /usr/include/c++/7.3.1/iostream:39,
  812.                  from ../wrapper.cc:20:
  813. /usr/include/c++/7.3.1/cwctype:80:1: error: expected unqualified-id before ‘namespace’
  814.  namespace std
  815.  ^~~~~~~~~
  816. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:41:0,
  817.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  818.                  from /usr/include/c++/7.3.1/ios:44,
  819.                  from /usr/include/c++/7.3.1/ostream:38,
  820.                  from /usr/include/c++/7.3.1/iostream:39,
  821.                  from ../wrapper.cc:20:
  822. /usr/include/c++/7.3.1/x86_64-pc-linux-gnu/bits/ctype_base.h:36:1: error: expected unqualified-id before ‘namespace’
  823.  namespace std _GLIBCXX_VISIBILITY(default)
  824.  ^~~~~~~~~
  825. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:48:0,
  826.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  827.                  from /usr/include/c++/7.3.1/ios:44,
  828.                  from /usr/include/c++/7.3.1/ostream:38,
  829.                  from /usr/include/c++/7.3.1/iostream:39,
  830.                  from ../wrapper.cc:20:
  831. /usr/include/c++/7.3.1/bits/streambuf_iterator.h:38:1: error: expected unqualified-id before ‘namespace’
  832.  namespace std _GLIBCXX_VISIBILITY(default)
  833.  ^~~~~~~~~
  834. In file included from /usr/include/c++/7.3.1/bits/basic_ios.h:37:0,
  835.                  from /usr/include/c++/7.3.1/ios:44,
  836.                  from /usr/include/c++/7.3.1/ostream:38,
  837.                  from /usr/include/c++/7.3.1/iostream:39,
  838.                  from ../wrapper.cc:20:
  839. /usr/include/c++/7.3.1/bits/locale_facets.h:50:1: error: expected unqualified-id before ‘namespace’
  840.  namespace std _GLIBCXX_VISIBILITY(default)
  841.  ^~~~~~~~~
  842. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:1534:0,
  843.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  844.                  from /usr/include/c++/7.3.1/ios:44,
  845.                  from /usr/include/c++/7.3.1/ostream:38,
  846.                  from /usr/include/c++/7.3.1/iostream:39,
  847.                  from ../wrapper.cc:20:
  848. /usr/include/c++/7.3.1/x86_64-pc-linux-gnu/bits/ctype_inline.h:37:1: error: expected unqualified-id before ‘namespace’
  849.  namespace std _GLIBCXX_VISIBILITY(default)
  850.  ^~~~~~~~~
  851. In file included from /usr/include/c++/7.3.1/bits/basic_ios.h:37:0,
  852.                  from /usr/include/c++/7.3.1/ios:44,
  853.                  from /usr/include/c++/7.3.1/ostream:38,
  854.                  from /usr/include/c++/7.3.1/iostream:39,
  855.                  from ../wrapper.cc:20:
  856. /usr/include/c++/7.3.1/bits/locale_facets.h:1536:1: error: expected unqualified-id before ‘namespace’
  857.  namespace std _GLIBCXX_VISIBILITY(default)
  858.  ^~~~~~~~~
  859. In file included from /usr/include/c++/7.3.1/bits/locale_facets.h:2651:0,
  860.                  from /usr/include/c++/7.3.1/bits/basic_ios.h:37,
  861.                  from /usr/include/c++/7.3.1/ios:44,
  862.                  from /usr/include/c++/7.3.1/ostream:38,
  863.                  from /usr/include/c++/7.3.1/iostream:39,
  864.                  from ../wrapper.cc:20:
  865. /usr/include/c++/7.3.1/bits/locale_facets.tcc:35:1: error: expected unqualified-id before ‘namespace’
  866.  namespace std _GLIBCXX_VISIBILITY(default)
  867.  ^~~~~~~~~
  868. In file included from /usr/include/c++/7.3.1/ios:44:0,
  869.                  from /usr/include/c++/7.3.1/ostream:38,
  870.                  from /usr/include/c++/7.3.1/iostream:39,
  871.                  from ../wrapper.cc:20:
  872. /usr/include/c++/7.3.1/bits/basic_ios.h:41:1: error: expected unqualified-id before ‘namespace’
  873.  namespace std _GLIBCXX_VISIBILITY(default)
  874.  ^~~~~~~~~
  875. In file included from /usr/include/c++/7.3.1/bits/basic_ios.h:516:0,
  876.                  from /usr/include/c++/7.3.1/ios:44,
  877.                  from /usr/include/c++/7.3.1/ostream:38,
  878.                  from /usr/include/c++/7.3.1/iostream:39,
  879.                  from ../wrapper.cc:20:
  880. /usr/include/c++/7.3.1/bits/basic_ios.tcc:35:1: error: expected unqualified-id before ‘namespace’
  881.  namespace std _GLIBCXX_VISIBILITY(default)
  882.  ^~~~~~~~~
  883. In file included from /usr/include/c++/7.3.1/iostream:39:0,
  884.                  from ../wrapper.cc:20:
  885. /usr/include/c++/7.3.1/ostream:41:1: error: expected unqualified-id before ‘namespace’
  886.  namespace std _GLIBCXX_VISIBILITY(default)
  887.  ^~~~~~~~~
  888. In file included from /usr/include/c++/7.3.1/ostream:693:0,
  889.                  from /usr/include/c++/7.3.1/iostream:39,
  890.                  from ../wrapper.cc:20:
  891. /usr/include/c++/7.3.1/bits/ostream.tcc:41:1: error: expected unqualified-id before ‘namespace’
  892.  namespace std _GLIBCXX_VISIBILITY(default)
  893.  ^~~~~~~~~
  894. In file included from /usr/include/c++/7.3.1/iostream:40:0,
  895.                  from ../wrapper.cc:20:
  896. /usr/include/c++/7.3.1/istream:41:1: error: expected unqualified-id before ‘namespace’
  897.  namespace std _GLIBCXX_VISIBILITY(default)
  898.  ^~~~~~~~~
  899. In file included from /usr/include/c++/7.3.1/istream:991:0,
  900.                  from /usr/include/c++/7.3.1/iostream:40,
  901.                  from ../wrapper.cc:20:
  902. /usr/include/c++/7.3.1/bits/istream.tcc:41:1: error: expected unqualified-id before ‘namespace’
  903.  namespace std _GLIBCXX_VISIBILITY(default)
  904.  ^~~~~~~~~
  905. In file included from ../wrapper.cc:20:0:
  906. /usr/include/c++/7.3.1/iostream:42:1: error: expected unqualified-id before ‘namespace’
  907.  namespace std _GLIBCXX_VISIBILITY(default)
  908.  ^~~~~~~~~
  909. ../wrapper.cc:23:7: error: expected nested-name-specifier before ‘namespace’
  910.  using namespace Nan;
  911.        ^~~~~~~~~
  912. ../wrapper.cc:24:7: error: expected nested-name-specifier before ‘namespace’
  913.  using namespace std;
  914.        ^~~~~~~~~
  915. ../wrapper.cc:25:7: error: expected nested-name-specifier before ‘namespace’
  916.  using namespace v8;
  917.        ^~~~~~~~~
  918. ../wrapper.cc:49:54: error: expected class-name before ‘{’ token
  919.  class AddressBookWorker : public AsyncProgressWorker {
  920.                                                       ^
  921. ../wrapper.cc:51:36: error: expected ‘)’ before ‘*’ token
  922.          AddressBookWorker(Callback *callback,Callback *progress)
  923.                                     ^
  924. ../wrapper.cc:56:29: error: ‘AsyncProgressWorker’ does not name a type
  925.          void Execute (const AsyncProgressWorker::ExecutionProgress& progress) {
  926.                              ^~~~~~~~~~~~~~~~~~~
  927. ../wrapper.cc:56:67: error: expected unqualified-id before ‘&’ token
  928.          void Execute (const AsyncProgressWorker::ExecutionProgress& progress) {
  929.                                                                    ^
  930. ../wrapper.cc:56:67: error: expected ‘)’ before ‘&’ token
  931. ../wrapper.cc:56:67: error: expected ‘;’ at end of member declaration
  932. ../wrapper.cc:56:69: error: ‘progress’ does not name a type; did you mean ‘protoent’?
  933.          void Execute (const AsyncProgressWorker::ExecutionProgress& progress) {
  934.                                                                      ^~~~~~~~
  935.                                                                      protoent
  936. ../wrapper.cc:93:7: error: ‘Callback’ does not name a type; did you mean ‘valloc’?
  937.        Callback *progress;
  938.        ^~~~~~~~
  939.        valloc
  940. ../wrapper.cc:94:7: error: ‘vector’ does not name a type; did you mean ‘qecvt_r’?
  941.        vector<Person*> contacts;
  942.        ^~~~~~
  943.        qecvt_r
  944. In file included from ../wrapper.cc:18:0:
  945. ../../nan/nan.h:1444:5: error: ‘Nan’ does not name a type
  946.      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
  947.      ^
  948. ../wrapper.cc:98:1: note: in expansion of macro ‘NAN_METHOD’
  949.  NAN_METHOD(GetContacts) {
  950.  ^~~~~~~~~~
  951. ../../nan/nan.h:1444:5: error: ‘Nan’ does not name a type
  952.      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
  953.      ^
  954. ../wrapper.cc:105:1: note: in expansion of macro ‘NAN_METHOD’
  955.  NAN_METHOD(GetMe) {
  956.  ^~~~~~~~~~
  957. ../../nan/nan.h:1444:5: error: ‘Nan’ does not name a type
  958.      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
  959.      ^
  960. ../wrapper.cc:116:1: note: in expansion of macro ‘NAN_METHOD’
  961.  NAN_METHOD(GetContact) {
  962.  ^~~~~~~~~~
  963. ../../nan/nan.h:1444:5: error: ‘Nan’ does not name a type
  964.      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
  965.      ^
  966. ../wrapper.cc:128:1: note: in expansion of macro ‘NAN_METHOD’
  967.  NAN_METHOD(GetContactsCount) {
  968.  ^~~~~~~~~~
  969. In file included from ../wrapper.cc:18:0:
  970. ../../nan/nan.h:149:15: error: ‘Nan’ has not been declared
  971.      void name(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE target)
  972.                ^
  973. ../wrapper.cc:133:1: note: in expansion of macro ‘NAN_MODULE_INIT’
  974.  NAN_MODULE_INIT(Init) {
  975.  ^~~~~~~~~~~~~~~
  976. ../../nan/nan.h:149:54: error: expected ‘,’ or ‘...’ before ‘target’
  977.      void name(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE target)
  978.                                                       ^
  979. ../wrapper.cc:133:1: note: in expansion of macro ‘NAN_MODULE_INIT’
  980.  NAN_MODULE_INIT(Init) {
  981.  ^~~~~~~~~~~~~~~
  982. In file included from ../../nan/nan.h:51:0,
  983.                  from ../wrapper.cc:18:
  984. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:441:10: error: expected unqualified-id before string constant
  985.    extern "C" {                                                        \
  986.           ^
  987. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:479:3: note: in expansion of macro ‘NODE_MODULE_X’
  988.    NODE_MODULE_X(modname, regfunc, NULL, 0)
  989.    ^~~~~~~~~~~~~
  990. ../wrapper.cc:147:1: note: in expansion of macro ‘NODE_MODULE’
  991.  NODE_MODULE(addon, Init)
  992.  ^~~~~~~~~~~
  993. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:457:3: error: expected ‘}’ at end of input
  994.    }
  995.    ^
  996. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:479:3: note: in expansion of macro ‘NODE_MODULE_X’
  997.    NODE_MODULE_X(modname, regfunc, NULL, 0)
  998.    ^~~~~~~~~~~~~
  999. ../wrapper.cc:147:1: note: in expansion of macro ‘NODE_MODULE’
  1000.  NODE_MODULE(addon, Init)
  1001.  ^~~~~~~~~~~
  1002. ../wrapper.cc: In member function ‘void v8::ArrayBuffer::AddressBookWorker::HandleProgressCallback(const char*, size_t)’:
  1003. ../wrapper.cc:67:13: error: ‘Nan’ has not been declared
  1004.              Nan::HandleScope scope;
  1005.              ^~~
  1006. ../wrapper.cc:70:32: error: expected primary-expression before ‘>’ token
  1007.                  New<v8::Integer>(*reinterpret_cast<int*>(const_cast<char*>(data)))
  1008.                                 ^
  1009. ../wrapper.cc:72:13: error: ‘progress’ was not declared in this scope
  1010.              progress->Call(1, argv);
  1011.              ^~~~~~~~
  1012. ../wrapper.cc:72:13: note: suggested alternative: ‘protoent’
  1013.              progress->Call(1, argv);
  1014.              ^~~~~~~~
  1015.              protoent
  1016. ../wrapper.cc: In member function ‘void v8::ArrayBuffer::AddressBookWorker::HandleOKCallback()’:
  1017. ../wrapper.cc:77:41: error: incomplete type ‘v8::Isolate’ used in nested name specifier
  1018.              Isolate* isolate = Isolate::GetCurrent();
  1019.                                          ^~~~~~~~~~
  1020. ../wrapper.cc:78:13: error: ‘Nan’ has not been declared
  1021.              Nan::HandleScope scope;
  1022.              ^~~
  1023. ../wrapper.cc:80:45: error: expected primary-expression before ‘>’ token
  1024.              Local<Array> results = New<Array>(contacts.size());
  1025.                                              ^
  1026. ../wrapper.cc:80:47: error: ‘contacts’ was not declared in this scope
  1027.              Local<Array> results = New<Array>(contacts.size());
  1028.                                                ^~~~~~~~
  1029. ../wrapper.cc:80:47: note: suggested alternative: ‘Contents’
  1030.              Local<Array> results = New<Array>(contacts.size());
  1031.                                                ^~~~~~~~
  1032.                                                Contents
  1033. ../wrapper.cc: In lambda function:
  1034. ../wrapper.cc:84:62: error: cannot call member function ‘void v8::ArrayBuffer::fillPersonObject(v8::Isolate*, v8::Local<v8::Object>, v8::ArrayBuffer::Person*)’ without object
  1035.                      fillPersonObject(isolate, contact, person);
  1036.                                                               ^
  1037. ../wrapper.cc:85:21: error: ‘Nan’ has not been declared
  1038.                      Nan::Set(results, i,  contact);
  1039.                      ^~~
  1040. ../wrapper.cc: In member function ‘void v8::ArrayBuffer::AddressBookWorker::HandleOKCallback()’:
  1041. ../wrapper.cc:82:13: error: ‘for_each’ was not declared in this scope
  1042.              for_each(contacts.begin(), contacts.end(), [&](Person* person) {
  1043.              ^~~~~~~~
  1044. ../wrapper.cc:82:13: note: suggested alternative: ‘fread’
  1045.              for_each(contacts.begin(), contacts.end(), [&](Person* person) {
  1046.              ^~~~~~~~
  1047.              fread
  1048. ../wrapper.cc:90:13: error: ‘callback’ was not declared in this scope
  1049.              callback->Call(1, argv);
  1050.              ^~~~~~~~
  1051. ../wrapper.cc:90:13: note: suggested alternative: ‘calloc’
  1052.              callback->Call(1, argv);
  1053.              ^~~~~~~~
  1054.              calloc
  1055. ../wrapper.cc: In member function ‘void v8::ArrayBuffer::Init(int)’:
  1056. ../wrapper.cc:134:5: error: ‘Nan’ has not been declared
  1057.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  1058.      ^~~
  1059. ../wrapper.cc:134:14: error: ‘target’ was not declared in this scope
  1060.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  1061.               ^~~~~~
  1062. ../wrapper.cc:134:14: note: suggested alternative: ‘tzset’
  1063.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  1064.               ^~~~~~
  1065.               tzset
  1066. ../wrapper.cc:134:32: error: expected primary-expression before ‘>’ token
  1067.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  1068.                                 ^
  1069. ../wrapper.cc:134:43: error: request for member ‘ToLocalChecked’ in("getMe")’, which is of non-class type ‘const char [6]
  1070.      Nan::Set(target, New<String>("getMe").ToLocalChecked(),
  1071.                                            ^~~~~~~~~~~~~~
  1072. ../wrapper.cc:135:41: error: expected primary-expression before ‘>’ token
  1073.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  1074.                                          ^
  1075. ../wrapper.cc:135:43: error: ‘GetMe’ was not declared in this scope
  1076.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  1077.                                            ^~~~~
  1078. ../wrapper.cc:135:43: note: suggested alternative: ‘Get’
  1079.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  1080.                                            ^~~~~
  1081.                                            Get
  1082. ../wrapper.cc:135:9: error: ‘GetFunction’ was not declared in this scope
  1083.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  1084.          ^~~~~~~~~~~
  1085. ../wrapper.cc:135:9: note: suggested alternative: ‘IsFunction’
  1086.          GetFunction(New<FunctionTemplate>(GetMe)).ToLocalChecked());
  1087.          ^~~~~~~~~~~
  1088.          IsFunction
  1089. ../wrapper.cc:137:5: error: ‘Nan’ has not been declared
  1090.      Nan::Set(target, New<String>("getContact").ToLocalChecked(),
  1091.      ^~~
  1092. ../wrapper.cc:137:32: error: expected primary-expression before ‘>’ token
  1093.      Nan::Set(target, New<String>("getContact").ToLocalChecked(),
  1094.                                 ^
  1095. ../wrapper.cc:137:48: error: request for member ‘ToLocalChecked’ in("getContact")’, which is of non-class type ‘const char [11]
  1096.      Nan::Set(target, New<String>("getContact").ToLocalChecked(),
  1097.                                                 ^~~~~~~~~~~~~~
  1098. ../wrapper.cc:138:41: error: expected primary-expression before ‘>’ token
  1099.          GetFunction(New<FunctionTemplate>(GetContact)).ToLocalChecked());
  1100.                                          ^
  1101. ../wrapper.cc:138:43: error: ‘GetContact’ was not declared in this scope
  1102.          GetFunction(New<FunctionTemplate>(GetContact)).ToLocalChecked());
  1103.                                            ^~~~~~~~~~
  1104. ../wrapper.cc:138:43: note: suggested alternative: ‘Context’
  1105.          GetFunction(New<FunctionTemplate>(GetContact)).ToLocalChecked());
  1106.                                            ^~~~~~~~~~
  1107.                                            Context
  1108. ../wrapper.cc:140:5: error: ‘Nan’ has not been declared
  1109.      Nan::Set(target, New<String>("getContactsCount").ToLocalChecked(),
  1110.      ^~~
  1111. ../wrapper.cc:140:32: error: expected primary-expression before ‘>’ token
  1112.      Nan::Set(target, New<String>("getContactsCount").ToLocalChecked(),
  1113.                                 ^
  1114. ../wrapper.cc:140:54: error: request for member ‘ToLocalChecked’ in("getContactsCount")’, which is of non-class type ‘const char [17]
  1115.      Nan::Set(target, New<String>("getContactsCount").ToLocalChecked(),
  1116.                                                       ^~~~~~~~~~~~~~
  1117. ../wrapper.cc:141:41: error: expected primary-expression before ‘>’ token
  1118.          GetFunction(New<FunctionTemplate>(GetContactsCount)).ToLocalChecked());
  1119.                                          ^
  1120. ../wrapper.cc:141:43: error: ‘GetContactsCount’ was not declared in this scope
  1121.          GetFunction(New<FunctionTemplate>(GetContactsCount)).ToLocalChecked());
  1122.                                            ^~~~~~~~~~~~~~~~
  1123. ../wrapper.cc:141:43: note: suggested alternative: ‘GetConstructorName’
  1124.          GetFunction(New<FunctionTemplate>(GetContactsCount)).ToLocalChecked());
  1125.                                            ^~~~~~~~~~~~~~~~
  1126.                                            GetConstructorName
  1127. ../wrapper.cc:143:5: error: ‘Nan’ has not been declared
  1128.      Nan::Set(target, New<String>("getContacts").ToLocalChecked(),
  1129.      ^~~
  1130. ../wrapper.cc:143:32: error: expected primary-expression before ‘>’ token
  1131.      Nan::Set(target, New<String>("getContacts").ToLocalChecked(),
  1132.                                 ^
  1133. ../wrapper.cc:143:49: error: request for member ‘ToLocalChecked’ in("getContacts")’, which is of non-class type ‘const char [12]
  1134.      Nan::Set(target, New<String>("getContacts").ToLocalChecked(),
  1135.                                                  ^~~~~~~~~~~~~~
  1136. ../wrapper.cc:144:41: error: expected primary-expression before ‘>’ token
  1137.          GetFunction(New<FunctionTemplate>(GetContacts)).ToLocalChecked());
  1138.                                          ^
  1139. ../wrapper.cc:144:43: error: ‘GetContacts’ was not declared in this scope
  1140.          GetFunction(New<FunctionTemplate>(GetContacts)).ToLocalChecked());
  1141.                                            ^~~~~~~~~~~
  1142. ../wrapper.cc:144:43: note: suggested alternative: ‘Contents’
  1143.          GetFunction(New<FunctionTemplate>(GetContacts)).ToLocalChecked());
  1144.                                            ^~~~~~~~~~~
  1145.                                            Contents
  1146. ../wrapper.cc: At global scope:
  1147. ../wrapper.cc:145:1: error: expected unqualified-id at end of input
  1148.  }
  1149.  ^
  1150. ../wrapper.cc:145:1: error: expected ‘}’ at end of input
  1151. In file included from /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/src/node.h:42:0,
  1152.                  from ../../nan/nan.h:51,
  1153.                  from ../wrapper.cc:18:
  1154. /home/kujaw/.electron-gyp/.node-gyp/iojs-1.7.9/deps/v8/include/v8.h:3160:19: warning: inline function ‘void* v8::Object::GetAlignedPointerFromInternalField(int)’ used but never defined
  1155.    V8_INLINE void* GetAlignedPointerFromInternalField(int index);
  1156.                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1157. make: *** [electron-addressbook.target.mk:96: Release/obj.target/electron-addressbook/wrapper.o] Error 1
  1158. make: Leaving directory '/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/node-addressbook/build'
  1159. gyp ERR! build error
  1160. gyp ERR! stack Error: `make` failed with exit code: 2
  1161. gyp ERR! stack     at ChildProcess.onExit (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/node-gyp/lib/build.js:258:23)
  1162. gyp ERR! stack     at ChildProcess.emit (events.js:180:13)
  1163. gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
  1164. gyp ERR! System Linux 4.14.34-1-MANJARO
  1165. gyp ERR! command "/usr/bin/node" "/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/.bin/node-gyp" "rebuild" "--target=1.7.9" "--arch=x64" "--dist-url=https://atom.io/download/electron" "--build-from-source"
  1166. gyp ERR! cwd /home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/node-addressbook
  1167. gyp ERR! node -v v9.11.1
  1168. gyp ERR! node-gyp -v v3.6.2
  1169. gyp ERR! not ok
  1170.  
  1171. Failed with exit code: 1
  1172.     at SafeSubscriber._error (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/spawn-rx/lib/src/index.js:277:84)
  1173.     at SafeSubscriber.__tryOrUnsub (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/rxjs/Subscriber.js:242:16)
  1174.     at SafeSubscriber.error (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/rxjs/Subscriber.js:201:26)
  1175.     at Subscriber._error (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/rxjs/Subscriber.js:132:26)
  1176.     at Subscriber.error (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/rxjs/Subscriber.js:106:18)
  1177.     at MapSubscriber.Subscriber._error (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/rxjs/Subscriber.js:132:26)
  1178.     at MapSubscriber.Subscriber.error (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/rxjs/Subscriber.js:106:18)
  1179.     at SafeSubscriber._next (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/spawn-rx/lib/src/index.js:251:65)
  1180.     at SafeSubscriber.__tryOrSetError (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/rxjs/Subscriber.js:251:16)
  1181.     at SafeSubscriber.next (/home/kujaw/.cache/pacaur/wire-desktop/src/wire-desktop-release-3.0.2816/electron/node_modules/rxjs/Subscriber.js:191:27)
  1182. npm ERR! code ELIFECYCLE
  1183. npm ERR! errno 255
  1184. npm ERR! wireinternal@ rebuild-native-modules: `node ./rebuild-native-modules.js "electron-rebuild" "-f -m ./"`
  1185. npm ERR! Exit status 255
  1186. npm ERR!
  1187. npm ERR! Failed at the wireinternal@ rebuild-native-modules script.
  1188. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  1189.  
  1190. npm ERR! A complete log of this run can be found in:
  1191. npm ERR!     /home/kujaw/.npm/_logs/2018-04-26T13_37_36_702Z-debug.log
  1192. npm ERR! code ELIFECYCLE
  1193. npm ERR! errno 255
  1194. npm ERR! wire-desktop@ install: `cd electron && npm run rebuild-native-modules`
  1195. npm ERR! Exit status 255
  1196. npm ERR!
  1197. npm ERR! Failed at the wire-desktop@ install script.
  1198. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  1199.  
  1200. npm ERR! A complete log of this run can be found in:
  1201. npm ERR!     /home/kujaw/.npm/_logs/2018-04-26T13_37_36_905Z-debug.log
  1202. ==> ERROR: A failure occurred in build().
  1203.     Aborting...
  1204. :: failed to build wire-desktop package(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement