[Debian-science-sagemath] fp[y]lll: FPLLL_DEFAULT_STRATEGY[_PATH]:isolated+possible fplll fix

Jerome BENOIT calculus at rezozer.net
Fri Aug 4 05:37:45 UTC 2017


Hi,

On 29/07/17 14:59, Jerome BENOIT wrote:
>> In short, the issue remains but we know now it unlikely caused by cysignals.
> I found a window:
> it appeared that replacing BKZ.DEFAULT_STRATEGY by "" in tests/test_bkz.py fixes the issue.
> So BKZ.DEFAULT_STRATEGY appears to be faulty.
> 

Finally I isolated the issue:
fpylll is looking for the strategies_default file 

/usr/share/fplll/strategies/default.json

which is present but elsewhere:

/usr/share/libfplll3/strategies/default.json

If a link is set by hand, the package can be built; but this remains a DEBUG strategy.

For fplll [not fpylll], the strategies default path and file is set up via the macros
FPLLL_DEFAULT_STRATEGY[|_PATH]
in fplll/Makefile.am [1] .
This set up affect fplll only at building time via the fplll/defs.h header which
distributed within libfplll3-dev, and which is ultimately read by the fpylll code.
Hence the issue. I guess I can define the macro for the fyplll package, but it does not look as a good idea.
I think it must come from the fplll package itself, in one way or an other.

The best option may be to set the macro in the fplll/config_fplll.h which is distributed and included by fplll/def.h .
Accordingly, it is a fplll upstream issue, and the issue is now in the hand of Julien.

May I fill a debian bug report ?

Thanks,
Jerome


[1] https://sources.debian.net/src/fplll/5.1.0-2/fplll/Makefile.am/


-- 
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1528 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-sagemath/attachments/20170804/75cb436f/attachment.sig>


More information about the Debian-science-sagemath mailing list