[cmake-developers] [CMake 0012375]: Post install scripts do not get executed

Mantis Bug Tracker mantis at public.kitware.com
Mon Aug 1 05:35:25 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12375 
====================================================================== 
Reported By:                Domagoj Saric
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12375
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-08-01 05:35 EDT
Last Modified:              2011-08-01 05:35 EDT
====================================================================== 
Summary:                    Post install scripts do not get executed
Description: 
* for multicomponent packages PackageMaker seems to support only per-component
scripts while CPack seems to try to add a 'global' script (which then does not
get executed)
* CPack (with PackageMaker) uses CPACK_PREFLIGHT_SCRIPT, PACK_POSTFLIGHT_SCRIPT
and CPACK_POSTUPGRADE_SCRIPT which are not available when targeting OS X 10.5 or
later, only preinstall and postinstall seem to available then. The result is
that no script is added when set( CPACK_OSX_PACKAGE_VERSION 10.5 )

Additional Information: 
http://public.kitware.com/pipermail/cmake/2011-July/045500.html
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-08-01 05:35 Domagoj Saric  New Issue                                    
======================================================================




More information about the cmake-developers mailing list