Hi

On 25/03/15 22:48, François Bissey wrote:
> On 03/26/15 05:08, Thomas Kahle wrote:
>> dev-libs/ntl is at 8.1.2 already (we have 6.* in the tree).  I'd work on
>> the bump if nobody else is.
>>
>> For the 6.* versions there is a patch which implements an error callback
>> mechanism which is used in sage.  In the 8.* versions ntl has its own
>> error callback, but it has a different interface than the one in our
>> patch.
>>
>> Will sage (when?) be able to deal with ntl's native mechanism or do we
>> need the patch?  I can translate it to the new version, but it may make
>> no sense.
> 
> For now I think sage should stick with ntl-6.*. Victor (ntl upstream) is
> now on the sage-devel mailing list and is ready to help sage move on.
> Sage and packages used by sage are his main consumer after all.
> But right now no one has started the transistion.
> I think I may make noise for sage 6.7, at the moment we are
> re-organizing some of the code wrapping ntl and it may not be advisable
> to change the version at the same time.
> The following packages also need checking:
> flint
> singular (does 4.* depend on ntl as well)
> eclib
> linbox

I bumped ntl to 8.1.2 in the tree.  Both Singular and Macaulay2 fail
with something like

NTLconvert.cc:523:79: error: invalid cast from type ‘const
NTL::WrappedPtr<void, NTL::ZZ::Deleter>’ to type ‘long int*’
     int cc= mpn_get_str (cf_stringtemp, 16, (mp_limb_t *) (((long *)
(a.rep)) + 2), sizeofrep);

https://github.com/Macaulay2/M2/issues/214
https://github.com/Singular/Sources/issues/710

So I restricted the deps for now.  Flint works, and eclib and linbox are
not in the main tree or science overlay, so I consider those your
business :)

> I'll have a look at the one that still belong to the s-o-g overlay.

Great, thanks.

Thomas


-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to