• Bug#1067293: singular: FTBFS: cfModGcd.cc:1809:37: error: cannot conver

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 20 22:20:15 2024
    Source: singular
    Version: 1:4.3.2-p10+ds-1.1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@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/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>> -DSING_NDEBUG -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<
    <PKGBUILDDIR>>=. -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/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>> -DSING_NDEBUG -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>> -DSING_NDEBUG -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<
    <PKGBUILDDIR>>=. -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/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>> -DSING_NDEBUG -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>> -DSING_NDEBUG -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<
    <PKGBUILDDIR>>=. -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_random.lo cf_random.cc
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>> -DSING_NDEBUG -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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_random.cc -fPIC -DPIC -o .libs/cf_random.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>> -DSING_NDEBUG -DOM_NDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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 -o cf_primes.o >/dev/null 2>&1
    make[6]: *** [Makefile:1216: cfModGcd.lo] Error 1


    The full build log is available from: http://qa-logs.debian.net/2024/03/19/singular_4.3.2-p10+ds-1.1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)