d/control: Use Recommends on hexagon-dsp-binaries#17
d/control: Use Recommends on hexagon-dsp-binaries#17lool wants to merge 1 commit intoqualcomm-linux:debian/qcom-nextfrom
Conversation
Use a Recommends for the fastrpc-support dep on hexagon-dsp-binaries instead of a Depends. This notably allows picking a particular platform or bringing one's own firmware. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
|
Hi! I appreciate the dependency is broken at the moment. But we do have working hexagon-dsp-binaries packages available at deb.debusine.debian.net/debian/r-rbasak-qcom-hexagon-stack-2/ at least, pending a NEW review to get this fixed in unstable. I also intend to make this available in our apt overlay (so more "official" than a personal space). Will that do for now? Otherwise we'll only be flipping this back as soon as hexagon-dsp-binaries is properly resolved in unstable. I'm reluctant because of that and because I think a Depends is strictly correct, but if you feel strongly that we should upload to unstable now to change this with a Recommends, I'm open to that. |
|
I don't think this is a transient topic, the two reasons that make me challenge the Depends:
I could see why a Recommends rather than a Suggests could be warranted since most people pulling in fastrpc-support are likely to want hexagon-dsp-binaries, and it might not be installed for them by an installer yet, but I think a Depends is pushing the constraints too far. If there's a hard dependency on a script/data file from h-d-b, then let's look at that and split it out in some -common package or change the design to avoid this. |
|
Existing discussion on the dependency structure here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126262 That includes a solution for your per-platform binary split package concern, but that's not implemented yet and would still use a Depends (but on a virtual package) from the fastrpc-support side. Maybe we should continue discussion there? |
|
we discussed this with Robie and Dmitry (hexagon-dsp-binaries); Dmitry doesn't care about Depends vs Recommends, and we all also want a Provides: hexagon-dsp-any to be able to have deps like hexagon-dsp-binaries-all | hexagon-dsp-binaries-any. |
|
I tried to install fastrpc-support from an Ubuntu resolute install; it's currently not published because the dependency is breaking through components: https://ubuntu-archive-team.ubuntu.com/proposed-migration/update_excuses.html |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1130492 prompted me to look again at this. I'm not used to working outside main in Debian so hadn't thought about this. Debian policy 2.2.1 bans a Recommends, too. So does fastrpc need to move to contrib, or do we need to drop to Suggests and leave it to the user to resolve? I'm not keen on this since this is an implementation detail I don't expect users to know about. |
|
Yeah, I spotted the same thing in britney in Ubuntu preventing the package from migrating from resolute-proposed IIUC, it's theoretically possible to write free firmware or could be in the future. Perhaps for Debian and Ubuntu, people can install free software but mostly useless fastrpc by default, and there's a command / README in the package explaining that:
|
|
On Mon, Mar 16, 2026 at 07:56:12AM -0700, Loïc Minier wrote:
IIUC, it's theoretically possible to write free firmware or could be in the
future.
That seems very theoretical. This could apply to all software in contrib
- it's theoretically possible to write Free Software replacements for
their dependencies, and therefore they should be in main instead but
without dependencies declared?
What if we just moved fastrpc packaging into contrib, since _at the
moment_ it is useless without non free blobs? If that situation ever
changed and free dependencies got packaged, the fastrpc package could
move back to main.
Robie
|
It is somewhat theoretical, but there's hexagon support in LLVM Sure; I'm ok with contrib, seems more honest |
|
On Mon, Mar 16, 2026 at 10:27:34AM -0700, Loïc Minier wrote:
Sure; I'm ok with contrib, seems more honest
OK. I'll plan to move this to contrib then.
One more clarification please. With Depends in contrib, or with
Recommends in contrib? This would be on hexagon-dsp-binaries-any in the
end, so I think Depends would then address your previous concerns?
|
|
Personal perspective: I think it's slightly more elegant to not overconstraint people/systems with Depends and use Recommends for these use cases. Installers / package managers should do the right thing to bring the right mix of packages, Depends are overly strict IMO. |
|
Other things to consider that I didn't mention here:
but despite the above, I believe it's currently only useful with firmware that are only packaged in non-free. |
|
Closing: superseded by #29. |

Use a Recommends for the fastrpc-support dep on hexagon-dsp-binaries
instead of a Depends. This notably allows picking a particular platform
or bringing one's own firmware.