Bug#902872: sagemath: sage fails to start with 'undefined symbol acb_calc_integrate error

Rann Bar-On termite47384 at gmail.com
Mon Jul 2 17:26:14 BST 2018


Package: sagemath
Version: 8.2-5
Severity: grave
Justification: renders package unusable

Dear Maintainer,

see sage crash log below.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (800, 'testing'), (750, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sagemath depends on:
ii  cysignals-tools                              1.6.7+ds-1
ii  cython                                       0.28.2-4
ii  ecl                                          16.1.2-4+b1
ii  eclib-tools                                  20171002-1+b2
ii  f2c                                          20160102-1
ii  fflas-ffpack                                 2.3.2-2
ii  flintqs                                      1:1.0-1+b1
ii  gap-core                                     4r8p8-3
ii  gfan                                         0.5+dfsg-6
ii  gmp-ecm                                      7.0.4+ds-2
ii  ipython                                      5.5.0-1
ii  iso-codes                                    3.79-1
ii  jmol                                         14.6.4+2016.11.05+dfsg1-3.1
ii  lcalc                                        1.23+dfsg-6+b1
ii  less                                         487-0.1+b1
ii  libatlas3-base [liblapack.so.3]              3.10.3-7
ii  libblas3 [libblas.so.3]                      3.8.0-1
ii  libbrial-groebner3                           1.2.0-2
ii  libbrial3                                    1.2.0-2
ii  libc6                                        2.27-3
ii  libcdd-tools                                 094h-1+b1
ii  libcliquer1                                  1.21-2
ii  libec3                                       20171002-1+b2
ii  libecm1                                      7.0.4+ds-2
ii  libflint-2.5.2                               2.5.2-18
ii  libflint-arb2                                2.11.1-2+b1
ii  libgap-sage-4                                4.8.8+3+20160327g69a66f0+dsx-1
ii  libgcc1                                      1:8.1.0-9
ii  libgd3                                       2.2.5-4
ii  libgivaro9                                   4.0.4-2
ii  libglpk40                                    4.65-2
ii  libgmp10                                     2:6.1.2+dfsg-3
ii  libgmpxx4ldbl                                2:6.1.2+dfsg-3
ii  libgsl23                                     2.5+dfsg-4
ii  libgslcblas0                                 2.5+dfsg-4
ii  libiml0                                      1.0.4-1+b2
ii  libjs-mathjax                                2.7.4+dfsg-1
ii  libjs-three                                  80+dfsg2-2
ii  liblapack3 [liblapack.so.3]                  3.8.0-1
ii  liblfunction0                                1.23+dfsg-6+b1
ii  liblinbox-1.5.2-0                            1.5.2-1
ii  liblinboxsage-1.5.2-0                        1.5.2-1
ii  liblrcalc1                                   1.2-2+b1
ii  libm4ri-0.0.20140914                         20140914-2+b1
ii  libm4rie-0.0.20150908                        20150908-1
ii  libmpc3                                      1.1.0-1
ii  libmpfi0                                     1.5.3+ds-2
ii  libmpfr6                                     4.0.1-1
ii  libntl35                                     10.5.0-2
ii  libpari-gmp-tls5                             2.9.5-1
ii  libplanarity0                                3.0.0.5-1+b1
ii  libpng16-16                                  1.6.34-1
ii  libppl14                                     1:1.2-3
ii  libpynac17                                   0.7.19-2
ii  libratpoints-2.1.3                           1:2.1.3-1+b2
ii  libreadline7                                 7.0-5
ii  librw0                                       0.8+ds-1
ii  libsingular4                                 1:4.1.0-p3+ds-2+b3
ii  libstdc++6                                   8.1.0-9
ii  libsymmetrica2                               2.0+ds-5
ii  libzn-poly-0.9                               0.9-3+b2
ii  maxima-sage                                  5.39.0+ds-3
ii  maxima-sage-doc                              5.39.0+ds-3
ii  maxima-sage-share                            5.39.0+ds-3
ii  nauty                                        2.6r10+ds-1
ii  octave                                       4.4.0-3
ii  palp                                         2.1-4
ii  pari-doc                                     2.9.5-1
ii  pari-galdata                                 0.20080411-2
ii  pari-gp                                      2.9.5-1
ii  pari-seadata                                 0.20090618-1
ii  python                                       2.7.15-3
ii  python-alabaster                             0.7.8-1
ii  python-babel                                 2.4.0+dfsg.1-2
ii  python-backports-abc                         0.5-2
ii  python-backports-shutil-get-terminal-size    1.0.0-5
ii  python-backports.functools-lru-cache         1.5-1
ii  python-backports.ssl-match-hostname          3.5.0.1-1
ii  python-brial                                 1.2.0-2
ii  python-configparser                          3.5.0-1
ii  python-crypto                                2.6.1-9+b1
ii  python-cvxopt                                1.1.9+dfsg-3
ii  python-cycler                                0.10.0-1
ii  python-cypari2                               1.1.4-3
ii  python-cysignals-pari                        1.6.7+ds-1
ii  python-decorator                             4.3.0-1
ii  python-docutils                              0.14+dfsg-3
ii  python-enum34                                1.1.6-2
ii  python-flask                                 1.0.2-1
ii  python-flask-autoindex                       0.6+0git20160725-02b454-6
ii  python-flask-babel                           0.11.2-2
ii  python-flask-oldsessions                     0.10+git20121007-2
ii  python-flask-openid                          1.2.5+dfsg-2
ii  python-flask-silk                            0.2-12
ii  python-fpylll                                0.3.0+ds-3+b1
ii  python-functools32                           3.2.3.2-3
ii  python-future                                0.15.2-4
ii  python-gd                                    0.59-1
ii  python-gnutls                                3.0.0-1
ii  python-imagesize                             1.0.0-1
ii  python-ipython-genutils                      0.2.0-1
ii  python-itsdangerous                          0.24+dfsg1-2
ii  python-jsonschema                            2.6.0-2
ii  python-matplotlib                            2.2.2-4
ii  python-mistune                               0.8.3-2
ii  python-moinmoin                              1.9.9-1
ii  python-mpmath                                1.0.0-1
ii  python-networkx                              2.1-1
ii  python-numpy [python-numpy-abi9]             1:1.14.4-1
ii  python-openid                                2.2.5-6
ii  python-path                                  11.0.1-2
ii  python-pathlib2                              2.3.2-1
ii  python-pexpect                               4.2.1-1
ii  python-pickleshare                           0.7.4-2
ii  python-pil                                   4.3.0-2
ii  python-pip                                   9.0.1-2.3
ii  python-pkgconfig                             1.3.1-1
ii  python-ply                                   3.11-2
ii  python-prompt-toolkit                        1.0.15-1
ii  python-psutil                                5.4.6-1+b1
ii  python-ptyprocess                            0.5.2-1
ii  python-pygments                              2.2.0+dfsg-1
ii  python-rpy2                                  2.8.6-2+b1
ii  python-sagenb                                1.0.1+ds1-5
ii  python-sagenb-export                         3.2-3
ii  python-scipy                                 0.19.1-2
ii  python-setuptools                            39.2.0-1
ii  python-setuptools-scm                        2.1.0-2
ii  python-simplegeneric                         0.8.1-2
ii  python-singledispatch                        3.4.0.3-2
ii  python-snowballstemmer                       1.2.1-1
ii  python-sphinx                                1.7.5-3
ii  python-subprocess32                          3.5.2-1
ii  python-sympy                                 1.1.1-7
ii  python-terminado                             0.8.1-3
ii  python-tk                                    2.7.15-1
ii  python-tornado                               5.0.2-1
ii  python-traitlets                             4.3.2-1
ii  python-twisted                               18.4.0-1
ii  python-typing                                3.6.4-1
ii  python-tz                                    2018.4-1
ii  python-vcversioner                           2.16.0.0-1
ii  python-wcwidth                               0.1.7+dfsg1-2
ii  python-werkzeug                              0.14.1+dfsg1-1
ii  python-zmq                                   17.0.0-1
ii  python-zope.interface                        4.3.2-1+b2
ii  python2.7                                    2.7.15-1
ii  python3                                      3.6.5-3
ii  r-base-core                                  3.5.0-5
ii  r-cran-lattice                               0.20-35-1+b2
ii  rubiks                                       20070912-3
ii  sagemath-common                              8.2-5
ii  sagemath-database-conway-polynomials         0.5-4
ii  sagemath-database-elliptic-curves            0.8-2
ii  sagemath-database-graphs                     20161026+dfsg-2
ii  sagemath-database-mutually-combinatorial-de  20140630-3
ii  sagemath-database-polytopes                  20170220-2
ii  singular                                     1:4.1.0-p3+ds-2+b3
ii  singular-doc                                 1:4.1.0-p3+ds-2
ii  sqlite3                                      3.24.0-1
ii  sympow                                       1.023-9
ii  tachyon                                      0.99~b6+dsx-8
ii  xcas                                         1.2.3.57+dfsg1-2+b5
ii  zlib1g                                       1:1.2.11.dfsg-1

Versions of packages sagemath recommends:
pn  sagemath-doc-en     <none>
ii  sagemath-jupyter    8.2-5
ii  sagetex             3.0+ds-6
ii  texlive-latex-base  2018.20180505-1

Versions of packages sagemath suggests:
pn  dot2tex      <none>
pn  gap-design   <none>
pn  gap-factint  <none>
pn  gap-grape    <none>
pn  gap-guava    <none>
pn  gap-laguna   <none>
pn  gap-sonata   <none>
pn  gap-toric    <none>

-- no debconf information

*** /home/rann/.ipython/Sage_crash_report.txt
***************************************************************************

IPython post-mortem report

{'commit_hash': u'1149d1700',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': '/home/rann/.local/lib/python2.7/site-packages/IPython',
 'ipython_version': '5.4.1',
 'os_name': 'posix',
 'platform': 'Linux-4.16.0-2-amd64-x86_64-with-debian-buster-sid',
 'sys_executable': '/usr/bin/python',
 'sys_platform': 'linux2',
 'sys_version': '2.7.15 (default, May  1 2018, 05:55:50) \n[GCC 7.3.0]'}

***************************************************************************



***************************************************************************

Crash traceback:

---------------------------------------------------------------------------
---------------------------------------------------------------------------
ImportError                                  Python 2.7.15: /usr/bin/python
                                                   Mon Jul  2 12:20:09 2018
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/usr/share/sagemath/bin/sage-ipython in <module>()
      1 #!/usr/bin/env python
      2 # -*- coding: utf-8 -*-
      3 """
      4 Sage IPython startup script.
      5 """
      6 
      7 # Display startup banner. Do this before anything else to give the user
      8 # early feedback that Sage is starting.
      9 from sage.misc.banner import banner
     10 banner()
     11 
     12 from sage.repl.interpreter import SageTerminalApp
     13 
     14 app = SageTerminalApp.instance()
---> 15 app.initialize()
        global app.initialize = <bound method SageTerminalApp.initialize of <sage.repl.interpreter.SageTerminalApp object at 0x7fb2a60331d0>>
     16 app.start()

<decorator-gen-110> in initialize(self=<sage.repl.interpreter.SageTerminalApp object>, argv=None)

/home/rann/.local/lib/python2.7/site-packages/traitlets/config/application.pyc in catch_config_error(method=<function initialize>, app=<sage.repl.interpreter.SageTerminalApp object>, *args=(None,), **kwargs={})
     72     TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR = False
     73 else:
     74     raise ValueError("Unsupported value for environment variable: 'TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR' is set to '%s' which is none of  {'0', '1', 'false', 'true', ''}."% _envvar )
     75 
     76 
     77 @decorator
     78 def catch_config_error(method, app, *args, **kwargs):
     79     """Method decorator for catching invalid config (Trait/ArgumentErrors) during init.
     80 
     81     On a TraitError (generally caused by bad config), this will print the trait's
     82     message, and exit the app.
     83 
     84     For use on init methods, to prevent invoking excepthook on invalid input.
     85     """
     86     try:
---> 87         return method(app, *args, **kwargs)
        method = <function initialize at 0x7fb2a34f76e0>
        app = <sage.repl.interpreter.SageTerminalApp object at 0x7fb2a60331d0>
        args = (None,)
        kwargs = {}
     88     except (TraitError, ArgumentError) as e:
     89         app.print_help()
     90         app.log.fatal("Bad config encountered during initialization:")
     91         app.log.fatal(str(e))
     92         app.log.debug("Config at the time: %s", app.config)
     93         app.exit(1)
     94 
     95 
     96 class ApplicationError(Exception):
     97     pass
     98 
     99 
    100 class LevelFormatter(logging.Formatter):
    101     """Formatter with additional `highlevel` record
    102 

/home/rann/.local/lib/python2.7/site-packages/IPython/terminal/ipapp.pyc in initialize(self=<sage.repl.interpreter.SageTerminalApp object>, argv=None)
    301 
    302         return super(TerminalIPythonApp, self).parse_command_line(argv)
    303     
    304     @catch_config_error
    305     def initialize(self, argv=None):
    306         """Do actions after construct, but before starting the app."""
    307         super(TerminalIPythonApp, self).initialize(argv)
    308         if self.subapp is not None:
    309             # don't bother initializing further, starting subapp
    310             return
    311         # print self.extra_args
    312         if self.extra_args and not self.something_to_run:
    313             self.file_to_run = self.extra_args[0]
    314         self.init_path()
    315         # create the shell
--> 316         self.init_shell()
        self.init_shell = <bound method SageTerminalApp.init_shell of <sage.repl.interpreter.SageTerminalApp object at 0x7fb2a60331d0>>
    317         # and draw the banner
    318         self.init_banner()
    319         # Now a variety of things that happen after the banner is printed.
    320         self.init_gui_pylab()
    321         self.init_extensions()
    322         self.init_code()
    323 
    324     def init_shell(self):
    325         """initialize the InteractiveShell instance"""
    326         # Create an InteractiveShell instance.
    327         # shell.display_banner should always be False for the terminal
    328         # based app, because we call shell.show_banner() by hand below
    329         # so the banner shows *before* all extension loading stuff.
    330         self.shell = self.interactive_shell_class.instance(parent=self,
    331                         profile_dir=self.profile_dir,

/usr/lib/python2.7/dist-packages/sage/repl/interpreter.pyc in init_shell(self=<sage.repl.interpreter.SageTerminalApp object>)
    747         self.shell.has_sage_extensions = SAGE_EXTENSION in self.extensions
    748 
    749         # Load the %lprun extension if available
    750         try:
    751             import line_profiler
    752         except ImportError:
    753             pass
    754         else:
    755             self.extensions.append('line_profiler')
    756 
    757         if self.shell.has_sage_extensions:
    758             self.extensions.remove(SAGE_EXTENSION)
    759 
    760             # load sage extension here to get a crash if
    761             # something is wrong with the sage library
--> 762             self.shell.extension_manager.load_extension(SAGE_EXTENSION)
        self.shell.extension_manager.load_extension = <bound method ExtensionManager.load_extension of <IPython.core.extensions.ExtensionManager object at 0x7fb2a25cbe10>>
        global SAGE_EXTENSION = 'sage'
    763 
    764 

/home/rann/.local/lib/python2.7/site-packages/IPython/core/extensions.pyc in load_extension(self=<IPython.core.extensions.ExtensionManager object>, module_str='sage')
     70 
     71         Returns the string "already loaded" if the extension is already loaded,
     72         "no load function" if the module doesn't have a load_ipython_extension
     73         function, or None if it succeeded.
     74         """
     75         if module_str in self.loaded:
     76             return "already loaded"
     77         
     78         from IPython.utils.syspathcontext import prepended_to_syspath
     79         
     80         with self.shell.builtin_trap:
     81             if module_str not in sys.modules:
     82                 with prepended_to_syspath(self.ipython_extension_dir):
     83                     __import__(module_str)
     84             mod = sys.modules[module_str]
---> 85             if self._call_load_ipython_extension(mod):
        self._call_load_ipython_extension = <bound method ExtensionManager._call_load_ipython_extension of <IPython.core.extensions.ExtensionManager object at 0x7fb2a25cbe10>>
        mod = <module 'sage' from '/usr/lib/python2.7/dist-packages/sage/__init__.pyc'>
     86                 self.loaded.add(module_str)
     87             else:
     88                 return "no load function"
     89 
     90     def unload_extension(self, module_str):
     91         """Unload an IPython extension by its module name.
     92 
     93         This function looks up the extension's name in ``sys.modules`` and
     94         simply calls ``mod.unload_ipython_extension(self)``.
     95         
     96         Returns the string "no unload function" if the extension doesn't define
     97         a function to unload itself, "not loaded" if the extension isn't loaded,
     98         otherwise None.
     99         """
    100         if module_str not in self.loaded:

/home/rann/.local/lib/python2.7/site-packages/IPython/core/extensions.pyc in _call_load_ipython_extension(self=<IPython.core.extensions.ExtensionManager object>, mod=<module 'sage' from '/usr/lib/python2.7/dist-packages/sage/__init__.pyc'>)
    117         """
    118         from IPython.utils.syspathcontext import prepended_to_syspath
    119 
    120         if (module_str in self.loaded) and (module_str in sys.modules):
    121             self.unload_extension(module_str)
    122             mod = sys.modules[module_str]
    123             with prepended_to_syspath(self.ipython_extension_dir):
    124                 reload(mod)
    125             if self._call_load_ipython_extension(mod):
    126                 self.loaded.add(module_str)
    127         else:
    128             self.load_extension(module_str)
    129 
    130     def _call_load_ipython_extension(self, mod):
    131         if hasattr(mod, 'load_ipython_extension'):
--> 132             mod.load_ipython_extension(self.shell)
        mod.load_ipython_extension = <function load_ipython_extension at 0x7fb2a7b7a6e0>
        self.shell = <sage.repl.interpreter.SageTerminalInteractiveShell object at 0x7fb2a3517d50>
    133             return True
    134 
    135     def _call_unload_ipython_extension(self, mod):
    136         if hasattr(mod, 'unload_ipython_extension'):
    137             mod.unload_ipython_extension(self.shell)
    138             return True
    139 
    140     def install_extension(self, url, filename=None):
    141         """Download and install an IPython extension. 
    142 
    143         If filename is given, the file will be so named (inside the extension
    144         directory). Otherwise, the name from the URL will be used. The file must
    145         have a .py or .zip extension; otherwise, a ValueError will be raised.
    146 
    147         Returns the full path to the installed file.

/usr/lib/python2.7/dist-packages/sage/__init__.pyc in load_ipython_extension(*args=(<sage.repl.interpreter.SageTerminalInteractiveShell object>,))
      1 __all__ = ['all']
      2 
      3 # Make sure that the correct zlib library is loaded. This is needed
      4 # to prevent the system zlib to be loaded instead of the Sage one.
      5 # See https://trac.sagemath.org/ticket/23122
      6 import zlib
      7 
      8 # IPython calls this when starting up
      9 def load_ipython_extension(*args):
     10     import sage.repl.ipython_extension
---> 11     sage.repl.ipython_extension.load_ipython_extension(*args)
        sage.repl.ipython_extension.load_ipython_extension = <function load_ipython_extension at 0x7fb2a2142938>
        args = (<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x7fb2a3517d50>,)
     12 
     13 
     14 # Monkey-patch inspect.isfunction() to support Cython functions.
     15 def isfunction(obj):
     16     """
     17     Check whether something is a function.
     18 
     19     We assume that anything which has a genuine ``__code__``
     20     attribute (not using ``__getattr__`` overrides) is a function.
     21     This is meant to support Cython functions.
     22 
     23     EXAMPLES::
     24 
     25         sage: from inspect import isfunction
     26         sage: def f(): pass
     27         sage: isfunction(f)
     28         True
     29         sage: isfunction(lambda x:x)
     30         True
     31         sage: from sage.categories.coercion_methods import _mul_parent

/usr/lib/python2.7/dist-packages/sage/repl/ipython_extension.pyc in wrapper(*args=(<sage.repl.interpreter.SageTerminalInteractiveShell object>,), **kwargs={})
    546         ....:     if work:
    547         ....:         return 'foo worked'
    548         ....:     raise RuntimeError("foo didn't work")
    549         sage: foo(False)
    550         Traceback (most recent call last):
    551         ...
    552         RuntimeError: foo didn't work
    553         sage: foo(True)
    554         'foo worked'
    555         sage: foo(False)
    556         sage: foo(True)
    557     """
    558     @wraps(func)
    559     def wrapper(*args, **kwargs):
    560         if not wrapper.has_run:
--> 561             result = func(*args, **kwargs)
        result = undefined
        global func = undefined
        args = (<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x7fb2a3517d50>,)
        kwargs = {}
    562             wrapper.has_run = True
    563             return result
    564     wrapper.has_run = False
    565     return wrapper
    566 
    567 
    568 @run_once
    569 def load_ipython_extension(ip):
    570     """
    571     Load the extension in IPython.
    572     """
    573     # this modifies ip
    574     SageCustomizations(shell=ip)

/usr/lib/python2.7/dist-packages/sage/repl/ipython_extension.pyc in load_ipython_extension(ip=<sage.repl.interpreter.SageTerminalInteractiveShell object>)
    559     def wrapper(*args, **kwargs):
    560         if not wrapper.has_run:
    561             result = func(*args, **kwargs)
    562             wrapper.has_run = True
    563             return result
    564     wrapper.has_run = False
    565     return wrapper
    566 
    567 
    568 @run_once
    569 def load_ipython_extension(ip):
    570     """
    571     Load the extension in IPython.
    572     """
    573     # this modifies ip
--> 574     SageCustomizations(shell=ip)
        global SageCustomizations = <class 'sage.repl.ipython_extension.SageCustomizations'>
        global shell = undefined
        ip = <sage.repl.interpreter.SageTerminalInteractiveShell object at 0x7fb2a3517d50>

/usr/lib/python2.7/dist-packages/sage/repl/ipython_extension.pyc in __init__(self=<sage.repl.ipython_extension.SageCustomizations object>, shell=<sage.repl.interpreter.SageTerminalInteractiveShell object>)
    417     def __init__(self, shell=None):
    418         """
    419         Initialize the Sage plugin.
    420         """
    421         self.shell = shell
    422 
    423         self.auto_magics = SageMagics(shell)
    424         self.shell.register_magics(self.auto_magics)
    425 
    426         import sage.misc.edit_module as edit_module
    427         self.shell.set_hook('editor', edit_module.edit_devel)
    428 
    429         self.init_inspector()
    430         self.init_line_transforms()
    431 
--> 432         import sage.all # until sage's import hell is fixed
        sage.all = undefined
    433 
    434         self.shell.verbose_quit = True
    435         self.set_quit_hook()
    436 
    437         self.register_interface_magics()
    438 
    439         if SAGE_IMPORTALL == 'yes':
    440             self.init_environment()
    441 
    442     def register_interface_magics(self):
    443         """
    444         Register magics for each of the Sage interfaces
    445         """
    446         from sage.repl.interface_magic import InterfaceMagic
    447         InterfaceMagic.register_all(self.shell)

/usr/lib/python2.7/dist-packages/sage/all.py in <module>()
     79 
     80 from time                import sleep
     81 
     82 import sage.misc.lazy_import
     83 from sage.misc.all       import *         # takes a while
     84 from sage.typeset.all    import *
     85 from sage.repl.all       import *
     86 
     87 from sage.misc.sh import sh
     88 
     89 from sage.libs.all       import *
     90 from sage.data_structures.all import *
     91 from sage.doctest.all    import *
     92 
     93 from sage.structure.all  import *
---> 94 from sage.rings.all      import *
        global sage.rings.all = undefined
     95 from sage.arith.all      import *
     96 from sage.matrix.all     import *
     97 
     98 from sage.symbolic.all   import *
     99 from sage.modules.all    import *
    100 from sage.monoids.all    import *
    101 from sage.algebras.all   import *
    102 from sage.modular.all    import *
    103 from sage.sat.all        import *
    104 from sage.schemes.all    import *
    105 from sage.graphs.all     import *
    106 from sage.groups.all     import *
    107 from sage.arith.power    import generic_power as power
    108 from sage.databases.all  import *
    109 from sage.categories.all import *

/usr/lib/python2.7/dist-packages/sage/rings/all.py in <module>()
     39 
     40 # Rational numbers
     41 from .rational_field import RationalField, QQ
     42 from .rational import Rational
     43 Rationals = RationalField
     44 
     45 # Integers modulo n.
     46 from sage.rings.finite_rings.integer_mod_ring import IntegerModRing, Zmod
     47 from sage.rings.finite_rings.integer_mod import IntegerMod, Mod, mod
     48 Integers = IntegerModRing
     49 
     50 # Finite fields
     51 from .finite_rings.all import *
     52 
     53 # Number field
---> 54 from .number_field.all import *
        global number_field.all = undefined
     55 
     56 # Function field
     57 from .function_field.all import *
     58 
     59 # Finite residue fields
     60 from .finite_rings.residue_field import ResidueField
     61 
     62 # p-adic field
     63 from .padics.all import *
     64 from .padics.padic_printing import _printer_defaults as padic_printing
     65 
     66 # valuations
     67 from .valuation.all import *
     68 
     69 # Semirings

/usr/lib/python2.7/dist-packages/sage/rings/number_field/all.py in <module>()
      1 from __future__ import absolute_import
      2 
----> 3 from .number_field import (NumberField, NumberFieldTower, CyclotomicField, QuadraticField,
        global number_field = undefined
        global NumberField = undefined
        global NumberFieldTower = undefined
        global CyclotomicField = undefined
        global QuadraticField = undefined
        global is_fundamental_discriminant = undefined
        global is_real_place = undefined
      4                            is_fundamental_discriminant, is_real_place)
      5 from .number_field_element import NumberFieldElement
      6 
      7 from .order import EquationOrder, GaussianIntegers, EisensteinIntegers
      8 
      9 from sage.misc.lazy_import import lazy_import as _lazy_import
     10 
     11 _lazy_import('sage.rings.number_field.totallyreal', 'enumerate_totallyreal_fields_prim')
     12 _lazy_import('sage.rings.number_field.totallyreal_data', 'hermite_constant')
     13 _lazy_import('sage.rings.number_field.totallyreal_rel', 'enumerate_totallyreal_fields_all')
     14 _lazy_import('sage.rings.number_field.totallyreal_rel', 'enumerate_totallyreal_fields_rel')
     15 
     16 from .unit_group import UnitGroup

/usr/lib/python2.7/dist-packages/sage/rings/number_field/number_field.py in <module>()
    213 
    214 import sage.arith.all as arith
    215 import sage.rings.rational_field as rational_field
    216 import sage.rings.integer_ring as integer_ring
    217 import sage.rings.infinity as infinity
    218 from sage.rings.rational import Rational
    219 from sage.rings.integer import Integer
    220 import sage.rings.polynomial.polynomial_element as polynomial_element
    221 import sage.rings.complex_field
    222 import sage.groups.abelian_gps.abelian_group
    223 import sage.rings.complex_interval_field
    224 
    225 from sage.structure.parent_gens import ParentWithGens
    226 from sage.structure.factory import UniqueFactory
    227 from . import number_field_element
--> 228 from . import number_field_element_quadratic
        global number_field_element_quadratic = undefined
    229 from .number_field_ideal import is_NumberFieldIdeal, NumberFieldFractionalIdeal
    230 from sage.libs.pari.all import pari, pari_gen
    231 
    232 from sage.rings.rational_field import QQ
    233 from sage.rings.integer_ring import ZZ
    234 RIF = sage.rings.real_mpfi.RealIntervalField()
    235 CIF = sage.rings.complex_interval_field.ComplexIntervalField()
    236 from sage.rings.real_double import RDF
    237 from sage.rings.complex_double import CDF
    238 from sage.rings.real_lazy import RLF, CLF
    239 
    240 def NumberField(polynomial, name=None, check=True, names=None, embedding=None, latex_name=None, assume_disc_small=False, maximize_at_primes=None, structure=None):
    241     r"""
    242     Return *the* number field (or tower of number fields) defined by the
    243     irreducible ``polynomial``.

/usr/lib/python2.7/dist-packages/sage/rings/complex_arb.pxd in init sage.rings.number_field.number_field_element_quadratic()
      1 from sage.libs.arb.acb cimport acb_t
      2 from sage.rings.complex_interval cimport ComplexIntervalFieldElement
      3 from sage.rings.real_arb cimport RealBall
      4 from sage.structure.element cimport RingElement
      5 from sage.rings.ring cimport Field
      6 
      7 cdef void ComplexIntervalFieldElement_to_acb(
      8     acb_t target,
      9     ComplexIntervalFieldElement source)
     10 
     11 cdef int acb_to_ComplexIntervalFieldElement(
     12     ComplexIntervalFieldElement target,
     13     const acb_t source) except -1
     14 
---> 15 cdef class ComplexBall(RingElement):
        global cdef = undefined
        global ComplexBall = undefined
        global RingElement = undefined
     16     cdef acb_t value
     17     cdef ComplexBall _new(self)
     18     cpdef _add_(self, other)
     19     cpdef _mul_(self, other)
     20     cpdef ComplexIntervalFieldElement _complex_mpfi_(self, parent)
     21     cpdef RealBall real(self)
     22     cpdef RealBall imag(self)
     23 
     24     cdef inline ComplexBall _new(self):
     25         cdef ComplexBall res = ComplexBall.__new__(ComplexBall)
     26         res._parent = self._parent
     27         return res

ImportError: /usr/lib/python2.7/dist-packages/sage/rings/complex_arb.x86_64-linux-gnu.so: undefined symbol: acb_calc_integrate

***************************************************************************

History of session input:
*** Last line of input (may not be in above history):



More information about the debian-science-maintainers mailing list