[Bug 255589] strip(1) leaves empty file when applied to unstrippable file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 4 11:39:26 UTC 2021


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

Chris Rees <crees at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs at FreeBSD.org            |portmgr at FreeBSD.org

--- Comment #3 from Chris Rees <crees at FreeBSD.org> ---
Yes, I introduced this fix in 5ac70383, but somehow I didn't manage to get it
into 13.0-RELEASE, which is actually a major pain.

It was always a problem, but didn't appear until the default directory for
strip(1) temporary files was changed to '.' from /tmp in 1e4896b1.

Portmgr, I'm really sorry, but I think we have no alternative but to put an
OSVERSION check and then find ${WRKSRC} -type f -name 'ecp.*' -delete on the
do-strip target in bsd.port.mk or wherever, otherwise the tree is going to be
totally littered with ad-hoc fixes that only apply to 13.0-R.

Alternatively, we could (ab)use the releng/13.0 branch...

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


More information about the freebsd-bugs mailing list