Skip to content

ci,librepgp: fix musl SIGPIPE in write_sbom_manifests.sh and MSVC <iterator> include - #2596

Merged
ronaldtse merged 1 commit into
mainfrom
kwkwan/fix-prebuilt-sigpipe-msvc
Nov 25, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
kwkwan/fix-prebuilt-sigpipe-msvc

Conversation

@kwkwan

@kwkwan kwkwan commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Fixes the two prebuilt.yml failures observed on PR #2589 that would otherwise block stage-provenance-artifacts and provenance during a live release.yml run:

  1. ci/write_sbom_manifests.sh: replace sed ... | head -n 1 with awk (exit on first match) to eliminate SIGPIPE (exit code 141) under pipefail on Alpine/BusyBox (x86_64-unknown-linux-musl and aarch64-unknown-linux-musl).
  2. src/librepgp/stream-parse.cpp: add #include <iterator> for std::back_inserter (fixing MSVC C2039/C3861 on x86_64-pc-windows-msvc).

@ronaldtse ronaldtse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this, @kwkwan — the musl SIGPIPE fix in the SBOM script and the explicit include for MSVC are both right, and the include resolves the windows-native break on main (stream-parse.cpp:563). The include portion supersedes #2588.

@ronaldtse
ronaldtse merged commit 7eac269 into main Nov 25, 2026
118 of 150 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants