-
-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Sage's MPIR spkg to version 2.1.3 #8664
Comments
comment:1
The XGCD issue needs some work w.r.t. doctests (but not only, see below), maybe David Harvey has something done already in this direction when preparing the optional "true" GMP spkg he maintains. (I don't find the thread right now, but I seem to remember he said something in this direction). Snippet from a private communication by Bill Hart (MPIR upstream):
Also note that as soon as this ticket here is closed, we should mark #8455 as invalid. |
comment:4
I've put an spkg at http://sage.math.washington.edu/home/mhansen/mpir-2.1.1.spkg Interestingly, I did not get any of the failures listed above. |
Author: Mike Hansen |
comment:7
Hmmm,
Also, The dependencies ("None") in If nobody else wants to, I could make the changes, i.e. a reviewer patch. Just let me know... Going to test the new spkg with Sage 4.5.3.alpha2 and 4.6.prealpha3 (on Linuces only). |
comment:8
Dave, as it seems you're addicted to testing, you could also test this new spkg (e.g. on Solaris, OpenSolaris)... ;-) |
comment:9
I guess unless we bump the patch levels of all packages that depend on GMP/MPIR (and ECM), this package breaks upgrading Sage (at least with the current upgrade process), due to interface change (in conjunction with shared library versioning). The same applies to testing this package (and/with ECM 6.3 from #5847); one has to either build from scratch or delete Perhaps one could simply (conditionally) do the latter in |
comment:10
Defining Rebuilding Sage 4.5.3.alpha2 with MPIR 2.1.1 and ECM 6.3 from scratch worked on Ubuntu 10.04 x86_64 (parallel build with 32 jobs); |
comment:11
Replying to @nexttime:
I think this could be fixed by making extension modules also depend on (some of) the libraries they use (in
Same for Fedora 13 x86 (parallel build with 6 jobs), also Unfortunately, there seems to be some incompatibility between the new PARI (2.4.3.svn-12577.p4) or - more precisely - the required changes to Sage's interface to PARI in order to upgrade PARI (Sage 4.6.prealpha3, see #9343 and the NewPARI Wiki page) and MPIR 2.1.1: On Ubuntu 10.04 x86_64 (Core2, gcc 4.4.3) exactly two of all doctests ( On Fedora 13 x86 (Pentium 4 Prescott, gcc 4.4.4) the same two doctests and another one in Maybe all are due to memory (or stack) corruption. See #9343 comment:327 ff. for details; we haven't yet opened a separate ticket. (For testing with Sage 4.6.prealpha3, I copied the MPIR 2.1.1 and ECM 6.3 spkgs to |
comment:12
Replying to @nexttime:
This is due to the new PARI using undocumented features of GMP (that MPIR doesn't support). and is now addressed at #9837. |
comment:13
Replying to @nexttime:
This is not necessarily the (only) cause. Jeroen has found a definite bug in MPIR 2.1.1 he'll report upstream; see #9837. Leaving the ticket "needs review", though I don't think we should upgrade MPIR until that bug is fixed, in a later release. |
comment:14
Replying to @nexttime:
Sounds good to me. |
comment:15
The problem of ticket #9837 has been fixed in MPIR svn, it was purely a bug in MPIR 2.1.1. |
comment:16
Please upgrade to MPIR 2.1.2, where #9837 is fixed. |
comment:18
Apparently they've released MPIR 2.1.2 with just this bug fixed today. Haven't tested that yet. |
comment:19
Replying to @nexttime:
At least passes all (long) tests in The diff shows they just fixed that single bug, bumped the MPIR version number (patch level) and incremented the revision numbers of both shared libraries. (In addition, they changed the date of the documentation without actually changing the docs themselves. The file |
This comment has been minimized.
This comment has been minimized.
comment:127
Had to fix the changelog and some file permissions. Corrected spkg at new location. |
comment:128
I'm not sure if this is the best place to report this since the ticket has been merged, but in building vanilla sage-4.7.2.alpha3 on x86, mpir-2.1.3.p4 fails with
I've never seen this before. The machine is running debian, but the sage build was done from within a gentoo prefix. So the build is basically one using gentoo. There doesn't seem to be a problem on amd64. I still have the build log. |
comment:129
Replying to @strogdon:
See sage-release and this mpir-devel thread. I'm sorry I didn't catch this earlier, but it's a waste of resources to run 32-bit operating systems (or software in general) on 64-bit processors... ;-) I'll provide follow-up spkgs (also at #11616) that will fix this without the need to set By the way, MPIR 2.5.0 should get released in the next days as well, so I'll presumably also make an spkg based on that. |
comment:130
Replying to @nexttime:
An MPIR 2.1.3.p5 spkg fixing this is now available at #11896, currently needing review. |
Changed merged from sage-4.7.2.alpha3 to none |
comment:134
Another cyclic dependency... ;-) (#11698 depends on this ticket) A new FLINT spkg (still 1.5.0, a p10) fixing the FLINT test suite build error (occurring in combination with any recent GMP / MPIR version like the one here) by just applying an upstream patch from FLINT 1.5.2 is ready for review at #9858. (FLINT 1.5.2 and 1.6 spkgs will now most probably be on follow-up tickets to #9858.) |
Merged: sage-4.7.3.alpha0 |
Milestone sage-4.7.3 deleted |
Changed merged from sage-4.7.3.alpha0 to sage-4.8.alpha0 |
comment:139
Replying to @nexttime:
As it turns out, this change seems to break MPIR on Cygwin. See this sage-windows thread. |
New spkg: http://sage.math.washington.edu/home/leif/Sage/spkgs/mpir-2.1.3.p4.spkg
md5sum:
197c652a6bdbf20c2e47be9176a8616e mpir-2.1.3.p4.spkg
Apply attachment: trac_8664-fix_extmod_deps_for_MPIR_generically-sagelib-rebased_to_4.7.2.alpha2.patch to the Sage library (after installation of the spkgs and a rebuild of dependent packages).
See comment(s) below on how to "manually" install and test the new packages. (ECM has to be updated, too, package is at #5847.)
#9522 can be closed as invalid / duplicate once this ticket has been merged.
Depends on #5847
Depends on #9858
Depends on #11896
CC: @williamstein @nexttime @sagetrac-drkirkby @jdemeyer @wbhart @jpflori
Component: packages: standard
Keywords: sd32, GMP ECM execstack Fedora 14 extension module library dependencies Darwin 11 MacOS X 10.7 Lion
Author: Mike Hansen, Leif Leonhardy
Reviewer: Leif Leonhardy, Dmitrii Pasechnik
Merged: sage-4.8.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8664
The text was updated successfully, but these errors were encountered: