[Bug 259005] Mk/Scripts/qa.sh: Spurious SONAME warnings due to pipefail

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Oct 2021 01:07:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259005

--- Comment #5 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to Kubilay Kocak from comment #4)

Maybe not.
I'm on 12.2-STABLE and can't get bug 258972 to occur.

This is due to the fact that grep -q only reads stdin up to the line it
matches.

And... stdbuf -i 0 is also not a workaround.
We may have to discard unnecessary output to /dev/null to get exit code 0.
readelf -d "${dep_file}" | grep SONAME > /dev/null

-- 
You are receiving this mail because:
You are on the CC list for the bug.