Package Details: teams-for-linux 1.4.37-1

Git Clone URL: https://aur.archlinux.org/teams-for-linux.git (read-only, click to copy)
Package Base: teams-for-linux
Description: Unofficial Microsoft Teams client for Linux using Electron.
Upstream URL: https://github.com/IsmaelMartinez/teams-for-linux
Licenses: GPL-3.0-only
Submitter: ivelkov
Maintainer: frealgagu (jijojosephk, pschichtel)
Last Packager: pschichtel
Votes: 72
Popularity: 5.09
First Submitted: 2018-04-03 15:36 (UTC)
Last Updated: 2024-05-05 19:51 (UTC)

Pinned Comments

pschichtel commented on 2024-04-30 20:18 (UTC) (edited on 2024-04-30 20:19 (UTC) by pschichtel)

Before marking the package out of date, please first check that the new version is not a pre-release. I'm tracking releases, not pre-releases.

jijojosephk commented on 2024-02-05 02:42 (UTC)

Talk to community members here:

https://matrix.to/#/#teams-for-linux_community:gitter.im

frealgagu commented on 2020-12-05 17:56 (UTC)

I maintain the latest built package at:

https://github.com/frealgagu/archlinux.teams-for-linux/releases

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 22 Next › Last »

japhir commented on 2020-03-25 09:04 (UTC)

Still breaks on . spellchecker.

I currently have the official build installed, but it crashes when screen sharing on wayland and I read that this does support that.

newsboost commented on 2020-03-18 11:27 (UTC)

Not working at all - something about spellchecker dependency, I think:

[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/2] ⠐ spellchecker
error /home/user/.cache/yay/teams-for-linux/src/teams-for-linux-1.0.0/node_modules/spellchecker: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
...
...
make: *** [spellchecker.target.mk:120: Release/obj.target/spellchecker/src/worker.o] Error 1
make: Leaving directory '/home/user/.cache/yay/teams-for-linux/src/teams-for-linux-1.0.0/node_modules/spellchecker/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.5.8-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/user/.cache/yay/teams-for-linux/src/teams-for-linux-1.0.0/node_modules/spellchecker
gyp ERR! node -v v13.11.0
gyp ERR! node-gyp -v v6.1.0
gyp ERR! not ok

==> ERROR: A failure occurred in build().
    Aborting...
Error making: teams-for-linux

ogghi commented on 2019-12-10 19:57 (UTC)

Now there is this anyway: https://aur.archlinux.org/packages/teams/

Bothric commented on 2019-12-10 19:55 (UTC)

Got it to build and install, by git clone the link the I did what @snis said, install/downgrade nodejs to version 12.13.0. After that i did "makepkg -s" and then "sudo pacman -U teams-for-linux-1.0.0-1-x86_64.pkg.tar.xz". Works great!

ogghi commented on 2019-12-09 17:31 (UTC)

Same here, can't get it installed.

arti commented on 2019-11-25 11:00 (UTC)

There seems to be a problem with spellchecker package https://github.com/atom/node-spellchecker/issues/127

snis commented on 2019-11-08 14:32 (UTC)

@macfly, yes same error with nodejs version 13.1.0 (in community-testing). Works if you downgrade nodejs to version 12.13.0 in community

macfly commented on 2019-11-06 02:50 (UTC) (edited on 2019-11-06 02:51 (UTC) by macfly)

Hello,

Does any one have that compilation issue when installing version 1.0.0 ?

gyp info find Python using Python version 3.7.4 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/user/.cache/yay/teams-for-linux/src/teams-for-linux-1.0.0/node_modules/spellchecker/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/user/.cache/node-gyp/13.0.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/user/.cache/node-gyp/13.0.1',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/user/.cache/node-gyp/13.0.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/user/.cache/yay/teams-for-linux/src/teams-for-linux-1.0.0/node_modules/spellchecker',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/user/.cache/yay/teams-for-linux/src/teams-for-linux-1.0.0/node_modules/spellchecker/build'
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affentry.o
In file included from ../vendor/hunspell/src/hunspell/affentry.cxx:9:
../vendor/hunspell/src/hunspell/affentry.hxx:30:105: warning: converting to non-pointer type ‘short unsigned int’ from NULL [-Wconversion-null]
   30 |   struct hentry *      check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = NULL);
      |                                                                                                         ^~~~
../vendor/hunspell/src/hunspell/affentry.hxx:93:114: warning: converting to non-pointer type ‘short unsigned int’ from NULL [-Wconversion-null]
   93 |   struct hentry *   check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = NULL);
      |                                                                                                                  ^~~~
../vendor/hunspell/src/hunspell/affentry.cxx: In member function ‘int PfxEntry::test_condition(const char*)’:
../vendor/hunspell/src/hunspell/affentry.cxx:113:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  113 |          case '.': if (!pos) { // dots are not metacharacters in groups: [.]
      |                    ^~
../vendor/hunspell/src/hunspell/affentry.cxx:120:5: note: here
  120 |     default: {
      |     ^~~~~~~
../vendor/hunspell/src/hunspell/affentry.cxx: In member function ‘int SfxEntry::test_condition(const char*, const char*)’:
../vendor/hunspell/src/hunspell/affentry.cxx:501:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  501 |         case '.': if (!pos) { // dots are not metacharacters in groups: [.]
      |                   ^~
../vendor/hunspell/src/hunspell/affentry.cxx:516:5: note: here
  516 |     default: {
      |     ^~~~~~~
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affixmgr.o
In file included from ../vendor/hunspell/src/hunspell/affixmgr.cxx:12:
../vendor/hunspell/src/hunspell/affentry.hxx:30:105: warning: converting to non-pointer type ‘short unsigned int’ from NULL [-Wconversion-null]
   30 |   struct hentry *      check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = NULL);
      |                                                                                                         ^~~~
../vendor/hunspell/src/hunspell/affentry.hxx:93:114: warning: converting to non-pointer type ‘short unsigned int’ from NULL [-Wconversion-null]
   93 |   struct hentry *   check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = NULL);
      |                                                                                                                  ^~~~
../vendor/hunspell/src/hunspell/affixmgr.cxx: In member function ‘int AffixMgr::parse_convtable(char*, FileMgr*, RepList**, const char*)’:
../vendor/hunspell/src/hunspell/affixmgr.cxx:3654:58: warning: argument to ‘sizeof’ in ‘int strncmp(const char*, const char*, size_t)’ call is the same expression as the second source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
 3654 |                              if (strncmp(piece, keyword, sizeof(keyword)) != 0) {
      |                                                          ^~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ../vendor/hunspell/src/hunspell/affixmgr.cxx:5:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘int AffixMgr::encodeit(affentry&, char*)’ at ../vendor/hunspell/src/hunspell/affixmgr.cxx:1075:12:
/usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 20 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/csutil.o
In file included from /usr/include/string.h:494,
                 from ../vendor/hunspell/src/hunspell/csutil.cxx:5:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘void strlinecat(char*, const char*)’ at ../vendor/hunspell/src/hunspell/csutil.cxx:411:24:
/usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/hunspell/src/hunspell/csutil.cxx: In function ‘void strlinecat(char*, const char*)’:
../vendor/hunspell/src/hunspell/csutil.cxx:407:21: note: length computed here
  407 |     int len = strlen(s);
      |               ~~~~~~^~~
In file included from /usr/include/string.h:494,
                 from ../vendor/hunspell/src/hunspell/csutil.cxx:5:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘char* mystrrep(char*, const char*, const char*)’ at ../vendor/hunspell/src/hunspell/csutil.cxx:567:16:
/usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/hunspell/src/hunspell/csutil.cxx: In function ‘char* mystrrep(char*, const char*, const char*)’:
../vendor/hunspell/src/hunspell/csutil.cxx:552:26: note: length computed here
  552 |       int replen = strlen(rep);
      |                    ~~~~~~^~~~~
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/dictmgr.o
../vendor/hunspell/src/hunspell/dictmgr.cxx: In member function ‘int DictMgr::parse_file(const char*, const char*)’:
../vendor/hunspell/src/hunspell/dictmgr.cxx:102:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
  102 |                        pdict->region=NULL;
      |                                     ^
../vendor/hunspell/src/hunspell/dictmgr.cxx:103:21: note: here
  103 |                     case 2: //deliberate fallthrough
      |                     ^~~~
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/filemgr.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hashmgr.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hunspell.o
../vendor/hunspell/src/hunspell/hunspell.cxx: In member function ‘int Hunspell::spell(const char*, int*, char**)’:
../vendor/hunspell/src/hunspell/hunspell.cxx:369:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  369 |             *info += SPELL_ORIGCAP;
../vendor/hunspell/src/hunspell/hunspell.cxx:370:6: note: here
  370 |      case NOCAP: {
      |      ^~~~
../vendor/hunspell/src/hunspell/hunspell.cxx:439:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  439 |             }
      |             ^
../vendor/hunspell/src/hunspell/hunspell.cxx:441:6: note: here
  441 |      case INITCAP: {
      |      ^~~~
../vendor/hunspell/src/hunspell/hunspell.cxx: In member function ‘int Hunspell::suggest(char***, const char*)’:
../vendor/hunspell/src/hunspell/hunspell.cxx:741:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
  741 |                     capwords = 1;
      |                     ~~~~~~~~~^~~
../vendor/hunspell/src/hunspell/hunspell.cxx:742:6: note: here
  742 |      case HUHCAP: {
      |      ^~~~
../vendor/hunspell/src/hunspell/hunspell.cxx:865:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  865 |               capwords = 1;
      |               ~~~~~~~~~^~~
../vendor/hunspell/src/hunspell/hunspell.cxx:866:11: note: here
  866 |           case HUHCAP: {
      |           ^~~~
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/hunzip.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/phonet.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/replist.o
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/suggestmgr.o
In file included from /usr/include/string.h:494,
                 from ../vendor/hunspell/src/hunspell/suggestmgr.cxx:5:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘char* SuggestMgr::suggest_gen(char**, int, char*)’ at ../vendor/hunspell/src/hunspell/suggestmgr.cxx:1723:12:
/usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/parsers/textparser.o
  AR(target) Release/obj.target/hunspell.a
  COPY Release/hunspell.a
  CXX(target) Release/obj.target/spellchecker/src/main.o
In file included from ../src/main.cc:3:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
 2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
      |                                                              ^
../src/main.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Spellchecker::CheckSpelling(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/main.cc:137:89: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
  137 |       misspelled_range->Set(Nan::New("start").ToLocalChecked(), Nan::New<Integer>(start));
      |                                                                                         ^
In file included from /home/user/.cache/node-gyp/13.0.1/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../src/main.cc:3:
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3416 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3419 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note:   candidate expects 3 arguments, 2 provided
../src/main.cc:138:85: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
  138 |       misspelled_range->Set(Nan::New("end").ToLocalChecked(), Nan::New<Integer>(end));
      |                                                                                     ^
In file included from /home/user/.cache/node-gyp/13.0.1/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../src/main.cc:3:
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3416 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3419 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note:   candidate expects 3 arguments, 2 provided
../src/main.cc:139:42: error: no matching function for call to ‘v8::Array::Set(size_t&, v8::Local<v8::Object>&)’
  139 |       result->Set(index, misspelled_range);
      |                                          ^
In file included from /home/user/.cache/node-gyp/13.0.1/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../src/main.cc:3:
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3416 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3419 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note:   candidate expects 3 arguments, 2 provided
../src/main.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Spellchecker::GetAvailableDictionaries(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/main.cc:223:73: error: no matching function for call to ‘v8::Array::Set(size_t&, v8::Local<v8::String>)’
  223 |       result->Set(i, Nan::New(dict.data(), dict.size()).ToLocalChecked());
      |                                                                         ^
In file included from /home/user/.cache/node-gyp/13.0.1/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../src/main.cc:3:
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3416 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3419 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note:   candidate expects 3 arguments, 2 provided
../src/main.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Spellchecker::GetCorrectionsForMisspelling(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/main.cc:249:42: error: no matching function for call to ‘v8::Array::Set(size_t&, v8::Local<v8::String>)’
  249 |       result->Set(i, val.ToLocalChecked());
      |                                          ^
In file included from /home/user/.cache/node-gyp/13.0.1/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../src/main.cc:3:
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3416 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3419 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note:   candidate expects 3 arguments, 2 provided
../src/main.cc: In static member function ‘static void {anonymous}::Spellchecker::Init(v8::Local<v8::Object>)’:
../src/main.cc:289:103: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Function>)’
  289 |     exports->Set(Nan::New("Spellchecker").ToLocalChecked(), tpl->GetFunction(context).ToLocalChecked());
      |                                                                                                       ^
In file included from /home/user/.cache/node-gyp/13.0.1/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../src/main.cc:3:
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3416 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3416:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3419 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:3419:37: note:   candidate expects 3 arguments, 2 provided
In file included from ../../nan/nan.h:54,
                 from ../src/main.cc:3:
../src/main.cc: At global scope:
/home/user/.cache/node-gyp/13.0.1/include/node/node.h:571:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  571 |       (node::addon_register_func) (regfunc),                          \
      |                                           ^
/home/user/.cache/node-gyp/13.0.1/include/node/node.h:605:3: note: in expansion of macro ‘NODE_MODULE_X’
  605 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../src/main.cc:299:1: note: in expansion of macro ‘NODE_MODULE’
  299 | NODE_MODULE(spellchecker, Init)
      | ^~~~~~~~~~~
In file included from /home/user/.cache/node-gyp/13.0.1/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../src/main.cc:3:
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/user/.cache/node-gyp/13.0.1/include/node/node_object_wrap.h:84:78:   required from here
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:10092:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
10092 |                reinterpret_cast<Callback>(callback), type);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61:   required from here
/home/user/.cache/node-gyp/13.0.1/include/node/v8.h:10092:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [spellchecker.target.mk:118: Release/obj.target/spellchecker/src/main.o] Error 1
make: Leaving directory '/home/user/.cache/yay/teams-for-linux/src/teams-for-linux-1.0.0/node_modules/spellchecker/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.3.8-zen1-1-zen
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/user/.cache/yay/teams-for-linux/src/teams-for-linux-1.0.0/node_modules/spellchecker
gyp ERR! node -v v13.0.1
gyp ERR! node-gyp -v v6.0.0
gyp ERR! not ok

Thanks for your feedbacks,

DvdGC commented on 2019-08-21 11:58 (UTC)

@xamindar, 0.7.0 is broken. They have a conflict on one of the files they need to solve (done on master), and they've not done a new release. So that means a bit more work for @fealgagu as it needs to create a patch for it.

xamindar commented on 2019-08-20 12:52 (UTC)

Can we get an update on this? 0.7.0 has been out for over a day now.