Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 02/28/2013 10:47 AM, Matúš Kukan wrote:
On 28 February 2013 10:13, kendy@suse.cz <kendy@suse.cz> wrote:
[build CPY] CustomTarget/odk/odkcommon/idl.udkapi.done
[build CPY] CustomTarget/odk/odkcommon/idl.offapi.done
[build CUS] odk/odkcommon/include
[build CPY] CustomTarget/odk/odkcommon/configure.pl
[build CPY] CustomTarget/odk/odkcommon/setsdkenv_unix
[build CPY] CustomTarget/odk/odkcommon/setsdkenv_unix.sh.in
cp: cannot create directory 
`/local/home/tinderbox/master/workdir/unxlngx6.pro/CustomTarget/odk/odkcommon/idl/com': File exists
[build CPY] CustomTarget/odk/odkcommon/setsdkenv_unix.csh.in
make[1]: *** 
[/local/home/tinderbox/master/workdir/unxlngx6.pro/CustomTarget/odk/odkcommon/idl.offapi.done] 
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2

Can't cp just copy files which are not there into the directory?
What we are doing there is
mkdir -p CustomTarget/odk/odkcommon/idl
cp -rf udkapi/com CustomTarget/odk/odkcommon/idl
cp -rf offapi/com CustomTarget/odk/odkcommon/idl <- fails ?

It might be a race cp doesn't handle gracefully when it sees a dir does not yet exist but does already exist when it then tries to create it, as those two cp calls above are probably done in parallel.

Stephan


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.