Package Details: ledger-live 2.80.0-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: 20
Popularity: 1.03
First Submitted: 2018-07-19 09:01 (UTC)
Last Updated: 2024-05-15 09:53 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 Next › Last »

sudoforge commented on 2022-11-13 05:30 (UTC) (edited on 2022-11-13 06:55 (UTC) by sudoforge)

This also needs a patch, because this line:

cp -r "dist/linux-unpacked" "${pkgdir}/opt/${_pkgbin}"

copies the linux-unpacked directory itself to /opt/ledger-live-desktop/linux-unpacked, not the contents within, making your /usr/bin/ledger-live-desktop symlink point to a nonexistent file.

phnx47 commented on 2022-11-13 02:42 (UTC) (edited on 2022-11-13 02:42 (UTC) by phnx47)

@sudoforge Thanks! I tested with fnm-bin instead of fnm yesterday. I checked with fnm now and added comments to fnm.

sudoforge commented on 2022-11-12 20:01 (UTC) (edited on 2022-11-12 20:03 (UTC) by sudoforge)

Possible build in clean chroot

This fails in a clean chroot (more correctly, compiling fnm fails).

          /usr/bin/ld: final link failed: bad value
          collect2: error: ld returned 1 exit status

  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `fnm` due to previous error

phnx47 commented on 2022-11-12 11:57 (UTC) (edited on 2022-11-12 12:00 (UTC) by phnx47)

Switched to source to git repository. Possible build in clean chroot. Git will be used until issue fixed https://github.com/LedgerHQ/ledger-live/issues/1719.

Now use fnm: read .nvmrc and install proper NodeJS version.

phnx47 commented on 2022-10-29 12:58 (UTC)

@julminurta @itsme I found error during clean chroot build with nodejs v19. Build is working with v16 and v18. I excluded v19 from dependency.

phnx47 commented on 2022-10-29 10:27 (UTC)

After try build in chroot I returned git dependency and added npm dependency. This issue still not fixed: https://github.com/LedgerHQ/ledger-live-desktop/issues/3918

I will do more tests in chroot with different nodejs versions to fix build errors. LedgerHQ use v16, but I don't want pin version and I continue try build with newer versions.

phnx47 commented on 2022-10-29 06:45 (UTC)

@julminurta @itsme I tried build with node v19.0.0 a and node-gyp v9.3.0 and with other versions. It is working for me. Sometimes I got error with dependencies but after clean source - everything works again.

I added node-gyp and removed ruby-bundler from makedepends.

Sometimes build not working in some environments, I cannot check them all, I do test only in my machine, but I think about setup CI for this. Feel free to do tests in your machine and provide log or patches for your cases. You can raise PR in GitHub: https://github.com/phnx47/pkgbuilds

phnx47 commented on 2022-10-29 04:21 (UTC)

@julminurta @itsme Build is working in my machine. I built it with NodeJS 16. I use myself this version. I expect that something wrong with NodeJS 19, but I didn't check this version yet. I will do tests today with different NodeJS versions

You can help me to provide more information what wrong with build.

julminurta commented on 2022-10-28 21:23 (UTC)

To the maintainer:

  1. The build breaks, still, like in https://aur.archlinux.org/packages/ledger-live#comment-886915. This affects 2.49.1 and 2.49.2.

  2. Do you even bother building your own PKGBUILD to see that it breaks?

  3. Are you going to bother submitting an upstream bug report?

You just bumped 2.49.1 to 2.49.2 without addressing any of these points.

itsme commented on 2022-10-27 13:47 (UTC) (edited on 2022-10-27 13:49 (UTC) by itsme)

│ 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:201:23)
│ gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
│ gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
│ gyp ERR! System Linux 6.0.1-arch2-1
│ 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/itsme/.cache/paru/clone/ledger-live/src/ledger-live--ledgerhq-live-desktop-2.49.1/node_modules/.pnpm/blake2@4.1.1/node_modules/blake2
│ gyp ERR! node -v v19.0.0
│ gyp ERR! node-gyp -v v9.1.0
│ gyp ERR! not ok 
└─ Failed in 5.2s