is "postinstall fix obsolete" supposed to clean out /usr/lib?
Christoph Badura <[email protected]> Mon, 2 Jun 2025 17:20:30 +0200
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
-current from Fri May 30 13:42:33 2025 +0000 From a -j14 build after locally bumping the libc.so minor I get the following. So "postinstall fix obsolete" cleaned out $DESTDIR/lib/libc.so.12.223 but left $DESTDIR/lib/libc.so.12.223 in place and then checkflist complains. Is that intended behaviour? postinstall-fix-obsolete ===> . --- postinstall-fix-obsolete --- === Removing obsolete files === AWK=/Users/bad/netbsd-gsoc/src-tutorial/obj/tools/bin/nbawk DB=/Users/bad/netbsd-gsoc/src-tutorial/obj/tools/bin/nbdb HOST_SH=/bin/sh MAKE=/Users/bad/netbsd-gsoc/src-tutorial/obj/tools/bin/nbmake PWD_MKDB=/Users/bad/netbsd-gsoc/src-tutorial/obj/tools/bin/nbpwd_mkdb SED=/Users/bad/netbsd-gsoc/src-tutorial/obj/tools/bin/nbsed STAT=/Users/bad/netbsd-gsoc/src-tutorial/obj/tools/bin/nbstat /bin/sh /Users/bad/netbsd-gsoc/src-tutorial/obj/obj.amd64/usr.sbin/postinstall/postinstall -m amd64 -a x86_64 -s /Users/bad/netbsd-gsoc/src-tutorial -d /Users/bad/netbsd-gsoc/src-tutorial/obj/destdir.amd64/ fix obsolete Source directory: /Users/bad/netbsd-gsoc/src-tutorial Target directory: /Users/bad/netbsd-gsoc/src-tutorial/obj/destdir.amd64/ obsolete fix: Removed obsolete file /Users/bad/netbsd-gsoc/src-tutorial/obj/destdir.amd64//lib/libc.so.12.223 Removed obsolete file /Users/bad/netbsd-gsoc/src-tutorial/obj/destdir.amd64//usr/lib/i386/libc.so.12.223 postinstall fixes passed: obsolete postinstall fixes failed: =============================== postinstall-fix-obsolete_stand ===> . checkflist ===> distrib/sets --- check_DESTDIR --- --- checkflist --- # execute checkflist [...] ======= 1 extra files in DESTDIR ========= Files in DESTDIR but missing from flist. File is obsolete or flist is out of date ? ------------------------------------------ ./usr/lib/libc.so.12.223 ========= end of 1 extra files =========== *** Failed target: checkflist *** In directory: /Users/bad/netbsd-gsoc/src-tutorial/distrib/sets --chris