Hi,
in some recipes that fetches git repository and has S variable set to
"${WORKDIR}/git/foo" once per many builds we're having error:

fatal: destination path
'foobar/work/x86_64-linux/squashfs-tools-native/4.2-r2/git' already
exists and is not an empty directory.

It happens for squashfs-tools-native, vim-native (and maybe more of
them but we didn't find it yet).

I think this happens because of the race condition.

If the S = "${WORKDIR}/git/foo" and B=${S}, then during do_unpack in
parallel the ${B} directory is created and git repository is extracted
to the place where ${B} directory already exists.

Is this issue known?

Best regards,

Tomasz Dziendzielski
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to