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

Jerome BENOIT calculus at rezozer.net
Fri Aug 4 09:22:37 UTC 2017


Hello,

On 04/08/17 10:42, Julien Puydt wrote:
> 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.


I do remember the post sent here  about this part of the story 
> 
>> 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.

Done.

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

Bon courage,
Jerome

> 
> Snark on #debian-science
> 
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
> 

-- 
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/004caf02/attachment.sig>


More information about the Debian-science-sagemath mailing list