Bug 619997
Summary: | onboard needs to be rebuilt against python 2.7 in F14 and devel | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dave Malcolm <dmalcolm> | ||||
Component: | onboard | Assignee: | Fabian Affolter <mail> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | mail, oget.fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | onboard-0.93.0-3.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-08-03 02:18:51 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
Dave Malcolm
2010-07-31 09:26:07 UTC
Created attachment 435741 [details] Patch on onboard.spec I attempted to fix this, but ran into various problems. Attaching latest attempt as a patch. Current error is: http://koji.fedoraproject.org/koji/getfile?taskID=2368538&name=build.log Error on file "/builddir/build/BUILDROOT/onboard-0.93.0-2.fc14.noarch/usr/share/applications/onboard.desktop": No such file or directory presumably caused by: WARNING: the following files are not recognized by DistUtilsExtra.auto: PKG-INFO data/onboard-settings.desktop.in data/onboard.desktop.in po/onboard.pot Removal of pygtk2-devel due to this: http://koji.fedoraproject.org/koji/getfile?taskID=2368504&name=build.log Traceback (most recent call last): File "setup.py", line 41, in <module> scripts = ['onboard', 'onboard-settings'], File "/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py", line 95, in setup __requires(attrs, src_all) File "/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py", line 392, in __requires __add_imports(imports, s, attrs) File "/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py", line 338, in __add_imports if __external_mod(name, attrs): File "/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py", line 317, in __external_mod path = __import__(module).__file__ File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module> _init() File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init _gtk.init_check() RuntimeError: could not open display Looking at http://koji.fedoraproject.org/koji/packageinfo?packageID=7290 I see that the last version of this to actually build was onboard-0.91.2-5.fc12 onboard-0.93.0-3.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/onboard-0.93.0-3.fc14 I wrote patches to make this build properly. The setup uses distutils.extra, which has the tendency of initializing objects from the libraries that are being "import"ed. This caused the RuntimeError: could not open display The required hack is to pass a requires = [] to the setup() Next issue was to build and install the .desktop files. This patch can be upstream. Another issue was the .mo files do not get install through the setup. I did this manually during %install. Of course the maintainer can make some research on how to do this properly. Finally, all the scriptlets were missing. I added them, according to: http://fedoraproject.org/wiki/Packaging/ScriptletSnippets onboard-0.93.0-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |