Opened 18 months ago

Last modified 12 months ago

#67493 assigned defect

SuiteSparse_GraphBLAS fails to build on Rosetta: GB_AxB__any_first_bool.c: error: this 'if' clause does not guard... [-Werror=misleading-indentation]

Reported by: barracuda156 Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: SuiteSparse_GraphBLAS

Description

: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

Change History (1)

comment:1 Changed 12 months ago by szhorvat (Szabolcs Horvát)

SuiteSparse_GraphBLAS was updated recently. Can you check again? If the current version still fails, can you check this draft PR? https://github.com/macports/macports-ports/pull/21451

Note: See TracTickets for help on using tickets.