Bug 1181916

Summary: GCC 11: yast2-hardware-detection package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
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-08 07:49:03 UTC
The package fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:S

due to:
[   41s] HwParse.cc: In member function 'YCPValue HwProbe::hd2value(hd_t*)':
[   41s] HwParse.cc:1546:17: error: ordered comparison of pointer with integer zero ('hd_res_t*' {aka 'u_hd_res_t*'} and 'int')
[   41s]  1546 |     if (hd->res > 0)
[   41s]       |         ~~~~~~~~^~~
[   41s] make[2]: *** [Makefile:538: HwParse.lo] Error 1
[   41s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/yast2-hardware-detection-4.1.1/agent'
Comment 1 Martin Liška 2021-02-26 13:59:10 UTC
May I please ping this?
Comment 2 Lukas Ocilka 2021-02-26 14:59:15 UTC
for BNC Screening:
Reassigning directly to Martin did not work, does not work in general...)
What works is to change the component to YaST and change to the default assignee
Comment 3 Stefan Hundhammer 2021-03-01 17:00:11 UTC
Pull request:

  https://github.com/yast/yast-hardware-detection/pull/25
Comment 4 Stefan Hundhammer 2021-03-01 17:13:15 UTC
Submit request to Factory:

  https://build.opensuse.org/request/show/876036