[MacPorts] #68912: AlphaSparse fails on Sonoma: error: call to undeclared function 'alpha_malloc'

MacPorts noreply at macports.org
Fri Dec 15 14:10:18 UTC 2023


#68912: AlphaSparse fails on Sonoma: error: call to undeclared function
'alpha_malloc'
---------------------------+--------------------------
  Reporter:  barracuda156  |      Owner:  barracuda156
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  sonoma
      Port:  AlphaSparse   |
---------------------------+--------------------------
Description changed by barracuda156:

Old description:

> {{{
> :info:build alphasparse_convert_csr5.c:42:31: error: call to undeclared
> function 'alpha_malloc'; ISO C99 and later do not support implicit
> function declarations [-Wimplicit-function-declaration]
> :info:build   alphasparse_matrix *dest_ =
> alpha_malloc(sizeof(alphasparse_matrix));
> :info:build                               ^
> :info:build 1 error generated.
> :info:build make[3]: ***
> [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_AlphaSparse/AlphaSparse/work
> /AlphaSparse-
> 57eefee000734f40d9e972cbd110fbc4c51a71d3/obj/alphasparse_convert_csr5.o]
> Error 1
> :info:build make[3]: *** Waiting for unfinished jobs....
> :info:build alphasparse_convert_gebsr.c:165:31: error: call to undeclared
> function 'alpha_malloc'; ISO C99 and later do not support implicit
> function declarations [-Wimplicit-function-declaration]
> :info:build   alphasparse_matrix *dest_ =
> alpha_malloc(sizeof(alphasparse_matrix));
> :info:build                               ^
> :info:build alphasparse_convert_gebsr.c:178:24: error: call to undeclared
> function 'alphasparse_transpose'; ISO C99 and later do not support
> implicit function declarations [-Wimplicit-function-declaration]
> :info:build     check_error_return(alphasparse_transpose(source, &AA));
> :info:build                        ^
> :info:build alphasparse_convert_gebsr.c:182:5: error: call to undeclared
> function 'alphasparse_destroy'; ISO C99 and later do not support implicit
> function declarations [-Wimplicit-function-declaration]
> :info:build     alphasparse_destroy(AA);
> :info:build     ^
> :info:build 3 errors generated.
> }}}

New description:

 {{{
 :info:build alphasparse_convert_csr5.c:42:31: error: call to undeclared
 function 'alpha_malloc'; ISO C99 and later do not support implicit
 function declarations [-Wimplicit-function-declaration]
 :info:build   alphasparse_matrix *dest_ =
 alpha_malloc(sizeof(alphasparse_matrix));
 :info:build                               ^
 :info:build 1 error generated.
 :info:build make[3]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_AlphaSparse/AlphaSparse/work
 /AlphaSparse-
 57eefee000734f40d9e972cbd110fbc4c51a71d3/obj/alphasparse_convert_csr5.o]
 Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build alphasparse_convert_gebsr.c:165:31: error: call to undeclared
 function 'alpha_malloc'; ISO C99 and later do not support implicit
 function declarations [-Wimplicit-function-declaration]
 :info:build   alphasparse_matrix *dest_ =
 alpha_malloc(sizeof(alphasparse_matrix));
 :info:build                               ^
 :info:build alphasparse_convert_gebsr.c:178:24: error: call to undeclared
 function 'alphasparse_transpose'; ISO C99 and later do not support
 implicit function declarations [-Wimplicit-function-declaration]
 :info:build     check_error_return(alphasparse_transpose(source, &AA));
 :info:build                        ^
 :info:build alphasparse_convert_gebsr.c:182:5: error: call to undeclared
 function 'alphasparse_destroy'; ISO C99 and later do not support implicit
 function declarations [-Wimplicit-function-declaration]
 :info:build     alphasparse_destroy(AA);
 :info:build     ^
 :info:build 3 errors generated.
 }}}

 https://github.com/ALSparse/ALSparse/issues/20

--

-- 
Ticket URL: <https://trac.macports.org/ticket/68912#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list