OpenH264 missing 32 bit version and repository, causes additional ffmpeg issues. #12473

Open
opened 2024-11-23 17:18:19 +00:00 by gloriouseggroll · 4 comments

Currently fedora builds ffmpeg-free against noopenh264, then noopenh264 is swapped out in favor of OpenH264 after installation. The problem here is that current Cisco OpenH264 repository provided from fedora-repos only provides the 64 bit package. This means none of the 32 bit ffmpeg packages (or any 32 bit package built using noopenh264) can be installed.

In a nutshell it goes like this:
try to install libavcodec-free.i686 = broken dependency because it's built on noopenh264.i686, but I have openh264.x86_64 installed, so it wants openh264.i686 to match.

why are 32 bit ffmpeg packages needed? -- 32 bit applications running via wine need them. just one example.

Currently fedora builds ffmpeg-free against noopenh264, then noopenh264 is swapped out in favor of OpenH264 after installation. The problem here is that current Cisco OpenH264 repository provided from fedora-repos only provides the 64 bit package. This means none of the 32 bit ffmpeg packages (or any 32 bit package built using noopenh264) can be installed. In a nutshell it goes like this: try to install libavcodec-free.i686 = broken dependency because it's built on noopenh264.i686, but I have openh264.x86_64 installed, so it wants openh264.i686 to match. why are 32 bit ffmpeg packages needed? -- 32 bit applications running via wine need them. just one example.

It should additionally be noted cisco -does- offer a 32 bit build and repo, it's just missing from /etc/yum.repos.d/fedora-cisco-openh264.repo. I've worked around the issue by manually adding it:

[fedora-cisco-openh264-multilib]
name=Fedora $releasever openh264 (From Cisco) - multilib
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=i386
type=rpm
enabled=1
metadata_expire=14d
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True
It should additionally be noted cisco -does- offer a 32 bit build and repo, it's just missing from /etc/yum.repos.d/fedora-cisco-openh264.repo. I've worked around the issue by manually adding it: ``` [fedora-cisco-openh264-multilib] name=Fedora $releasever openh264 (From Cisco) - multilib metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=i386 type=rpm enabled=1 metadata_expire=14d repo_gpgcheck=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch skip_if_unavailable=True ```
Owner

If 32bit stuff is needed (and it seems so), we need to make that x86_64 repo multilibed.
We actually shouldn't be making a i386 repo at all (IMHO).

@humaton so we need the repo to be multilib for x86_64 here. Can you add this in your regen work?

If 32bit stuff is needed (and it seems so), we need to make that x86_64 repo multilibed. We actually shouldn't be making a i386 repo at all (IMHO). @humaton so we need the repo to be multilib for x86_64 here. Can you add this in your regen work?
Contributor

Yes, making the x86_64 repo multilib and dropping the i386 repo sounds like a good plan to me.

Yes, making the x86_64 repo multilib and dropping the i386 repo sounds like a good plan to me.

Metadata Update from @phsmoura:

  • Issue tagged with: low-trouble, medium-gain, ops
**Metadata Update from @phsmoura**: - Issue tagged with: low-trouble, medium-gain, ops
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
releng/tickets#12473
No description provided.