Bug 259977 - /usr/share/vi/catalog/english different when recompiling world with -DNO_CLEAN
Summary: /usr/share/vi/catalog/english different when recompiling world with -DNO_CLEAN
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-21 19:58 UTC by Martin Birgmeier
Modified: 2021-11-21 19:59 UTC (History)
0 users

See Also:


Attachments
/usr/share/vi/catalog/english (file after first compile) (1.44 KB, application/octet-stream)
2021-11-21 19:58 UTC, Martin Birgmeier
no flags Details
/usr/tmp/x/usr/share/vi/catalog/english (file after recompile) (32 bytes, application/octet-stream)
2021-11-21 19:59 UTC, Martin Birgmeier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2021-11-21 19:58:30 UTC
Created attachment 229646 [details]
/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).
Comment 1 Martin Birgmeier 2021-11-21 19:59:10 UTC
Created attachment 229647 [details]
/usr/tmp/x/usr/share/vi/catalog/english (file after recompile)