MantisBT - CMake
View Issue Details
0012375CMakeCPackpublic2011-08-01 05:352016-06-10 14:31
Domagoj Saric 
Clinton Stimpson 
normalmajoralways
closedmoved 
AppleOS X10.6.8
CMake 2.8.5 
 
0012375: Post install scripts do not get executed
* 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 )
http://public.kitware.com/pipermail/cmake/2011-July/045500.html [^]
No tags attached.
Issue History
2011-08-01 05:35Domagoj SaricNew Issue
2011-08-01 12:00David ColeTarget Version => CMake 2.8.6
2011-09-06 14:52David ColeNote Added: 0027383
2011-09-06 14:52David ColeTarget VersionCMake 2.8.6 =>
2012-08-11 11:38David ColeStatusnew => backlog
2012-08-11 11:38David ColeNote Added: 0030304
2012-10-27 13:10Clinton StimpsonAssigned To => Clinton Stimpson
2012-10-27 13:10Clinton StimpsonStatusbacklog => assigned
2012-10-27 13:23Clinton StimpsonNote Added: 0031347
2012-10-27 13:23Clinton StimpsonStatusassigned => resolved
2012-10-27 13:23Clinton StimpsonResolutionopen => fixed
2013-03-04 08:38Robert MaynardNote Added: 0032493
2013-03-04 08:38Robert MaynardStatusresolved => closed
2013-09-24 10:38Domagoj SaricNote Added: 0033878
2013-09-24 10:38Domagoj SaricStatusclosed => feedback
2013-09-24 10:38Domagoj SaricResolutionfixed => reopened
2016-06-10 14:28Kitware RobotNote Added: 0041877
2016-06-10 14:28Kitware RobotStatusfeedback => resolved
2016-06-10 14:28Kitware RobotResolutionreopened => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0027383)
David Cole   
2011-09-06 14:52   
Not enough time left to address this issue before the 2.8.6 release. Deferred until a future release.
(0030304)
David Cole   
2012-08-11 11:38   
Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0031347)
Clinton Stimpson   
2012-10-27 13:23   
Fixed here.
http://cmake.org/gitweb?p=cmake.git;a=commit;h=633f67c8 [^]
(0032493)
Robert Maynard   
2013-03-04 08:38   
Closing resolved issues that have not been updated in more than 4 months.
(0033878)
Domagoj Saric   
2013-09-24 10:38   
Point two was not addressed: if I set( CPACK_OSX_PACKAGE_VERSION 10.6 ) the scripts still don't get executed...

ps. check the related backlocked items:
http://www.cmake.org/Bug/view.php?id=11665 [^]
http://www.cmake.org/Bug/view.php?id=11664 [^]
http://public.kitware.com/Bug/view.php?id=14248 [^]
(0041877)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.