GNOME Bugzilla – Bug 584283
endless loop when executing command "clean" if the module type doesn't support it
Last modified: 2009-06-02 16:57:39 UTC
Please describe the problem: When instructing jhbuild to execute the "clean" command (from the CLI), jhbuild will go into an endless loop if the module type doesn't support this phase. Steps to reproduce: 1. ./sugar-jhbuild clean telepathy-python (uses telepathy-python uses distutils) Actual results: hang with 100% CPU Expected results: just finish successfully immediately (this command is executed automatically by BuildBot). Does this happen every time? yes Other information: The problem probably is in jhbuild.frontends.buildscript.BuildScript.build(), line 124: If the phase does not exist, the while loop is restarted without incrementing num_phase.
Fixing product.
Thanks for your detailed report, I pushed the fix you suggested. commit 61ae88e08c8aecac67fd843403e59c1a506154b8 Author: Sascha Silbe <sascha-hp-2009-1@silbe.org> Date: Tue Jun 2 17:41:38 2009 +0200 [buildscript] fix moving to next phase on unknown phase (GNOME bug 584283) When instructing jhbuild to execute the "clean" command (from the CLI), jhbuild would go into an endless loop if the module type didn't support this phase.
Works fine, thanks!