Bug 845168 - Doesn't build in EL6
Summary: Doesn't build in EL6
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-tgcaptcha
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-02 05:00 UTC by Mathieu Bridon
Modified: 2020-11-30 15:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-30 15:02:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fix the build in EL6 (616 bytes, patch)
2012-08-02 05:02 UTC, Mathieu Bridon
no flags Details | Diff

Description Mathieu Bridon 2012-08-02 05:00:55 UTC
Description of problem:

When trying to build in EL6, I get the following:
+ /usr/bin/python setup.py build
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from turbogears.finddata import find_package_data
  File "/usr/lib/python2.6/site-packages/turbogears/__init__.py", line 10, in <module>
    from turbogears.controllers import (absolute_url, expose, flash, validate,
  File "/usr/lib/python2.6/site-packages/turbogears/controllers.py", line 19, in <module>
    from turbogears import view, database, errorhandling, config
  File "/usr/lib/python2.6/site-packages/turbogears/view/__init__.py", line 1, in <module>
    from turbogears.view import base
  File "/usr/lib/python2.6/site-packages/turbogears/view/base.py", line 31, in <module>
    from turbogears.i18n import get_locale, gettext
  File "/usr/lib/python2.6/site-packages/turbogears/i18n/__init__.py", line 4, in <module>
    from turbogears.i18n.tg_gettext import (gettext, ngettext, install,
  File "/usr/lib/python2.6/site-packages/turbogears/i18n/tg_gettext.py", line 8, in <module>
    from turbojson.jsonify import jsonify
ImportError: No module named turbojson.jsonify

This is because python-tgcaptcha BuildRequires TurboGears, and TurboGears Requires python-turbojson13

But python-turbojson13 is designed to be parallel installable with the python-turbojson package from RHEL 6.

Toshio (who maintains python-turbojson13) explained ot me on IRC that python-turbojson13 is designed to be parallel installable with the python-turbojson package from RHEL 6, and as such it can't be imported straight away.

So applications are responsible for jumping through a few hoops in order to import it:
>>> __requires__ = ['TurboJson >= 1.3']
>>> import pkg_resources

Then the import works fine.

Attaching a patch to fix the build.

Comment 1 Mathieu Bridon 2012-08-02 05:02:02 UTC
Created attachment 601865 [details]
Fix the build in EL6

Comment 3 Ben Cotton 2020-11-05 16:51:16 UTC
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is our policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version.

Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged  change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.

Comment 4 Ben Cotton 2020-11-05 16:53:59 UTC
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version.

Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version, you are encouraged to change the 'version' to a later version prior this bug is closed as described in the policy above.

Comment 5 Ben Cotton 2020-11-30 15:02:53 UTC
EPEL el6 changed to end-of-life (EOL) status on 2020-11-30. EPEL el6 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
EPEL please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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