#14263: if build fails, print message about which spkgs failed
---------------------------------+------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-5.9
Component: build | Resolution:
Keywords: build fail | Work issues:
Report Upstream: N/A | Reviewers: Volker Braun
Authors: John Palmieri | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by leif):
Replying to [comment:4 vbraun]:
> Looks good to me.
WTF? Flooding the terminal such that the messages get even less readable
(if more than one package failed to build at least, and not necessarily in
this attempt).
Why not first inspect `$SAGE_BUILD_DIR` (if set, `$SAGE_ROOT/spkg/build/`
otherwise) unless `$SAGE_KEEP_BUILT_SPKGS=yes`?
If `$SAGE_PARALLEL_SPKG_BUILD!=yes`, the error should be obvious from
previous messages, so I'd change the behaviour in that case.
IMHO we should really print ''a list'' of the spkgs that ''may'' have
failed to build, along with the locations of their logs and build dirs
(taking into account `$SAGE_BUILD_DIR`).
To only check recent logs, we should use `find ... -newer
"$SAGE_ROOT/.BUILDSTART" ...` for the files to grep. (We could in
addition check whether `$SAGE_BUILD_DIR/package` is present, which should
always be the case unless ''the extraction'' of the spkg failed.)
----
`tail -n ...` of course works on Solaris; you just have to use the right
one (`/usr/xpg4/bin/tail`). ;-)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14263#comment:5>
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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.