Bug 619968 - libhid needs to be rebuilt against python 2.7 in F14 and devel
Summary: libhid needs to be rebuilt against python 2.7 in F14 and devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libhid
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Manuel F Martinez
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Python27Rebuild
TreeView+ depends on / blocked
 
Reported: 2010-07-31 01:38 UTC by Thomas Spura
Modified: 2010-08-01 19:23 UTC (History)
4 users (show)

Fixed In Version: libhid-0.2.17-6.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-01 19:23:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
This fixes the rebuild (466 bytes, patch)
2010-07-31 02:35 UTC, Toshio Ernie Kuratomi
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.