Package Details: gitstatus 1.5.5-1

Git Clone URL: https://aur.archlinux.org/gitstatus.git (read-only, click to copy)
Package Base: gitstatus
Description: Git status for Bash and Zsh prompt
Upstream URL: https://github.com/romkatv/gitstatus
Licenses: GPL3
Submitter: romkatv
Maintainer: romkatv
Last Packager: romkatv
Votes: 6
Popularity: 0.000202
First Submitted: 2020-05-22 13:34 (UTC)
Last Updated: 2024-03-30 09:08 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

romkatv commented on 2024-03-30 09:08 (UTC)

@thayne Thanks for the report. Fixed.

thayne commented on 2024-03-30 06:41 (UTC)

This fails for me, complaining that _FORTIFY_SOURCE is defined multiple times. I think this might be related to having -Wp,-D_FORTIFY_SOURCE in the CXXFLAGS defined in the default makpkg.conf

lesto commented on 2021-06-10 22:42 (UTC)

thanks, recompiled by hand but still the build return error 1, opened an issue

romkatv commented on 2021-06-10 09:57 (UTC)

Cannot reproduce. I started docker run -e LC_ALL=en_US.utf8 -e TERM -it --rm archlinux bash and ran this:

pacman -Syy
pacman -S --noconfirm archlinux-keyring
pacman -Su --noconfirm
pacman -S --noconfirm base-devel git
useradd -ms /bin/bash me
echo "me ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers
runuser -l me -c "
  set -uex
  git clone --depth=1 https://aur.archlinux.org/yay.git ~/yay
  cd ~/yay
  makepkg -si --noconfirm"
cd /home/me
su - me
yay -Sy --noconfirm gitstatus

This works fine.

Could you open an issue on https://github.com/romkatv/gitstatus? In the meantime you can try using gitstatus-bin or gitstatus-git.

lesto commented on 2021-06-10 09:43 (UTC) (edited on 2021-06-10 22:31 (UTC) by lesto)

this fail to build for me but looks like the test compilation and test are fine:

development (root-commit) b05d4ae] 
[2021-06-10 11:40:04 00000000021df400 INFO src/gitstatus.cc:186] argv[0]: "/home/lesto/makepkg/gitstatus/src/gitstatus-1.5.1/usrbin/gitstatusd.tmp"
[2021-06-10 11:40:04 00000000021df400 INFO src/thread_pool.cc:81] Spawning 1 thread(s)
[2021-06-10 11:40:04 00000000021df400 INFO src/gitstatus.cc:201] Processing request: "hello" for "/tmp/gitstatus-build.0yQBRvw8IG/repo"
[2021-06-10 11:40:04 00000000021df400 INFO src/repo_cache.cc:132] Initializing new repository: "/tmp/gitstatus-build.0yQBRvw8IG/repo/.git/"
[2021-06-10 11:40:04 00000000021df400 INFO src/repo.cc:387] Splitting 0 object(s) into 1 shard(s)
[2021-06-10 11:40:05 00007f4dd1e88640 INFO src/check_dir_mtime.cc:149] All mtime checks have passes. Enabling untracked cache: "/tmp/gitstatus-build.0yQBRvw8IG/repo/.git/"
[2021-06-10 11:40:05 00000000021df400 INFO src/repo.cc:220] Clean repo: no dirty candidates
[2021-06-10 11:40:05 00000000021df400 INFO src/response.cc:69] Replying with git status
[2021-06-10 11:40:05 00000000021df400 INFO src/timer.cc:67] Timing for: request: 0.441ms cpu, 1000.4ms wall
[2021-06-10 11:40:05 00000000021df400 INFO src/gitstatus.cc:204] Successfully processed request: "hello" for "/tmp/gitstatus-build.0yQBRvw8IG/repo"
[2021-06-10 11:40:05 00000000021df400 INFO src/request.cc:116] EOF. Exiting.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'gitstatus-1.5.1-1'