make giac-clean && make did it !

(*Alla cinese*) 10^4 thanks !
​
Le vendredi 10 décembre 2021 à 11:56:00 UTC+1, dim...@gmail.com a écrit :

> Everything that depends on updated Debian libs has to be rebuilt - looks 
> like
>
> make giac-clean
>
> is needed too, for sure.
>
> On Fri, Dec 10, 2021 at 10:36 AM Emmanuel Charpentier
> <emanuel.c...@gmail.com> wrote:
> >
> >
> >
> > Le vendredi 10 décembre 2021 à 01:04:33 UTC+1, Matthias Koeppe a écrit :
> >>
> >> "make sagelib-clean" will fix this
> >
> >
> > Nope. `make sagelib-clean` succeeds, but the following `make` fails at 
> documentation ; attempting `make doc-clean && make also fails, *with the 
> very same error*... :
> >
> > ```
> > [sagemath_doc_html-none] cd /usr/local/sage-9 && ./sage --docbuild 
> --no-pdf-links reference/libs inventory --no-prune-empty-dirs
> > [sagemath_doc_html-none] Warning: Could not import sage.libs.giac 
> libgsl.so.25: cannot open shared object file: No such file or directory
> > [sagemath_doc_html-none] 
> /usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/__init__.py:1066:
>  
> DeprecationWarning: the module sage.libs.ratpoints is deprecated; use 
> pari.ellratpoints or pari.hyperellratpoints instead
> > [sagemath_doc_html-none] See http://trac.sagemath.org/24531 for details.
> > [sagemath_doc_html-none] __import__(module_name)
> > [sagemath_doc_html-none] [libs ] building [inventory]: targets for 39 
> source files that are out of date
> > [sagemath_doc_html-none] [libs ] updating environment: [new config] 39 
> added, 0 changed, 0 removed
> > [sagemath_doc_html-none] [libs ] WARNING: autodoc: failed to import 
> module 'giac' from module 'sage.libs'; the following exception was raised:
> > [sagemath_doc_html-none] [libs ] libgsl.so.25: cannot open shared object 
> file: No such file or directory
> > [sagemath_doc_html-none] [libs ] The inventory files are in 
> local/share/doc/sage/inventory/en/reference/libs.
> > [sagemath_doc_html-none] Error building the documentation.
> > [sagemath_doc_html-none] Traceback (most recent call last):
> > [sagemath_doc_html-none] File "/usr/lib/python3.9/runpy.py", line 197, 
> in _run_module_as_main
> > [sagemath_doc_html-none] return _run_code(code, main_globals, None,
> > [sagemath_doc_html-none] File "/usr/lib/python3.9/runpy.py", line 87, in 
> _run_code
> > [sagemath_doc_html-none] exec(code, run_globals)
> > [sagemath_doc_html-none] File 
> "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/__main__.py",
>  
> line 2, in <module>
> > [sagemath_doc_html-none] main()
> > [sagemath_doc_html-none] File 
> "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/__init__.py",
>  
> line 1815, in main
> > [sagemath_doc_html-none] builder()
> > [sagemath_doc_html-none] File 
> "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/__init__.py",
>  
> line 822, in _wrapper
> > [sagemath_doc_html-none] getattr(DocBuilder, build_type)(self, *args, 
> **kwds)
> > [sagemath_doc_html-none] File 
> "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/__init__.py",
>  
> line 133, in f
> > [sagemath_doc_html-none] runsphinx()
> > [sagemath_doc_html-none] File 
> "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/sphinxbuild.py",
>  
> line 323, in runsphinx
> > [sagemath_doc_html-none] sys.stderr.raise_errors()
> > [sagemath_doc_html-none] File 
> "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/sphinxbuild.py",
>  
> line 258, in raise_errors
> > [sagemath_doc_html-none] raise OSError(self._error)
> > [sagemath_doc_html-none] OSError: WARNING: autodoc: failed to import 
> module 'giac' from module 'sage.libs'; the following exception was raised:
> > [sagemath_doc_html-none]
> > [sagemath_doc_html-none] Note: incremental documentation builds 
> sometimes cause spurious
> > [sagemath_doc_html-none] error messages. To be certain that these are 
> real errors, run
> > [sagemath_doc_html-none] "make doc-clean" first and try again.
> > [sagemath_doc_html-none] make[6]: *** [Makefile:20 : 
> doc-inventory--reference-libs] Erreur 1
> > [sagemath_doc_html-none] make[5]: *** [Makefile:37 : 
> doc-inventory-reference] Erreur 2
> > make[4]: *** [Makefile:2789 : sagemath_doc_html-SAGE_DOCS-no-deps] 
> Erreur 2
> > make[3]: *** [Makefile:2789 : 
> /usr/local/sage-9/local/var/lib/sage/installed/sagemath_doc_html-none] 
> Erreur 2
> > make[2]: *** [Makefile:2332 : all-start] Erreur 2
> > make[2] : on quitte le répertoire « /usr/local/sage-9/build/make »
> >
> > real 18m33,136s
> > user 29m24,260s
> > sys 1m6,712s
> > ***************************************************************
> > Error building Sage.
> >
> > The following package(s) may have failed to build (not necessarily
> > during this run of 'make all-start'):
> >
> > It is safe to delete any log files and build directories, but they
> > contain information that is helpful for debugging build problems.
> > WARNING: If you now run 'make' again, the build directory of the
> > same version of the package will, by default, be deleted. Set the
> > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
> >
> > make[1]: *** [Makefile:39 : all-start] Erreur 1
> > make[1] : on quitte le répertoire « /usr/local/sage-9 »
> > make: *** [Makefile:13 : all] Erreur 2
> > ```
> >
> > Suggestions ?
> >
> >
> >>
> >> On Thursday, December 9, 2021 at 12:18:02 PM UTC-8 Emmanuel Charpentier 
> wrote:
> >>>
> >>> A recent upgrade of Debian testing seems to have broken Sage, which 
> does not find libgsl.so.25 Crash report attached.
> >>>
> >>> An attempt at make -b also fails (see attached install.log).
> >>>
> >>> The worse is :
> >>>
> >>> charpent@zen-book-flip:/usr/local/sage-9$ locate libgsl.so
> >>>
> >>> /usr/lib/x86_64-linux-gnu/libgsl.so
> >>>
> >>> /usr/lib/x86_64-linux-gnu/libgsl.so.25
> >>>
> >>> /usr/lib/x86_64-linux-gnu/libgsl.so.25.0.0
> >>>
> >>> charpent@zen-book-flip:/usr/local/sage-9$ dpkg -l "*libgsl*"
> >>>
> >>> 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 libgsl-dev 2.7.1+dfsg-3 amd64 GNU Scientific Library (GSL) ->
> >>>
> >>> un libgsl0 <aucune> <aucune> (aucune description n'est disp>
> >>>
> >>> un libgsl0-dev <aucune> <aucune> (aucune description n'est disp>
> >>>
> >>> un libgsl0ldbl <aucune> <aucune> (aucune description n'est disp>
> >>>
> >>> un libgsl2 <aucune> <aucune> (aucune description n'est disp>
> >>>
> >>> un libgsl23 <aucune> <aucune> (aucune description n'est disp>
> >>>
> >>> ii libgsl27:amd64 2.7.1+dfsg-3 amd64 GNU Scientific Library (GSL) ->
> >>>
> >>> ii libgslcblas0:amd64 2.7.1+dfsg-3 amd64 GNU Scientific Library (GSL) 
> ->
> >>>
> >>>
> >>> I'm a bit at loss...
> >>>
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sage-support" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-support...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/f93cf900-d04f-4a70-9222-ccd0712c4bfan%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/37643e2e-fe78-4f53-b0cd-5497396acc8bn%40googlegroups.com.

Reply via email to