Package Details: fish-git 2:4.0.2.r1018.g5346d3d49-1

Git Clone URL: https://aur.archlinux.org/fish-git.git (read-only, click to copy)
Package Base: fish-git
Description: User friendly shell intended mostly for interactive use.
Upstream URL: https://github.com/fish-shell/fish-shell
Keywords: shell
Licenses: GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0
Conflicts: fish, fish-shell
Provides: fish, fish-shell
Submitter: SanskritFritz
Maintainer: akiirui
Last Packager: akiirui
Votes: 74
Popularity: 0.32
First Submitted: 2010-11-17 22:27 (UTC)
Last Updated: 2025-06-09 13:53 (UTC)

Dependencies (18)

Required by (89)

Sources (1)

Latest Comments

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

JoeSchr commented on 2025-06-09 17:34 (UTC)

@akiirui

Sorry for the hard to read patch,that's just how my git diff is configured, but I forgot without red/green it can be hard to read.

Thanks for the fix, can confirm it works now!

akiirui commented on 2025-06-09 14:01 (UTC)

@JoeSchr @0ion9

Okay, I found out what was causing your problem. There was no ninja installed in the clean chroot.

I've pushed a commit to fix this. Thanks for the feedback.

JoeSchr commented on 2025-06-09 10:52 (UTC)

@0ion9

My post should help you. I had the same errors

JoeSchr commented on 2025-06-09 10:50 (UTC)

Hi there,

Couldn't update this package for a few weeks due to cmake/ninja issues. Today I solved it via: - rustup update - PKGBUILD

PKGBUILD --- 1/3 --- Bash
9    # Contributor: Stephen Drodge <stephen.drodge@gmail.com>
10
11    pkgname=fish-git
12    _gitname="fish-shell"
13    pkgver=4.0.2.r949.gc7391d102
   13 pkgver=4.0.2.r1018.g5346d3d49
   14 pkgrel=1
   15 epoch=2
   16 pkgdesc="User friendly shell intended mostly for interactive use."   17 arch=('i686' 'x86_64' 'arm')

PKGBUILD --- 2/3 --- Bash
66    }
67
68    build() {
69      cd "$_gitname"
   70   rm -rf build
   71
   72   export CXXFLAGS+=" ${CPPFLAGS}"
   73
   74   local cmake_options=(

PKGBUILD --- 3/3 --- Bash
86    }
87
88    check() {
89      cd "$_gitname"
90      make test
   91   make -C build test
   92 }
   93
   94 package() {
   95   cd "$_gitname"

0ion9 commented on 2025-05-31 13:02 (UTC)

I had started wondering about that too. I don't think I need to post the full text; this is the diff from the PKGBUILD taken from 'download snapshot' here, and the one I've been using:

--- PKGBUILD    2025-05-28 19:20:28.000000000 +0930
+++ /home/kau/.cache/yay/fish-git/PKGBUILD  2025-05-31 11:58:21.117085856 +0930
@@ -10,7 +10,7 @@

 pkgname=fish-git
 _gitname="fish-shell"
-pkgver=4.0.2.r949.gc7391d102
+pkgver=4.0.2.r973.g7a79728df
 pkgrel=1
 epoch=2
 pkgdesc="User friendly shell intended mostly for interactive use."
@@ -26,7 +26,7 @@
 optdepends=(
   'python: man page completion parser / web config tool'
   'pkgfile: command-not-found hook'
-  'groff: --help for built-in commmands'
+  'nroff: --help for built-in commmands'
   'mandoc: --help for built-in commmands (alternative)'
   'xsel: X11 clipboard integration'
   'xclip: X11 clipboard integration (alternative)'

I don't really have the time to think about this right now, but I guess this may be a productive avenue to look into later.

akiirui commented on 2025-05-31 07:03 (UTC) (edited on 2025-05-31 07:03 (UTC) by akiirui)

@0ion9 Wait a moment, can you paste your fish-git's PKGBUILD to pastebin for me?

Our output is different:

==> Starting check()...
cmake --build build
make[1]: Entering directory '/build/fish-git/src/fish-shell/build'

0ion9 commented on 2025-05-31 06:36 (UTC)

I don't think that's it. Checking makepkg.conf shows that ccache is already turned OFF (BUILDENV=(!distcc color !ccache check !sign)), and I already ran ccache -C to clear ccache's cache (to predictably no effect on build)

Thanks for your help, but I'm out of ideas.. I mean I can try ENABLING ccache instead, but that's really at the point of 'just throw things at the wall and see what happens'...

akiirui commented on 2025-05-31 02:44 (UTC)

@0ion9 ccache is not enabled in fish-git's PKGBUILD, but it will be enabled if you enable it in makepkg.conf.

I suggest you try disabling ccache temporarily in makepkg.conf, and if it works, try clearing its cache.

0ion9 commented on 2025-05-31 02:39 (UTC)

Thanks for that tip. As I implied, I had already cleared the cache (erased everything other than fish.install and PKGBUILD) I had not set any makepkg-related environment variables, including BUILDDIR. Pretty confident I've never tried to configure makepkg in any way.

I am trying to build now with BUILDDIR=/tmp/makepkg, starting by copying (fish.install, PKGBUILD) to another temp dir, /tmp/fb. I hope this will force everything to be freshly fetched (in a way that is somehow more extreme than wiping all known downloaded files...?)

.. This still does not work.. The only other idea I have is to also clear ccache's cache (but I don't even know if ccache is actually being used in the build process here)