Bug 2045802 - libfreenect: FTBFS in Fedora rawhide/f36
Summary: libfreenect: FTBFS in Fedora rawhide/f36
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libfreenect
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Phil Wyett
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS PYTHON3.11
TreeView+ depends on / blocked
 
Reported: 2022-01-25 18:35 UTC by Fedora Release Engineering
Modified: 2022-01-28 02:01 UTC (History)
5 users (show)

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


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-25 18:35 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-25 18:35 UTC, Fedora Release Engineering
no flags Details
state.log (990 bytes, text/plain)
2022-01-25 18:35 UTC, Fedora Release Engineering
no flags Details

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.


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