#9896: Upgrading from 4.5.3 to 4.6.alpha* can fail (not limited to MacOS X)
----------------------------------------------------------------------------------+
Reporter: jhpalmieri
| Owner: GeorgSWeber
Type: defect
| Status: needs_work
Priority: blocker
| Milestone: sage-4.6
Component: build
| Keywords: upgrade update dependencies PARI NewPARI
Author: Leif Leonhardy
| Upstream: N/A
Reviewer:
| Merged:
Work_issues: Provide a patch (to setup.py) which fixes the Darwin linker
issue. |
----------------------------------------------------------------------------------+
Description changed by jdemeyer:
Old description:
> On two separate machines running OS X 10.6, upgrading from 4.5.3 to
> 4.6.alpha0 seemed to work -- no errors were reported -- but Sage fails to
> start:
> {{{
> ----------------------------------------------------------------------
> | Sage Version 4.6.alpha0, Release Date: 2010-09-10 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
> **********************************************************************
> * *
> * Warning: this is a prerelease version, and it may be unstable. *
> * *
> **********************************************************************
> *** bug in PARI/GP (Segmentation Fault), please report
> *** bug in PARI/GP (Segmentation Fault), please report
> }}}
> (Building from scratch works fine.)
>
> ----
>
> == How to test: ==
>
> (There's not yet an upgrade path to Sage 4.6.alpha'''3'''.)
>
> '''Upgrade path for testing the fixes (v2b versions):
> http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.upgradetest_alpha2/'''
>
> If you want to speed up the upgrade (i.e., reduce the number of packages
> that get rebuilt) on systems '''other than Cygwin, HP-UX and Solaris''',
> do the following '''before''' starting the upgrade:
> {{{
> #!sh
> $ touch spkg/installed/iconv-1.13.1.p3
> }}}
> (This package is only used on the above systems, but upgrading it
> triggers the rebuild of MPIR on '''any''' platform, which in turn causes
> rebuilding all packages that directly or indirectly depend on MPIR, the
> GMP replacement package.)
>
> On MacOS X, one should at the moment '''either''' do an "in-place"
> upgrade (without renaming the directory / copying the original
> installation) '''or''' do the following '''before''' running {{{./sage
> -upgrade ...}}}:
> {{{
> #!sh
> $ export LDSHARED="gcc -bundle -undefined dynamic_lookup"
> }}}
> (See also the [comment:63 comment below] regarding {{{LDSHARED}}}.)
>
> Do the upgrade:
> {{{
> #!sh
> $ ./sage -upgrade
> http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.upgradetest_alpha2/
> }}}
> Note that you'll be prompted to confirm upgrading (by typing "y" followed
> by carriage return), so be careful when {{{tee}}}ing the output, since
> currently the script's output isn't flushed s.t. you won't see the prompt
> in that case and perhaps wait forever... ;-)
>
> ----
>
> == To the release manager / How to merge this ticket: ==
> * Replace {{{spkg/install}}} by http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/9896/trac_9896-SAGE_ROOT__spkg__install.v2b
> * Replace {{{spkg/standard/deps}}} by http://trac.sagemath.org/sage_trac
> /raw-attachment/ticket/9896/trac_9896-SAGE_ROOT__spkg__standard__deps.v3
> * Apply http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/9896/trac_9896-propagate_upgrading_to_install_script-
> scripts_repo.patch to the '''scripts repository'''
> * Apply http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/9896/trac_9896-fix_extension_module_deps-sagelib.patch
> to the '''Sage library repository'''
> * '''Not yet present''': Apply the patch to {{{devel/sage/setup.py}}} to
> the '''Sage library repository'''
> * Run {{{./sage -sdist ...}}}
New description:
On two separate machines running OS X 10.6, upgrading from 4.5.3 to
4.6.alpha0 seemed to work -- no errors were reported -- but Sage fails to
start:
{{{
----------------------------------------------------------------------
| Sage Version 4.6.alpha0, Release Date: 2010-09-10 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
*** bug in PARI/GP (Segmentation Fault), please report
*** bug in PARI/GP (Segmentation Fault), please report
}}}
(Building from scratch works fine.)
----
== How to test: ==
(There's not yet an upgrade path to Sage 4.6.alpha'''3'''.)
'''Upgrade path for testing the fixes (v2b versions):
http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.upgradetest_alpha2/'''
If you want to speed up the upgrade (i.e., reduce the number of packages
that get rebuilt) on systems '''other than Cygwin, HP-UX and Solaris''',
do the following '''before''' starting the upgrade:
{{{
#!sh
$ touch spkg/installed/iconv-1.13.1.p3
}}}
(This package is only used on the above systems, but upgrading it triggers
the rebuild of MPIR on '''any''' platform, which in turn causes rebuilding
all packages that directly or indirectly depend on MPIR, the GMP
replacement package.)
On MacOS X, one should at the moment '''either''' do an "in-place" upgrade
(without renaming the directory / copying the original installation)
'''or''' do the following '''before''' running {{{./sage -upgrade ...}}}:
{{{
#!sh
$ export LDSHARED="gcc -bundle -undefined dynamic_lookup"
}}}
(See also the [comment:63 comment below] regarding {{{LDSHARED}}}.)
Do the upgrade:
{{{
#!sh
$ ./sage -upgrade
http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.upgradetest_alpha2/
}}}
Note that you'll be prompted to confirm upgrading (by typing "y" followed
by carriage return), so be careful when {{{tee}}}ing the output, since
currently the script's output isn't flushed s.t. you won't see the prompt
in that case and perhaps wait forever... ;-)
----
== To the release manager / How to merge this ticket: ==
* Replace {{{spkg/install}}} by http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/9896/trac_9896-SAGE_ROOT__spkg__install.v2b
* Apply the patch {{{9896_scripts_hgignore.patch}}} to the sage-scripts
repository.
* Replace {{{spkg/standard/deps}}} by http://trac.sagemath.org/sage_trac
/raw-attachment/ticket/9896/trac_9896-SAGE_ROOT__spkg__standard__deps.v3
* Apply http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/9896/trac_9896-propagate_upgrading_to_install_script-
scripts_repo.patch to the '''scripts repository'''
* Apply http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/9896/trac_9896-fix_extension_module_deps-sagelib.patch
to the '''Sage library repository'''
* '''Not yet present''': Apply the patch to {{{devel/sage/setup.py}}} to
the '''Sage library repository'''
* Run {{{./sage -sdist ...}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9896#comment:119>
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.