CMake/Source/CPack
David Cole 05a76d53c0 CPack: Fix retry logic when calls to hdiutil fail
The long-standing sporadic failures of CPack tests on the Mac dashboards
are caused by an occasional problem running hdiutil. To compensate for
this, a retry loop was added in the code in a previous commit: a9fa71a4
... but the logic for breaking out of the retry loop was flawed, breaking
out of the loop (and not retrying) when the hdiutil command returns an
error instead of when it returns success.

This commit fixes the flawed logic, bumps up the number of retries from
4 to 10, and adds a half-second delay in between retries.

The delay is specifically added in case a virus checker or spotlight indexer
is temporarily causing the hdiutil failure by hanging onto a newly created
file longer than hdiutil expects it to.

As with all sporadically occurring issues, we'll never know if this is
really fixed all the way. But I'll be happy even if we can only get it to
happen just a bit less often.
2012-03-09 11:39:01 -05:00
..
OSXLauncherScript.scpt BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
OSXScriptLauncher.cxx Removed most usage of Carbon in favour of CoreFoundation 2011-01-31 18:21:20 -05:00
bills-comments.txt ENH: 2nd try to move stripping out of cpack and to install time, now if 2007-05-18 14:41:09 -04:00
cmCPackArchiveGenerator.cxx CPackArchive restore default behavior and provide new variable. 2012-02-01 23:32:50 +01:00
cmCPackArchiveGenerator.h CPack fix #11930 and simplifies component packaging options 2011-03-23 18:28:05 +01:00
cmCPackBundleGenerator.cxx Add component support to DragNDrop generator. 2011-03-31 13:33:10 -04:00
cmCPackBundleGenerator.h Add component support to DragNDrop generator. 2011-03-31 13:33:10 -04:00
cmCPackComponentGroup.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCPackComponentGroup.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCPackConfigure.h.in Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCPackCygwinBinaryGenerator.cxx CPack: Refactor API in order to handle multi-file packages 2010-08-11 14:09:52 -04:00
cmCPackCygwinBinaryGenerator.h CPack: Refactor API in order to handle multi-file packages 2010-08-11 14:09:52 -04:00
cmCPackCygwinSourceGenerator.cxx CPack fix broken compilation for CygwinSource generator 2010-08-25 11:04:49 +02:00
cmCPackCygwinSourceGenerator.h CPack: Refactor API in order to handle multi-file packages 2010-08-11 14:09:52 -04:00
cmCPackDebGenerator.cxx CPackDeb fix #10325 automagically use fakeroot for DEB if fakeroot is found 2011-09-05 22:43:45 +02:00
cmCPackDebGenerator.h CPack fix #11930 and simplifies component packaging options 2011-03-23 18:28:05 +01:00
cmCPackDocumentMacros.cxx Really avoid compiler warning about unused vars 2012-02-14 16:05:23 -05:00
cmCPackDocumentMacros.h CPack begin the implementation of --help-command* and --help-variables* 2012-01-22 11:42:49 +01:00
cmCPackDocumentVariables.cxx Fix some typos in CPACK_SET_DESTDIR doc 2012-03-06 21:23:11 +01:00
cmCPackDocumentVariables.h CPack begin the implementation of --help-command* and --help-variables* 2012-01-22 11:42:49 +01:00
cmCPackDragNDropGenerator.cxx DragNDrop: Fix problem with relocated files in Xcode 4.3 2012-02-29 08:29:46 -07:00
cmCPackDragNDropGenerator.h Fix KWStyle warnings 2011-04-01 19:27:34 +02:00
cmCPackGenerator.cxx CPackArchive restore default behavior and provide new variable. 2012-02-01 23:32:50 +01:00
cmCPackGenerator.h RunSingleCommand: Replace verbose boolean with enum 2011-07-28 10:42:03 -04:00
cmCPackGeneratorFactory.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCPackGeneratorFactory.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCPackLog.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCPackLog.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCPackNSISGenerator.cxx CPackNSIS fix #0012935 switch from LOG_WARNING to avoid final error. 2012-02-05 13:13:48 +01:00
cmCPackNSISGenerator.h Doxygen: Fix warnings. 2011-10-23 22:18:08 +02:00
cmCPackOSXX11Generator.cxx CPack: Fix retry logic when calls to hdiutil fail 2012-03-09 11:39:01 -05:00
cmCPackOSXX11Generator.h CPack: Refactor API in order to handle multi-file packages 2010-08-11 14:09:52 -04:00
cmCPackPackageMakerGenerator.cxx CPack: Fix retry logic when calls to hdiutil fail 2012-03-09 11:39:01 -05:00
cmCPackPackageMakerGenerator.h CPack: Refactor API in order to handle multi-file packages 2010-08-11 14:09:52 -04:00
cmCPackRPMGenerator.cxx Fix KWStyle warnings 2011-04-04 14:59:58 -04:00
cmCPackRPMGenerator.h CPack fix #11930 and simplifies component packaging options 2011-03-23 18:28:05 +01:00
cmCPackSTGZGenerator.cxx CPack: Refactor API in order to handle multi-file packages 2010-08-11 14:09:52 -04:00
cmCPackSTGZGenerator.h CPack: Refactor API in order to handle multi-file packages 2010-08-11 14:09:52 -04:00
cmCPackTGZGenerator.cxx CPackArchiveGenerator use cmArchiveWrite wrapper 2010-08-24 21:41:32 +02:00
cmCPackTGZGenerator.h Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
cmCPackTarBZip2Generator.cxx CPackArchiveGenerator use cmArchiveWrite wrapper 2010-08-24 21:41:32 +02:00
cmCPackTarBZip2Generator.h Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
cmCPackTarCompressGenerator.cxx CPackArchiveGenerator use cmArchiveWrite wrapper 2010-08-24 21:41:32 +02:00
cmCPackTarCompressGenerator.h Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
cmCPackZIPGenerator.cxx CPackArchiveGenerator use cmArchiveWrite wrapper 2010-08-24 21:41:32 +02:00
cmCPackZIPGenerator.h Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
cpack.cxx Dynamically add documentation section specified in documented script. 2012-02-18 22:07:39 +01:00
cygwin.readme ENH: add support for cygwin source and binary packaging 2007-02-02 14:40:26 -05:00