#9343: Upgrade PARI to svn snapshot 12577 - a pre-release of PARI 2.4.3.
---------------------------------------------------------------------------------------------------------------------------+
Reporter: was
| Owner: jdemeyer
Type: enhancement
| Status: needs_work
Priority: blocker
| Milestone: sage-4.6
Component: packages
| Keywords:
Author: Robert Bradshaw, John Cremona, Jeroen Demeyer, William Stein,
David Kirkby | Upstream: N/A
Reviewer: Robert Bradshaw, John Cremona, Jeroen Demeyer, William Stein,
David Kirkby, François Bissey, Leif Leonhardy | Merged:
Work_issues:
|
---------------------------------------------------------------------------------------------------------------------------+
Comment(by leif):
Replying to [comment:320 leif]:
> On 64-bit Ubuntu 10.04 LTS the build failed in the first place (MPIR and
Tachyon); simply rerunning {{{make}}} the build succeeded, and all long
tests passed.
>
> Perhaps another missing dependency that only rarely comes into play in
parallel builds. (This never happened before, and 4.5.3.alpha2 built fine
with the same settings). I'll have to inspect that further.
Well, installing Tachyon actually did ''not'' fail; I hadn't looked at the
whole log.
It first tries a 32-bit build (prepending {{{-m32}}} to {{{CFLAGS}}}),
which indeed fails with a {{{make}}} error. But this is catched by some
Tachyon script I think, followed by an attempt to do a 64-bit build, which
then succeeds. Quite odd, though the whole process of installing the
Tachyon spkg takes less than four seconds for me (on that machine)...
The MPIR failure seems to be due to a race condition:
{{{
...
make[4]: Entering directory
`/home/leif/Sage/sage-4.6.prealpha3/spkg/build/mpir-1.2.2.p1/src'
make[4]: warning: -jN forced in submake: disabling jobserver mode.
make[5]: Entering directory
`/home/leif/Sage/sage-4.6.prealpha3/spkg/build/mpir-1.2.2.p1/src'
make[5]: warning: -jN forced in submake: disabling jobserver mode.
test -z "/home/leif/Sage/sage-4.6.prealpha3/local/lib" || mkdir -p --
"/home/leif/Sage/sage-4.6.prealpha3/local/lib"
test -z "/home/leif/Sage/sage-4.6.prealpha3/local/include" || mkdir -p --
"/home/leif/Sage/sage-4.6.prealpha3/local/include"
test -z "/home/leif/Sage/sage-4.6.prealpha3/local/include" || mkdir -p --
"/home/leif/Sage/sage-4.6.prealpha3/local/include"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libmpir.la'
'/home/leif/Sage/sage-4.6.prealpha3/local/lib/libmpir.la'
/usr/bin/install -c -m 644 'mpirxx.h'
'/home/leif/Sage/sage-4.6.prealpha3/local/include/mpirxx.h'
/usr/bin/install -c -m 644 'mpir.h'
'/home/leif/Sage/sage-4.6.prealpha3/local/include/mpir.h'
make -j32 install-data-hook
make[6]: Entering directory
`/home/leif/Sage/sage-4.6.prealpha3/spkg/build/mpir-1.2.2.p1/src'
make[6]: warning: -jN forced in submake: disabling jobserver mode.
(cd /home/leif/Sage/sage-4.6.prealpha3/local/include && rm -f gmp.h &&
cp mpir.h gmp.h)
cp: cannot stat `mpir.h': No such file or directory
make[6]: *** [install-data-hook] Error 1
make[6]: Leaving directory
`/home/leif/Sage/sage-4.6.prealpha3/spkg/build/mpir-1.2.2.p1/src'
make[5]: *** [install-data-am] Error 2
make[5]: *** Waiting for unfinished jobs....
...
}}}
I haven't looked at MPIR's Makefile(s); perhaps some dependency is missing
there.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9343#comment:324>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.