Re: [sage-devel] tachyon-0.98.9.p5 build error in Linux

2017-03-07 Thread Francois Bissey
doctesting will fail but building is OK, if dangerous if you are not sandboxed
one way or another.

François

> On 8/03/2017, at 18:59, John H Palmieri  wrote:
> 
> Although it's not a good idea to build Sage as root. I think it is likely to 
> fail -- someone please correct me if I'm wrong.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] tachyon-0.98.9.p5 build error in Linux

2017-03-07 Thread John H Palmieri
Although it's not a good idea to build Sage as root. I think it is likely 
to fail -- someone please correct me if I'm wrong.

   John


On Tuesday, March 7, 2017 at 6:37:33 PM UTC-8, François wrote:
>
> Not at all. It has to do with sage’s python including this patch 
>
> https://github.com/sagemath/sage/blob/master/build/pkgs/python2/patches/sys_path_security-issue_16202.patch
>  
> it is something that Dima mentioned earlier in the thread. 
>
> François 
>
> > On 8/03/2017, at 15:24, Gere Mia  
> wrote: 
> > 
> > Does this have something to do with my building Sage as root? 
> > 
> > On Tuesday, March 7, 2017 at 7:23:40 PM UTC-7, Gere Mia wrote: 
> > Now I get this error regarding installing package pip-8.1.2.p1: 
> > sys:1: RuntimeWarning: not adding directory '' to sys.path since it's 
> not owned by a trusted user. 
> > Untrusted users could put files in this directory which might then be 
> imported by your Python code. As a general precaution from similar 
> exploits, you should not execute Python code from this directory 
> > /tmp/SBo/sage-7.5.1/local/bin/python: No module named pip 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "sage-devel" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-devel+...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] tachyon-0.98.9.p5 build error in Linux

2017-03-07 Thread Francois Bissey
Not at all. It has to do with sage’s python including this patch
https://github.com/sagemath/sage/blob/master/build/pkgs/python2/patches/sys_path_security-issue_16202.patch
it is something that Dima mentioned earlier in the thread.

François

> On 8/03/2017, at 15:24, Gere Mia  wrote:
> 
> Does this have something to do with my building Sage as root?
> 
> On Tuesday, March 7, 2017 at 7:23:40 PM UTC-7, Gere Mia wrote:
> Now I get this error regarding installing package pip-8.1.2.p1:
> sys:1: RuntimeWarning: not adding directory '' to sys.path since it's not 
> owned by a trusted user.
> Untrusted users could put files in this directory which might then be 
> imported by your Python code. As a general precaution from similar exploits, 
> you should not execute Python code from this directory
> /tmp/SBo/sage-7.5.1/local/bin/python: No module named pip
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] tachyon-0.98.9.p5 build error in Linux

2017-03-07 Thread Francois Bissey
Apart from a possible unusual version of make could you 
try 
MAKE=“make -d” ./sage -p tachyon
That will generate a lot of output but there could be a clue
as to why it tries to go in a folder - which is totally abnormal.

François

> On 7/03/2017, at 06:35, Gere Mia  wrote:
> 
> I get this build error when trying to build tachyon-0.98.9.p5 in the recent 
> Sage 7.5.1.
> Is there a fix for this?
> thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] tachyon-0.98.9.p5 build error in Linux

2017-03-07 Thread Jeroen Demeyer

Just a guess: do you have a broken/unusual version of Make?

I would suggest to try upgrading to the latest version of GNU Make and 
try again.


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.