mpv-fourier pkgrel=7 + workflow: printf instead of yes (SIGPIPE makes pipeline fail under pipefail)
build and publish packages / distcc-avahi-aarch64 (push) Failing after 9s
build and publish packages / lmcp-debian (push) Has been skipped
build and publish packages / lmcp-any (push) Has been skipped
build and publish packages / claude-his-any (push) Has been skipped
build and publish packages / ffmpeg-v4l2-request-aarch64 (push) Has been skipped
build and publish packages / libva-v4l2-request-fourier-aarch64 (push) Has been skipped
build and publish packages / mpv-fourier-aarch64 (push) Has been skipped
build and publish packages / claude-his-debian (push) Has been skipped
build and publish packages / distcc-avahi-aarch64 (push) Failing after 9s
build and publish packages / lmcp-debian (push) Has been skipped
build and publish packages / lmcp-any (push) Has been skipped
build and publish packages / claude-his-any (push) Has been skipped
build and publish packages / ffmpeg-v4l2-request-aarch64 (push) Has been skipped
build and publish packages / libva-v4l2-request-fourier-aarch64 (push) Has been skipped
build and publish packages / mpv-fourier-aarch64 (push) Has been skipped
build and publish packages / claude-his-debian (push) Has been skipped
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) <noreply@anthropic.com>
This commit is contained in:
@@ -651,8 +651,10 @@ jobs:
|
|||||||
pacman -Sy --noconfirm
|
pacman -Sy --noconfirm
|
||||||
# Stock arch ffmpeg may already be installed from a prior fermi job;
|
# Stock arch ffmpeg may already be installed from a prior fermi job;
|
||||||
# pacman -S --noconfirm defaults the [y/N] conflict prompt to N.
|
# pacman -S --noconfirm defaults the [y/N] conflict prompt to N.
|
||||||
# Pipe yes to accept the swap (replaces= takes care of cleanup).
|
# Use printf (finite stream, exits 0 cleanly) — `yes y | ...` would
|
||||||
yes y | pacman -S marfrit/ffmpeg-v4l2-request-fourier
|
# 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
|
- name: makepkg mpv-fourier
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ pkgname=mpv-fourier
|
|||||||
_upstreampkg=mpv
|
_upstreampkg=mpv
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=0.41.0
|
pkgver=0.41.0
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc='mpv with fourier-umbrella patches (vo_dmabuf_wayland plane-semantics fix slot)'
|
pkgdesc='mpv with fourier-umbrella patches (vo_dmabuf_wayland plane-semantics fix slot)'
|
||||||
arch=('aarch64')
|
arch=('aarch64')
|
||||||
url='https://mpv.io/'
|
url='https://mpv.io/'
|
||||||
|
|||||||
Reference in New Issue
Block a user