Package Details: alacritty-git 1:0.18.0.2481.g2f03c302-1

Git Clone URL: https://aur.archlinux.org/alacritty-git.git (read-only, click to copy)
Package Base: alacritty-git
Description: A cross-platform, GPU-accelerated terminal emulator
Upstream URL: https://github.com/alacritty/alacritty
Keywords: GPU rust terminal
Licenses: Apache
Conflicts: alacritty
Provides: alacritty
Submitter: quininer
Maintainer: ilovemikael
Last Packager: ilovemikael
Votes: 99
Popularity: 0.54
First Submitted: 2016-11-01 13:53 (UTC)
Last Updated: 2026-04-24 23:34 (UTC)

Required by (55)

Sources (1)

Latest Comments

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

valentjedi commented on 2019-04-24 10:55 (UTC) (edited on 2019-04-24 10:55 (UTC) by valentjedi)

@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 (UTC)

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 (UTC) (edited on 2019-01-02 13:48 (UTC) by Chocobo)

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 (UTC)

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 (UTC)

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.

dreivier commented on 2018-11-13 16:15 (UTC)

Not sure what happened but for me it fails with this message:

error[E0432]: unresolved import `core::hint`
  --> /home/me/.cargo/registry/src/github.com-1ecc6299db9ec823/ordered-float-1.0.1/src/lib.rs:16:11
   |
16 | use core::hint::unreachable_unchecked;
   |           ^^^^ Could not find `hint` in `core`

error[E0658]: the `#[repr(transparent)]` attribute is experimental (see issue #43036)
  --> /home/me/.cargo/registry/src/github.com-1ecc6299db9ec823/ordered-float-1.0.1/src/lib.rs:44:1
   |
44 | #[repr(transparent)]
   | ^^^^^^^^^^^^^^^^^^^^

error[E0658]: the `#[repr(transparent)]` attribute is experimental (see issue #43036)
   --> /home/me/.cargo/registry/src/github.com-1ecc6299db9ec823/ordered-float-1.0.1/src/lib.rs:173:1
    |
173 | #[repr(transparent)]
    | ^^^^^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors

aignas commented on 2018-11-12 18:41 (UTC)

Another fix is to add at the end of the echo line | tr - _.

nixpulvis commented on 2018-11-12 17:50 (UTC)

To fix this I've replaced the last segment of the pkgver with git rev-parse --short HEAD and it seems to work.

echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"

eggze commented on 2018-11-12 16:50 (UTC)

git describe started returning v0.2.2-2-g4a8d18c because there is now tag v0.2.2; it leads to broken build with the following error:

==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.2.2.990.gv0.2.2-2-g4a8d18c