Bug 1181884

Summary: GCC 11: v4l-utils:qv4l2 package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Asterios Dramis <asterios.dramis>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1181859    

Description Martin Liška 2021-02-06 11:25:32 UTC
The package fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/v4l-utils:qv4l2/standard/x86_64

with:
[   67s] /usr/include/c++/11/tr1/hypergeometric.tcc:446:37:   required from '_Tp std::__detail::__hyperg_reflect(_Tp, _Tp, _Tp, _Tp) [with _Tp = float]'
[   67s] /usr/include/c++/11/tr1/hypergeometric.tcc:771:38:   required from '_Tp std::__detail::__hyperg(_Tp, _Tp, _Tp, _Tp) [with _Tp = float]'
[   67s] /usr/include/c++/11/bits/specfun.h:1344:61:   required from here
[   67s] /usr/include/c++/11/cmath:350:5: error: no type named '__type' in 'struct __gnu_cxx::__enable_if<false, double>'
[   67s] In file included from /usr/include/c++/11/bits/specfun.h:54,
[   67s]                  from /usr/include/c++/11/cmath:1927,
[   67s]                  from /usr/include/c++/11/math.h:36,
[   67s]                  from general-tab.cpp:32:
[   67s] /usr/include/c++/11/tr1/hypergeometric.tcc: In instantiation of '_Tp std::__detail::__hyperg_luke(_Tp, _Tp, _Tp, _Tp) [with _Tp = long double]':
[   67s] /usr/include/c++/11/tr1/hypergeometric.tcc:764:33:   required from '_Tp std::__detail::__hyperg(_Tp, _Tp, _Tp, _Tp) [with _Tp = long double]'
[   67s] /usr/include/c++/11/bits/specfun.h:1355:67:   required from here
[   67s] /usr/include/c++/11/tr1/hypergeometric.tcc:308:33: error: no matching function for call to 'pow(long double (&)() noexcept, long double)'
[   67s]   308 |       const _Tp __big = std::pow(std::numeric_limits<_Tp>::max(), _Tp(0.16L));
[   67s]       |                         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   67s] In file included from /usr/include/features.h:465,
[   67s]                  from /usr/include/c++/11/x86_64-suse-linux/bits/os_defines.h:39,
[   67s]                  from /usr/include/c++/11/x86_64-suse-linux/bits/c++config.h:2715,
[   67s]                  from /usr/include/c++/11/type_traits:38,
[   67s]                  from /usr/include/qt5/QtCore/qglobal.h:45,
[   67s]                  from /usr/include/qt5/QtGui/qtguiglobal.h:43,
[   67s]                  from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
[   67s]                  from /usr/include/qt5/QtWidgets/qspinbox.h:43,
[   67s]                  from /usr/include/qt5/QtWidgets/QSpinBox:1,
[   67s]                  from general-tab.h:26,
[   67s]                  from general-tab.cpp:21:
[   67s] /usr/include/bits/mathcalls.h:140:1: note: candidate: 'double pow(double, double)'
Comment 1 Martin Liška 2021-02-26 13:59:06 UTC
May I please ping this?
Comment 2 Asterios Dramis 2021-02-26 21:51:34 UTC
Sorry for not updating bug report. SR#874541 submitted.

https://build.opensuse.org/request/show/874541
Comment 3 Martin Liška 2021-02-27 08:50:02 UTC
Thank you! Fixed in devel project.