./configure is inconsistent when handling arb detection. I do have system’s libraries :
charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*arb*" Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ Nom Version Architecture Description +++-======================-=============-============-=========================> ii libflint-arb-dev:amd64 1:2.23.0-1+b1 amd64 C library for arbitrary-p> un libflint-arb-doc <aucune> <aucune> (aucune description n'est> ii libflint-arb2:amd64 1:2.23.0-1+b1 amd64 C library for arbitrary-pHowever, ./configure gives inconsistent resulys. From config.log :
## ---------------------------------------------------- ## ## Checking whether SageMath should install SPKG arb... ## ## ---------------------------------------------------- ## configure:15898: checking installing flint? configure:15905: checking for arb.h configure:15905: g++ -std=gnu++11 -c conftest.cpp >&5 configure:15905: $? = 0 configure:15905: result: yes configure:15909: checking for acb_mat_eig_simple in -larb configure:15931: g++ -std=gnu++11 -o conftest conftest.cpp -larb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 /usr/bin/ld: cannot find -larb: No such file or directory collect2: error: ld returned 1 exit status configure:15931: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "10.1.rc0" | #define PACKAGE_STRING "Sage 10.1.rc0" | #define PACKAGE_BUGREPORT "sage-...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "10.1.rc0" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_LIBM 1 | #define HAVE_CXX11 1 | #define HAVE_GMP_H 1 | #define ABSOLUTE_GMP_H "///usr/include/x86_64-linux-gnu/gmp.h" | #define HAVE_NTL_ZZ_H 1 | #define ABSOLUTE_NTL_ZZ_H "///usr/include/NTL/ZZ.h" | /* end confdefs.h. */ | | namespace conftest { | extern "C" int acb_mat_eig_simple (); | } | int | main (void) | { | return conftest::acb_mat_eig_simple (); | ; | return 0; | } configure:15941: result: no configure:15950: checking for acb_mat_eig_simple in -lflint-arb configure:15972: g++ -std=gnu++11 -o conftest conftest.cpp -lflint-arb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 configure:15972: $? = 0 configure:15982: result: yes configure:16004: will use system package and not install SPKG arbAs a result, sagelib isn’t built.
Discounting for the moment the obvious workaround ./configure --with-system-arb=no, what can be done ?
./configure is inconsistent when handling arb detection. I do have system’s libraries :
charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*arb*" Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ Nom Version Architecture Description +++-======================-=============-============-=========================> ii libflint-arb-dev:amd64 1:2.23.0-1+b1 amd64 C library for arbitrary-p> un libflint-arb-doc <aucune> <aucune> (aucune description n'est> ii libflint-arb2:amd64 1:2.23.0-1+b1 amd64 C library for arbitrary-pHowever, ./configure gives inconsistent resulys. From config.log :
## ---------------------------------------------------- ## ## Checking whether SageMath should install SPKG arb... ## ## ---------------------------------------------------- ## configure:15898: checking installing flint? configure:15905: checking for arb.h configure:15905: g++ -std=gnu++11 -c conftest.cpp >&5 configure:15905: $? = 0 configure:15905: result: yes configure:15909: checking for acb_mat_eig_simple in -larb configure:15931: g++ -std=gnu++11 -o conftest conftest.cpp -larb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 /usr/bin/ld: cannot find -larb: No such file or directory collect2: error: ld returned 1 exit status configure:15931: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME "sage" | #define PACKAGE_VERSION "10.1.rc0" | #define PACKAGE_STRING "Sage 10.1.rc0" | #define PACKAGE_BUGREPORT "sage-...@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION "10.1.rc0" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_LIBM 1 | #define HAVE_CXX11 1 | #define HAVE_GMP_H 1 | #define ABSOLUTE_GMP_H "///usr/include/x86_64-linux-gnu/gmp.h" | #define HAVE_NTL_ZZ_H 1 | #define ABSOLUTE_NTL_ZZ_H "///usr/include/NTL/ZZ.h" | /* end confdefs.h. */ | | namespace conftest { | extern "C" int acb_mat_eig_simple (); | } | int | main (void) | { | return conftest::acb_mat_eig_simple (); | ; | return 0; | } configure:15941: result: no configure:15950: checking for acb_mat_eig_simple in -lflint-arb configure:15972: g++ -std=gnu++11 -o conftest conftest.cpp -lflint-arb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 configure:15972: $? = 0 configure:15982: result: yes configure:16004: will use system package and not install SPKG arbAs a result, sagelib isn’t built.
Discounting for the moment the obvious workaround ./configure --with-system-arb=no, what can be done ?
--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/8e96382d-c4d9-4b59-9c1a-0e1eb409451bn%40googlegroups.com.
sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/rings/polynomial/multi_polynomial_ideal.py # Killed due to segmentation fault
sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/libs/giac/__init__.py # Timed out
sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/modular/modform_hecketriangle/readme.py # 1 doctest failed
sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/modular/modform_hecketriangle/abstract_space.py # 3 doctests failed
sage -t --long --warn-long 206.6 --random-seed=211368762131604256743802246121232764644 src/sage/modular/modform_hecketriangle/space.py # 2 doctests failed
Kenji
13/08/2023 19:31、Volker Braun <vbrau...@gmail.com>のメール:
--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/97f5ea20-c948-4e3e-9946-7d015caa716fn%40googlegroups.com.
Discounting for the moment the obvious workaround ./configure --with-system-arb=no, what can be done ?
Do you mean to say that an update to the system arb does not cause a rebuild of sagelib?(otherwise, what's inconsistent?)
That's obviously not being checked, and there is no easy way to do this, either.Yes, system updates are tricky.make sagelib-clean sagelib-uninstallwill help.
Le lundi 14 août 2023 à 14:03:31 UTC+2, Dima Pasechnik a écrit :[ Snip... ]Discounting for the moment the obvious workaround ./configure --with-system-arb=no, what can be done ?
Do you mean to say that an update to the system arb does not cause a rebuild of sagelib?(otherwise, what's inconsistent?)I can't certify that system's `arb` has been updated ; it's jut a possibility.
That's obviously not being checked, and there is no easy way to do this, either.Yes, system updates are tricky.make sagelib-clean sagelib-uninstallwill help.It *did* helo. Thank you !`ptestlong` underway...
--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/a80e100d-8286-4bd0-83e6-4cd12edc077bn%40googlegroups.com.
Le lundi 14 août 2023 à 18:10:32 UTC+2, Emmanuel Charpentier a écrit :
[ Snip… ]
`ptestlong` underway...
The first one is new and seems cosmetic :
********************************************************************** File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1581, in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_ Failed example: latex(S) Expected: \begin{tikzpicture} ... \end{tikzpicture} Got: \begin{tikzpicture}[>=latex,line join=bevel,] %% \node (node_0) at (144.5bp,292.5bp) [draw,draw=none] {$\langle 1 {(1 v_0 \otimes 1 v_0)} \rangle$}; \node (node_1) at (144.5bp,221.5bp) [draw,draw=none] {$\langle 1 {(1 v_0 \otimes F[a1] v_0)} + q^{-1} {(F[a1] v_0 \otimes 1 v_0)} \rangle$}; \node (node_2) at (52.5bp,150.5bp) [draw,draw=none] {$\langle 1 {(F[a1] v_0 \otimes F[a1] v_0)} \rangle$}; \node (node_3) at (236.5bp,150.5bp) [draw,draw=none] {$\langle 1 {(1 v_0 \otimes F[a1+a2] v_0)} + q^{-1} {(F[a1+a2] v_0 \otimes 1 v_0)} \rangle$}; \node (node_4) at (144.5bp,79.5bp) [draw,draw=none] {$\langle 1 {(F[a1] v_0 \otimes F[a1+a2] v_0)} + q^{-1} {(F[a1+a2] v_0 \otimes F[a1] v_0)} \rangle$}; \node (node_5) at (144.5bp,8.5bp) [draw,draw=none] {$\langle 1 {(F[a1+a2] v_0 \otimes F[a1+a2] v_0)} \rangle$}; \draw [blue,->] (node_0) ..controls (144.5bp,273.44bp) and (144.5bp,254.5bp) .. (node_1); \definecolor{strokecol}{rgb}{0.0,0.0,0.0}; \pgfsetstrokecolor{strokecol} \draw (153.0bp,257.0bp) node {$1$}; \draw [blue,->] (node_1) ..controls (119.04bp,201.4bp) and (90.001bp,179.63bp) .. (node_2); \draw (118.0bp,186.0bp) node {$1$}; \draw [red,->] (node_1) ..controls (169.96bp,201.4bp) and (199.0bp,179.63bp) .. (node_3); \draw (209.0bp,186.0bp) node {$2$}; \draw [red,->] (node_2) ..controls (77.964bp,130.4bp) and (107.0bp,108.63bp) .. (node_4); \draw (118.0bp,115.0bp) node {$2$}; \draw [blue,->] (node_3) ..controls (211.04bp,130.4bp) and (182.0bp,108.63bp) .. (node_4); \draw (209.0bp,115.0bp) node {$1$}; \draw [red,->] (node_4) ..controls (144.5bp,60.442bp) and (144.5bp,41.496bp) .. (node_5); \draw (153.0bp,44.0bp) node {$2$}; % \end{tikzpicture} ********************************************************************** 1 item had failures: 1 of 6 in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_ [537 tests, 1 failure, 13.99 s] ---------------------------------------------------------------------- sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/algebras/quantum_groups/quantum_group_gap.py # 1 doctest failed ----------------------------------------------------------------------The second one is new and seems genuine (a wheelbarrowload of modularization-related Warnings elided) :
********************************************************************** File "src/sage/rings/integer.pyx", line 6654, in sage.rings.integer.Integer._shift_helper Failed example: try: print('Possible error output from gmp', flush=True) 1 << (2^60) except (MemoryError, OverflowError, RuntimeError): pass else: print("Failed to raise exception") Exception raised: Traceback (most recent call last): File "/usr/local/sage-10/src/sage/doctest/forker.py", line 709, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.rings.integer.Integer._shift_helper[8]>", line 3, in <module> Integer(1) << (Integer(2)**Integer(60)) ~~~~~~~~~~~^^~~~~~~~~~~~~~~~~~~~~~~~~~~ File "sage/rings/integer.pyx", line 6735, in sage.rings.integer.Integer.__lshift__ return (<Integer>x)._shift_helper(y, 1) File "sage/rings/integer.pyx", line 6696, in sage.rings.integer.Integer._shift_helper sig_on() FloatingPointError: Floating point exception ********************************************************************** 1 item had failures: 1 of 10 in sage.rings.integer.Integer._shift_helper [1196 tests, 1 failure, 43.50 s] ---------------------------------------------------------------------- sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/rings/integer.pyx # 1 doctest failed ----------------------------------------------------------------------The third one hs already been reported and is possibly flaoting point error.
The fourth one may be cosmetic :
charpent@zen-book-flip:/usr/local/sage-10$ sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/ext/memory.pyx # 1 doctest failed Running doctests with ID 2023-08-14-20-16-52-adc7bdbd. Git branch: develop Git ref: 10.1.beta0-2047-gaa220c4a1e Running with SAGE_LOCAL='/usr/local/sage-10/local' and SAGE_VENV='/usr/local/sage-10/local/var/lib/sage/venv-python3.11' Using --optional=debian,dot2tex,fricas,gap_jupyter,gap_packages,libsemigroups,msolve,pip,pysingular,saclib,sage,sage_spkg,singular_jupyter Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,fpylll,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,graphviz,imagemagick,ipython,jupymake,kenzo,latte_int,lrcalc_python,lrslib,mcqd,meataxe,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pynormaliz,pyparsing,python_igraph,requests,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.sat,sage.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sphinx,sympy,tdlib Doctesting 1 file. sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/ext/memory.pyx ********************************************************************** File "src/sage/ext/memory.pyx", line 9, in sage.ext.memory Failed example: 2^(2^63-3) Expected: Traceback (most recent call last): ... RuntimeError: Aborted Got: <BLANKLINE> Traceback (most recent call last): File "/usr/local/sage-10/src/sage/doctest/forker.py", line 709, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.ext.memory[0]>", line 1, in <module> Integer(2)**(Integer(2)**Integer(63)-Integer(3)) ~~~~~~~~~~^^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File "sage/rings/integer.pyx", line 2184, in sage.rings.integer.Integer.__pow__ return (<Integer>left)._pow_(right) File "sage/rings/integer.pyx", line 2248, in sage.rings.integer.Integer._pow_ return self._pow_long(mpz_get_si(exp)) File "sage/rings/integer.pyx", line 2280, in sage.rings.integer.Integer._pow_long sig_on() FloatingPointError: Floating point exception ********************************************************************** 1 item had failures: 1 of 2 in sage.ext.memory [3 tests, 1 failure, 0.01 s] ---------------------------------------------------------------------- sage -t --long --warn-long 198.3 --random-seed=206512876243836917842474214856246458168 src/sage/ext/memory.pyx # 1 doctest failed ----------------------------------------------------------------------HTH,