Re: git: 2ffaca551eaf - main - snd_hda: Implement automatic redirection between associations

From: Guido Falsi <mad_at_madpilot.net>
Date: Wed, 01 Oct 2025 08:37:13 UTC
On 10/1/25 10:29, Christos Margiolis wrote:
> On Tue Sep 30, 2025 at 10:10 PM CEST, Guido Falsi wrote:
>> On 9/30/25 21:22, Guido Falsi wrote:
>>> On 9/30/25 12:52, Christos Margiolis wrote:
>>>> The branch main has been updated by christos:
>>>>
>>>> URL: https://cgit.FreeBSD.org/src/commit/?
>>>> id=2ffaca551eaf32c17f701762ecf29a961cf19aa4
>>>>
>>>> commit 2ffaca551eaf32c17f701762ecf29a961cf19aa4
>>>> Author:     Christos Margiolis <christos@FreeBSD.org>
>>>> AuthorDate: 2025-09-30 10:52:44 +0000
>>>> Commit:     Christos Margiolis <christos@FreeBSD.org>
>>>> CommitDate: 2025-09-30 10:52:44 +0000
>>>>
>>>
>>> Looks like this is causing the package building step of the build to
>>> look for a src/release/packages/ucl/snd-all.ucl file.
>>>
>>> Is it intentional to cause this to produce a new base package?
>>>
>>> Looks like in this case an ucl file for the description is needed?
>>>
>>
>> After working around this one locally, I get a similar issue with
>> virtual_oss missing its ucl file too.
>>
>> Just reporting this right away so it is known.
> 
> Is there an error log for that?

Unluckily I did not keep a copy but was the same as the dns one, with 
s/snd-all/virtual_oss/

The problem is caused by lines 218-222 in libexec/rc/rc.d/Makefile [1], 
which, if I understand correctly, instruct to create a new virtual_oss 
base package for which the description ucl file is missing. I fixed 
locally by creating that ucl file 
(src/release/packages/ucl/virtual_oss-all.ucl


[1] 
https://github.com/freebsd/freebsd-src/blob/5cc36854ee63dc695d90a841d9db587bec67ba24/libexec/rc/rc.d/Makefile#L218


-- 
Guido Falsi <mad@madpilot.net>