[MacPorts] #67493: SuiteSparse_GraphBLAS fails to build on Rosetta: GB_AxB__any_first_bool.c: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
MacPorts
noreply at macports.org
Wed May 24 16:27:39 UTC 2023
#67493: SuiteSparse_GraphBLAS fails to build on Rosetta: GB_AxB__any_first_bool.c:
error: this 'if' clause does not guard... [-Werror=misleading-indentation]
--------------------------+-----------------------------------
Reporter: barracuda156 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: SuiteSparse_GraphBLAS
--------------------------+-----------------------------------
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:
In function 'GB_Asaxpy3B__any_first_bool':
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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]
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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'
:info:build 327 | GB_BITMAP_MULTADD (
:info:build | ^~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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'
:info:build 328 | Hf [pH+ii], Hx
[pH+ii],
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Generated/GB_AxB__any_first_bool.c:278:36:
note: in definition of macro 'GB_BITMAP_MULTADD'
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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]
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:331:33:
note: in expansion of macro 'GB_BITMAP_MULTADD'
:info:build 331 | GB_BITMAP_MULTADD (
:info:build | ^~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:332:37:
note: ...this statement, but the latter is misleadingly indented as if it
were guarded by the 'if'
:info:build 332 | Hf [pH+ii], Hx
[pH+ii],
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Generated/GB_AxB__any_first_bool.c:278:36:
note: in definition of macro 'GB_BITMAP_MULTADD'
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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]
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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'
:info:build 327 | GB_BITMAP_MULTADD (
:info:build | ^~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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'
:info:build 328 | Hf [pH+ii], Hx
[pH+ii],
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Generated/GB_AxB__any_first_bool.c:278:36:
note: in definition of macro 'GB_BITMAP_MULTADD'
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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]
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:331:33:
note: in expansion of macro 'GB_BITMAP_MULTADD'
:info:build 331 | GB_BITMAP_MULTADD (
:info:build | ^~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:332:37:
note: ...this statement, but the latter is misleadingly indented as if it
were guarded by the 'if'
:info:build 332 | Hf [pH+ii], Hx
[pH+ii],
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Generated/GB_AxB__any_first_bool.c:278:36:
note: in definition of macro 'GB_BITMAP_MULTADD'
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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]
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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'
:info:build 327 | GB_BITMAP_MULTADD (
:info:build | ^~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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'
:info:build 328 | Hf [pH+ii], Hx
[pH+ii],
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Generated/GB_AxB__any_first_bool.c:278:36:
note: in definition of macro 'GB_BITMAP_MULTADD'
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/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]
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:331:33:
note: in expansion of macro 'GB_BITMAP_MULTADD'
:info:build 331 | GB_BITMAP_MULTADD (
:info:build | ^~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Template/GB_bitmap_AxB_saxpy_A_bitmap_B_sparse_template.c:332:37:
note: ...this statement, but the latter is misleadingly indented as if it
were guarded by the 'if'
:info:build 332 | Hf [pH+ii], Hx
[pH+ii],
:info:build | ^~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/SuiteSparse-5.9.0/GraphBLAS/Source/Generated/GB_AxB__any_first_bool.c:278:36:
note: in definition of macro 'GB_BITMAP_MULTADD'
:info:build 278 | if (exists && !cb) cx = (ax) ; cb |= exists
:info:build | ^~
:info:build cc1: some warnings being treated as errors
:info:build make[2]: ***
[CMakeFiles/graphblas.dir/Source/Generated/GB_AxB__any_first_bool.c.o]
Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/build'
:info:build make[1]: *** [CMakeFiles/graphblas.dir/all] Error 2
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/build'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_GraphBLAS/work/build"
&& /usr/bin/make -j1 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build SuiteSparse_GraphBLAS: command execution
failed
:debug:build Error code: CHILDSTATUS 66341 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67493>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list