Package Details: fish-git 2:4.0.2.r949.gc7391d102-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.40
First Submitted: 2010-11-17 22:27 (UTC)
Last Updated: 2025-05-28 09:50 (UTC)

Dependencies (18)

Required by (89)

Sources (1)

Latest Comments

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

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)

akiirui commented on 2025-05-28 09:56 (UTC) (edited on 2025-05-28 10:02 (UTC) by akiirui)

@0ion9 Try to find the CMakeCache.txt file in makepkg.conf -> BUILDDIR and delete it. If the makepkg.conf -> BUILDDIR is not set, find it in the directory where the PKGBUILD is located.

akiirui commented on 2025-05-28 09:42 (UTC) (edited on 2025-05-28 09:43 (UTC) by akiirui)

@0ion9 I have tested it in makepkg and extra-x86_64-build and it works fine. Please check your cache or environment variables.

0ion9 commented on 2025-05-28 03:39 (UTC)

For a few months now I haven't been able to build this. To be precise, 'build' succeeds but 'check' fails:

==> Starting check()...
cd build; cmake .. -G "Ninja" \
    -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_EXPORT_COMPILE_COMMANDS=1
CMake Error: Error: generator : Ninja
Does not match the generator used previously: Unix Makefiles
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
make: *** [GNUmakefile:46: build/build.ninja] Error 1

This doesn't appear to be due to stale files, as removing 'fish-shell','.git','pkg' and 'src' directories from the directory PKGBUILD is in, then rebuilding, has no impact on it. It occurs both with plain makepkg and with the yay wrapper.

akiirui commented on 2025-03-19 23:15 (UTC)

@xuiqzy

Yes, there is no nroff package on Arch, and another alternative mandoc conflicts with man-db.

But just follow the PKGBUILD from the official repository is fine, thanks.

xuiqzy commented on 2025-03-19 20:52 (UTC)

New optional dependencies in fish 4, see fish package from the repos: https://gitlab.archlinux.org/archlinux/packaging/packages/fish/-/commit/dccb3c6c7ac101e000399d5c6fae945ba600c4c6 Not sure how to handle the nroff dependency, since no package seems to provide this, but for example groff provides a binary called nroff; not sure if that is the correct one.