[jhbuild] autotools: Add configure to the error phases for the install phase



commit 1c26da7ffe936e461a263959b257615e4dee724f
Author: Emanuele Aina <emanuele aina collabora com>
Date:   Mon Jan 27 11:13:01 2014 +0100

    autotools: Add configure to the error phases for the install phase
    
    Changes in other modules may cause the install phase to fail since the
    configure phase has not been run to pick up the changes.
    
    Add the configure phase to the list of error phases for the install
    phase, so that it can be inreactively choosen at the jhbuild prompt for
    failing modules or, if the 'trycheckout' configuration option is
    enabled, configure can be run to try to automatically recover from a
    failing module.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723083

 jhbuild/modtypes/autotools.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 9e579b3..fa37280 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -314,6 +314,7 @@ class AutogenModule(MakeModule, DownloadableModule):
         self.process_install(buildscript, self.get_revision())
 
     do_install.depends = [PHASE_BUILD]
+    do_install.error_phases = [PHASE_CONFIGURE]
 
     def skip_install(self, buildscript, last_phase):
         return self.config.noinstall or self.skip_install_phase


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]