[Bug 251110] Mk/Scripts/qa.sh: stripped() can fail after pipefail was added; also misses the single file case

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 13 18:27:34 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251110

John Hein <jcfyecrayz at liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #219642|                            |maintainer-approval?(portmg
              Flags|                            |r at FreeBSD.org)

--- Comment #1 from John Hein <jcfyecrayz at liamekaens.com> ---
Created attachment 219642
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219642&action=edit
[patch] fix qa.sh:stripped() - possible pipefail + single file issues (v2)

v2: This version of the patch ignores errors from readelf to fix (1).  This is
safer in case base readelf is changed to return non-zero exit codes on errors
(it probably should).

It uses the same fix for (2) as v1.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list