<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Hey folks,<div><br></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=787712" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=787712</a></div><div>I am hitting this bug very frequently on Fedora 16 where python deadlocks. &nbsp;I tried to apply the patch in this bug to python.src.rpm currently in Fedora 16, but my local rpmbuild fails with a test error. &nbsp;After disabling %check rpmbuild fails with these missing files:</div>
<div><br></div><div><div>&nbsp; &nbsp; File not found: /home/warren/rpmbuild/BUILDROOT/python-2.7.2-5.2.fc16.fork.x86_64/usr/lib64/python2.7/lib-dynload/ossaudiodev.so</div><div>&nbsp; &nbsp; File not found: /home/warren/rpmbuild/BUILDROOT/python-2.7.2-5.2.fc16.fork.x86_64/usr/lib64/python2.7/plat-linux2</div>
</div><div><br></div><div>It seems python is missing some BuildRequires.</div><div><br></div><div>Anyhow, who maintains python these days? &nbsp;Could we please go ahead with a F16 test update? &nbsp;This is a pretty serious issue. =(</div>
<div><br></div><div>Warren Togami</div><div><a href="mailto:wtogami@gmail.com" target="_blank">wtogami@gmail.com</a></div>
<br>_______________________________________________<br>python-devel mailing list<br>python-devel@lists.fedoraproject.org<br>https://admin.fedoraproject.org/mailman/listinfo/python-devel</blockquote><br>Hi Warren,<br>
I reproduced the bug on F16 and here is what I found, comparing to the original Koji built:<br>
<br>
Koji:<br>
...<br>
checking MACHDEP... linux2<br>
...<br>
Python build finished, but the necessary bits to build these modules were not found:<br>
bsddb185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sunaudiodev<br>
<br>
My local mock:<br>
...<br>
checking MACHDEP... linux3<br>
...<br>
Python build finished, but the necessary bits to build these modules were not found:<br>
bsddb185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imageop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
linuxaudiodev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ossaudiodev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sunaudiodev<br>
To find the necessary bits, look in setup.py in detect_modules() for the module's name.<br>
<br>
I'm not sure, but it seems, that plat-linux2 is replaced by plat-linux-3
 because of the MACHDEP change - I'm not sure, but was the previous 
build of Python in Koji on 2.x.x kernel? If yes, this would explain 
this, because that is how MACHDEP is constructed in configure.<br>
<br>
So the solution is to run make with MACHDEP="linux2" so that everything 
gets compiled, but the directory plat-linux2 won't be present anymore, 
which is I think fine and should be replaced by plat-linux3 in the %files 
section.<br>
<br>
&lt;sigh&gt;And after digging so deep, I found out that this was already discussed here [1] and fixed in this revision [2]. So after applying [2], the directory should stay plat-linux2 and everything should work, also.&lt;/sigh&gt;<br><br>-- <br><div><span name="x"></span>Regards,<br>Bohuslav "Slavek" Kabrda.<span name="x"></span><br><br>[1] http://bugs.python.org/issue12326<br>[2] http://hg.python.org/cpython/rev/265da863d017<br></div></div></body></html>