Bug#1067293: singular: FTBFS: cfModGcd.cc:1809:37: error: cannot convert ‘fq_nmod_ctx_struct*’ to ‘const fq_nmod_mat_struct*’

2024-03-28 Thread Jerome BENOIT

Hello Lucas, thanks for the report.
The issue appeared to be fixed in version 4.3.2-p16.
I am on my way to bring this new version to experimental.
Best wishes, Jerome
--
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calcu...@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1067293: singular: FTBFS: cfModGcd.cc:1809:37: error: cannot convert ‘fq_nmod_ctx_struct*’ to ‘const fq_nmod_mat_struct*’

2024-03-20 Thread Lucas Nussbaum
Source: singular
Version: 1:4.3.2-p10+ds-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240319 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  
> -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/<> 
> -I/<>  -DSING_NDEBUG -DOM_NDEBUG -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -pipe -fno-common -O3 
> -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas 
> -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default 
> -finline-functions -fno-exceptions -fno-threadsafe-statics 
> -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-rtti -c -o 
> cf_ops.lo cf_ops.cc
> 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 /usr/include/flint/fq_nmod_mat.h:36,
>  from FLINTconvert.h:42,
>  from cfModGcd.cc:53:
> /usr/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*
> /usr/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);
>   |   
> ~^
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. 
> -DFACTORY_BUILDING_DLL -I/<> -I/<> -DSING_NDEBUG 
> -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -ffile-prefix-map=/<>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -pipe -fno-common -O3 -Wno-unused-function -Wno-trigraphs 
> -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable 
> -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions 
> -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs 
> -fconserve-space -funroll-loops -fno-rtti -c cf_ops.cc  -fPIC -DPIC -o 
> .libs/cf_ops.o
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  
> -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/<> 
> -I/<>  -DSING_NDEBUG -DOM_NDEBUG -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -pipe -fno-common -O3 
> -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas 
> -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default 
> -finline-functions -fno-exceptions -fno-threadsafe-statics 
> -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-rtti -c -o 
> cf_primes.lo cf_primes.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. 
> -DFACTORY_BUILDING_DLL -I/<> -I/<> -DSING_NDEBUG 
> -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -ffile-prefix-map=/<>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -pipe -fno-common -O3 -Wno-unused-function -Wno-trigraphs 
> -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable 
> -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions 
> -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs 
> -fconserve-space -funroll-loops -fno-rtti -c cf_primes.cc  -fPIC -DPIC -o 
> .libs/cf_primes.o
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  
> -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/<> 
> -I/<>  -DSING_NDEBUG -DOM_NDEBUG -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2