RFR: JDK-8190744: xattr: No such file LICENSE files

Tim Bell tim.bell at oracle.com
Wed Nov 8 18:41:53 UTC 2017


Erik:

On 11/07/17 23:05, Alan Bateman wrote:
>
>
> 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

Looks good to me as well.

/Tim




More information about the build-dev mailing list