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

Julien Puydt julien.puydt at laposte.net
Fri Aug 4 06:42:13 UTC 2017


Hi,

Le 04/08/2017 à 07:37, Jerome BENOIT a écrit :

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

Yes, that file had to be moved so different sonames of fplll could be
coinstallable.

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

Yes, please do : that is a cleaner way to deal with the matter.

I'll try to prepare a patch for fplll upstream.

Snark on #debian-science



More information about the Debian-science-sagemath mailing list