From 042dffbe1d20b9218233e9bc9402796fbe2fb25a Mon Sep 17 00:00:00 2001 From: Markus Fritsche Date: Fri, 8 May 2026 17:52:26 +0000 Subject: [PATCH] mpv-fourier pkgrel=7 + workflow: printf instead of yes (SIGPIPE makes pipeline fail under pipefail) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Run #70 actually succeeded at the pacman level (log shows ffmpeg removed and ffmpeg-v4l2-request-fourier installed) but the step exited non-zero. Cause: bash's set -o pipefail (Gitea Actions default) sees `yes` get SIGPIPE'd when pacman closes its stdin, yes exits 141, pipeline reports 141 → step fails. Replace `yes y | pacman -S ...` with finite-stream printf that exits 0 cleanly. Three y's cover all expected prompts. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitea/workflows/build.yml | 6 ++++-- arch/mpv-fourier/PKGBUILD | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4ea5a1a1c..483ec4e95 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -651,8 +651,10 @@ jobs: pacman -Sy --noconfirm # Stock arch ffmpeg may already be installed from a prior fermi job; # pacman -S --noconfirm defaults the [y/N] conflict prompt to N. - # Pipe yes to accept the swap (replaces= takes care of cleanup). - yes y | pacman -S marfrit/ffmpeg-v4l2-request-fourier + # Use printf (finite stream, exits 0 cleanly) — `yes y | ...` would + # work but fails under bash pipefail when yes catches SIGPIPE. + # Three y's covers: "Remove conflict?", "Proceed?", any keyring prompt. + printf 'y\ny\ny\n' | pacman -S marfrit/ffmpeg-v4l2-request-fourier - name: makepkg mpv-fourier run: | diff --git a/arch/mpv-fourier/PKGBUILD b/arch/mpv-fourier/PKGBUILD index 09b5b4969..dcda9a406 100644 --- a/arch/mpv-fourier/PKGBUILD +++ b/arch/mpv-fourier/PKGBUILD @@ -23,7 +23,7 @@ pkgname=mpv-fourier _upstreampkg=mpv epoch=1 pkgver=0.41.0 -pkgrel=6 +pkgrel=7 pkgdesc='mpv with fourier-umbrella patches (vo_dmabuf_wayland plane-semantics fix slot)' arch=('aarch64') url='https://mpv.io/'