Summary: | ObsoleteFiles.inc miss few things | ||
---|---|---|---|
Product: | Base System | Reporter: | Ivan Rozhuk <rozhuk.im> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Some People | CC: | dim, emaste, grahamperrin, jhb, kevans, rozhuk.im |
Priority: | --- | ||
Version: | 13.1-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Ivan Rozhuk
2022-06-23 02:00:49 UTC
The third category is because install will not overwrite an existing file if the contents are identical. The reason is to avoid causing unnecessary rebuilds (e.g. if we bumped the mtime on all headers in /usr/include on each install world, then every subsequent make has to rebuild everything even when it isn't needed). (In reply to John Baldwin from comment #1) The second category is because the mechanism in -CURRENT that automagically removes the 32-bit libraries for corresponding entries in ObsoleteFiles.inc has apparently not been merged to stable/13. The first category seems to be some oversight in OptionalObsoleteFiles.inc. (In reply to John Baldwin from comment #1) It depend on situation. I do every time rebuild because obj is empty, and set ccache to watch content, not any files attr. (In reply to Dimitry Andric from comment #2) Can you please show commits to auto remove i386 libs or merge it to 13? (In reply to Ivan Rozhuk from comment #4) I briefly looked at those, but they cause many conflicts, and are tricky to resolve. So I gave up, due to lack of time. I've merged the lib32 ObsoleteFiles.inc changes back to stable/13 today. (In reply to John Baldwin from comment #6) >>> Removing old files (only deletes safe to delete libs) /etc/regdomain.xml /usr/lib32/libalias_cuseeme_p.a /usr/lib32/libalias_cuseeme.a /usr/lib32/libauditd_p.a /usr/lib32/libauditd.a /usr/lib32/libblacklist_p.a /usr/lib32/libblacklist.a /usr/lib32/libfl.a /usr/lib32/libl.a /usr/lib32/libln.a /usr/lib32/libprivateevent_p.a /usr/lib32/libprivateevent.a /usr/lib32/libssp.a ls -tr /usr/lib32/ total 73780 -r--r--r-- 3 root wheel 3.4K Jul 25 03:21:53 2020 libln_p.a -r--r--r-- 3 root wheel 3.4K Jul 25 03:21:53 2020 libl_p.a -r--r--r-- 3 root wheel 3.4K Jul 25 03:21:53 2020 libfl_p.a -r--r--r-- 1 root wheel 105B Dec 27 04:05:07 2020 libc.so -r--r--r-- 1 root wheel 72B Dec 27 04:05:07 2020 libc++.so -r--r--r-- 1 root wheel 78K Jan 31 13:28:38 2021 libstats.a -r--r--r-- 1 root wheel 79K Jan 31 13:28:38 2021 libstats_p.a |