[Bug 259992] Bogus 'xx doesn't have a SONAME' messages are printed by stage-qa for some shared libraries

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Nov 2021 02:13:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259992

            Bug ID: 259992
           Summary: Bogus 'xx doesn't have a SONAME' messages are printed
                    by stage-qa for some shared libraries
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

Created attachment 229664
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229664&action=edit
fix-SONAME.patch

Currently stage-qa prints bogus messages 'xx doesn't have a SONAME' when
readelf produces too long output.

Testcase: math/vtk9

All shared libraries instaled by math/vtk9 do have SONAME but the bogus
messages about missing SONAME are printed.

Reason: 'grep -q SONAME' ends before it drains the pipe, pipe fails when the
remaining output is too long, and 'set -o pipefail' causes the whole command to
fail when it is supposed to succeed.

Remedy: Please apply the attached patch fix-SONAME.patch, or alternatively
remove 'set -o pipefail' from qa.sh

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