Description of problem: Package opencv fails to build from source in Fedora Rawhide on ppc64le. Version-Release number of selected component (if applicable): 4.5.5-1.fc36 Steps to Reproduce: koji build --scratch f36 opencv-4.5.5-1.fc36.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/opencv On ppc64le only: > modules/core/include/opencv2/core/vsx_utils.hpp:466:22: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_sldw' https://kojipkgs.fedoraproject.org/work/tasks/5024/81355024/build.log This regression appeared with GCC 12. Unfortunately, it’s also causing dependent packages (e.g. fasttrack, highfive) to FTBFS. It’s not immediately obvious whether the bug is in OpenCV or in GCC.
Reported upstream: https://github.com/opencv/opencv/issues/21465
Please use this patch to resolve the issue https://github.com/opencv/opencv/pull/21614
I will apply it soon thank you
*** Bug 2051193 has been marked as a duplicate of this bug. ***