Looking at https://git.alpinelinux.org/aports/tree/community/opencascade/APKBUILD#n37 it doesn't seem to cause any issues?
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.
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.
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.