#21102: Top-level 'configure' doesn't properly exit upon errors in build/pkgs/,
instead breaks the build
-------------------------------------+-------------------------------------
Reporter: leif | Owner:
Type: defect | Status: positive_review
Priority: blocker | Milestone: sage-7.3
Component: build: configure | Resolution:
Keywords: configure package | Merged in:
type missing build error |
Authors: Leif Leonhardy | Reviewers: Volker Braun
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/leif/really_exit_configure_on_errors|
84c7b76c7a6a55eef0cdf451b6bbf8e860e40a3a
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by leif):
Replying to [comment:5 vbraun]:
> Lets just say that exception handling isn't bash's strong suit...
Well, that's standard(ized) (Bourne) shell behavior.
\\
> IMHO the entire autogenerating-Makefile should be converted to Python
and moved into `sage_bootstrap` for a) error checking sanity and b)
testability and c) having a single point of truth for if and when a
directory is a package. But not on this ticket...
Even if we keep it in `configure[.ac]`, the shell functions could be
improved (e.g. not rereading the folders and files five times). But we
could of course use Python there as well, where it (creating the Makefile)
IMHO belongs.
Note that while we meanwhile require a system python, AFAICS there's not a
single test for python in `configure`yet.
--
Ticket URL: <https://trac.sagemath.org/ticket/21102#comment:7>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.