Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
On 09/08/2016 12:19 PM, Chris Angelico wrote: On Fri, Sep 9, 2016 at 2:50 AM, Alexander N. Moibenko wrote: The output is long so, I am replying to you only: Not too long, fortunately. Replying back to the list with a trimmed version. make[1]: Entering directory `/opt/enstore/src

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
On 09/08/2016 11:06 AM, Rustom Mody wrote: On Thursday, September 8, 2016 at 8:57:23 PM UTC+5:30, Alexander N. Moibenko wrote: Yes this Linux Red Hat 6. [enstore@dmsen02 enstore-log]$ cat /etc/redhat-release Scientific Linux Fermi release 6.5 (Ramsey) Please note that the same set of

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
wrote: On Fri, Sep 9, 2016 at 12:48 AM, Alexander N. Moibenko wrote: In fact I tried issuing commands manually, but they did not give me any hint more than I already had. In python 2.6 this all works with the same libc, of course (because I tried to compile on the same machine). Can you

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
In fact I tried issuing commands manually, but they did not give me any hint more than I already had. In python 2.6 this all works with the same libc, of course (because I tried to compile on the same machine). Thanks anyway. On 09/08/2016 01:22 AM, dieter wrote: "Alexander N. Moi

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
Finney wrote: "Alexander N. Moibenko" writes: /opt/python/Python-2.7.12/./Modules/posixmodule.c:7578: warning: the use of `tempnam' is dangerous, better use `mkstemp' collect2: ld returned 1 exit status How this can be fixed? The clearest answer is already there in the warn

Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-07 Thread Alexander N. Moibenko
Hello, when I build a binary with python 2.6 it builds without any problem. When I build with python 2.7 the build fails after warnings like: /opt/python/Python-2.7.12/Modules/posixmodule.o: In function `posix_tempnam': /opt/python/Python-2.7.12/./Modules/posixmodule.c:7578: warning: the use of