New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12569 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

gnome-doc-utils: xml2po uses insane amounts of memory

Reported by: afb@… Owned by: rhwood@…
Priority: High Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: boeyms@…
Port:

Description

Seems like gnome-doc-utils doesn't work with Python 2.5, it can't find docbook module due to e.g. missing "md5" module and it uses well over 2 GB of memory to process a 20KB input file.

Switching back to python24 cuts back on the dependencies and makes it finish in seconds.

Attachments

gnome-doc-utils-downgrade.diff Download (0.7 KB) - added by afb@… 4 years ago.

Change History

Changed 4 years ago by afb@…

It was broken in r27763, two weeks ago.

Changed 4 years ago by rhwood@…

  • owner changed from macports-dev@… to rhwood@…
  • status changed from new to assigned

I wonder if this issue is the result of using a toolset that is partially on python 2.4 and partially on python 2.5?

Changed 4 years ago by afb@…

I'm not sure, but it would be nice if this issue and the missing /opt/local/bin/python could be addressed since it affects MacPorts users daily (usually installing "avahi" or other GNOME).

Changed 4 years ago by rhwood@…

What port were you attempting to install when this error was noticed?

Please note that xml2po did this on certain ports prior to the upgrade from python 2.4 to python 2.5

/opt/local/bin/python was explicitely removed to avoid collisions between the python24 and python25 ports. Install port python_select and use the command python-select to set your preferred python version to /opt/local/bin/python

Changed 4 years ago by rhwood@…

  • cc boeyms@… added

Changeset:28405 upgrades gnome-doc-utils to version 0.11.2, but retains the use of python 2.5. Can you please test it?

CCing boeyms on this as he might have a better understanding of what's going on than I do...

Changed 4 years ago by rhwood@…

Please let me know if installing py25-twisted before installing the problem port has any effect on this issue.

Thank you. (I'd test, but I am about to be late for a class).

Changed 4 years ago by afb@…

I know that you need to install/use python_select. The average new MacPorts users doesn't.

Changed 4 years ago by afb@…

Upgrading gnome-doc-utils: doesn't help.

Installing py25-twisted: no change either.

The "gnome-panel" (etc) build still "freezes", due to xml2po eating all memory and swapping.

Switching back to the python24 version of gnome-doc-utils, and build zooms right by...

Changed 4 years ago by afb@…

Changed 4 years ago by rhwood@…

Is this still an issue for any of you?

I am no longer able to reproduce this issue.

Changed 4 years ago by gui_dos@…

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r34111

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.