Tinderbox failure, Linux-x86-64 at 8-SLED11, MASTER, last success: 2013-02-28 07:11:32

Stephan Bergmann sbergman at redhat.com
Thu Feb 28 01:57:04 PST 2013


On 02/28/2013 10:47 AM, Matúš Kukan wrote:
> On 28 February 2013 10:13, kendy at suse.cz <kendy at 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



More information about the LibreOffice mailing list