<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>33355</bug_id>
          
          <creation_ts>2017-04-11 01:18:49 +0300</creation_ts>
          <short_desc>После пересборки: OSError: [Errno 38] Function not implemented</short_desc>
          <delta_ts>2017-04-12 18:32:44 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python-base</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Vladimir D. Seleznev">vseleznv</assigned_to>
          <cc>evg</cc>
    
    <cc>vseleznv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>163133</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-04-11 01:18:49 +0300</bug_when>
    <thetext>* Ср мар 22 2017 Vladimir D. Seleznev &lt;vseleznv@altlinux.org&gt; 2.7.11-alt3.qa1
- NMU: rebuilt against Tcl/Tk 8.6

$ python 
Python 2.7.11 (default, Apr  7 2017, 11:12:07) 
[GCC 6.3.1 20170118 (ALT 6.3.1-alt2)] on linux2
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; from random import Random as _Random
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib64/python2.7/random.py&quot;, line 885, in &lt;module&gt;
    _inst = Random()
  File &quot;/usr/lib64/python2.7/random.py&quot;, line 97, in __init__
    self.seed(x)
  File &quot;/usr/lib64/python2.7/random.py&quot;, line 113, in seed
    a = long(_hexlify(_urandom(2500)), 16)
OSError: [Errno 38] Function not implemented
&gt;&gt;&gt; 

в предыдущей сборке работало.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163137</commentid>
    <comment_count>1</comment_count>
    <who name="Vladimir D. Seleznev">vseleznv</who>
    <bug_when>2017-04-11 03:31:22 +0300</bug_when>
    <thetext>$ uname -r
4.9.18-std-def-alt1
$ rpm -q glibc 
glibc-2.25-alt2.x86_64
$ python                                       
Python 2.7.11 (default, Apr  7 2017, 11:12:07)
[GCC 6.3.1 20170118 (ALT 6.3.1-alt2)] on linux2
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; from random import Random as _Random
&gt;&gt;&gt;
$ strace -o /dev/null -e fault=getrandom python 
Python 2.7.11 (default, Apr  7 2017, 11:12:07)
[GCC 6.3.1 20170118 (ALT 6.3.1-alt2)] on linux2
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; from random import Random as _Random
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib64/python2.7/random.py&quot;, line 885, in &lt;module&gt;
    _inst = Random()
  File &quot;/usr/lib64/python2.7/random.py&quot;, line 97, in __init__
    self.seed(x)
  File &quot;/usr/lib64/python2.7/random.py&quot;, line 113, in seed
    a = long(_hexlify(_urandom(2500)), 16)
OSError: [Errno 38] Function not implemented
&gt;&gt;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163179</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-04-12 18:32:44 +0300</bug_when>
    <thetext>python-2.7.11-alt4 -&gt; sisyphus:

* Tue Apr 11 2017 Gleb F-Malinovskiy &lt;glebfm@altlinux&gt; 2.7.11-alt4
- Fixed &apos;random&apos; module regression caused by glibc &gt;= 2.25 (closes: #33355).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>