Fedora Account System
Red Hat Associate
Red Hat Customer
The aom recipe explicitly removes the static library from packaging for some reason (there is no comment as to why?): https://src.fedoraproject.org/rpms/aom/blob/rawhide/f/aom.spec#_111 This now creating a problem for e.g. libheif which in 1.21.0 switched to using the cmake config files aom supplies, which define the AOM::aom_static target missing the actual artifact CMake Error at /usr/lib64/cmake/AOM/AOMTargets.cmake:107 (message): The imported target "AOM::aom_static" references the file "/usr/lib64/libaom.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/AOM/AOMTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/AOM/AOMConfig.cmake:43 (include) cmake/modules/FindAOM.cmake:1 (find_package) CMakeLists.txt:224 (find_package) -- Configuring incomplete, errors occurred! Reproducible: Always
> (there is no comment as to why?) See Packaging Guidelines: > In general, packagers SHOULD NOT ship static libraries. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_static_libraries So not shipping the static library is the correct thing to do, it just looks like the CMake files also need an adjustment for this.
Ah, ok, thanks. So the exported CMake config needs to be fixed instead indeed.
I think dropping aom_static from here: https://aomedia.googlesource.com/aom/+/refs/tags/v3.13.1/build/cmake/aom_install.cmake#82 should handle both the CMake config file and skip installing the actual artifact so the "rm" workaround can also be dropped from the spec file. Could also remove the whole block defining AOM_STATIC_LIBRARIES here: https://aomedia.googlesource.com/aom/+/refs/tags/v3.13.1/build/cmake/config.cmake.in#13
FYI I'm working on this because this breaks libheif update.
Thanks for working on this. I really think dropping the AOM_STATIC_LIBRARIES variable as well would be formally correct.
FEDORA-2026-f6c05db0d7 (aom-3.13.1-3.fc44 and libheif-1.21.1-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-f6c05db0d7
FEDORA-2026-f6c05db0d7 (aom-3.13.1-3.fc44 and libheif-1.21.1-1.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
(In reply to Miloš Komarčević from comment #5) > Thanks for working on this. > > I really think dropping the AOM_STATIC_LIBRARIES variable as well would be > formally correct. Thanks for the tip, new build with that removed will be released shortly.
FEDORA-2026-653fbb5876 (aom-3.13.1-4.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-653fbb5876
FEDORA-2026-653fbb5876 (aom-3.13.1-4.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
Thanks, looks good!