Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2021 01:07:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259005] Mk/Scripts/qa.sh: Spurious SONAME warnings due to pipefail
Message-ID:  <bug-259005-7788-TSOdvapZV8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259005-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259005-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259005

--- 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259005-7788-TSOdvapZV8>