After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642673 - Python version requirement
Python version requirement
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: python
2.7.8
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-18 14:46 UTC by ivanllopard
Modified: 2021-07-05 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ivanllopard 2011-02-18 14:46:02 UTC
See below the error report



/usr/bin/python ../../python/generator.py ../../python
Found 1605 functions in libxml2-api.xml
Found 55 functions in libxml2-python-api.xml
Traceback (most recent call last):
  • File "../../python/generator.py", line 1186 in ?
    buildStubs()
  • File "../../python/generator.py", line 556 in buildStubs
    for function in sorted(functions.keys()):
NameError: global name 'sorted' is not defined
make[3]: *** [gen_prog] Error 1



sorted() built-in function used at generator.py:556 is available since python version 2.4. I think it could be related to the following error during execution of configure script:


Found Python version 2.3
../configure: line 13535: python2.3-config: command not found


I think configure.in doesn't check if it exists before executing it. Anyways, sorted() is not present in python 2.3, the package requires python 2.4 or later.

Best regards,

Ivan
Comment 1 GNOME Infrastructure Team 2021-07-05 13:23:36 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxml2/-/issues/

Thank you for your understanding and your help.