Package Details: ledger-live 2.79.1-1

Git Clone URL: https://aur.archlinux.org/ledger-live.git (read-only, click to copy)
Package Base: ledger-live
Description: Maintain your Ledger devices
Upstream URL: https://github.com/LedgerHQ/ledger-live
Keywords: bitcoin cryptocurrency wallet
Licenses: MIT
Submitter: meriadec
Maintainer: phnx47
Last Packager: phnx47
Votes: 19
Popularity: 0.063011
First Submitted: 2018-07-19 09:01 (UTC)
Last Updated: 2024-04-25 08:32 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 12 Next › Last »

OrganicMeatbag commented on 2023-02-15 22:26 (UTC)

Can someone please help me with this Error?

==> Starting build()...
Scope: 33 of 79 workspace projects
Lockfile is up to date, resolution step is skipped
.                                        |    +3696 ++++++++++++++++++++++++++
Packages are copied from the content-addressable store to the virtual store.
  Content-addressable store is at: /home/fk/.local/share/pnpm/store/v3
  Virtual store is at:             node_modules/.pnpm
Progress: resolved 3696, reused 3485, downloaded 0, added 3696, done
node_modules/.pnpm/blake2@4.1.1/node_modules/blake2: Running install script, failed in 1.6s
.../blake2@4.1.1/node_modules/blake2 install$ node-gyp rebuild
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@9.3.1
│ gyp info using node@19.6.0 | linux | x64
│ gyp info find Python using Python version 3.10.9 found at "/usr/bin/python3"
│ gyp info spawn /usr/bin/python3
│ gyp info spawn args [
│ gyp info spawn args   '/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp
│ 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/fk/.cache/yay/ledger-live/src/ledger-live--ledg
│ gyp info spawn args   '-I',
│ gyp info spawn args   '/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp
│ gyp info spawn args   '-I',
│ gyp info spawn args   '/home/fk/.cache/node-gyp/19.6.0/include/node/common.g
│ gyp info spawn args   '-Dlibrary=shared_library',
│ gyp info spawn args   '-Dvisibility=default',
│ gyp info spawn args   '-Dnode_root_dir=/home/fk/.cache/node-gyp/19.6.0',
│ gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/pnpm/dist/node_m
│ gyp info spawn args   '-Dnode_lib_file=/home/fk/.cache/node-gyp/19.6.0/<(tar
│ gyp info spawn args   '-Dmodule_root_dir=/home/fk/.cache/yay/ledger-live/src
│ 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/fk/.cache/yay/ledger-live/src/ledger-live--l
│   CXX(target) Release/obj.target/binding/src/binding.o
│ In file included from ../../../../nan@2.15.0/node_modules/nan/nan.h:178,
│                  from ../src/binding.cpp:4:
│ ../../../../nan@2.15.0/node_modules/nan/nan_callbacks.h:55:23: error: ‘Acces
│    55 | typedef v8::Local<v8::AccessorSignature> Sig;
│       |                       ^~~~~~~~~~~~~~~~~
│ ../../../../nan@2.15.0/node_modules/nan/nan_callbacks.h:55:40: error: templa
│    55 | typedef v8::Local<v8::AccessorSignature> Sig;
│       |                                        ^
│ ../../../../nan@2.15.0/node_modules/nan/nan.h: In function ‘void Nan::SetAcc
│ ../../../../nan@2.15.0/node_modules/nan/nan.h:2544:19: error: no matching fu
│  2544 |   tpl->SetAccessor(
│       |   ~~~~~~~~~~~~~~~~^
│  2545 |       name
│       |       ~~~~         
│  2546 |     , getter_
│       |     ~~~~~~~~~      
│  2547 |     , setter_
│       |     ~~~~~~~~~      
│  2548 |     , obj
│       |     ~~~~~          
│  2549 |     , settings
│       |     ~~~~~~~~~~     
│  2550 |     , attribute
│       |     ~~~~~~~~~~~    
│  2551 |     , signature);
│       |     ~~~~~~~~~~~~   
│ In file included from /home/fk/.cache/node-gyp/19.6.0/include/node/v8-functi
│                  from /home/fk/.cache/node-gyp/19.6.0/include/node/v8.h:33,
│                  from /home/fk/.cache/node-gyp/19.6.0/include/node/node.h:73
│                  from ../src/binding.cpp:1:
│ /home/fk/.cache/node-gyp/19.6.0/include/node/v8-template.h:807:8: note: cand
│   807 |   void SetAccessor(
│       |        ^~~~~~~~~~~
│ /home/fk/.cache/node-gyp/19.6.0/include/node/v8-template.h:812:22: note:   n
│   812 |       SideEffectType getter_side_effect_type = SideEffectType::kHasS
│       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ /home/fk/.cache/node-gyp/19.6.0/include/node/v8-template.h:814:8: note: cand
│   814 |   void SetAccessor(
│       |        ^~~~~~~~~~~
│ /home/fk/.cache/node-gyp/19.6.0/include/node/v8-template.h:819:22: note:   n
│   819 |       SideEffectType getter_side_effect_type = SideEffectType::kHasS
│       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp: In static member function ‘static void Hash::Init(v8::Lo
│ ../src/binding.cpp:41:28: warning: ignoring return value of ‘v8::Maybe<bool>
│    41 |                 target->Set(Nan::GetCurrentContext(), Nan::New("Hash
│       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ In file included from /home/fk/.cache/node-gyp/19.6.0/include/node/v8-array-
│                  from /home/fk/.cache/node-gyp/19.6.0/include/node/v8.h:24:
│ /home/fk/.cache/node-gyp/19.6.0/include/node/v8-object.h:244:37: note: decla
│   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
│       |                                     ^~~
│ ../src/binding.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types f
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:99:50: note: in expansion of macro ‘BLAKE_FN_CAST’
│    99 |                         obj->any_blake2_update = BLAKE_FN_CAST(blake
│       |                                                  ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types f
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:100:49: note: in expansion of macro ‘BLAKE_FN_CAST’
│   100 |                         obj->any_blake2_final = BLAKE_FN_CAST(blake2
│       |                                                 ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types f
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:122:50: note: in expansion of macro ‘BLAKE_FN_CAST’
│   122 |                         obj->any_blake2_update = BLAKE_FN_CAST(blake
│       |                                                  ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types f
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:123:49: note: in expansion of macro ‘BLAKE_FN_CAST’
│   123 |                         obj->any_blake2_final = BLAKE_FN_CAST(blake2
│       |                                                 ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types f
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:145:50: note: in expansion of macro ‘BLAKE_FN_CAST’
│   145 |                         obj->any_blake2_update = BLAKE_FN_CAST(blake
│       |                                                  ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types f
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:146:49: note: in expansion of macro ‘BLAKE_FN_CAST’
│   146 |                         obj->any_blake2_final = BLAKE_FN_CAST(blake2
│       |                                                 ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types f
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:168:50: note: in expansion of macro ‘BLAKE_FN_CAST’
│   168 |                         obj->any_blake2_update = BLAKE_FN_CAST(blake
│       |                                                  ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types f
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:169:49: note: in expansion of macro ‘BLAKE_FN_CAST’
│   169 |                         obj->any_blake2_final = BLAKE_FN_CAST(blake2
│       |                                                 ^~~~~~~~~~~~~
│ ../src/binding.cpp: At global scope:
│ /home/fk/.cache/node-gyp/19.6.0/include/node/node.h:993:7: warning: cast bet
│   993 |       (node::addon_register_func) (regfunc),                        
│       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ /home/fk/.cache/node-gyp/19.6.0/include/node/node.h:1027:3: note: in expansi
│  1027 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/n
│       |   ^~~~~~~~~~~~~
│ ../src/binding.cpp:259:1: note: in expansion of macro ‘NODE_MODULE’
│   259 | NODE_MODULE(binding, init)
│       | ^~~~~~~~~~~
│ make: *** [binding.target.mk:137: Release/obj.target/binding/src/binding.o] 
│ make: Leaving directory '/home/fk/.cache/yay/ledger-live/src/ledger-live--le
│ gyp ERR! build error 
│ gyp ERR! stack Error: `make` failed with exit code: 2
│ gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/pnpm/dist/n
│ gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
│ gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_proce
│ gyp ERR! System Linux 6.1.11-arch1-1
│ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/pnpm/dist/node_modul
│ gyp ERR! cwd /home/fk/.cache/yay/ledger-live/src/ledger-live--ledgerhq-live-
│ gyp ERR! node -v v19.6.0
│ gyp ERR! node-gyp -v v9.3.1
│ gyp ERR! not ok 
└─ Failed in 1.6s at /home/fk/.cache/yay/ledger-live/src/ledger-live--ledgerhq-live-desktop-2.53.1/node_modules/.pnpm/blake2@4.1.1/node_modules/blake2
 ELIFECYCLE  Command failed with exit code 1.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ledger-live

OrganicMeatbag commented on 2023-02-12 08:19 (UTC)

@HD_hirku Could you please make my day and explain to me, how you did this? I am still learning and had no success so far, so im asking you directly how to reinstall all dependencies and rebuild fnm. I have the exact same log output as you had.

I hope you can spare a minute to make things clear for me! Im a little lost.

HD_hirku commented on 2023-02-09 20:51 (UTC)

A clean reinstall of dependencies and rebuilding fnm fixed the problem, thanks! Don't know if there was a faster fix but it worked.

phnx47 commented on 2023-02-09 15:01 (UTC)

@HD_hirku I believe that bug with node version, fnm should switch you to v16, but in your log I see v19,

from my log with clean chroot:

.../blake2@4.1.1/node_modules/blake2 install: gyp info it worked if it ends with ok
.../blake2@4.1.1/node_modules/blake2 install: gyp info using node-gyp@9.3.1
.../blake2@4.1.1/node_modules/blake2 install: gyp info using node@16.15.1 | linux | x64

phnx47 commented on 2023-02-09 12:39 (UTC)

@HD_hirku I can build without error. I tested with clean chroot as well.

HD_hirku commented on 2023-02-09 08:32 (UTC)

Is this an upstream issue? I remember a previous version had a blake2 build error nearly identical to this. Don't remember what the solution was.

==> Starting build()...
Scope: 33 of 79 workspace projects
Lockfile is up to date, resolution step is skipped
.                                        |    +3696 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /home/arch/.local/share/pnpm/store/v3
  Virtual store is at:             node_modules/.pnpm
Progress: resolved 3696, reused 3485, downloaded 0, added 3696, done
node_modules/.pnpm/blake2@4.1.1/node_modules/blake2: Running install script, failed in 1.9s
.../blake2@4.1.1/node_modules/blake2 install$ node-gyp rebuild
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@9.3.1
│ gyp info using node@19.6.0 | linux | x64
│ gyp info find Python using Python version 3.10.9 found at "/usr/bin/python3"
│ gyp info spawn /usr/bin/python3
│ gyp info spawn args [
│ gyp info spawn args   '/usr/lib/node_modules/pnpm/dist/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/arch/.cache/yay/ledger-live/src/ledger-live--ledgerhq-live-desktop-2.53.1/node_modules/.pnpm/blake2@4.1.1/node_modules/blake2/build/co
│ gyp info spawn args   '-I',
│ gyp info spawn args   '/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/addon.gypi',
│ gyp info spawn args   '-I',
│ gyp info spawn args   '/home/arch/.cache/node-gyp/19.6.0/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/arch/.cache/node-gyp/19.6.0',
│ gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp',
│ gyp info spawn args   '-Dnode_lib_file=/home/arch/.cache/node-gyp/19.6.0/<(target_arch)/node.lib',
│ gyp info spawn args   '-Dmodule_root_dir=/home/arch/.cache/yay/ledger-live/src/ledger-live--ledgerhq-live-desktop-2.53.1/node_modules/.pnpm/blake2@4.1.1/node_modul
│ 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/arch/.cache/yay/ledger-live/src/ledger-live--ledgerhq-live-desktop-2.53.1/node_modules/.pnpm/blake2@4.1.1/node_modules/blake2/build
│   CXX(target) Release/obj.target/binding/src/binding.o
│   CC(target) Release/obj.target/binding/src/BLAKE2/sse/blake2b.o
│   CC(target) Release/obj.target/binding/src/BLAKE2/sse/blake2bp.o
│   CC(target) Release/obj.target/binding/src/BLAKE2/sse/blake2s.o
│   CC(target) Release/obj.target/binding/src/BLAKE2/sse/blake2sp.o
│ In file included from ../../../../nan@2.15.0/node_modules/nan/nan.h:178,
│                  from ../src/binding.cpp:4:
│ ../../../../nan@2.15.0/node_modules/nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
│    55 | typedef v8::Local<v8::AccessorSignature> Sig;
│       |                       ^~~~~~~~~~~~~~~~~
│ ../../../../nan@2.15.0/node_modules/nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
│    55 | typedef v8::Local<v8::AccessorSignature> Sig;
│       |                                        ^
│ ../../../../nan@2.15.0/node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback,
│ ../../../../nan@2.15.0/node_modules/nan/nan.h:2544:19: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::L
│  2544 |   tpl->SetAccessor(
│       |   ~~~~~~~~~~~~~~~~^
│  2545 |       name
│       |       ~~~~
│  2546 |     , getter_
│       |     ~~~~~~~~~
│  2547 |     , setter_
│       |     ~~~~~~~~~
│  2548 |     , obj
│       |     ~~~~~
│  2549 |     , settings
│       |     ~~~~~~~~~~
│  2550 |     , attribute
│       |     ~~~~~~~~~~~
│  2551 |     , signature);
│       |     ~~~~~~~~~~~~
│ In file included from /home/arch/.cache/node-gyp/19.6.0/include/node/v8-function.h:15,
│                  from /home/arch/.cache/node-gyp/19.6.0/include/node/v8.h:33,
│                  from /home/arch/.cache/node-gyp/19.6.0/include/node/node.h:73,
│                  from ../src/binding.cpp:1:
│ /home/arch/.cache/node-gyp/19.6.0/include/node/v8-template.h:807:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGette
│   807 |   void SetAccessor(
│       |        ^~~~~~~~~~~
│ /home/arch/.cache/node-gyp/19.6.0/include/node/v8-template.h:812:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffect
│   812 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
│       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ /home/arch/.cache/node-gyp/19.6.0/include/node/v8-template.h:814:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGet
│   814 |   void SetAccessor(
│       |        ^~~~~~~~~~~
│ /home/arch/.cache/node-gyp/19.6.0/include/node/v8-template.h:819:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffect
│   819 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
│       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp: In static member function ‘static void Hash::Init(v8::Local<v8::Object>)’:
│ ../src/binding.cpp:41:28: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, decl
│    41 |                 target->Set(Nan::GetCurrentContext(), Nan::New("Hash").ToLocalChecked(), Nan::GetFunction(tpl).ToLocalChecked());
│       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ In file included from /home/arch/.cache/node-gyp/19.6.0/include/node/v8-array-buffer.h:13,
│                  from /home/arch/.cache/node-gyp/19.6.0/include/node/v8.h:24:
│ /home/arch/.cache/node-gyp/19.6.0/include/node/v8-object.h:244:37: note: declared here
│   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
│       |                                     ^~~
│ ../src/binding.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Hash::New(Nan::NAN_METHOD_ARGS_TYPE)’:
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types from ‘int (*)(blake2b_state*, const void*, size_t)’ {aka ‘int (*)(blake2b_state__*, const vo
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64_t)>(fn)
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:99:50: note: in expansion of macro ‘BLAKE_FN_CAST’
│    99 |                         obj->any_blake2_update = BLAKE_FN_CAST(blake2b_update);
│       |                                                  ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types from ‘int (*)(blake2b_state*, void*, size_t)’ {aka ‘int (*)(blake2b_state__*, void*, long un
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64_t)>(fn)
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:100:49: note: in expansion of macro ‘BLAKE_FN_CAST’
│   100 |                         obj->any_blake2_final = BLAKE_FN_CAST(blake2b_final);
│       |                                                 ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types from ‘int (*)(blake2bp_state*, const void*, size_t)’ {aka ‘int (*)(blake2bp_state__*, const
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64_t)>(fn)
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:122:50: note: in expansion of macro ‘BLAKE_FN_CAST’
│   122 |                         obj->any_blake2_update = BLAKE_FN_CAST(blake2bp_update);
│       |                                                  ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types from ‘int (*)(blake2bp_state*, void*, size_t)’ {aka ‘int (*)(blake2bp_state__*, void*, long
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64_t)>(fn)
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:123:49: note: in expansion of macro ‘BLAKE_FN_CAST’
│   123 |                         obj->any_blake2_final = BLAKE_FN_CAST(blake2bp_final);
│       |                                                 ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types from ‘int (*)(blake2s_state*, const void*, size_t)’ {aka ‘int (*)(blake2s_state__*, const vo
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64_t)>(fn)
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:145:50: note: in expansion of macro ‘BLAKE_FN_CAST’
│   145 |                         obj->any_blake2_update = BLAKE_FN_CAST(blake2s_update);
│       |                                                  ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types from ‘int (*)(blake2s_state*, void*, size_t)’ {aka ‘int (*)(blake2s_state__*, void*, long un
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64_t)>(fn)
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:146:49: note: in expansion of macro ‘BLAKE_FN_CAST’
│   146 |                         obj->any_blake2_final = BLAKE_FN_CAST(blake2s_final);
│       |                                                 ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types from ‘int (*)(blake2sp_state*, const void*, size_t)’ {aka ‘int (*)(blake2sp_state__*, const
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64_t)>(fn)
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:168:50: note: in expansion of macro ‘BLAKE_FN_CAST’
│   168 |                         obj->any_blake2_update = BLAKE_FN_CAST(blake2sp_update);
│       |                                                  ^~~~~~~~~~~~~
│ ../src/binding.cpp:19:9: warning: cast between incompatible function types from ‘int (*)(blake2sp_state*, void*, size_t)’ {aka ‘int (*)(blake2sp_state__*, void*, long
│    19 |         reinterpret_cast<uintptr_t (*)(void*, const uint8_t*, uint64_t)>(fn)
│       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp:169:49: note: in expansion of macro ‘BLAKE_FN_CAST’
│   169 |                         obj->any_blake2_final = BLAKE_FN_CAST(blake2sp_final);
│       |                                                 ^~~~~~~~~~~~~
│ ../src/binding.cpp: At global scope:
│ /home/arch/.cache/node-gyp/19.6.0/include/node/node.h:993:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::add
│   993 |       (node::addon_register_func) (regfunc),                          \
│       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ /home/arch/.cache/node-gyp/19.6.0/include/node/node.h:1027:3: note: in expansion of macro ‘NODE_MODULE_X’
│  1027 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
│       |   ^~~~~~~~~~~~~
│ ../src/binding.cpp:259:1: note: in expansion of macro ‘NODE_MODULE’
│   259 | NODE_MODULE(binding, init)
│       | ^~~~~~~~~~~
│ make: *** [binding.target.mk:137: Release/obj.target/binding/src/binding.o] Error 1
│ make: Leaving directory '/home/arch/.cache/yay/ledger-live/src/ledger-live--ledgerhq-live-desktop-2.53.1/node_modules/.pnpm/blake2@4.1.1/node_modules/blake2/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/pnpm/dist/node_modules/node-gyp/lib/build.js:203:23)
│ gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
│ gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
│ gyp ERR! System Linux 6.1.9-arch1-2
│ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
│ gyp ERR! cwd /home/arch/.cache/yay/ledger-live/src/ledger-live--ledgerhq-live-desktop-2.53.1/node_modules/.pnpm/blake2@4.1.1/node_modules/blake2
│ gyp ERR! node -v v19.6.0
│ gyp ERR! node-gyp -v v9.3.1
│ gyp ERR! not ok
└─ Failed in 1.9s at /home/arch/.cache/yay/ledger-live/src/ledger-live--ledgerhq-live-desktop-2.53.1/node_modules/.pnpm/blake2@4.1.1/node_modules/blake2
 ELIFECYCLE  Command failed with exit code 1.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ledger-live

phnx47 commented on 2023-01-31 11:00 (UTC) (edited on 2023-01-31 11:14 (UTC) by phnx47)

Today hash mismatch was temporary because of changes in GitHub side. GitHub reverted their changes.

phnx47 commented on 2023-01-31 03:37 (UTC) (edited on 2023-01-31 03:54 (UTC) by phnx47)

@HD_hirku Originally I published with 7a655ae6831eed56fecb4d46e2d7af7610a60beb194e8e451f7e5d1c16b16734449c0cdc15dfea40f66f112baa31100bf6fb1f5fed51d6c5c6e4afdc31cdb4a7: https://aur.archlinux.org/cgit/aur.git/commit/?h=ledger-live&id=95ed6cd7ab4eadb69ac03135cbf73a137be5f467. Today morning hash changed when I tried download it after @ivanmlerner comment via PKGBUILD and I saw different hash b12b4d4733bdc8fa27d53e3166114b60e9b34bec1abf834888b89f54eaeb0f4816262eb09429d1b4d1dc2755aaa23e5e34eb97850ad160a1934c1706b86fb025, I checked it and downloaded via browser from https://github.com/LedgerHQ/ledger-live/releases/tag/%40ledgerhq%2Flive-desktop%402.52.0.

After your comment I downloaded again and I see 7a655ae6831eed56fecb4d46e2d7af7610a60beb194e8e451f7e5d1c16b16734449c0cdc15dfea40f66f112baa31100bf6fb1f5fed51d6c5c6e4afdc31cdb4a7. Something weird...

Updated hash! Thanks!

HD_hirku commented on 2023-01-31 03:10 (UTC)

Checksum is wrong, again.

Should be 7a655ae6831eed56fecb4d46e2d7af7610a60beb194e8e451f7e5d1c16b16734449c0cdc15dfea40f66f112baa31100bf6fb1f5fed51d6c5c6e4afdc31cdb4a7

phnx47 commented on 2023-01-31 00:17 (UTC)

@ivanmlerner Thanks! Checksum fixed!