Apache OpenOffice (AOO) Bugzilla – Issue 27818
Rebuild fails in odk (zip return value !=0)
Last modified: 2013-02-24 21:09:05 UTC
When issue 18652 is fixed, the rebuild of odk fails with: /cygdrive/d/v1/cws_srx645_ooo112fix1/odk/util cd ../wntmsci8.pro/bin && guw.pl zip -urq odk645.zip odk645 Command: zip dmake: Error code 12, while making '../wntmsci8.pro/bin/odk645.zip' echo: No match. ERROR: Error 65280 occurred while making /cygdrive/d/v1/cws_srx645_ooo112fix1/odk/util dmake: Error code 1, while making 'build_all' I can remember I fixed the same error before? The problem is the return value of zip, when it does nothing (everything is up-to-date). The following patch fixes this. --- odk/util/makefile.mk 9 Jan 2004 18:02:11 -0000 1.17.12.1 +++ odk/util/makefile.mk 15 Apr 2004 00:02:06 -0000 @@ -16,7 +16,8 @@ .ENDIF $(BIN)$/$(PRODUCTZIPFILE) : $(SDK_CONTENT_CHECK_FILES) $(SDKCHECKFLAG) - +cd $(BIN) && $(WRAPCMD) zip -urq $(PRODUCTZIPFILE) $(PRODUCT_NAME) + +-cd $(BIN) && $(WRAPCMD) zip -urq $(PRODUCTZIPFILE) $(PRODUCT_NAME) +# zip returns errorlevel !=0 when it does nothing. (rebuild) $(BIN)$/$(PRODUCTTARGZFILE) : $(SDK_CONTENT_CHECK_FILES) $(SDKCHECKFLAG) +-rm -f $@ >& $(NULLDEV)
This issue blocks 18652 (With both patches I can build odk again and again)
Argh, I meant issue 18562.
Committed to cws_srx645_ooo112fix1.
set as verified
closing