Bug#830206: libmpfi-dev: undefined symbol: mpfi_is_strictly_neg_default
Jerome BENOIT
calculus at rezozer.net
Thu Jul 7 11:55:38 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello Ximin, thanks for your report.
On 07/07/16 12:10, Ximin Luo wrote:
> 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.
A script version is created on fly (see d/changelog and d/p/upstream-libtoolization-version_script.patch):
mpfi_is_strictly_neg_default is not meant to be exported according is the sense it is not in the header.
Is there any other missing symbol ? can you use an official symbol instead ?
Thanks,
Jerome
>
> 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
>
- --
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5 A762 3F92 19A6 7F36 C68B
-----BEGIN PGP SIGNATURE-----
iQQcBAEBCgAGBQJXfkM6AAoJED+SGaZ/NsaLQe8f/05pe8qjvtGVfeEaqSJmg7YP
vCBQdPFXamRH7TeLLJ9OhltJEf2vwc7Li3c97xBhAYs2r0qVrRvsBfKsI+VFWMg2
xiomE7nXB0gup2pPR5WJqqW+eWyTj+LRy8TvH1SlRYVp2G1OE0BSftsH4sCRIrDX
BlhxTcX1vu6ZeENbEFwRpjtUWGnwmL5vmZG5tBLU95KG6WjnaXFJt5UKw9tlMj7k
AM98dBElLWCGeEc3dDXaKWeVe0WGQBT92Lv6yLpAKJweVD5g5YwvnJtrKbPjdv+l
eWq5DcqmGbdOVfasV58hrbW2QUwL2NEDI1RXJgELt0dgrBc087t2+3Vcl6bgLtr+
JcPY1Bp8wXgLBHXuRlAt7nkXUmryCRafGuQJX3+9gdqWwNnEyjw0MiQuPDE5S6+l
apct+7aApWawZVJO+94MLIw633tHZ10kPYUYBtEPTSqZHxLA0dTXVT1srPSOzQ2V
xBA2guUuliRHDWfMBB2pr9OYZ572TIYoNyf7L0SzVTogXpf2SiXcsI4tRMFgkc8C
mhDLITBYKB+tK3ijoDnZgJQcE6xc6p7R28TKd2XVHItZkQ46K5+HhPhpErJ+p33R
D2BQ2MkKqPFmbkp7KzDYCsvPjb4iVRcW3BEm9TLvCVBO9Ki0UvVHcn2Ags4DRxCH
M5B1890sQf1O98a8+fm/ZE/0KCl/H8gew9a8fH1G1nsHKoUsfD/X4Qcur25XJZDX
rK9pC03llYQTXR8e5d934BeBkLwRoqgEYK6bK8y2a8LHZ6pW14UnbIdPaYP46WwY
h0OaCOMxfdqw4R5d3pYy4y9UtFgBprZLznMemohWF21s7J0ssi0KzBFE93bd2fu7
DLI32Y+QUwWFnJ9j/tnuEzrOPmLVfqRS3QeViWfr4Zok5yI0J0n4gh/GtdhBlUVR
9XrWOQDVvgSsNvG2O8a71Oncb0UNBJu0b16xpM8oZEC/n1vv/NnFrtDljax+iZ7e
JhRqYY/8wQGGslCv+kbpEOKPXNL7CByzTmwKCdZWhQuTcdwhVRkp12uDujKzyaSX
aB/Mh0CgyBj80+CnfGqK9+TyOtvvYt8xMgMvocXwdE4Iskbzgvt/fc+HTHi2IlDA
REKQCol1PXxmxDesg6Ubw5ggGbBBbFQh4CDmrPgZvGQtl19RRUKIbwyBGPRWuIN7
8hoUZ0c2MlDlvAkfi78F4D87d/votvOO+AWt/JDwIZ6lQ1Ct8YsbE2HQd8sjyxZi
dFdwrgj7o/yf41sQRqsSqtR6HyZYgCF+YDjNcyonJq1OmMH0xkcBtL90pCvyoovf
h7HfTRIE4LDSJStTlrNFJ+4HIcFDvNmArDFgXMPFor/5MQ3WhvxiWVkB6ZnVkhk=
=u52L
-----END PGP SIGNATURE-----
More information about the debian-science-maintainers
mailing list