Re: git: f74f891581bc - main - src.opts: Introduce MK_SOUND

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Mon, 12 Jan 2026 16:02:17 UTC
On Mon Jan 12, 2026 at 5:48 PM EET, Kristof Provost wrote:
> On 12 Jan 2026, at 15:16, Christos Margiolis wrote:
>> The branch main has been updated by christos:
>>
>> URL: 
>> https://cgit.FreeBSD.org/src/commit/?id=f74f891581bc4df20431607de9b761107f6a0aa7
>>
>> commit f74f891581bc4df20431607de9b761107f6a0aa7
>> Author:     Christos Margiolis <christos@FreeBSD.org>
>> AuthorDate: 2026-01-12 14:16:35 +0000
>> Commit:     Christos Margiolis <christos@FreeBSD.org>
>> CommitDate: 2026-01-12 14:16:35 +0000
>>
>>     src.opts: Introduce MK_SOUND
>>
>>     PR:             291853
>>     Sponsored by:   The FreeBSD Foundation
>>     MFC after:      1 week
>>     Reviewed by:    zarychtam_plan-b.pwste.edu.pl, markj
>>     Differential Revision:  https://reviews.freebsd.org/D54456
>> ---
>
> This seems to fail to build for me:
>
> 	…
> 	install -U  -o root -g wheel -m 444  libmd.so.7.debug 
> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libmd.so.7.debug
> 	make[4]: Graph cycles through `realinstall_subdir_lib/libmixer'
> 	`afterinstall' was not built (deferred, type 
> OP_DEPENDS|OP_DEPS_FOUND|OP_MARK, flags REMAKE|DONE_WAIT|DONECYCLE)!
> 	    `afterinstall' has .ORDER dependency on realinstall (deferred, type 
> OP_DEPENDS|OP_PHONY|OP_DEPS_FOUND|OP_MARK, flags 
> REMAKE|CHILDMADE|FORCE|DONE_WAIT|DONE_ORDER|CYCLE|DONECYCLE)
>
> 	make[3]: stopped making "_generic_libs" in /usr/src
>
> 	make[2]: stopped making "libraries" in /usr/src
> 	      162.69 real      1395.37 user       632.74 sys
>
> 	make[1]: stopped making "buildworld" in /usr/src
>
> 	make: stopped making "buildworld buildkernel" in /usr/src
>
> This is enough to avoid the problem, but clearly not a fix:
>
> 	diff --git a/lib/Makefile b/lib/Makefile
> 	index d06488a33fb9..bf8f2c386f64 100644
> 	--- a/lib/Makefile
> 	+++ b/lib/Makefile
> 	@@ -73,7 +73,6 @@ SUBDIR=       ${SUBDIR_BOOTSTRAP} \
> 	        liblzma \
> 	        libmemstat \
> 	        libmd \
> 	-       libmixer \
> 	        libmt \
> 	        lib80211 \
> 	        libnetbsd \
>
>
> Best regards,
> Kristof

Oops... Right now I am AFK so feel free to apply this already if you
want.

Christos