MantisBT - CMake
View Issue Details
0013662CMakeCPackpublic2012-11-08 09:502016-06-10 14:31
R Wackerbarth 
Kitware Robot 
normalfeaturealways
closedmoved 
AppleMac OS X10.8
CMake 2.8.10.1 
 
0013662: CPack needs a replacement for the PackageMaker generator
Mac OS X 10.8 (Mountain Lion) no longer supports Package Maker
Dashboard test shows failure
There is a newer application package generator, "productbuild"
No tags attached.
has duplicate 0014248closed  Package Maker is deprecated in Xcode 4.6 
has duplicate 0014534closed  "stock" setup cannot install code. 
Issue History
2012-11-08 09:50R WackerbarthNew Issue
2012-11-08 10:02Brad KingNote Added: 0031494
2012-11-08 10:02David ColeNote Added: 0031495
2012-11-08 10:03David ColeNote Added: 0031496
2013-11-01 09:19Brad KingRelationship addedhas duplicate 0014248
2013-11-01 09:19Brad KingRelationship addedhas duplicate 0014534
2013-11-01 09:21Brad KingNote Added: 0034302
2013-11-01 15:45Brad KingNote Added: 0034310
2013-11-01 15:47Brad KingStatusnew => backlog
2013-11-01 15:47Brad KingSummaryPackage generation fails on Mac OSX 10.8 => CPack needs a replacement for the PackageMaker generator
2016-06-10 14:28Kitware RobotNote Added: 0042145
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0031494)
Brad King   
2012-11-08 10:02   
PackageMaker must be installed separately from Xcode. It is available from the developer download site:

 https://developer.apple.com/downloads [^]

See the "Auxiliary tools for Xcode" package.
(0031495)
David Cole   
2012-11-08 10:02   
Actually, it does, it's just not installed by default with Xcode 4.3 and up.

We should probably detect whether it's installed or not at CMake configure time, and only execute tests that depend on it if it's there. Or turn off the part of the test that depends on it if it's not there.

If you install it separately, CPack will use it.

See the code snippet starting with the comment on this line of cmCPackPackageMakerGenerator.cxx:

  http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CPack/cmCPackPackageMakerGenerator.cxx;h=edbe8380d6d86d9166c0f2a301525d8f7b29c26b;hb=902ab6b5652a1858762696b8271c5a52e29aa041#l359 [^]

If it's in a different location than one of those searched in that chunk of code, the caller/client project can set CPACK_INSTALLER_PROGRAM to the full path to have this code still use it.
(0031496)
David Cole   
2012-11-08 10:03   
To support the newer package generator "productbuild", we'll need somebody to step up to the plate and write a new CPack generator...

:-)
(0034302)
Brad King   
2013-11-01 09:21   
As reported in 0014534 OS X 10.9 and Xcode 5 do not have a download available for PackageMaker.
(0034310)
Brad King   
2013-11-01 15:45   
Even though more work is needed to support a new packaging tool for OS X, we can at least disable the PackageMaker option by default:

 CPack: Disable OS X PackageMaker by default
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7947981c [^]

Users can always enable the option locally if they have the tool installed.
(0042145)
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.