#17420: when building, check that user isn't root
-------------------------------------+-------------------------------------
       Reporter:  jhpalmieri         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.5
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/when_building__check_that_user_isn_t_root|  
a156a7850e90b34995794476a20e9741d7718519
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Volker Braun', 'oldvalue': ''}):

 * status:  new => needs_review
 * author:   => Volker Braun


Old description:

> A number of reported build errors on sage-devel seem to arise because
> people are building as root. We should check for this in the
> `./configure` script and print a clear message, rather than the current
> situation (letting the build continue for a while and then printing
> something a bit more cryptic).

New description:

 A number of reported build errors on sage-devel seem to arise because
 people are building as root. We should check for this in the `./configure`
 script and print a clear message, rather than the current situation
 (letting the build continue for a while and then printing something a bit
 more cryptic).

 Now fails early-on:
 {{{
 [root@dhcp-163-1-81-129 git]# ./configure
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking whether to enable maintainer-specific portions of Makefiles...
 yes
 checking for root user... yes
 configure: error: You cannot build Sage as root, switch to a unpriviledged
 user
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17420#comment:3>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to