Bug 278913

Summary: cad/opencascade: Disable FFmpeg support
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Open ---    
Severity: Affects Only Me Flags: thierry: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://dev.opencascade.org/content/compilation-error-ffmpeg-60

Description Daniel Engberg freebsd_committer freebsd_triage 2024-05-11 12:03:57 UTC
Looking at https://git.alpinelinux.org/aports/tree/community/opencascade/APKBUILD#n37 it doesn't seem to cause any issues?
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2024-05-13 18:03:07 UTC
Alpine Linux has a problem which does not exist in the FreeBSD ports tree:

- they have 2 different conflicting packages for FFmpeg, one of them used by VTK9 and the other one by OpenCascade;

- math/vtk9 does not depend on FFmpeg ATM (if yuri@ would add this dependency, I would ask him to choose the same version that OCCT!).

It could be possible to add an option in cad/opencascade to disable FFmpeg, but I prefer to avoid it: the gain would be small, this feature is not useless, and the port maintenance would be more complicated.
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2024-05-18 11:35:22 UTC
One concern is that it spills over to consumers which tends to pull in the legacy FFmpeg 4 and the new 6 (because only a handful of ports are still stuck on 4.x) which will probably lead to runtime issues.
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2024-05-18 12:09:30 UTC
The problem has been reported to upstream, by me and by others, and they are working on it.

It should be fixed in the nest release.