[CMake] Fwd: cpack DragNDrop on OSX 10.7

Yngve Levinsen yngve.levinsen at gmail.com
Mon Dec 19 11:06:59 EST 2011


Apologies, somehow I managed to leave the mailing list out.

And one last thing, thank you for such a quick response!


---------- Forwarded message ----------
From: Yngve Levinsen <yngve.levinsen at gmail.com>
Date: 19 December 2011 17:03
Subject: Re: [CMake] cpack DragNDrop on OSX 10.7
To: David Cole <david.cole at kitware.com>


Hi,

Thanks for the input. I tried the verbose with ZIP and DragNDrop. I
have two projects, and the problem is consistent for both.

It happens as I assumed I think. When I choose ZIP then the bundle
targets are added, when I choose DragNDrop they are not installed for
some reason. I also install some files in various places (headers,
example scripts etc), which are installed for both generators.

For what it's worth I ran "make Experimental" on the recent cmake from
git, you find the result here:
http://www.cdash.org/CDash/buildSummary.php?buildid=1836104

I noticed one test related to BundleUtilities failed, but I don't know
if it is related?

Cheers,
Yngve

On 19 December 2011 16:47, David Cole <david.cole at kitware.com> wrote:
> Use "--verbose" on the CPack command line to get more information
> about why it's failing.
>
> Also, look for log files under the _CPack_Packages directory to see if
> there are any additional details in there.
>
> Does it happen consistently every time you run cpack, or is it sporadic?
>
> We frequently see errors from Apple's hdiutil command line tool on the
> CMake dashboard, but it does not happen every time. It happens more
> often than we would like, but it very often works the next time we
> try, so we have not pursued coming up with a work-around too
> aggressively.
>
>
> HTH,
> David
>
>
> On Mon, Dec 19, 2011 at 10:39 AM, Yngve Levinsen
> <yngve.levinsen at gmail.com> wrote:
>> Dear developers,
>>
>> I am using DragNDrop packaging, and suddenly now when I upgraded to
>> 10.7 there seem to be a problem somewhere. I noticed it just after the
>> upgrade to 10.7 but it could of course be unrelated. I use CMake
>> version 2.8.6 installed using Homebrew.
>>
>> Somehow when I run "cpack -G DragNDrop" the bundles are not added to
>> the dmg. I am using the fixup_bundle() to add all libraries, which
>> then fails because the .app doesn't exist in the _CPack_Packages
>> directory. The bundle is created and I noticed that it is added if I
>> use e.g. the ZIP generator instead.
>>
>> Anyone else can confirm this? I tried to search for it in the
>> archives, but I could not find it.
>>
>> Best Regards,
>> Yngve I. Levinsen
>> --
>>
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list