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

Alexander N. Moibenko moibenko at fnal.gov
Thu Sep 8 12:17:21 EDT 2016



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 at dmsen02 enstore-log]$ cat /etc/redhat-release
>> Scientific Linux Fermi release 6.5 (Ramsey)
>> Please note that the same set of modules buils with python 2.6.3 and
>> fails with python 2.7.... ( I mean any pyhon 2.7 release).
>>
>>
>> On 09/08/2016 09:51 AM, Chris Angelico wrote:
>>> On Fri, Sep 9, 2016 at 12:48 AM, Alexander N. Moibenko
>>> 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 provide some more information about the machine you're trying
>>> to compile this on?
>>>
>>> ChrisA
> Cant make out much
> I suspect gcc gets inconsistent (with itself) across widely disparate versions
> When I give [ubuntu 16.4]
> $ gcc -v
> I get
> gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)
> (along with a lot of other stuff!)
>
> What does your gcc say?
gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)



More information about the Python-list mailing list