[Bug 279820] math/suitesparse-cholmod do not build with math/atlas

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Jun 2024 17:58:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279820

            Bug ID: 279820
           Summary: math/suitesparse-cholmod do not build with math/atlas
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: gja822@narod.ru
                CC: fortran@FreeBSD.org
                CC: fortran@FreeBSD.org

Trying to build math/suitesparse-cholmod with ATLAS=ON (with math/atlas) ended
with errors like these:

/usr/local/include/suitesparse/SuiteSparse_config.h:583:65: error: expected ')'
before ',' token
  583 |     #define SUITESPARSE_BLAS(name,NAME) SUITESPARSE_FORTRAN(name,NAME)
      |                                                                 ^
/usr/local/include/suitesparse/SuiteSparse_config.h:619:37: note: in expansion
of macro 'SUITESPARSE_BLAS'
  619 | #define SUITESPARSE_LAPACK_ZLARFG   SUITESPARSE_BLAS ( zlarfg , ZLARFG
)
      |                                     ^~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:2076:6: note: in expansion
of macro 'SUITESPARSE_LAPACK_ZLARFG'
 2076 | void SUITESPARSE_LAPACK_ZLARFG
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:583:65: error: expected ')'
before ',' token
  583 |     #define SUITESPARSE_BLAS(name,NAME) SUITESPARSE_FORTRAN(name,NAME)
      |                                                                 ^
/usr/local/include/suitesparse/SuiteSparse_config.h:651:37: note: in expansion
of macro 'SUITESPARSE_BLAS'
  651 | #define SUITESPARSE_LAPACK_CLARFG   SUITESPARSE_BLAS ( clarfg , CLARFG
)
      |                                     ^~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:2100:6: note: in expansion
of macro 'SUITESPARSE_LAPACK_CLARFG'
 2100 | void SUITESPARSE_LAPACK_CLARFG
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:583:65: error: expected ')'
before ',' token
  583 |     #define SUITESPARSE_BLAS(name,NAME) SUITESPARSE_FORTRAN(name,NAME)
      |                                                                 ^
/usr/local/include/suitesparse/SuiteSparse_config.h:602:37: note: in expansion
of macro 'SUITESPARSE_BLAS'
  602 | #define SUITESPARSE_LAPACK_DLARF    SUITESPARSE_BLAS ( dlarf  , DLARF 
)
      |                                     ^~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:2128:6: note: in expansion
of macro 'SUITESPARSE_LAPACK_DLARF'
 2128 | void SUITESPARSE_LAPACK_DLARF
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:583:65: error: expected ')'
before ',' token
  583 |     #define SUITESPARSE_BLAS(name,NAME) SUITESPARSE_FORTRAN(name,NAME)
      |                                                                 ^
/usr/local/include/suitesparse/SuiteSparse_config.h:634:37: note: in expansion
of macro 'SUITESPARSE_BLAS'
  634 | #define SUITESPARSE_LAPACK_SLARF    SUITESPARSE_BLAS ( slarf  , SLARF 
)
      |                                     ^~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:2158:6: note: in expansion
of macro 'SUITESPARSE_LAPACK_SLARF'
 2158 | void SUITESPARSE_LAPACK_SLARF
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:583:65: error: expected ')'
before ',' token
  583 |     #define SUITESPARSE_BLAS(name,NAME) SUITESPARSE_FORTRAN(name,NAME)
      |                                                                 ^
/usr/local/include/suitesparse/SuiteSparse_config.h:618:37: note: in expansion
of macro 'SUITESPARSE_BLAS'
  618 | #define SUITESPARSE_LAPACK_ZLARF    SUITESPARSE_BLAS ( zlarf  , ZLARF 
)
      |                                     ^~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:2188:6: note: in expansion
of macro 'SUITESPARSE_LAPACK_ZLARF'
 2188 | void SUITESPARSE_LAPACK_ZLARF
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:583:65: error: expected ')'
before ',' token
  583 |     #define SUITESPARSE_BLAS(name,NAME) SUITESPARSE_FORTRAN(name,NAME)
      |                                                                 ^
/usr/local/include/suitesparse/SuiteSparse_config.h:650:37: note: in expansion
of macro 'SUITESPARSE_BLAS'
  650 | #define SUITESPARSE_LAPACK_CLARF    SUITESPARSE_BLAS ( clarf  , CLARF 
)
      |                                     ^~~~~~~~~~~~~~~~
/usr/local/include/suitesparse/SuiteSparse_config.h:2218:6: note: in expansion
of macro 'SUITESPARSE_LAPACK_CLARF'
 2218 | void SUITESPARSE_LAPACK_CLARF
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/suitesparse-cholmod
*** Error code 1

Stop.
make: stopped in /usr/ports/math/suitesparse-cholmod

-- 
You are receiving this mail because:
You are on the CC list for the bug.