This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 301
Segmentation Fault during yarn run on Arch Linux #1145
Comments
No change in results, but updated the version and the # Maintainer: Andy Kluger < https://t.me/andykluger >
# Contributor: Stephen Argent <steve [at] tuxcon [dot] com>
pkgname=ledger-live-desktop
pkgver=1.0.2
pkgrel=1
git_rev='5b2ffabc47ddd1504fb8482d2657224cfb88fd51'
pkgdesc='Ledger Hardware Wallet management software'
arch=('x86_64')
url="https://github.com/LedgerHQ/${pkgname}"
license=('MIT')
provides=("ledger-live-bin=${pkgver}")
conflicts=("ledger-live-bin=${pkgver}")
makedepends=(yarn python2)
depends=(nodejs-lts-carbon)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('794767f6e91a3048017407ad91d1315e729989f31bef31f5ec1ec6c8a6b59776')
prepare() {
sed -i "s/GIT_REVISION=\$(git rev-parse HEAD)/GIT_REVISION='${git_rev}'/" "${pkgname}-${pkgver}/scripts/compile.sh"
}
build() {
cd "${pkgname}-${pkgver}"
# yarn dist
yarn dist:dir
}
package() {
echo "package ops go here . . ."
# something like:
# mkdir -p "$pkgdir/usr/bin"
# cp ${package} "$pkgdir/usr/bin/ledger-wallet"
# ls -l $pkgdir/usr/bin/ledger-wallet
# chmod +x $pkgdir/usr/bin/ledger-wallet
# ls -l $pkgdir/usr/bin/ledger-wallet
} I think I did this right, but I guess it's worth pointing out that I'm replacing the git revision variable with a hard-coded value, as the git dir is not present in the release download, causing |
hey @AndydeCleyre, thanks for your feedback. I ran some tests yesterday with your script, and didn't manage to reproduce the problem on my side (4.17.5-1-ARCH). But we'll provide PKGBUILD for Arch like distributions to AUR as soon as deployment is automated, so you'll be able to test against them. |
meriadec
added a commit
to meriadec/ledger-live-desktop
that referenced
this issue
Jul 19, 2018
meriadec
added a commit
to meriadec/ledger-live-desktop
that referenced
this issue
Jul 19, 2018
meriadec
added a commit
to meriadec/ledger-live-desktop
that referenced
this issue
Jul 19, 2018
This was referenced Jul 23, 2018
Merged
Merged
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ledger Live Version and Operating System
I'm trying to make a PKGBUILD for Arch Linux that actually builds from source.
Here's an in-progress version of the PKGBUILD, while I focus on getting the
build
function to work:Then I attempt to build with:
Expected behavior
Build results are placed in a
dist
folder.Actual behavior
Steps to reproduce the behavior
From a user account on Arch:
Or, from any distro with buildah (similar with docker):
The text was updated successfully, but these errors were encountered: