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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Oct 2021 06:01:45 UTC

--- Comment #6 from Henrik Gulbrandsen <henrik@gulbra.net> ---
Nah, bug 258972 is something else. It only occurs on 14-CURRENT, and the qa.sh
script uses ldd for the library list, so if anything I would guess it's related
to bug 259069. I don't have a 14-CURRENT system to test on, but the ldd output
must have changed so it's incompatible with the qa.sh awk expression.

"... | grep SONAME > /dev/null" should work, but there is a risk that someone
will come along and try to optimize it back to "... | grep -q SONAME", which is
why I used "set +o pipefail" instead. It is a bit more self-documenting.

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