Package Details: alacritty-terminfo-git 0.3.3.1233.g0b88b9f-1

Git Clone URL: https://aur.archlinux.org/alacritty-git.git (read-only)
Package Base: alacritty-git
Description: Terminfo files for the alacritty terminal emulator
Upstream URL: https://github.com/jwilm/alacritty
Keywords: GPU rust terminal
Licenses: Apache-2.0
Conflicts: alacritty-terminfo
Provides: alacritty-terminfo
Submitter: quininer
Maintainer: quininer
Last Packager: quininer
Votes: 83
Popularity: 0.45
First Submitted: 2016-11-01 13:53
Last Updated: 2019-06-11 15:04

Latest Comments

1 2 3 4 5 6 ... Next › Last »

DrJPepper commented on 2019-06-09 23:14

I had to add

| sed s/-//g

to the echo line in pkgver() to get it to work on the latest rc release.

seo.disparate commented on 2019-05-05 05:14

Just as edacval mentioned, 'python' is a missing build dependency, and also 'libxcb'.

edacval commented on 2019-05-04 16:34

Missing 'python' in makedepends() ? :

error: failed to run custom build command for `xcb v0.8.2`
process didn't exit successfully: `/tmp/makepkg/alacritty-git/src/alacritty/target/release/build/xcb-29582f47a57e4f44/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to find build dependency python3: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in package_alacritty-git().
    Aborting...

1ace commented on 2019-04-30 12:03

Alacritty has been reorganized a bit, making the current pkgver() fails to read the version.

There's also a new rust-clipboard crate used now, which means the xclip dependency is now gone.

And while at it, git rev-parse --short should be given a length so that it gives the same output regardless of one's default settings :)

diff --git a/PKGBUILD b/PKGBUILD
index e6f0cc3c5e90590a4847..386e8546c024365f9e9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=('alacritty-git' 'alacritty-terminfo-git')
 _pkgname="alacritty"
-pkgver=0.3.2.1190.g9c6d12e
+pkgver=0.3.2.1199.g66fb7cb
 pkgrel=1
 arch=('x86_64' 'i686')
 url="https://github.com/jwilm/alacritty"
@@ -11,12 +11,12 @@ sha256sums=('SKIP')

 pkgver() {
    cd $_pkgname
-   echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+   echo "$(grep '^version =' alacritty/Cargo.toml|head -n1|cut -d\" -f2).$(git rev-list --count HEAD).g$(git rev-parse --short=7 HEAD)"
 }

 package_alacritty-git() {
    pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
-   depends=('freetype2' 'fontconfig' 'xclip')
+   depends=('freetype2' 'fontconfig')
    provides=('alacritty')
    conflicts=('alacritty')

danekl commented on 2019-04-27 08:56

Could you please update the "tic" command to: "tic -o "$pkgdir/usr/share/terminfo" -xe alacritty,alacritty-direct alacritty.info"?

Notice the "-xe alacritty,alacritty-direct". This is from the main alacritty package in [community], and according to Alacritty's installation guidelines: https://github.com/jwilm/alacritty/blob/master/INSTALL.md#terminfo

valentjedi commented on 2019-04-24 10:55

@apetresc "no default toolchain configured" could be fixed by following this SO thread: https://stackoverflow.com/q/44303915/3606603

Basically, it's

rustup default stable # or rustup default nightly

And then retry the build

apetresc commented on 2019-04-15 15:00

Now the build fails immediately with:

==> Starting package_alacritty-git()...
error: no default toolchain configured

(though alacritty-git itself builds just fine)

Chocobo commented on 2019-01-02 13:44

Hmm the build is failing with the following message:

   Compiling termcolor v1.0.4
   Compiling copypasta v0.0.1 (/home/swinchen/.cache/yay/alacritty-git/src/alacritty/copypasta)
error[E0658]: scoped lint `clippy::all` is experimental (see issue #44690)
 --> copypasta/src/lib.rs:3:9
  |
3 | #![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use, clippy::wrong_pub_self_convention)]
  |         ^^^^^^^^^^^

error[E0658]: scoped lint `clippy::if_not_else` is experimental (see issue #44690)
 --> copypasta/src/lib.rs:3:22
  |
3 | #![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use, clippy::wrong_pub_self_convention)]
  |                      ^^^^^^^^^^^^^^^^^^^

error[E0658]: scoped lint `clippy::enum_glob_use` is experimental (see issue #44690)
 --> copypasta/src/lib.rs:3:43
  |
3 | #![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use, clippy::wrong_pub_self_convention)]
  |                                           ^^^^^^^^^^^^^^^^^^^^^

error[E0658]: scoped lint `clippy::wrong_pub_self_convention` is experimental (see issue #44690)
 --> copypasta/src/lib.rs:3:66
  |
3 | #![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use, clippy::wrong_pub_self_convention)]
  |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `copypasta`.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in package_alacritty-git().
    Aborting...
Error making: alacritty-git (alacritty-git alacritty-terminfo-git)

This doesn't seem Arch related, but does anyone know of a workaround?

MathieuPetit commented on 2018-11-23 23:05

Answering to myself : it was a temporary dependency problem from upstream. See https://github.com/jwilm/alacritty/pull/1838

MathieuPetit commented on 2018-11-23 22:55

Hello, build fails with this message :

==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package_alacritty-git()...
    Updating git repository `https://github.com/zacps/winpty`
error: failed to load source for a dependency on `winpty-sys`                                                                                                                                                                      

Caused by:
  Unable to update https://github.com/zacps/winpty?branch=rust#9ccec645

Caused by:
  revspec '9ccec6459c2c8b7555846910c12ba697b688f44d' not found; class=Reference (4); code=NotFound (-3)
==> ERROR: A failure occurred in package_alacritty-git().
    Aborting...
:: failed to build alacritty-git package(s)

Not sure what to try next.