<div dir="ltr">Hi all,<div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"></div></div></div></div></div></div></div>
<div><br></div><div>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:</div><div><br></div><div>macOS 10.13</div><div>cmake/cpack 3.9.1</div><div><br></div><div>The output I'm getting is:</div><div><br></div><div><div>CPack: Create package using DragNDrop</div><div>CPack: Install projects</div><div>CPack: - Install project: SuperCollider</div><div>CPack: -   Install component: Runtime</div><div>CPack: -   Install component: Unspecified</div><div>CPack: Create package</div><div>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"</div><div>CPack Error: Error compressing disk image.</div><div>CPack Error: Problem compressing the directory</div><div>CPack Error: Error when generating package: SuperCollider</div></div><div><br></div><div>The output with --debug is here: <a href="https://gist.github.com/brianlheim/de692727fb0fc1ef629baf9f2c89d89b">https://gist.github.com/brianlheim/de692727fb0fc1ef629baf9f2c89d89b</a></div><div><br></div><div>And the contents of my CPackConfig.cmake file are here: <a href="https://gist.github.com/brianlheim/6d40b5c6b047b1a18e1160715aa163c7">https://gist.github.com/brianlheim/6d40b5c6b047b1a18e1160715aa163c7</a></div><div><br></div><div>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.</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>-Brian</div><div><br></div><div><br></div></div>