Package Details: niri-git 0.1.8.r60.g268591f-1

Git Clone URL: https://aur.archlinux.org/niri-git.git (read-only, click to copy)
Package Base: niri-git
Description: Scrollable-tiling Wayland compositor
Upstream URL: https://github.com/YaLTeR/niri
Keywords: rust smithay tiling-window-manager wayland wayland-compositor
Licenses: GPL-3.0-or-later
Conflicts: niri, niri-bin
Provides: niri
Submitter: jcaesar
Maintainer: cosmo (FreeFull)
Last Packager: FreeFull
Votes: 6
Popularity: 0.096612
First Submitted: 2023-09-26 09:12 (UTC)
Last Updated: 2024-09-03 18:42 (UTC)

Dependencies (25)

Required by (1)

Sources (1)

Latest Comments

1 2 3 Next › Last »

stefonarch commented on 2024-08-30 09:45 (UTC) (edited on 2024-09-19 11:50 (UTC) by stefonarch)

Here I get now

==> Avvio di prepare() in corso...
    Updating crates.io index
    Updating git repository `https://github.com/Smithay/smithay.git`
error: failed to get `smithay` as a dependency of package `niri-visual-tests v0.1.8 (/tmp/makepkg/niri-git/src/niri/niri-visual-tests)`

Caused by:
  failed to load source for dependency `smithay`

Caused by:
  Unable to update https://github.com/Smithay/smithay.git#13333624

Caused by:
  failed to clone into: /tmp/makepkg/niri-git/src/niri/.cargo/git/db/smithay-b5a338d5236320f6

Caused by:
  failed to authenticate when downloading repository: ssh://git@github.com/Smithay/smithay.git

  * attempted ssh-agent authentication, but no usernames succeeded: `git`

  if the git CLI succeeds then `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  no authentication methods succeeded
==> ERRORE: Si è verificato un errore in prepare().

EDIT: solved with

eval `ssh-agent -s`
ssh-add

first in the same terminal.

86kkd commented on 2024-07-22 15:33 (UTC)

@FreeFull,thanks for you replay i will check my rustc

FreeFull commented on 2024-07-22 15:21 (UTC)

86kkd, seems like something is wrong with your rustc install. niri-git needs a working rustc to compile, so you'll have to fix that somehow.

86kkd commented on 2024-07-19 05:27 (UTC)

I still can't build form source code since cloning fail while preparing build

==> Starting prepare()...
rustc: error while loading shared libraries: libLLVM.so.18.1: cannot open shared object file: No such file or directory
    Updating crates.io index
    Updating git repository `https://github.com/Smithay/smithay.git`
error: target was empty
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: niri-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
niri-git - exit status 4

FreeFull commented on 2024-07-17 22:24 (UTC)

Sorry about taking this long to add in the git-lfs fix, it completely slipped my mind. Things should be working now

That1Calculator commented on 2024-06-21 23:56 (UTC)

@supreme's fix seems to have worked for me.

86kkd commented on 2024-05-16 13:03 (UTC) (edited on 2024-05-16 13:08 (UTC) by 86kkd)

I got the similar downloading object problem,sine I'm not familiar with package build process i have no idea where is the problem.The following is the error.

==> Extracting sources...
  -> Creating working copy of niri git repo...
Downloading wiki/img/block-out-from-screencast.png (432 KB)
Error downloading object: wiki/img/block-out-from-screencast.png (65b22b8): Smudge error: Error downloading wiki/img/block-out-from-screencast.png (65b22b833dc0b05166b4b3403b1c6323315ca0885d4a75d2bbb68250a3855e96): error transferring "65b22b833dc0b05166b4b3403b1c6323315ca0885d4a75d2bbb68250a3855e96": [0] remote missing object 65b22b833dc0b05166b4b3403b1c6323315ca0885d4a75d2bbb68250a3855e96

Errors logged to '/home/linda/Documents/niri-git/src/niri/.git/lfs/logs/20240516T205928.281382826.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: wiki/img/block-out-from-screencast.png: smudge filter lfs failed
==> ERROR: Failure while creating working copy of niri git repo
    Aborting...

supreme commented on 2024-04-11 01:45 (UTC)

Ok, managed to get it building again with this patch:

diff --git a/PKGBUILD b/PKGBUILD
index ab19b38..d41c7c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ arch=(x86_64 aarch64)
 url="https://github.com/YaLTeR/${pkgname%-git}"
 license=(GPL-3.0-or-later)
 depends=(cairo glib2 libinput libpipewire libxkbcommon mesa pango pixman seatd)
-makedepends=(clang rust git git-lfs)
+makedepends=(clang rust git makepkg-git-lfs-proto)
 url="https://github.com/YaLTeR/${pkgname%-git}"
 license=(GPL-3.0-or-later)
 depends=(cairo glib2 libinput libpipewire libxkbcommon mesa pango pixman seatd)
-makedepends=(clang rust git git-lfs)
+makedepends=(clang rust git makepkg-git-lfs-proto)
 [[ -n ${_sccache} ]] && makedepends+=(sccache)
 optdepends=('fuzzel: application launcher similar to rofi drun mode'
             'waybar: highly customizable Wayland bar'
@@ -36,7 +36,7 @@ optdepends=('fuzzel: application launcher similar to rofi drun mode'
 provides=(${pkgname%-git}=${pkgver})
 conflicts=(${pkgname%-git}-bin ${pkgname%-git})
 options=(!debug !lto)
-source=(${pkgname%-git}::git+$url.git)
+source=(${pkgname%-git}::git-lfs+$url.git)
 b2sums=('SKIP')

 pkgver() {

supreme commented on 2024-04-11 00:06 (UTC)

Strangely enough, the git-lfs errors have come back. Not sure how to fix them this time.

cosmo commented on 2024-03-30 20:56 (UTC)

@Nebulosa I made a copy & paste error with the packageversion, it should be fixed now.