[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why is ggml not migrating?



On 2025-12-09 20:46, Paul Gevers wrote:
> However, the current implementation uses the component of the source,
> with an explicit note that source packages in main can build binaries in
> contrib. If we want to allow the current way of uploading of src:ggml,
> the change to britney2 looks extremely simple. However, the issue raised
> by Adrian makes me lean towards the idea that we don't want to do that.
> 
> Policy [1] says this about it:
> """
> Source packages in main with a mixture of main and contrib binary
> packages are more complex for archive tooling to handle, and therefore
> should be limited to situations where it would be inconvenient to split
> the source package. If it is straightforward to split the source package
> into a main part and a contrib part that are built separately, then
> those parts should be represented as separate source packages.
> """
> and
> """
> In particular, source packages in main must not have build dependencies
> outside main, but the contrib binary packages may have runtime
> dependencies outside main.
> """
> 
> I'm reading this as "all build dependencies for binaries built from a
> source in main must be in main".

I also found this [2] in § 4.9:

"""
The binary target must be all that is necessary for the user to build
the binary package(s) produced from this source package.
"""

I would lean towards interpreting "binary package(s)" as "[all] binary
package(s)", as [some] wouldn't really make sense.

Since there is no clear Policy support in favor of the process, but a
few arguments against, with one of them pretty clear ("should be
represented as separate source packages"), I'll revert to the
src:ggml-cuda approach.

Thanks, all, for your insight. I feel a bit silly for not finding these
the first time when I checked the Policy, I guess I had build-profile
colored glasses on.

Best,
Christian


> [1] https://www.debian.org/doc/debian-policy/ch-archive.html#the-main-archive-area

[2]: https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules


Reply to: