Opened 5 weeks ago

Closed 44 hours ago

#69714 closed defect (fixed)

singular @4.3.2p10 build fails

Reported by: murrayE Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: sonoma arm64 Cc: catap (Kirill A. Korinsky)
Port: singular

Description

From main.log:

:info:build cfModGcd.cc:1809:12: error: no matching function for call to 'fq_nmod_mat_rref'
:info:build   long rk= fq_nmod_mat_rref (FLINTN,ctx);
:info:build            ^~~~~~~~~~~~~~~~
:info:build /opt/local/include/flint/fq_mat_templates.h:247:7: note: candidate function not viable: requires 3 arguments, but 2 were provided
:info:build slong TEMPLATE(T, mat_rref)(TEMPLATE(T, mat_t) B, const TEMPLATE(T, mat_t) A, const TEMPLATE(T, ctx_t) ctx);
:info:build       ^
:info:build /opt/local/include/flint/templates.h:27:23: note: expanded from macro 'TEMPLATE'
:info:build #define TEMPLATE(X,Y) CAT(X,Y)
:info:build                       ^
:info:build /opt/local/include/flint/templates.h:15:18: note: expanded from macro 'CAT'
:info:build #define CAT(X,Y) X##_##Y
:info:build                  ^
:info:build <scratch space>:101:1: note: expanded from here
:info:build fq_nmod_mat_rref
:info:build ^
:info:build cfModGcd.cc:1916:12: error: no matching function for call to 'fq_nmod_mat_rref'
:info:build   long rk= fq_nmod_mat_rref (FLINTN,ctx);
:info:build            ^~~~~~~~~~~~~~~~
:info:build /opt/local/include/flint/fq_mat_templates.h:247:7: note: candidate function not viable: requires 3 arguments, but 2 were provided
:info:build slong TEMPLATE(T, mat_rref)(TEMPLATE(T, mat_t) B, const TEMPLATE(T, mat_t) A, const TEMPLATE(T, ctx_t) ctx);
:info:build       ^
:info:build /opt/local/include/flint/templates.h:27:23: note: expanded from macro 'TEMPLATE'
:info:build #define TEMPLATE(X,Y) CAT(X,Y)
:info:build                       ^
:info:build /opt/local/include/flint/templates.h:15:18: note: expanded from macro 'CAT'
:info:build #define CAT(X,Y) X##_##Y
:info:build                  ^
:info:build <scratch space>:101:1: note: expanded from here
:info:build fq_nmod_mat_rref
:info:build ^
:info:build   CXX      cfUnivarGcd.lo
:info:build 2 errors generated.
:info:build make[4]: *** [cfModGcd.lo] Error 1
}}}}

Attachments (1)

main.log (155.8 KB) - added by murrayE 5 weeks ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 5 weeks ago by murrayE

Attachment: main.log added

main.log

comment:1 Changed 7 days ago by barracuda156

Fails for me also on:

  CXX      cfModResultant.lo
cfModGcd.cc: In function 'long int gaussianElimFq(CFMatrix&, CFArray&, const Variable&)':
cfModGcd.cc:1809:37: error: cannot convert 'fq_nmod_ctx_struct*' to 'const fq_nmod_mat_struct*'
 1809 |   long rk= fq_nmod_mat_rref (FLINTN,ctx);
      |                                     ^~~
      |                                     |
      |                                     fq_nmod_ctx_struct*
In file included from /opt/local/include/flint/fq_nmod_mat.h:36,
                 from FLINTconvert.h:42,
                 from cfModGcd.cc:53:
/opt/local/include/flint/fq_mat_templates.h:247:76: note:   initializing argument 2 of 'mp_limb_signed_t fq_nmod_mat_rref(fq_nmod_mat_struct*, const fq_nmod_mat_struct*, const fq_nmod_ctx_struct*)'
  247 | slong TEMPLATE(T, mat_rref)(TEMPLATE(T, mat_t) B, const TEMPLATE(T, mat_t) A, const TEMPLATE(T, ctx_t) ctx);
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~^
cfModGcd.cc: In function 'CFArray solveSystemFq(const CFMatrix&, const CFArray&, const Variable&)':
cfModGcd.cc:1916:37: error: cannot convert 'fq_nmod_ctx_struct*' to 'const fq_nmod_mat_struct*'
 1916 |   long rk= fq_nmod_mat_rref (FLINTN,ctx);
      |                                     ^~~
      |                                     |
      |                                     fq_nmod_ctx_struct*
/opt/local/include/flint/fq_mat_templates.h:247:76: note:   initializing argument 2 of 'mp_limb_signed_t fq_nmod_mat_rref(fq_nmod_mat_struct*, const fq_nmod_mat_struct*, const fq_nmod_ctx_struct*)'
  247 | slong TEMPLATE(T, mat_rref)(TEMPLATE(T, mat_t) B, const TEMPLATE(T, mat_t) A, const TEMPLATE(T, ctx_t) ctx);
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~^
  CXX      cf_ops.lo
make[4]: *** [cfModGcd.lo] Error 1

comment:2 Changed 44 hours ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In c7a9759e1da94870dd79d281c0cce843cc83e862/macports-ports (master):

singular: update to 4-4-0 to fix building with new flint

Closes: #69714

Note: See TracTickets for help on using tickets.