Do better understand why the hdutil command is failing you should run
it manually and add in the -verbose option.

On Tue, Aug 15, 2017 at 8:53 AM, brian heim <brianlh...@gmail.com> wrote:
> Hi all,
>
> I'm getting an error trying to use CPack to create a macOS DragNDrop
> package. I tried to search for this message in the ML archives and elsewhere
> but wasn't able to find any conclusive solution, so I'm hoping someone with
> more experience with CPack may be able to help. My environment is:
>
> macOS 10.13
> cmake/cpack 3.9.1
>
> The output I'm getting is:
>
> CPack: Create package using DragNDrop
> CPack: Install projects
> CPack: - Install project: SuperCollider
> CPack: -   Install component: Runtime
> CPack: -   Install component: Unspecified
> CPack: Create package
> CPack Error: Error executing: /usr/bin/hdiutil convert
> "/Users/brianheim/git/supercollider/build/_CPack_Packages/OSX/DragNDrop/temp.dmg"
> -format UDBZ -imagekey zlib-level=9 -o
> "/Users/brianheim/git/supercollider/build/_CPack_Packages/OSX/DragNDrop/SuperCollider-3.9.dev-OSX/SuperCollider-3.9.dev-OSX.dmg"
> CPack Error: Error compressing disk image.
> CPack Error: Problem compressing the directory
> CPack Error: Error when generating package: SuperCollider
>
> The output with --debug is here:
> https://gist.github.com/brianlheim/de692727fb0fc1ef629baf9f2c89d89b
>
> And the contents of my CPackConfig.cmake file are here:
> https://gist.github.com/brianlheim/6d40b5c6b047b1a18e1160715aa163c7
>
> This is a somewhat legacy project, so it's possible this used to work on an
> earlier version of CMake. I wouldn't know what version to compare it to,
> though.
>
> Thanks in advance.
>
> -Brian
>
>
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to