Hi, Could you please branch and build yasm for EPEL 10 ? It is needed to build another package. Regards, Xavier
Does it have to be yasm ? Yasm has been removed from RHEL-10. You should be able to use nasm in place of yasm without any difficulties.
yeah we "talked" about this subject in #multimedia:fedoraproject.org just as reminder and in resume : x264 switched to nasm 7 years ago: https://code.videolan.org/videolan/x264/-/commit/d2b5f4873e2147452a723b61b14f030b2ee760a5 and the reason they did so is still valid: https://github.com/yasm/yasm/issues/101 if upstream is still preferring yasm, then this could be made conditional, e.g.: +%if 0%{?rhel} +BuildRequires: nasm +%else BuildRequires: yasm +%endif and - -DCMAKE_BUILD_TYPE=RelWithDebInfo + -DCMAKE_BUILD_TYPE=RelWithDebInfo %{?rhel:-DENABLE_NASM=yes}
(In reply to Sergio Basto from comment #2) > if upstream is still preferring yasm, then this could be made conditional, > e.g.: > +%if 0%{?rhel} > +BuildRequires: nasm > +%else > BuildRequires: yasm > +%endif > > and > - -DCMAKE_BUILD_TYPE=RelWithDebInfo > + -DCMAKE_BUILD_TYPE=RelWithDebInfo %{?rhel:-DENABLE_NASM=yes} As I recall, at least for recent versions, aom will build using nasm if available if yasm is not available (if both are available, it chooses yasm), so only the first stanza is required (or just replace yasm with nasm for all?).
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-2e1f824ab6