Date: Wed, 22 Mar 2023 06:00:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270398] Fix the 'stripped' check from 'make check-plist' to report all unstripped files Message-ID: <bug-270398-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270398 Bug ID: 270398 Summary: Fix the 'stripped' check from 'make check-plist' to report all unstripped files 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 241047 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241047&action= =3Dedit patch Currently the 'stripped' check always skips the first unstripped file. It uses the "find [...] -exec sh -c 'readelf -S -- /dev/null $0 "$@" || :' = -- {} +" command. When arguments are passed to shell like this: "sh -c 'script' arg1 arg2 arg3" - $@ within the script is assigned to 'arg2 arg3', and $0 is assigned to arg1. This is a quirk in how shells handle arguments in case wh= en the script is passed using -c. The attached script adds $0 to account for the first passed file. --=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-270398-7788>