Thanks John and Dima.

After trying several things, this seems to work:

% export MAKE="make -j20"
% make
and after it fails
% export MAKE="make -j1"
% make

with the following timings
1st make
Command exited with non-zero status 2
6376.23user 615.69system 28:02.58elapsed 415%CPU (0avgtext+0avgdata
1990544maxresident)k
0inputs+0outputs (207162major+103967193minor)pagefaults 0swaps
2nd make
491.39user 45.99system 12:03.84elapsed 74%CPU (0avgtext+0avgdata
1123680maxresident)k
0inputs+0outputs (11214major+8502313minor)pagefaults 0swaps

Then there is the same problem with make ptestlong.  But in this case I do
not know how to revert to make -j20 after
[sagemath_doc_html-none] successfully installed.
in order to speed up the real tests.

Guillermo

On Thu, 22 Dec 2022 at 10:57, Dima Pasechnik <[email protected]> wrote:

> does it happen if you explicitly call ./sage -docbuild ?
> (it's probreal testsably related to our parallel docbuilding code...)
>
> On Thu, Dec 22, 2022 at 6:06 AM John H Palmieri <[email protected]>
> wrote:
> >
> > And it would be great if we could fix it, but I don't know what the
> problem is. I've seen it on both Apple Silicon and on Apple Intel. On the
> Intel machine, when running "make doc-clean doc-uninstall && make" about
> half a dozen times, I hit the problem about half the time when using
> homebrew's Python, and I didn't hit it at all when forcing Sage to build
> its own Python. On the M2 machine, I ran into the problem no matter which
> Python I used.
> >
> > Both are using Venture 13.1 with the most recent command-line tools and
> a fair number of homebrew packages.
> >
> > On Wednesday, December 21, 2022 at 9:37:48 PM UTC-8 John H Palmieri
> wrote:
> >>
> >> I've seen this before, and I haven't been able to figure out what
> triggers it. It seems random: try "make doc-clean doc-uninstall && make"
> and it might succeed after a few attempts.
> >>
> >> On Wednesday, December 21, 2022 at 3:13:10 PM UTC-8 [email protected]
> wrote:
> >>>
> >>>
> >>> Help needed.
> >>>
> >>> This is on Apple Silicon Macs ("M" series) with Homebrew up to date.
> >>>
> >>> On macOS 13.1 (Ventura) with Xcode 14.2:  make fails:
> >>>
> >>> make --no-print-directory sagemath_doc_html-SAGE_DOCS-no-deps
> >>> [sagemath_doc_html-none] installing. Log file:
> /Users/admin/SageMath/Git/sage/logs/pkgs/sagemath_doc_html-none.log
> >>>   [sagemath_doc_html-none] error installing, exit status 2. End of log
> file:
> >>>
> >>> with
> >>>
> >>>
> ------------------------------------------------------------------------
> >>> (no backtrace available)
> >>>
> ------------------------------------------------------------------------
> >>> Unhandled SIGSEGV: A segmentation fault occurred.
> >>> This probably occurred because a *compiled* module has a bug
> >>> in it and is not properly wrapped with sig_on(), sig_off().
> >>> Python will now terminate.
> >>>
> ------------------------------------------------------------------------
> >>>
> >>> Logs attached.
> >>>
> >>> Guillermo
> >>>
> >>> On Wed, 21 Dec 2022 at 20:01, Volker Braun <[email protected]> wrote:
> >>>>
> >>>> As always, you can get the latest beta version from the "develop" git
> branch. Alternatively, the self-contained source tarball is at
> http://www.sagemath.org/download-latest.html
> >>>>
> >>>> 2114066f877 (tag: 9.8.beta6, trac/develop) Updated SageMath version
> to 9.8.beta6
> >>>> 7819a59980b Trac #34825: Uniformize headline: noncommutative
> polynomials
> >>>> b9234de9321 Trac #34815: pep cleanup in parallel/
> >>>> eff11ab368f Trac #34813: src/doc/en/installation/source.rst gives
> CRITICAL sphinx warnings
> >>>> 6925a6da0dd Trac #34797: some formatting for NOTE:: blocks
> >>>> 446b6209127 Trac #34787: streamline .set_order() methods for elliptic
> curves and points
> >>>> 59cbf53abe5 Trac #34785: fix and activate W291 in py files
> >>>> a7bb36ed0c8 Trac #34784: some care for E275
> >>>> 50549d91ff1 Trac #34781: fixing the linter, once again
> >>>> 20bcc1e3d83 Trac #34755: add _repr_svg_ for Dyck words
> >>>> eae8219187e Trac #34743: modernize super in root_systems
> >>>> eaff61b545e Trac #34835: openblas: Remove python from dependencies
> >>>> 8fe834dbcaf Trac #34823: deprecate is_GapElement
> >>>> 84246cc579f Trac #34819: Numerical separators behave inconsistently
> >>>> 3c5d4082ca1 Trac #34812: decompose identity into generators with
> coxeter3
> >>>> d85aee63b4e Trac #34802: fix some compilation warnings
> >>>> a45a9d1bbea Trac #34799: fix order of multiplication in coxeter_groups
> >>>> 8ba7eda1dcc Trac #34798: less use of type "long" in cython files
> >>>> c90d203d7d9 Trac #34770: fix coercion from libgap's finite fields,
> use libgap in sage/rings/finite_rings
> >>>> 253edd915ba Trac #34582: Commutative graded algebras: remove sorting
> restriction
> >>>> 03afc37a201 Trac #34515: factorization of symmetric functions
> >>>> 939e0a119b8 Trac #34444: Implement Groebner cover
> >>>> 7a376389e18 Trac #33875: an_element for statistics and maps
> >>>> d2a2415104c Trac #32841: zn_poly removal
> >>>> f3e9113e874 Trac #32390: Make "./configure
> --enable-download-from-upstream-url" the default
> >>>> ec1ef75e11e Trac #34795: Upgrade pybind11, docutils and other packages
> >>>> bb7ee856390 (tag: 9.8.beta5) Updated SageMath version to 9.8.beta5
> >>>
> >>>
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sage-release" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-release/fb9cb17b-675f-4257-961f-4b980e4167e0n%40googlegroups.com
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-release/CAAWYfq0fCCr2d1TQT2oKz6mb5TpsMCfNk-Ut2o1qTi9bx6h%2B%2Bg%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CANnG1893TpT5zq5%2Bw%2BQUUWcugttZPayOye%2BN%3Df7miGxO%2ByFO8w%40mail.gmail.com.

Reply via email to