The third issue I se with sage-4.4.2-alpha0 is the following. I did
the usual " export SAGE_BINARY_BUILD=yes " (the PIL spkg does not
build for me without this additional environment variable, something
that is "accepted") and " export MAKE='make -j2' " (my machine has a
Core2Duo CPU, so there), and then typed "make". At the end of the
install log, I then got:

Finished installing sagetex-2.2.5.spkg

real    171m37.446s
user    121m37.722s
sys     32m26.350s
To install gap, gp, singular, etc., scripts
in a standard bin directory, start sage and
type something like
   sage: install_scripts('/usr/local/bin')
at the Sage command prompt.

To build the documentation, run
   make doc

Sage build/upgrade complete!


Exactly, the Sage documentation is no longer built by "make"! I didn't
see a vote on this on sage-devel. If that change has been conscious
decision, I'm strongly against it. I'm OK with having e.g. build
targets "make build", building the spk and library parts only, and
having "make doc" building only the docs, but then "make" alone ought
to be equivalent to "make build && make doc", not "make build" alone.
Any comments?

I use(d) to build and test Sage in one go, typing "make && make
testlong", so the above change of behaviour resulted (of course ...)
in the following doctest failure:

sage -t  -long "devel/sage/sage/misc/sagedoc.py"
**********************************************************************
File "/Users/Shared/sage/test/sage-4.4.2.alpha0/devel/sage/sage/misc/
sagedoc.py", line 891:
    sage: len(search_doc('tree', interact=False).splitlines()) > 2000
Expected:
    True
Got:
    Warning, the following Sage documentation hasn't been built,
    so documentation search results may be incomplete:
    <BLANKLINE>
    /Users/Shared/sage/test/sage-4.4.2.alpha0/devel/sage/doc/output/
html/en/thematic_tutorials
    <BLANKLINE>
    You can build this with 'sage -docbuild thematic_tutorials html'.
    False
**********************************************************************
File "/Users/Shared/sage/test/sage-4.4.2.alpha0/devel/sage/sage/misc/
sagedoc.py", line 893:
    sage: len(search_doc('tree', whole_word=True,
interact=False).splitlines()) < 200
Expected:
    True
Got:
    Warning, the following Sage documentation hasn't been built,
    so documentation search results may be incomplete:
    <BLANKLINE>
    /Users/Shared/sage/test/sage-4.4.2.alpha0/devel/sage/doc/output/
html/en/thematic_tutorials
    <BLANKLINE>
    You can build this with 'sage -docbuild thematic_tutorials html'.
    True
**********************************************************************
File "/Users/Shared/sage/test/sage-4.4.2.alpha0/devel/sage/sage/misc/
sagedoc.py", line 496:
    sage: 'abvar/homology' in _search_src_or_doc('doc', 'homology',
'variety', interact=False)
Expected:
    True
Got:
    Warning, the following Sage documentation hasn't been built,
    so documentation search results may be incomplete:
    <BLANKLINE>
    /Users/Shared/sage/test/sage-4.4.2.alpha0/devel/sage/doc/output/
html/en/thematic_tutorials
    <BLANKLINE>
    You can build this with 'sage -docbuild thematic_tutorials html'.
    False
**********************************************************************
2 items had failures:
   2 of   5 in __main__.example_14
   1 of   7 in __main__.example_8
***Test Failed*** 3 failures.


After building the documentation with "make doc" (which runs through,
but shows quite some warning and error messages), the above doctest
finishes OK.


Cheers,
Georg

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to