Your message dated Thu, 7 Jul 2016 13:48:00 +0100
with message-id <[email protected]>
and subject line Re: Bug#830206: libmpfi-dev: undefined symbol: 
mpfi_is_strictly_neg_default
has caused the Debian Bug report #830206,
regarding libmpfi-dev: undefined symbol: mpfi_is_strictly_neg_default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
830206: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830206
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Again,

On 07/07/16 13:41, Ximin Luo wrote:
> Jerome BENOIT:
>> Hello Ximin, thanks for your report.
>> 
>> [..]
>> 
>>> 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
>> 
> 
> Hi Jerome, thanks for the quick reply.
> 
> Yes, it looks like Sage is indeed using private functions. I have
> added a patch to make them use the public functions instead:
> 
> https://anonscm.debian.org/cgit/debian-science/packages/sagemath.git/commit/?id=53e81977cc9dc603d30a1d52283bebe03565fbe4
>
>  I will submit this upstream, and hopefully it is acceptable to them.
> It looks like MPFI is fine, you don't need to make changes. Feel free
> to close this bug, or perhaps you would like to wait until I have
> confirmed my patch with Sage upstream.
> 

If mpfi is fine, the patch, if any, may be set a your level.
So I close the bug.

Thanks,
Jerome


> X
> 

- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/[email protected]
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-----BEGIN PGP SIGNATURE-----

iQQcBAEBCgAGBQJXfk9/AAoJED+SGaZ/NsaLqCAgAISOuhmKe910NyWEWzAaqmtw
pPsCXwkrY4f+sdu5YOEBDamxbi7Rttu5x6qy9ajbSOGFdFeYyGXRrmdFJoXSIJUl
SREBWDHz2zKVepcccwAiqqlO8ESwcignHPRYqZeBIVs9uhgLxjXVSuQLm2voz9ht
/dk2ct0lpk78hP+CTpM2+goDQ7oWMule/5JV5FrypCaqGSiNvMtpJx+7Lqps2d4L
I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