F20 python 2.7.5-12 breaks cpopen

Francesco Romani fromani at redhat.com
Mon Jun 23 09:19:01 UTC 2014


The attached patch fixes locally.


----- Original Message -----
> From: "Francesco Romani" <fromani at redhat.com>
> To: "infra" <infra at ovirt.org>
> Sent: Monday, June 23, 2014 10:48:23 AM
> Subject: F20 python 2.7.5-12 breaks cpopen
> 
> Hi Infra,
> 
> I just discovered the hard way that the last python package in F20
> 
> # rpm -qi python
> Name        : python
> Version     : 2.7.5
> Release     : 12.fc20
> Architecture: x86_64
> Install Date: Mon 23 Jun 2014 08:28:32 AM CEST
> Group       : Development/Languages
> Size        : 80819
> License     : Python
> Signature   : RSA/SHA256, Thu 19 Jun 2014 04:49:28 PM CEST, Key ID
> 2eb161fa246110c1
> Source RPM  : python-2.7.5-12.fc20.src.rpm
> Build Date  : Thu 19 Jun 2014 02:54:35 PM CEST
> Build Host  : buildvm-24.phx2.fedoraproject.org
> Relocations : (not relocatable)
> Packager    : Fedora Project
> Vendor      : Fedora Project
> URL         : http://www.python.org/
> Summary     : An interpreted, interactive, object-oriented programming
> language
> 
> [...]
> 
> Includes this apparently innocuous change:
> * Thu Jun 19 2014 Bohuslav Kabrda <bkabrda at redhat.com> - 2.7.5-12
> - Fix test failures with SQLite 3.8.4
> - Fix double close of subprocess pipes when child process fails Resolves:
> rhbz#1103450 <<< THIS ONE!
> 
> Which is
> http://hg.python.org/cpython/rev/43749cb6bdbd
> 
> If we try to run VDSM tests using cpopen 1.3-2[1]
> 
> we'll get: http://fpaste.org/112115/
> 
> the fix is simple: just use execute_child_v276 and everything will work
> again.
> How can we detect and react properly to this schenario, however?
> 
> Thanks,
> 
> +++
> 
> [1]
> # rpm -qi python-cpopen
> Name        : python-cpopen
> Version     : 1.3
> Release     : 2.fc20
> Architecture: x86_64
> Install Date: Sat 15 Feb 2014 09:50:01 PM CET
> 
> 
> --
> Francesco Romani
> RedHat Engineering Virtualization R & D
> Phone: 8261328
> IRC: fromani
> _______________________________________________
> Infra mailing list
> Infra at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/infra
> 

-- 
Francesco Romani
RedHat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-compatibility-with-F20-s-python-2.7.5-12.patch
Type: text/x-patch
Size: 946 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20140623/8bb83f59/attachment.bin>


More information about the Infra mailing list