1 |
Hi |
2 |
|
3 |
On 25/03/15 22:48, François Bissey wrote: |
4 |
> On 03/26/15 05:08, Thomas Kahle wrote: |
5 |
>> dev-libs/ntl is at 8.1.2 already (we have 6.* in the tree). I'd work on |
6 |
>> the bump if nobody else is. |
7 |
>> |
8 |
>> For the 6.* versions there is a patch which implements an error callback |
9 |
>> mechanism which is used in sage. In the 8.* versions ntl has its own |
10 |
>> error callback, but it has a different interface than the one in our |
11 |
>> patch. |
12 |
>> |
13 |
>> Will sage (when?) be able to deal with ntl's native mechanism or do we |
14 |
>> need the patch? I can translate it to the new version, but it may make |
15 |
>> no sense. |
16 |
> |
17 |
> For now I think sage should stick with ntl-6.*. Victor (ntl upstream) is |
18 |
> now on the sage-devel mailing list and is ready to help sage move on. |
19 |
> Sage and packages used by sage are his main consumer after all. |
20 |
> But right now no one has started the transistion. |
21 |
> I think I may make noise for sage 6.7, at the moment we are |
22 |
> re-organizing some of the code wrapping ntl and it may not be advisable |
23 |
> to change the version at the same time. |
24 |
> The following packages also need checking: |
25 |
> flint |
26 |
> singular (does 4.* depend on ntl as well) |
27 |
> eclib |
28 |
> linbox |
29 |
|
30 |
I bumped ntl to 8.1.2 in the tree. Both Singular and Macaulay2 fail |
31 |
with something like |
32 |
|
33 |
NTLconvert.cc:523:79: error: invalid cast from type ‘const |
34 |
NTL::WrappedPtr<void, NTL::ZZ::Deleter>’ to type ‘long int*’ |
35 |
int cc= mpn_get_str (cf_stringtemp, 16, (mp_limb_t *) (((long *) |
36 |
(a.rep)) + 2), sizeofrep); |
37 |
|
38 |
https://github.com/Macaulay2/M2/issues/214 |
39 |
https://github.com/Singular/Sources/issues/710 |
40 |
|
41 |
So I restricted the deps for now. Flint works, and eclib and linbox are |
42 |
not in the main tree or science overlay, so I consider those your |
43 |
business :) |
44 |
|
45 |
> I'll have a look at the one that still belong to the s-o-g overlay. |
46 |
|
47 |
Great, thanks. |
48 |
|
49 |
Thomas |
50 |
|
51 |
|
52 |
-- |
53 |
Thomas Kahle |
54 |
http://dev.gentoo.org/~tomka/ |