Package Details: elvish-git 0.21.0.dev.r161.g06979ef-1

Git Clone URL: https://aur.archlinux.org/elvish-git.git (read-only, click to copy)
Package Base: elvish-git
Description: A friendly and expressive Unix shell
Upstream URL: https://elv.sh
Licenses: BSD
Conflicts: elvish
Provides: elvish
Submitter: hexchain
Maintainer: hexchain (xiaq)
Last Packager: hexchain
Votes: 8
Popularity: 0.000000
First Submitted: 2016-02-15 14:06 (UTC)
Last Updated: 2024-05-26 14:15 (UTC)

Dependencies (3)

Required by (3)

Sources (1)

Latest Comments

1 2 Next › Last »

patlefort commented on 2024-05-24 01:39 (UTC)

Patch to add quotes to LDFLAGS:

diff --git a/PKGBUILD b/PKGBUILD
index 1c5dbdf..ca397ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@

 pkgname=elvish-git
 _pkgname=elvish
-pkgver=0.20.0.dev.r112.g1c0cffb
+pkgver=0.21.0.dev.r161.g06979ef
 pkgrel=1
 pkgdesc="A friendly and expressive Unix shell"
 arch=('x86_64')
@@ -49,7 +49,7 @@ build() {
     -buildmode=pie \
     -mod=readonly \
     -modcacherw \
-    -ldflags "-linkmode external -extldflags ${LDFLAGS} \
+    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" \
     -X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \
     -X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \
     -o build \

Otherwise it will fail using default makepkg.conf.

Ultracode commented on 2024-02-27 20:33 (UTC) (edited on 2024-02-27 20:34 (UTC) by Ultracode)

building elvish git fails with

PASS
ok      src.elv.sh/pkg/wcwidth  (cached)
FAIL
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: elvish-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
elvish-git - exit status 4
Exception: yay exited with 1
  [tty 97]:1:3-19:   yay -S elvish-git

hexchain commented on 2023-10-25 15:50 (UTC)

Oops, sorry.

micwoj92 commented on 2023-10-25 15:44 (UTC)

Please remove v from pkgver.

patlefort commented on 2023-10-17 06:20 (UTC)

Doesn't compile:

stat /tmp/elrick-temp/makepkg/build/elvish-git/src/elvish/website/cmd/elvdoc: directory not found
==> ERROR: A failure occurred in build().
    Aborting...

rautesamtr commented on 2020-08-02 09:03 (UTC)

thanks for the update, needs pandoc as makedepends now

rautesamtr commented on 2020-07-31 09:40 (UTC)

Hi, makepkg --clean will fail on a cached builddir since pkg/mod is readonly. It will fail on the Cleaning up... step with rm: rm: cannot remove ... Permission denied. This is especially noticeable when using an aur helper like yay for building elvish-git.

vendion commented on 2016-03-02 14:12 (UTC) (edited on 2016-03-02 15:05 (UTC) by vendion)

@xiaq: I typically I define GOROOT, GOPATH, and GOBIN on all my machines, and in almost every case GOBIN is set to be $GOPATH/bin anyways. This is just a habit I got from working with Go in its early days, even though I think GOBIN is completely optional by now and GOROOT is optional if certain conditions are met (not built from source, installed as /usr/local/go etc). I didn't think of the fakeroot environment inheriting my environment variables, I'll setup a chroot and test building in that to see if that is the case. EDIT: just did a build inside a chroot and it worked just fine without editing, so is the fact that I explicitly set GOBIN, and that variable is inherited in the fakeroot environment.

xiaq commented on 2016-03-02 05:27 (UTC) (edited on 2016-03-02 05:27 (UTC) by xiaq)

@vendion Weird, since `go get .` is supposed to install the binary to $GOPATH/bin and normally you are not supposed to change $GOBIN to achieve that behavior. Do you have $GOBIN set in your exterior environment?

vendion commented on 2016-03-01 20:03 (UTC)

@xiaq: here is what I get when I run it on my test box: [vendion@fail1][~/packages/elvish-git]% ls PKGBUILD [vendion@fail1][~/packages/elvish-git]% makepkg -s ==> Making package: elvish-git r1536.22be6e2-1 (Tue Mar 1 14:55:19 EST 2016) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning elvish git repo... Cloning into bare repository '/home/vendion/packages/elvish-git/elvish'... remote: Counting objects: 8547, done. remote: Compressing objects: 100% (44/44), done. remote: Total 8547 (delta 20), reused 0 (delta 0), pack-reused 8503 Receiving objects: 100% (8547/8547), 1.71 MiB | 0 bytes/s, done. Resolving deltas: 100% (6012/6012), done. Checking connectivity... done. ==> Validating source files with md5sums... elvish ... Skipped ==> Extracting sources... -> Creating working copy of elvish git repo... Cloning into 'elvish'... done. ==> Starting prepare()... ==> Starting pkgver()... ==> Updated version: elvish-git r1646.1bdb21d-1 ==> Starting build()... go get . test -n /home/vendion/packages/elvish-git/src/build mkdir -p /home/vendion/packages/elvish-git/src/build/bin cc ./stubimpl/main.c -o /home/vendion/packages/elvish-git/src/build/bin/elvish-stub ==> Starting check()... go test ./... ? github.com/elves/elvish [no test files] ok github.com/elves/elvish/edit 0.103s ok github.com/elves/elvish/eval 0.778s ok github.com/elves/elvish/glob 0.007s ok github.com/elves/elvish/parse 0.006s ? github.com/elves/elvish/run [no test files] ok github.com/elves/elvish/store 1.536s ok github.com/elves/elvish/stub 0.003s ok github.com/elves/elvish/sys 0.003s ok github.com/elves/elvish/util 0.155s : ./stubimpl/test.sh ==> Entering fakeroot environment... ==> Starting package()... install: cannot stat '/home/vendion/packages/elvish-git/src/build/bin/elvish': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... [vendion@fail1][~/packages/elvish-git]% ls pkg/elvish-git/usr/bin elvish-stub* If I set GOBIN in either the prepare() or build() to be $GOPATH/bin and rebuild the package then everything works as expected. [vendion@fail1][~/packages/elvish-git]% ls pkg/elvish-git/usr/bin elvish* elvish-stub* This was tested on a VM that has base, base-devel, and minimal custom packages installed and gets restored from a snapshot after use.