Package Details: ledger-live 2.41.3-1

Git Clone URL: https://aur.archlinux.org/ledger-live.git (read-only, click to copy)
Package Base: ledger-live
Description: Ledger Live - Desktop
Upstream URL: https://github.com/LedgerHQ/ledger-live-desktop
Keywords: bitcoin cryptocurrency wallet
Licenses: MIT
Conflicts: ledger-live-bin, ledger-live-git
Provides: ledger-live
Submitter: meriadec
Maintainer: phnx47
Last Packager: phnx47
Votes: 16
Popularity: 0.62
First Submitted: 2018-07-19 09:01 (UTC)
Last Updated: 2022-05-03 14:05 (UTC)

Latest Comments

dvush commented on 2021-12-09 16:00 (UTC)

@phnx47 Hi, I have the same error as @crabvk below (ledger wants to be in a git repo) and probably @artafinde since I am building in a clean chroot (with AUR helper).

You are ofc aware of this since you liked this issue) and you set mentioned env variable https://github.com/LedgerHQ/ledger-live-desktop/issues/3918

I applied edits from @crabvk's patch (so it gets github tag) and then it worked.

phnx47 commented on 2021-12-08 16:29 (UTC)

@artafinde what build error? show me the log

artafinde commented on 2021-12-08 10:59 (UTC) (edited on 2021-12-08 11:29 (UTC) by artafinde)

@phnx47: not able to build in a clean chroot, is this not supported?

gotsreich commented on 2021-10-21 20:08 (UTC)

@hitchhooker It should be at /etc/udev/rules.d/20-hw1.rules

However, I get a different failure on installation anyway. The error output gets cut off for being too long but the first notable failure looks to be:

⨯ Get "https://github.com/electron/electron/releases/download/v13.1.9/electron-v13.1.9-linux-x64.zip": dial tcp: lookup github.com on [::1]:53: read udp [::1]:53907->[::1]:53: read: connection refused

hitchhooker commented on 2021-10-20 14:26 (UTC)

:: (0/1) Downloaded PKGBUILD: ledger-udev -> error fetching ledger-udev: error: The following untracked working tree files would be overwritten by merge: 20-hw1.rules Please move or remove them before you merge. Aborting context: exit status 1

--> cant locate any 20-hw1.rules file in system. How to solve this?

phnx47 commented on 2021-06-17 12:57 (UTC) (edited on 2021-06-17 12:57 (UTC) by phnx47)

@crabvk Yes, sorry, my mistake... LedgerHQ should fix that

crabvk commented on 2021-06-17 12:38 (UTC)

@phnx47
You're not building in clean chroot, right?
Also, as a maintainer, you have .git repo within PKGBUILD which makes the git call succeed.

phnx47 commented on 2021-06-17 12:28 (UTC) (edited on 2021-06-17 12:28 (UTC) by phnx47)

@crabvk Btw, I don't have problems with compiling this package. Everything correct in PKGBUILD, command git rev-parse --short HEAD not used during the build

crabvk commented on 2021-06-17 11:46 (UTC) (edited on 2021-06-17 11:54 (UTC) by crabvk)

@phnx47
Ok, fair enough. But this line causes the error https://github.com/LedgerHQ/ledger-live-desktop/blob/develop/tools/main.js#L15, because there's no git repo if building in clean chroot.

created an issue

phnx47 commented on 2021-06-17 11:26 (UTC)

@crabvk It is not git version. Git used for npm packages only.

crabvk commented on 2021-06-17 11:20 (UTC) (edited on 2021-06-17 11:21 (UTC) by crabvk)

Hi. I've got an error

Error: Command failed: git rev-parse --short HEAD
fatal: not a git repository (or any of the parent directories): .git

That's because the archive from the source= has no .git. I think you should change it to "git+https://github.com/LedgerHQ/ledger-live-desktop.git#tag=v${pkgver}".
Here's the patch https://gist.github.com/crabvk/0da29fa5fc6e8312282b38fe5fc545ae

phnx47 commented on 2021-06-12 05:39 (UTC)

@dr460nf1r3 yes, yarn needs git for install packages

dr460nf1r3 commented on 2021-06-11 15:03 (UTC)

I assumed it was needed because without I got an error message about it missing. The log is also from a clean chroot btw.

phnx47 commented on 2021-06-11 14:21 (UTC)

@dr460nf1r3 It is shouldn't use git. Log looking strange. I will check it in clean system

dr460nf1r3 commented on 2021-06-11 12:11 (UTC) (edited on 2021-06-11 12:27 (UTC) by dr460nf1r3)

Please add git to makedepends, needed in clean chroot. Also please have a look at this log, can't get this package to compile :/

sven21 commented on 2021-06-10 17:24 (UTC)

is it safe to use? im a bit FUDing ;D

agkbill commented on 2021-03-06 16:21 (UTC)

@phnx47 Ok, thanks, I do that and se how it works.

phnx47 commented on 2021-03-06 07:05 (UTC) (edited on 2021-03-06 07:06 (UTC) by phnx47)

@agkbill I just run build script from sources. I don't think that problem with package. Try build code from source and ask questions in github.

agkbill commented on 2021-03-06 06:49 (UTC) (edited on 2021-03-06 06:50 (UTC) by agkbill)

Hi was trying out "Ledger-live 2.23.0-1" after I got same error on "ledger-live-bin 2.23.0-1" it builds and install, but UnhandledPromiseRejectionWarning: SyntaxError

It looks like the same error that I gor with previous versons.

[07:44:28] christer@Archmain /home/christer (1) 
> ledger-live-desktop                                                                                                                                                                                                                                                     (base) 
Ledger Live 2.23.0
(node:22582) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at load (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3711:14)
    at async ensureNSLoaded (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3739:5)
    at async Object.getKey (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3814:3)
    at async App.<anonymous> (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:4087:20)
(node:22582) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:22582) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

phnx47 commented on 2021-03-05 15:03 (UTC)

@blazko ledger-live-bin - precompilled, it is extract binary from AppImage.

blazko commented on 2021-03-05 08:13 (UTC)

I did, but then there was a problem with dependencyledger-udev that eventually, I had to comment out and install it manually afterwards. Is there any reason we have both ledger-live and ledger-live-bin in aur?

phnx47 commented on 2021-03-04 14:53 (UTC)

@blazko You should resolve conflict with ledger-live-bin, just remove:

pacman -R ledger-live-bin

blazko commented on 2021-03-04 14:34 (UTC)

Can't update with error:

[blazej@blazej-t490s ~]$ pamac install ledger-live
Warning: ledger-live is only available from AUR
Preparing...
Cloning ledger-live build files...
Checking ledger-live dependencies...
Error: Failed to prepare transaction:
conflicting dependencies:
- ledger-live and ledger-live-bin are in conflict
Resolving dependencies...
Checking inter-conflicts...
Error: unresolvable package conflicts detected
Error: Failed to prepare transaction:
conflicting dependencies:
- ledger-live and ledger-live-bin are in conflict

phnx47 commented on 2021-02-10 06:55 (UTC) (edited on 2021-02-10 06:59 (UTC) by phnx47)

My build still ok. Run yarn install in ledger-live-desktop-2.20.0. keccak was rebuilt...

  • rebuilding native dependency  name=@ledgerhq/ledger-core version=6.10.0
  • rebuilding native dependency  name=keccak version=1.4.0
  • rebuilding native dependency  name=node-hid version=2.1.1
  • rebuilding native dependency  name=secp256k1 version=4.0.2
  • rebuilding native dependency  name=usb-detection version=4.10.0
  • rebuilding native dependency  name=keccak version=3.0.0
Done in 102.50s.
Done in 513.81s.

But yes, I can't rebuild in ledger-live-desktop-2.20.0/node_modules/keccak with command node-gyp rebuild.

I will try reproduce in new virtual machine without additional software later

arpspoof commented on 2021-02-09 22:45 (UTC) (edited on 2021-02-09 22:46 (UTC) by arpspoof)

@phnx47

My build fails when npm tries to rebuild the module keccak. I can reproduce this by running "node-gyp rebuild" from commandline in ledger-live-desktop-2.20.0/node_modules/keccak

make: *** [keccak.target.mk:125: Release/obj.target/keccak/src/addon.o] Error 1
make: Leaving directory '/home/jboo/.cache/pacaur/ledger-live/src/ledger-live-desktop-2.20.0/node_modules/keccak/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:314:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.10.14-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/jboo/.cache/pacaur/ledger-live/src/ledger-live-desktop-2.20.0/node_modules/keccak
gyp ERR! node -v v12
gyp ERR! not ok.20.1
gyp ERR! node-gyp

phnx47 commented on 2021-02-02 13:42 (UTC)

@e3a4 I can't reproduce this error.

e3a4 commented on 2021-02-02 12:46 (UTC)

@phnx47 I am not sure if it's a network issue. I can download that file manually through browser and by using wget on CLI without issues. Tried compiling three times so far, all fail due to the connection refused error.

phnx47 commented on 2021-02-02 12:38 (UTC)

@e3a4 Here problem:

Get "https://github.com/electron/electron/releases/download/v11.1.1/electron-v11.1.1-linux-x64.zip": dial tcp: lookup github.com on [::1]:53: read udp [::1]:39493->[::1]:53: read: connection refused

I think you have problem with Network, because I can download it

e3a4 commented on 2021-02-02 12:31 (UTC)

@phx47 Here you go, please let me know if you need more info https://pastebin.com/hzv5VDiZ

phnx47 commented on 2021-02-02 12:29 (UTC)

@veox Yes, I will add udev rules to dependencies

phnx47 commented on 2021-02-02 12:29 (UTC)

@e3a4 Show your errors, please. I tried compile, and everything ok.

e3a4 commented on 2021-02-02 12:20 (UTC)

This does not compile, I'm getting many errors about missing dependencies.

veox commented on 2021-01-30 15:00 (UTC)

Should this package perhaps be providing the udev rule files for ledger devices?

phnx47 commented on 2020-10-28 06:15 (UTC)

@pizzaman I will research information, it is new for me. Also, if you have time you can make Merge Request here: https://gitlab.com/phnx47-aur/ledger-live

pizzaman commented on 2020-10-28 05:39 (UTC)

Would it be possible to verify signed releases? There is some information regarding this in https://github.com/LedgerHQ/ledger-live-desktop/issues/3193

andykluger commented on 2020-04-18 18:35 (UTC)

@TheGoliath

It's working great, thanks!

andykluger commented on 2020-04-18 17:21 (UTC)

Yeah the icon location is outdated, breaking the package function. This should fix it:

  • "static/images/browser-window-icon-512x512.png" \
  • "build/icons/icon@4x.png" \

Also, according to the docs, this should use nodejs-lts-erbium . I don't know if that's strictly necessary.

andykluger commented on 2020-04-18 16:36 (UTC)

python2 no longer required, python should be fine:

https://github.com/LedgerHQ/ledger-live-desktop/issues/2579#issuecomment-594410876

https://github.com/LedgerHQ/ledger-live-desktop#requirements

Philipoo0 commented on 2020-04-17 00:46 (UTC)

Installation error : Missing 'static/images/browser-window-icon-512x512.png'

newsboost commented on 2020-03-01 02:07 (UTC)

Doesn't work at all:

==> Starting build()...
yarn run v1.22.0
$ bash ./scripts/dist.sh

 │ Ledger Live Desktop - 1.20.0
 │ Linux 5.5.4-arch1-1 x86_64 GNU/Linux
 │ commit 934e934099a51390541ed077cd43a00a2bd217ad

 CI                  unset
 NODE_ENV            unset
 JOBS                'max'

 node                v13.9.0

[✔] successfully applied dirty fix to handle linux icon
$ bash ./scripts/compile.sh

 GIT_REVISION        '1.20.0'
 SENTRY_URL          'https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561'

[✔] dist cleared
[✔] internal bundle built
[✘] failed to build main & renderer bundles
[✘]   5% [0] building modules 1/1 modules 0 active[hard-source:core] HardSourceWebpackPlugin is writing to a new confighash path for the first time: /home/martin/.cache/yay/ledger-live/src/ledger-live-desktop-1.20.0/node_modules/.cache/hard-source/b73d434c325407a0a7454e12ce24284599c5e091e77641ce45cf746263919b24
(node:28637) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
[1] error Command failed with exit code 2.                                                    
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: ledger-live

andykluger commented on 2018-08-08 20:19 (UTC)

@meriadec, makepkg output of build failure for 1.1.2: https://0x0.st/s4Lf.txt

Cpt_Pi commented on 2018-08-08 12:56 (UTC)

Why can I only vote once?

meriadec commented on 2018-08-07 08:22 (UTC)

@arp12 stacktrace?

agilob commented on 2018-08-07 05:57 (UTC)

Does not compile.