Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933042 - sci-mathematics/flint-3.1.0: stablereq
Summary: sci-mathematics/flint-3.1.0: stablereq
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks: 932911
  Show dependency tree
 
Reported: 2024-05-28 12:13 UTC by Michał Górny
Modified: 2024-05-29 14:01 UTC (History)
3 users (show)

See Also:
Package list:
=sci-mathematics/flint-3.1.0
Runtime testing required: ---
nattka: sanity-check+


Attachments
error messages from building singular-4.3.2 against flint-3.1.0 by running `sudo -u portage make -j12 -k` in /tmp/portage/sci-mathematics/singular-4.3.2_p10/work/singular-4.3.2 (flint-3.1.0-singular-errors.txt,30.49 KB, text/plain)
2024-05-29 11:44 UTC, Alain Emilia Anna Zscheile
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-05-28 12:13:05 UTC
Please stabilize

 sci-mathematics/flint-3.1.0: no change for 78 days, since 2024-03-11
Comment 1 Joonas Niilola gentoo-dev 2024-05-29 05:54:47 UTC
amd64 done
Comment 2 Alain Emilia Anna Zscheile 2024-05-29 11:28:39 UTC
This breaks =sci-mathematics/singular-4.3.2_p10 (compilation failure).

=sci-mathematics/flint-3.0.1 works with =sci-mathematics/singular-4.3.2_p10.

On that note, singular doesn't depend on flint:=, but it should.
!!! existing preserved libs:
>>> package: sci-mathematics/flint-3.1.0
 *  - /usr/lib64/libflint.so.17
 *  - /usr/lib64/libflint.so.17.0.0
 *      used by /usr/lib64/libSingular-4.3.2.so (sci-mathematics/singular-4.3.2_p10)
 *      used by /usr/lib64/libfactory-4.3.2.so (sci-mathematics/singular-4.3.2_p10)
 *      used by /usr/lib64/libpolys-4.3.2.so (sci-mathematics/singular-4.3.2_p10)
Comment 3 Alain Emilia Anna Zscheile 2024-05-29 11:44:49 UTC
Created attachment 894597 [details]
error messages from building singular-4.3.2 against flint-3.1.0 by running `sudo -u portage make -j12 -k` in /tmp/portage/sci-mathematics/singular-4.3.2_p10/work/singular-4.3.2

singular error message (the first one):

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);
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~^
make[4]: *** [Makefile:1274: cfModGcd.lo] Error 1
(other error messages are in the attachment)
Comment 4 Alain Emilia Anna Zscheile 2024-05-29 12:01:16 UTC
I have confirmed that =sci-mathematics/flint-3.1.0 works with =sci-mathematics/singular-4.3.2_p16.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-29 12:14:15 UTC
arm64 done

all arches done
Comment 6 Larry the Git Cow gentoo-dev 2024-05-29 14:01:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5569c7c3ad8e40b7f61e5cd4b0cf360beccff055

commit 5569c7c3ad8e40b7f61e5cd4b0cf360beccff055
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-05-29 13:55:19 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-05-29 13:55:22 +0000

    sci-mathematics/singular: stabilize 4.3.2_p16 for amd64
    
    Stabilizing this as the maintainer so that the stable singular can be
    built with the stable flint.
    
    Bug: https://bugs.gentoo.org/933042
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/singular/singular-4.3.2_p16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)