Package Details: ledger-live 2.94.0-3

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://www.ledger.com/ledger-live
Keywords: bitcoin cryptocurrency wallet
Licenses: MIT
Submitter: meriadec
Maintainer: phnx47
Last Packager: phnx47
Votes: 21
Popularity: 0.050571
First Submitted: 2018-07-19 09:01 (UTC)
Last Updated: 2024-12-19 06:15 (UTC)

Latest Comments

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

phnx47 commented on 2023-03-31 10:38 (UTC)

@1x2y With --frozen-lockfile pnpm install everything exactly to the specs of the pnpm-lock.yaml file. Seems your lockfile is out of sync, something changes package.json or lock file.

Try clean your yay cache for ledger-live.

1x2y commented on 2023-03-31 10:20 (UTC) (edited on 2023-03-31 10:21 (UTC) by 1x2y)

Getting this message when I attempt to install with yay, not quite sure what it means or if I should run the recommended command. Any help would be great.

ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE  Cannot perform a frozen installation because the lockfile needs updates

Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"

==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ledger-live

OrganicMeatbag commented on 2023-03-06 22:46 (UTC)

@phnx47 Hey. i tested it with yay. It Works!

phnx47 commented on 2023-03-06 12:48 (UTC) (edited on 2023-03-06 13:09 (UTC) by phnx47)

@OrganicMeatbag @HD_hirku Hey. Finally I found bug with paru, maybe same bug with yay. Environment is not preserved between prepare and build steps. I tested before with makepkg and missed problem with AUR Helpers...

Paru issue: #948 - Environment is not preserved between build steps.

I changed build logic, should be fine with AUR Helpers as well. Can you try build latest version?

phnx47 commented on 2023-02-16 03:53 (UTC) (edited on 2023-02-16 03:55 (UTC) by phnx47)

v2.53.2 has been released, but I don't have access to my Arch Linux machine temporary to check and update it. I can add Co-Maintainer who ready to help me with update. Otherwise you can wait till 19 Feb or can use ledger-live-git version.

phnx47 commented on 2023-02-16 03:42 (UTC) (edited on 2023-02-16 03:45 (UTC) by phnx47)

@OrganicMeatbag Hello, try suggestion from @HD_hirku, try build in clean chroot, try clean cache and build with makepkg command.

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