Bug 1183575

Summary: GCC 11: suitesparse package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Martin Liška <martin.liska>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/84
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1181859    

Description Martin Liška 2021-03-16 08:44:12 UTC
Fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/suitesparse/standard/x86_64

due to:
[  212s] /home/abuild/rpmbuild/BUILD/SuiteSparse-5.9.0/GraphBLAS/Source/Generated/GB_AxB__any_first_bool.c:278:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
[  212s]   278 |     if (exists && !cb) cx = (ax) ; cb |= exists
[  212s]       |     ^~
[  212s] /home/abuild/rpmbuild/BUILD/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:327:33: note: in expansion of macro 'GB_BITMAP_MULTADD'
[  212s]   327 |                                 GB_BITMAP_MULTADD (
[  212s]       |                                 ^~~~~~~~~~~~~~~~~
[  212s] /home/abuild/rpmbuild/BUILD/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:328:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
[  212s]   328 |                                     Hf [pH+ii], Hx [pH+ii],
[  212s]       |                                     ^~
[  212s] /home/abuild/rpmbuild/BUILD/SuiteSparse-5.9.0/GraphBLAS/Source/Generated/GB_AxB__any_first_bool.c:278:36: note: in definition of macro 'GB_BITMAP_MULTADD'
[  212s]   278 |     if (exists && !cb) cx = (ax) ; cb |= exists
[  212s]       |                                    ^~
Comment 1 Martin Liška 2021-03-26 09:58:13 UTC
May I please ping this as GCC 11 release is approaching?
Comment 2 Martin Liška 2021-03-26 11:34:26 UTC
Ok, I'll take care of it.
Comment 3 Martin Liška 2021-03-31 12:38:28 UTC
I've just created an upstream bug:
https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/84
Comment 4 Martin Liška 2021-04-07 06:25:18 UTC
I've just made a SR:
https://build.opensuse.org/request/show/883500
Comment 5 Martin Liška 2021-04-14 13:42:42 UTC
Fixed in devel project.