Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6281] optionally run make again on failure

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6281] optionally run make again on failure
  • Date: Mon, 8 Mar 2004 08:12:34 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=6281

rycee AT home.se changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |



------- Additional Comments From rycee AT home.se 2004-03-08 08:12 -------
This is actually not a duplicate of that bug. This bug really only concerns
make.

Adding the functionality originally required can be added by simply changing
the
if statement at line 495 in libgrimoire to something like:

local answer=y
while [[ $STATUS != 0 && ( $JOBS != 1 || $RERUN_MAKE_ON_ERROR == 1 ) ]] ; do
if query "Make failed with exit code $STATUS. Attempt to run it again?"
$answer ; then
/usr/bin/make -j1 -S "$@"
STATUS=$?
answer=n
else
break
fi
done

This would require the RERUN_MAKE_ON_ERROR to be placed in i guess
compile_config, perhaps not add it at all and always try make twice when it
fails?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page