On 08/11/2017 00:58, Erik Joelsson wrote:
After my recent changes to the install-file macro and using of SetupCopyFiles to generate the mac specific images, we have started seeing errors like this in the build on mac:

xattr: No such file: /d/jdk/open/build/macosx-x86_64-normal-server-release/images/jre-bundle/jre-10.jre/Contents/Home/legal/java.activation/LICENSE

This is caused by xattr being run on a symlink whose target does not yet exist, which in turn is caused by concurrent execution. The simple fix is to tell xattr to process the symlink itself rather than the target, using the -s switch.
I've seen this several times so good to have this fixed. The change looks good.

-Alan

Reply via email to