| Summary: | Unable to build gstreamer1.0-plugins-ugly with a52dec (liba52) is enabled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Anh Nguyen <anh.nguyen.pv> | ||||
| Component: | meta-yocto | Assignee: | Unassigned <unassigned> | ||||
| Status: | RESOLVED NOTABUG | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Undecided | CC: | poky.bs.watcher, poky.watcher, randy.macleod | ||||
| Version: | 5.1 | ||||||
| Target Milestone: | 0.0.0 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Anh Nguyen
2024-07-01 04:55:13 UTC
We leave the packageconfig so that the feature is deterministically disabled. If you have an idea of how this could be handled differently, please send a patch to the list. - YP bug reivewers. Created attachment 5057 [details]
Remove a52dec into gstreamer ugly
Let me explain more details: - Build 'bitbake core-image-weston' --> OK because it doesn't build gstreamer1.0-plugins-ugly. My case: - Add these to local.conf to enable a52dec: LICENSE_FLAGS_ACCEPTED = "commercial" PACKAGECONFIG:pn-gstreamer1.0-plugins-ugly = "a52dec" - Build 'bitbake gstreamer1.0-plugins-ugly' - Got Error: Nothing PROVIDES 'liba52' (but poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.3.bb DEPENDS on or otherwise requires it). My solutions: - Option 1: Remove plugin a52dec into gstreamer1.0-plugins-ugly_1.24.3.bb I added a patch to do that, it works (please check the attachment) - Option 2: Replace liba52 by libav (I will try and share a patch later). You may be heading in the right direction but as you saw in 148e0c87ccfa60b13f9548afdc8b4d9fb8f05716 the library isn't actively maintained.
Interestingly it is still packaged for recent Fedora releases:
https://pkgs.org/download/liba52
Anyway, once you have the "replace liba52 by libav" patch, please send it to the list, ideally CCing people who have worked on this part of oe-core such as Alex Kanavin. That's the best way to get changes reviewed and merged.
I'm happy to provide a bit of feedback here as well, when I can.
-- Randy
|