[Bug 261215] objcopy fails to work on itself which make buildworld with NO_CLEAN fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Jan 2022 22:50:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261215

            Bug ID: 261215
           Summary: objcopy fails to work on itself which make buildworld
                    with NO_CLEAN fail
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: antonfb@hesiod.org

make buildworld fails with /etc/src.conf setting WITHOUT_CLEAN=1

Error:
--- objcopy ---
objcopy --strip-debug --add-gnu-debuglink=objcopy.debug  objcopy.full objcopy
objcopy: open objcopy failed: Text file busy
*** [objcopy] Error code 1

make[4]: stopped in /usr/src/usr.bin/objcopy

make[2]: stopped in /usr/src

make[1]: stopped in /usr/src

make: stopped in /usr/src

Other tools suck as 'install' know how to work on running executables.

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