Bug#830206: libmpfi-dev: undefined symbol: mpfi_is_strictly_neg_default

Ximin Luo infinity0 at debian.org
Thu Jul 7 11:10:00 UTC 2016


Package: libmpfi-dev
Version: 1.5.1+ds-4
Severity: normal

Dear Maintainer,

When trying to compile Sage 7.1 as described in 

https://wiki.debian.org/DebianScience/Sage
https://anonscm.debian.org/cgit/debian-science/packages/sagemath.git/

Sage compiles successfully but the resulting binary crashes when I try to run
it, with an error related to cython dynamic library loading:

cd ../.. && sage-logger './sage --docbuild --no-pdf-links all html ' logs/dochtml.log
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
  File "/home/anonymous/.sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 22, in <module>
    import sage.all
  File "/home/anonymous/.sage/local/lib/python2.7/site-packages/sage/all.py", line 79, in <module>
    from sage.rings.all      import *
  File "/home/anonymous/.sage/local/lib/python2.7/site-packages/sage/rings/all.py", line 50, in <module>
    from finite_rings.all import *
  File "/home/anonymous/.sage/local/lib/python2.7/site-packages/sage/rings/finite_rings/all.py", line 21, in <module>
    from finite_field_constructor import FiniteField
  File "/home/anonymous/.sage/local/lib/python2.7/site-packages/sage/rings/finite_rings/finite_field_constructor.py", line 176, in <module>
    import sage.rings.polynomial.polynomial_element as polynomial_element
  File "sage/rings/polynomial/polynomial_element.pyx", line 53, in init sage.rings.polynomial.polynomial_element (/home/anonymous/tmp/sage/sagemath/sage/src/build/cythonized/sage/rings/polynomial/polynomial_element.c:78933)
  File "/home/anonymous/.sage/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring.py", line 148, in <module>
    import sage.rings.polynomial.polynomial_element_generic as polynomial_element_generic
  File "/home/anonymous/.sage/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_element_generic.py", line 1057, in <module>
    from sage.rings.polynomial.polynomial_rational_flint import Polynomial_rational_flint
  File "sage/rings/polynomial/polynomial_integer_dense_flint.pxd", line 7, in init sage.rings.polynomial.polynomial_rational_flint (/home/anonymous/tmp/sage/sagemath/sage/src/build/cythonized/sage/rings/polynomial/polynomial_rational_flint.cpp:21576)
  File "sage/rings/real_mpfi.pxd", line 11, in init sage.rings.polynomial.polynomial_integer_dense_flint (/home/anonymous/tmp/sage/sagemath/sage/src/build/cythonized/sage/rings/polynomial/polynomial_integer_dense_flint.cpp:19473)
ImportError: /home/anonymous/.sage/local/lib/python2.7/site-packages/sage/rings/real_mpfi.so: undefined symbol: mpfi_is_strictly_neg_default

This function is present in the source code, but not in the compiled .so for
some reason. I will investigate further in the meantime, but any tips on this
would be appreciated.

Thanks!

X

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages libmpfi-dev depends on:
ii  dpkg                1.18.9
ii  libgmp-dev          2:6.1.1+dfsg-1
ii  libmpfi-dev-common  1.5.1+ds-4
ii  libmpfi0            1.5.1+ds-4
ii  libmpfr-dev         3.1.4-2

libmpfi-dev recommends no packages.

libmpfi-dev suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list