[Bug 299650] ctfconvert tests are reinstalled every time `installworld` is run

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Oct 2026 19:52:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299650

            Bug ID: 299650
           Summary: ctfconvert tests are reinstalled every time
                    `installworld` is run
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: ngie@FreeBSD.org

In df6131e2b74d9f334c16387e9a46cafd6e27eb78, I introduced a change to remove
MK_CDDL/ctf* tests when MK_CDDL == no or MK_DTRACE == no.

des@ reported the following:

> The sum total of my build configuration is
>
> ```
> WITH_DEBUG_FILES        ?= yes
> WITHOUT_PROFILE         ?= yes
> ```
>
> After buildworld + installworld, check-old wants to delete the CDDL
tests.  If I run delete-old, then installworld again, they are
recreated.

He also provided this bit of info from `make showconfig`:

```
MK_ACCT          = yes
MK_ACPI          = yes
MK_APM           = yes
MK_ASAN          = no
MK_ASSERT_DEBUG  = yes
MK_AT            = yes
MK_AUDIT         = yes
MK_AUTHPF        = yes
MK_AUTO_OBJ      = yes
MK_AUTOFS        = yes
MK_BEARSSL       = no
MK_BHYVE         = yes
MK_BHYVE_SNAPSHOT = no
MK_BIND_NOW      = no
MK_BLACKLIST     = yes
MK_BLACKLIST_SUPPORT = yes
MK_BLOCKLIST     = yes
MK_BLOCKLIST_SUPPORT = yes
MK_BLUETOOTH     = yes
MK_BOOT          = yes
MK_BOOTPARAMD    = yes
MK_BOOTPD        = yes
MK_BRANCH_PROTECTION = no
MK_BSDINSTALL    = yes
MK_BSNMP         = yes
MK_CALENDAR      = yes
MK_CAROOT        = yes
MK_CASPER        = yes
MK_CCACHE_BUILD  = yes
MK_CCD           = yes
MK_CDDL          = yes
MK_CLANG         = yes
MK_CLANG_BOOTSTRAP = yes
MK_CLANG_EXTRAS  = no
MK_CLANG_FORMAT  = no
MK_CLANG_FULL    = yes
MK_CLEAN         = no
MK_CPP           = yes
MK_CROSS_COMPILER = yes
MK_CRYPT         = yes
MK_CTF           = no
MK_CUSE          = yes
MK_CXGBETOOL     = yes
MK_DEBUG_FILES   = yes
MK_DEPEND_CLEANUP = yes
MK_DETECT_TZ_CHANGES = no
MK_DICT          = yes
MK_DIRDEPS_BUILD = no
MK_DIRDEPS_CACHE = no
MK_DISK_IMAGE_TOOLS_BOOTSTRAP = no
MK_DMAGENT       = yes
MK_DOCCOMPRESS   = yes
MK_DTRACE        = yes
MK_DTRACE_ASAN   = no
MK_DTRACE_TESTS  = no
MK_DYNAMICROOT   = yes
MK_EE            = yes
MK_EFI           = yes
MK_ELFTOOLCHAIN_BOOTSTRAP = yes
MK_EXAMPLES      = yes
MK_FDT           = no
MK_FILE          = yes
MK_FINGER        = yes
MK_FLOPPY        = yes
MK_FORMAT_EXTENSIONS = yes
MK_FORTH         = yes
MK_FREEBSD_UPDATE = yes
MK_FTP           = yes
MK_GAMES         = yes
MK_GOOGLETEST    = yes
MK_GPIO          = yes
MK_HAST          = yes
MK_HESIOD        = no
MK_HTML          = yes
MK_HYPERV        = yes
MK_ICONV         = yes
MK_INCLUDES      = yes
MK_INET          = yes
MK_INET_SUPPORT  = yes
MK_INET6         = yes
MK_INET6_SUPPORT = yes
MK_INETD         = yes
MK_INSTALL_AS_USER = no
MK_INSTALLLIB    = yes
MK_IPFILTER      = yes
MK_IPFILTER_IPFS = no
MK_IPFW          = yes
MK_IPSEC_SUPPORT = yes
MK_ISCSI         = yes
MK_JAIL          = yes
MK_JEMALLOC_LG_VADDR_WIDE = yes
MK_KDUMP         = yes
MK_KERBEROS      = yes
MK_KERBEROS_SUPPORT = yes
MK_KERNEL_BIN    = no
MK_KERNEL_RETPOLINE = no
MK_KERNEL_SYMBOLS = yes
MK_KVM           = yes
MK_KVM_SUPPORT   = yes
MK_LDNS          = yes
MK_LDNS_UTILS    = yes
MK_LEGACY_CONSOLE = yes
MK_LIB32         = yes
MK_LLD           = yes
MK_LLD_BOOTSTRAP = yes
MK_LLDB          = yes
MK_LLVM_ASSERTIONS = yes
MK_LLVM_BINUTILS = yes
MK_LLVM_BINUTILS_BOOTSTRAP = yes
MK_LLVM_FULL_DEBUGINFO = no
MK_LLVM_LINK_STATIC_LIBRARIES = no
MK_LLVM_TARGET_AARCH64 = yes
MK_LLVM_TARGET_ALL = yes
MK_LLVM_TARGET_ARM = yes
MK_LLVM_TARGET_BPF = no
MK_LLVM_TARGET_LOONGARCH = no
MK_LLVM_TARGET_POWERPC = yes
MK_LLVM_TARGET_RISCV = yes
MK_LLVM_TARGET_X86 = yes
MK_LOADER_BIOS   = yes
MK_LOADER_BIOS_TEXTONLY = yes
MK_LOADER_EFI_SECUREBOOT = no
MK_LOADER_GELI   = yes
MK_LOADER_IA32   = yes
MK_LOADER_KBOOT  = yes
MK_LOADER_LUA    = yes
MK_LOADER_OFW    = no
MK_LOADER_PXEBOOT = yes
MK_LOADER_UBOOT  = no
MK_LOADER_USB    = no
MK_LOADER_USERBOOT = yes
MK_LOADER_VERBOSE = no
MK_LOADER_VERIEXEC = no
MK_LOADER_VERIEXEC_PASS_MANIFEST = no
MK_LOADER_VERIEXEC_VECTX = no
MK_LOADER_ZFS    = yes
MK_LOCALES       = yes
MK_LOCATE        = yes
MK_LPR           = yes
MK_LS_COLORS     = yes
MK_MACHDEP_OPTIMIZATIONS = yes
MK_MAIL          = yes
MK_MAILWRAPPER   = yes
MK_MAKE          = yes
MK_MAKE_CHECK_USE_SANDBOX = yes
MK_MALLOC_PRODUCTION = no
MK_MAN           = yes
MK_MAN_UTILS     = yes
MK_MANCOMPRESS   = yes
MK_MANSPLITPKG   = no
MK_META_ERROR_TARGET = no
MK_META_MODE     = no
MK_MITKRB5       = yes
MK_MLX5TOOL      = yes
MK_NETCAT        = yes
MK_NETGRAPH      = yes
MK_NETGRAPH_SUPPORT = yes
MK_NETLINK       = yes
MK_NETLINK_SUPPORT = yes
MK_NIS           = yes
MK_NLS           = yes
MK_NLS_CATALOGS  = yes
MK_NS_CACHING    = yes
MK_NTP           = yes
MK_NUAGEINIT     = yes
MK_OFED          = yes
MK_OFED_EXTRA    = no
MK_OPENLDAP      = no
MK_OPENMP        = yes
MK_OPENSSH       = yes
MK_OPENSSL       = yes
MK_OPENSSL_KTLS  = yes
MK_PAM           = yes
MK_PAM_SUPPORT   = yes
MK_PF            = yes
MK_PIE           = yes
MK_PKGBOOTSTRAP  = yes
MK_PKGCONF       = yes
MK_PKGSERVE      = yes
MK_PMC           = yes
MK_PPP           = yes
MK_PTHREADS_ASSERTIONS = yes
MK_QUOTAS        = yes
MK_RADIUS_SUPPORT = yes
MK_RATELIMIT     = no
MK_RBOOTD        = yes
MK_RELRO         = yes
MK_REPRODUCIBLE_BUILD = no
MK_REPRODUCIBLE_PATHS = no
MK_RESCUE        = yes
MK_RETPOLINE     = no
MK_ROUTED        = yes
MK_RPCBIND_WARMSTART_SUPPORT = no
MK_RUN_TESTS     = no
MK_SCTP_SUPPORT  = yes
MK_SENDMAIL      = yes
MK_SERVICESDB    = yes
MK_SETUID_LOGIN  = yes
MK_SHAREDOCS     = yes
MK_SORT_THREADS  = no
MK_SOUND         = yes
MK_SOURCELESS    = yes
MK_SOURCELESS_HOST = yes
MK_SOURCELESS_UCODE = yes
MK_SPLIT_KERNEL_DEBUG = yes
MK_SSP           = yes
MK_STAGING       = no
MK_STAGING_MAN   = no
MK_STAGING_PROG  = no
MK_STALE_STAGED  = no
MK_STATS         = yes
MK_SYSCONS       = yes
MK_SYSROOT       = no
MK_SYSTEM_COMPILER = yes
MK_SYSTEM_LINKER = yes
MK_TALK          = yes
MK_TCP_WRAPPERS  = yes
MK_TCSH          = yes
MK_TELNET        = yes
MK_TESTS         = yes
MK_TESTS_SUPPORT = yes
MK_TEXTPROC      = yes
MK_TFTP          = yes
MK_TOOLCHAIN     = yes
MK_UBSAN         = no
MK_UNBOUND       = yes
MK_UNDEFINED_VERSION = no
MK_UNIFIED_OBJDIR = yes
MK_USB           = yes
MK_USB_GADGET_EXAMPLES = yes
MK_UTMPX         = yes
MK_VERIEXEC      = no
MK_VI            = yes
MK_VT            = yes
MK_WARNS         = yes
MK_WERROR        = yes
MK_WIRELESS      = yes
MK_WIRELESS_SUPPORT = yes
MK_WPA_SUPPLICANT_EAPOL = yes
MK_ZEROREGS      = no
MK_ZFS           = yes
MK_ZFS_TESTS     = yes
MK_ZONEINFO      = yes
MK_ZONEINFO_LEAPSECONDS_SUPPORT = no
OPT_INIT_ALL     = none
OPT_LIBC_MALLOC  = jemalloc
```

I need to resolve this issue for him.

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