#20884: line buffering in sage-logger causes "hang" due to invisible prompt when
installing experimental packages
-------------------------------------+-------------------------------------
       Reporter:  mkoeppe            |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  critical           |    Milestone:  sage-7.3
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Erik Bray          |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:  u/embray/disable-  |       Commit:
  exp-pkg-prompt                     |  ccff00540641c9a7b19166c550433b6d4495a5ba
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by embray):

 `make <packagename>` is how all packages are built.  `sage -i` is just a
 thin front-end over that.

 It appears the warning/prompt comes from the `sage-spkg` (which is the
 program responsible for unpacking the package, running `spkg-install`,
 etc) which is in turn called by make.

 I tried reworking this yesterday in a way that didn't change `sage-spkg`,
 but to make that prompt happen ''right'' away it would have to moved
 either into the makefile itself, or into the `sage` command, though I
 think it's good to have the warning when running `sage-spkg` too.  So I'd
 hate to have duplicate copies of the warning.

 In other words it's not exactly clear where the best place would be for
 it.  Jeroen might have some ideas but he's on holiday right now so we
 won't bug him about it.

--
Ticket URL: <https://trac.sagemath.org/ticket/20884#comment:15>
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.

Reply via email to