Bug 2163487

Summary: Please branch and build movit in EPEL 9
Product: [Fedora] Fedora EPEL Reporter: Neal Gompa <ngompa13>
Component: movitAssignee: MartinKG <mgansser>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: brandon.johnson, davdunc, davide, mgansser, michel, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: movit-1.6.3-8.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-25 00:49:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1996330    
Bug Blocks: 2163490    

Description Neal Gompa 2023-01-23 16:24:55 UTC
Please branch and build movit in epel9.

If you do not wish to maintain movit in epel9,
or do not think you will be able to do this in a timely manner,
the EPEL Packagers SIG would be happy to be a co-maintainer of the package;
please add the epel-packagers-sig group through
https://src.fedoraproject.org/rpms/movit/addgroup
and grant it commit access, or collaborator access on epel* branches.

Comment 1 Sergio Basto 2023-01-23 20:21:27 UTC
https://koji.fedoraproject.org/koji/taskinfo?taskID=96591025 build failed on ppc64le , let me know if you have a fix , 

Thanks

Comment 2 Neal Gompa 2023-01-23 21:09:04 UTC
This looks like a bug in eigen3:

/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h:215:28: error: inlining failed in call to 'always_inline' 'Eigen::internal::ploadRhs<float, float __vector(4)>(float const*)float __vector(4)': target specific option mismatch
  215 | EIGEN_ALWAYS_INLINE Packet ploadRhs(const Scalar* rhs)
      |                            ^~~~~~~~
In file included from /usr/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h:38,
                 from /usr/include/eigen3/Eigen/Core:350,
                 from /usr/include/eigen3/Eigen/Dense:1,
                 from deconvolution_sharpen_effect.cpp:5:
/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h:128:34: note: called from here
  128 |   rhsV = ploadRhs<Scalar, Packet>((const Scalar*)(rhs));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:127: deconvolution_sharpen_effect.lo] Error 1
make: *** Waiting for unfinished jobs....

Comment 3 Neal Gompa 2023-01-23 21:44:27 UTC
Looks like bug 1996330 is this issue. Trying to figure out a workaround.

Comment 4 Neal Gompa 2023-01-23 22:00:19 UTC
Alright, putting this at the top of the movit spec fixes the build:

%if 0%{?el9}
# Disable LTO for ppc64le to work around build failures
# Cf. https://bugzilla.redhat.com/show_bug.cgi?id=1996330
%ifarch ppc64le
%global _lto_cflags %{nil}
%endif
%endif

Comment 5 Fedora Update System 2023-01-23 22:31:48 UTC
FEDORA-EPEL-2023-65804a8f90 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-65804a8f90

Comment 6 Fedora Update System 2023-01-25 00:49:38 UTC
FEDORA-EPEL-2023-65804a8f90 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.