Bug 2045802

Summary: libfreenect: FTBFS in Fedora rawhide/f36
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libfreenectAssignee: Phil Wyett <philip.wyett>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cz172638, kwizart, philip.wyett, richmattes, thrnciar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.6.2-6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-28 02:00:53 UTC Type: ---
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:    
Bug Blocks: 1992484, 2016048    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2022-01-25 18:35:37 UTC
libfreenect failed to build from source in Fedora rawhide/f36

https://koji.fedoraproject.org/koji/taskinfo?taskID=81787028


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix libfreenect at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
libfreenect will be orphaned. Before branching of Fedora 37,
libfreenect will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-01-25 18:35:39 UTC
Created attachment 1855232 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-25 18:35:41 UTC
Created attachment 1855233 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-25 18:35:42 UTC
Created attachment 1855234 [details]
state.log

Comment 4 Phil Wyett 2022-01-26 22:26:32 UTC
This bug is fixed in git (0.6.2-6). However, we have ppc64le build failure below with what research indicates is issues with OpenCV and GCC 12.x.x.

This package will be rebuilt once FTBFS is rectified on OpenCV.

cd /builddir/build/BUILD/libfreenect-0.6.2/redhat-linux-build/wrappers/python && /usr/bin/cython -3 -o freenect3.c /builddir/build/BUILD/libfreenect-0.6.2/wrappers/python/freenect.pyx
In file included from /usr/include/opencv4/opencv2/core/base.hpp:661,
                 from /usr/include/opencv4/opencv2/core.hpp:53,
                 from /usr/include/opencv4/opencv2/core/types_c.h:126,
                 from /usr/include/opencv4/opencv2/core/core_c.h:48,
                 from /builddir/build/BUILD/libfreenect-0.6.2/wrappers/opencv/libfreenect_cv.h:3,
                 from /builddir/build/BUILD/libfreenect-0.6.2/wrappers/opencv/libfreenect_cv.cpp:3:
/usr/include/opencv4/opencv2/core/vsx_utils.hpp: In function 'vec_double2 vec_cvf(const vec_float4&)':
/usr/include/opencv4/opencv2/core/vsx_utils.hpp:468:1: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_sldw'
  468 | VSX_IMPL_CONV_EVEN_4_2(vec_double2, vec_float4, vec_cvf,  vec_cvfo)
      | ^
/usr/include/opencv4/opencv2/core/vsx_utils.hpp: In function 'vec_dword2 vec_ctsl(const vec_float4&)':
/usr/include/opencv4/opencv2/core/vsx_utils.hpp:472:1: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_sldw'
  472 | VSX_IMPL_CONV_EVEN_4_2(vec_dword2,  vec_float4, vec_ctsl, vec_ctslo)
      | ^
/usr/include/opencv4/opencv2/core/vsx_utils.hpp: In function 'vec_udword2 vec_ctul(const vec_float4&)':
/usr/include/opencv4/opencv2/core/vsx_utils.hpp:473:1: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_sldw'
  473 | VSX_IMPL_CONV_EVEN_4_2(vec_udword2, vec_float4, vec_ctul, vec_ctulo)
      | ^
/usr/include/opencv4/opencv2/core/vsx_utils.hpp: In function 'vec_float4 vec_cvf(const vec_double2&)':
/usr/include/opencv4/opencv2/core/vsx_utils.hpp:482:1: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_sldw'
  482 | VSX_IMPL_CONV_EVEN_2_4(vec_float4, vec_double2, vec_cvf, vec_cvfo)
      | ^
/usr/include/opencv4/opencv2/core/vsx_utils.hpp: In function 'vec_float4 vec_ctf(const vec_dword2&)':
/usr/include/opencv4/opencv2/core/vsx_utils.hpp:483:1: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_sldw'
  483 | VSX_IMPL_CONV_EVEN_2_4(vec_float4, vec_dword2,  vec_ctf, vec_ctfo)
      | ^
/usr/include/opencv4/opencv2/core/vsx_utils.hpp: In function 'vec_float4 vec_ctf(const vec_udword2&)':
/usr/include/opencv4/opencv2/core/vsx_utils.hpp:484:1: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_sldw'
  484 | VSX_IMPL_CONV_EVEN_2_4(vec_float4, vec_udword2, vec_ctf, vec_ctfo)
      | ^
gmake[2]: *** [wrappers/opencv/CMakeFiles/freenect_cv.dir/build.make:79: wrappers/opencv/CMakeFiles/freenect_cv.dir/libfreenect_cv.cpp.o] Error 1

Comment 5 Phil Wyett 2022-01-28 02:00:53 UTC
Fixes and GCC 12 issues resolved.

Fixed version is 0.6.2-6.