Bug 619968

Summary: libhid needs to be rebuilt against python 2.7 in F14 and devel
Product: [Fedora] Fedora Reporter: Thomas Spura <tomspur>
Component: libhidAssignee: Manuel F Martinez <manpaz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: a.badger, dmalcolm, manpaz, oget.fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libhid-0.2.17-6.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-01 19:23:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 619913    
Attachments:
Description Flags
This fixes the rebuild none

Description Thomas Spura 2010-07-31 01:38:39 UTC
The package needs to be rebuilt against python 2.7 in both F14 and devel.

Information on the new "dist-git" system can be seen here:
  http://fedoraproject.org/wiki/Using_Fedora_GIT

Information on common difficulties with Python 2.7 rebuilds can be seen here:
  https://fedoraproject.org/wiki/Features/Python_2.7

Once it's been successfully rebuilt for F14, an update needs to be filed to get the rebuild into F14:
  https://admin.fedoraproject.org/updates/new/

Please add this bug to the update, to make it easy to track what's been done, and what's left to do.

Thanks!


You can see the current failure in:
 http://koji.fedoraproject.org/koji/taskinfo?taskID=2367832

libhid requires:
SWIG version >= 1.3 is required.  You have 2.0.0.  You should look at http://www.swig.org

And therefore can't build the python extension.

Comment 1 Toshio Ernie Kuratomi 2010-07-31 02:35:29 UTC
Created attachment 435714 [details]
This fixes the rebuild

Patch updates the swig version that's needed to build.  However, I can't test this so I don't know if this is okay or not.

Comment 2 Toshio Ernie Kuratomi 2010-07-31 02:37:18 UTC
Also, I noted that the second patch in the current srpm is very fragile.  You shouldn't be patching configure after running autoreconf.  Changes in autoreconf could cause the patch to fail to apply.  Change this to patch configure.ac before running autoreconf.

Comment 3 Toshio Ernie Kuratomi 2010-07-31 02:38:46 UTC
And here's the scratch build with the patch added.
http://koji.fedoraproject.org/koji/taskinfo?taskID=2368023

Comment 4 Orcan Ogetbil 2010-08-01 18:17:54 UTC
I fixed this package. Basically I did the same thing via sed. Sorry for skipping your work :(

Comment 5 Fedora Update System 2010-08-01 18:21:13 UTC
libhid-0.2.17-6.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/libhid-0.2.17-6.fc14

Comment 6 Fedora Update System 2010-08-01 19:23:22 UTC
libhid-0.2.17-6.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.