Apache OpenOffice (AOO) Bugzilla – Issue 60339
Silence "mv: cannot stat ..." warnings
Last modified: 2006-04-20 12:24:43 UTC
During an ordinary build we get a lot of warnings like this: mv ./wntmsci10.pro/misc/build/ttf-bitstream-vera-1.10 ./wntmsci10.pro/misc/build/ttf-bitstream-vera-1.10_removeme mv: cannot stat `./wntmsci10.pro/misc/build/ttf-bitstream-vera-1.10': No such file or directory The following patch will silence these.
Created attachment 33099 [details] patch for tg_ext.mk
Reassign for verification.
Committed to vq27. @ause: Please verify.
patch is ok but... since you're already at it, i would prefer something like if exist ... rename ... without ignoring the error. possible? :)
Ok, will do.
Committed: +++ solenv/inc/tg_ext.mk 12 Jan 2006 04:40:30 -0000 @@ -146,7 +146,7 @@ #untar $(PACKAGE_DIR)$/$(UNTAR_FLAG_FILE) : $(PRJ)$/$(ROUT)$/misc$/$(TARFILE_NAME).unpack $(PATCH_FILE_DEP) - +-$(RENAME) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR)_removeme 2> $(NULLDEV) + +$(IFEXIST) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR) $(THEN) $(RENAME) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR)_removeme +-rm -rf $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR)_removeme @+-$(MKDIR) $(PACKAGE_DIR:d) @+-$(MKDIR) $(PACKAGE_DIR) Please verify
.