#6645: [with patch, needs review] make sure bdist of sage-4.1.1 works before
release
---------------------+------------------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.1.1
Component: build | Keywords:
Reviewer: | Author:
Merged: |
---------------------+------------------------------------------------------
Comment(by mvngu):
Here's another test which offers some hope:
1. I took the source tarball of
[http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.rc2.tar
sage-4.1.1.rc2], compiled it and built the documentation both in HTML and
PDF formats with:
{{{
./sage -docbuild all html
./sage -docbuild all pdf
}}}
1. Applied the patch `trac_6645-scripts_doctest.patch` to the scripts
repository in `SAGE_ROOT/local/bin`. Manually edited the file
`SAGE_ROOT/spkg/install` so it now reads
{{{
#Build the documentation
#rm -rf "$SAGE_ROOT"/devel/sage-main/doc/output/doctrees
#rm -rf "$SAGE_ROOT"/devel/sage-main/doc/en/reference/sage/*
#"$SAGE_ROOT"/sage -docbuild --jsmath all html
"$SAGE_ROOT"/sage -docbuild all html
}}}
1. Made an experimental source distribution of the patched
`sage-4.1.1.rc2`, calling it say `sage-4.1.1.rc2-6645`.
1. Unpacked the experimental source distribution `sage-4.1.1.rc2-6645`
and compiled it.
1. Made a binary version from the compiled source.
1. Unpacked the binary tarball. Issued `make`, `make test`, and `./sage
-docbuild all html` in various permutations. In this case, the
documentation didn't rebuild.
1. Ran the command `./sage -docbuild --jsmath all html` and the
documentation was rebuilt. It also rebuilt with the command `./sage
-docbuild all html`. But then `make test` skipped over rebuilding the
documentation.
1. Ran the command `./sage -docbuild --jsmath all html` again and the
documentation was rebuilt another time. Executed the command `make test`
and the documentation was rebuilt again. But `./sage -docbuild all html`
skipped over rebuilding the documentation.
So the culprit here is the option `--jsmath` to the docbuild script. I'm
prepared to give the patches a positive review, provided that William is
happy with them.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6645#comment:11>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---