Bug 210989 - 11.0 -r302412 (and later): check-old does not list older /usr/libsoft/. . . materials; delete-old and delete-old-libs do not delete them
Summary: 11.0 -r302412 (and later): check-old does not list older /usr/libsoft/. . . m...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-10 21:37 UTC by Mark Millard
Modified: 2020-03-08 03:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Millard 2016-07-10 21:37:53 UTC
When did an amd64 -> armv6 cross-build/update for -r302331 -> -r302412.

-r302331's build had WITH_LIBSOFT=yes
-r302412's build was WITHOUT_LIBSOFT (by not specifying WITH_LIBSOFT=yes )
(I had rebuilt all the installed ports [-r417989 update] under -r302331.)

The check-old stage did not report anything about /usr/libsoft materials as to be deleted.

Nor did delete-old or delete-old-libs remove any of them.

Looking in the DESTDIR tree showed that the libsoft files were still there and were old: libsoft was not rebuilt.

-r302412's build was WITHOUT_META_MODE because of a different issue when WITH_META_MODE was attempted. -r302331 had been done WITH_META_MODE=yes .
Comment 1 Mark Millard 2020-03-08 03:30:30 UTC
In head -r358510 the following grep's do not suggest
that check-old, delete-old, or delete-old-libs do anything
about /usr/libsoft materials even when:

.elif ${MK_LIBSOFT} == "yes"
_LIBCOMPAT= SOFT
.include "Makefile.libcompat"

is not used. The grep's are:

# grep -r _LIBSOFT /usr/src/* | more
/usr/src/Makefile.inc1:.elif ${MK_LIBSOFT} == "yes"
/usr/src/UPDATING:      is available using the libraries installed with -DWITH_LIBSOFT.
/usr/src/etc/mtree/Makefile:.if ${MK_LIBSOFT} != "no"
/usr/src/etc/Makefile:.if ${MK_LIBSOFT} != "no"
/usr/src/share/man/man5/src.conf.5:.It Va WITH_LIBSOFT
/usr/src/tools/build/options/WITH_LIBSOFT:.\" $FreeBSD: head/tools/build/options/WITH_LIBSOFT 300325 2016-05-20 19:23:07Z bdrewery $

# grep -r libsoft /usr/src/* | more
/usr/src/UPDATING:      /usr/libsoft also existed). Only users with a hard-float ld.so, but
/usr/src/etc/mtree/BSD.libsoft.dist:# $FreeBSD: head/etc/mtree/BSD.libsoft.dist 293068 2016-01-03 04:32:05Z imp $
/usr/src/etc/mtree/BSD.libsoft.dist:    libsoft
/usr/src/etc/mtree/Makefile:    ${_BSD.libsoft.dist} \
/usr/src/etc/mtree/Makefile:_BSD.libsoft.dist=  BSD.libsoft.dist
/usr/src/etc/Makefile:MTREES+=  mtree/BSD.libsoft.dist          /usr
/usr/src/etc/Makefile:MTREES+=  mtree/BSD.libsoft.dist          /usr/lib/debug/usr
/usr/src/libexec/rtld-elf/paths.h:#define       SOFT_STANDARD_LIBRARY_PATH "/usr/libsoft"
/usr/src/libexec/rc/rc.conf:ldconfigsoft_paths="/usr/libsoft /usr/libsoft/compat /usr/local/libsoft"
/usr/src/share/mk/bsd.compat.mk:# -B is needed to find /usr/lib32/crti.o for GCC and /usr/libsoft/crti.o for