Running CURRENT (FreeBSD 13.0-CURRENT #4 r365243: Wed Sep 2 13:13:07 CEST 2020 amd64) and trying to installkernel with /etc/src.conf containing WITHOUT_DEBUG_FILES=YES resuklts in the error shown below when running "make installkernel": [...] --- realinstall_subdir_zfs --- install -T dbg -o root -g wheel -m 555 zfs.ko.debug /usr/lib/debug/boot/kernel/ install: /usr/lib/debug/boot/kernel/: No such file or directory *** [_kmodinstall] Error code 71 make[4]: stopped in /usr/src/sys/modules/zfs 1 error
5 years later and the problem reappears. Current kernel: FreeBSD 14.2-STABLE #0 stable/14-ccd9c1ef4e90: Wed Feb 12 20:19:39 -03 2025 I just did a git pull --ff-only today (May/6/2025)on my /usr/src. I have WITHOUT_DEBUG_FILES=yes in /etc/src.conf make buildworld: no errors make buildkernel: no errors make installkernel stops with the following: install -T release -o root -g wheel -m 444 mmc.ko /boot/kernel/ ===> mmcsd (install) install -T release -o root -g wheel -m 444 mmcsd.ko /boot/kernel/ ===> mpi3mr (install) install -T release -o root -g wheel -m 444 mpi3mr.ko /boot/kernel/ install -T dbg -o root -g wheel -m 444 mpi3mr.ko.debug /usr/lib/debug/boot/kernel/ install: /usr/lib/debug/boot/kernel: No such file or directory *** Error code 71 Stop. make[4]: stopped in /usr/src/sys/modules/mpi3mr *** Error code 1 Stop. make[3]: stopped in /usr/src/sys/modules *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/LOBO *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src All my .conf files are exactly the same as when I built the current kernel.
yes, but this is a different issue caused by 80b069913d496bd73b0ea8e515b6bf3706530ea1. MFC of 4c6cf054c9599a9a520edde8dc19956e5a4e826b is obviously missing.
(In reply to Herbert J. Skuhra from comment #2) Ok. In the case of 14 STABLE, how can I correct this?
(In reply to Mario Lobo from comment #3) Somehow I can't reproduce this problem on stable/14. Can you share your src.conf? You can try 'git cherry-pick -n 4c6cf054c9599a9a520edde8dc19956e5a4e826b' or modify the file manually by removing line #10 : DEBUG_FLAGS= -g (like https://cgit.freebsd.org/src/commit/?id=4c6cf054c9599a9a520edde8dc19956e5a4e826b) I guess this is also needed for releng/14.3.
(In reply to Herbert J. Skuhra from comment #4) src.conf KERNCONF=LOBO WITH_CLANG=yes WITH_LIBCPLUSPLUS=yes WITH_CLANG_EXTRAS=yes WITH_CLANG_IS_CC=yes WITH_MALLOC_PRODUCTION=yes WITHOUT_LLVM_ASSERTIONS=yes WITHOUT_GCC=yes WITHOUT_GNUCXX= yes WITHOUT_GCC_BOOTSTRAP= yes WITHOUT_REPRODUCIBLE_BUILD=yes WITHOUT_DEBUG_FILES=yes WITHOUT_FREEBSD_UPDATE=yes WITHOUT_FLOPPY=yes WITHOUT_GAMES= yes WITHOUT_IPFILTER=yes WITHOUT_QUOTAS=yes WITHOUT_SVN= yes WITHOUT_SVNLITE=yes WITHOUT_TESTS=yes WITHOUT_TESTS_SUPPORT=yes "modify the file manually by removing line #10 :" Which file exactly? WITHOUT_INETD=yes
(In reply to Mario Lobo from comment #5) never mind! I found it! Thank you so much, Herbert!
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=22ebbdea3f33fdeae5ee83077ea9c25979705f2f commit 22ebbdea3f33fdeae5ee83077ea9c25979705f2f Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2025-05-08 02:09:45 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-05-08 02:11:13 +0000 mpi3mr: Remove -g This -g was introduce when I didn't review all the cahnges to mpi3mr I was MFCing. Remove it. This is a direct commit. PR: 249068 Fixes: 80b069913d496 Sponsored by: Netflix sys/modules/mpi3mr/Makefile | 2 -- 1 file changed, 2 deletions(-)
^Triage: assigned to committer who resolved.
A commit in branch releng/14.3 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e79a3515c241b84dfa1c73f41a25c4cc992d616d commit e79a3515c241b84dfa1c73f41a25c4cc992d616d Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2025-05-08 02:09:45 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-05-12 22:45:35 +0000 mpi3mr: Remove -g This -g was introduce when I didn't review all the cahnges to mpi3mr I was MFCing. Remove it. This is a direct commit. PR: 249068 Fixes: 80b069913d496 Sponsored by: Netflix Approved by: re (cperciva) (cherry picked from commit 22ebbdea3f33fdeae5ee83077ea9c25979705f2f) sys/modules/mpi3mr/Makefile | 2 -- 1 file changed, 2 deletions(-)