Bug 2041573 - opencv: FTBFS in Fedora Rawhide on ppc64le
Summary: opencv: FTBFS in Fedora Rawhide on ppc64le
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: opencv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Basto
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
: 2051193 (view as bug list)
Depends On:
Blocks: PPCTracker 2024265 2041576 2041577 2042704
TreeView+ depends on / blocked
 
Reported: 2022-01-17 18:01 UTC by Ben Beasley
Modified: 2022-02-15 16:48 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-28 02:00:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github opencv opencv issues 21465 0 None open Fails to build with GCC 12 (pre-release) on ppc64le 2022-01-17 18:18:13 UTC

Description Ben Beasley 2022-01-17 18:01:45 UTC
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.

Comment 1 Ben Beasley 2022-01-17 18:18:13 UTC
Reported upstream: https://github.com/opencv/opencv/issues/21465

Comment 2 Chip Kerchner 2022-02-15 13:29:58 UTC
Please use this patch to resolve the issue

https://github.com/opencv/opencv/pull/21614

Comment 3 Sergio Basto 2022-02-15 14:37:44 UTC
I will apply it soon thank you

Comment 4 Sergio Basto 2022-02-15 16:48:04 UTC
*** Bug 2051193 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.