[Bug 259977] /usr/share/vi/catalog/english different when recompiling world with -DNO_CLEAN

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Nov 2021 19:58:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259977

            Bug ID: 259977
           Summary: /usr/share/vi/catalog/english different when
                    recompiling world with -DNO_CLEAN
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: d8zNeCFG@aon.at

Created attachment 229646
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229646&action=edit
/usr/share/vi/catalog/english (file after first compile)

Scenario:
- FreeBSD releng/13.0 i386
- Originally built in /usr/src using "make buildworld buildkernel <some
parameters>" on FreeBSD 12.1 i386 [sic]
- Installed (installkernel installworld mergemaster) such that the system now
runs FreeBSD 13.0
- After applying some (unrelated and minor) local changes to the tree, running
"make -DNO_CLEAN buildworld buildkernel <some parameters>
- Installing into /usr/tmp/x using "installkernel installworld
DESTDIR=/usr/tmp/x ..."
- Comparing contents of / to /usr/tmp/x

Result:
- Files where local changes were made differ (expected)
- Not expected: /usr/share/vi/catalog/english and
/usr/tmp/x/usr/share/vi/catalog/english differ
- /usr/share/vi/catalog/english has 1472 bytes (on 12.2 it is much larger),
whereas /usr/tmp/x/usr/share/vi/catalog/english has only 32.

Expected result:
- /usr/share/vi/catalog/english and /usr/tmp/x/usr/share/vi/catalog/english
should be the same

Note: I just tried to reproduce this on amd64 and could not. But I had the same
thing on another compile before (i.e., already seen at least twice).

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