tag:help.appveyor.com,2012-11-13:/discussions/problems/26810-compressing-for-cache-on-macos-failsAppVeyor: Discussion 2020-05-27T18:44:40Ztag:help.appveyor.com,2012-11-13:Comment/482308082020-04-08T22:27:05Z2020-04-08T22:27:06ZCompressing for cache on macos fails<div><p>Hello everyone,</p>
<p>I set up a build config for macos which works fine so far except that caching at the end fails with:</p>
<pre>
<code>Error compressing cache item: No such file or directory. Check /var/folders/5s/.../...log for details.</code>
</pre>
<p>One of the failing build jobs is: <a href="https://ci.appveyor.com/project/SASfit/sasfit/builds/32044089">https://ci.appveyor.com/project/SASfit/sasfit/builds/32044089</a><br>
and its appveyor.yaml: <a href="https://github.com/SASfit/SASfit/blob/3ec052a929402498a61eff339f7bccc882cba5f6/src/appveyor/appveyor.yml">https://github.com/SASfit/SASfit/blob/3ec052a929402498a61eff339f7bc...</a></p>
<p>The specified directories exist. Absolute or relative path does not change it. I don't know how to debug this because during the on_finish script the specified log file does not exist anymore. Any clues how to investigate this?</p>
<p>The config works basically when using the Windows image earlier:<br>
<a href="https://ci.appveyor.com/project/SASfit/sasfit/builds/32024133/job/e5ckf9w187a5gpw1">https://ci.appveyor.com/project/SASfit/sasfit/builds/32024133/job/e...</a><br>
Same build, the job for macos failed caching: <a href="https://ci.appveyor.com/project/SASfit/sasfit/builds/32024133/job/23hxl7vs93rp82pv">https://ci.appveyor.com/project/SASfit/sasfit/builds/32024133/job/2...</a></p>
<p>Thanks for any hints!<br>
Best wishes<br>
Ingo</p></div>Ingotag:help.appveyor.com,2012-11-13:Comment/482308082020-04-09T04:00:20Z2020-04-09T04:00:20ZCompressing for cache on macos fails<div><p>Hi Ingo,</p>
<p>I'm sorry you spent time fighting with that, but cache is not yet fully supported on macOS images. That error actually means it can't find <code>7za</code> command line utility.</p>
<p>You may try installing <code>7z</code> in init section to see if that helps:</p>
<pre>
<code>init:
- brew install p7zip</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/482308082020-04-09T10:34:44Z2020-04-09T10:34:44ZCompressing for cache on macos fails<div><p>Hi Feodor,</p>
<p>that works very well!<br>
Thank you very much for that quick solution!</p>
<p>Best wishes<br>
Ingo</p></div>Ingo