Apache OpenOffice (AOO) Bugzilla – Issue 10832
additional files with extension .zip lead to loop
Last modified: 2003-09-08 16:53:51 UTC
The build of SRX644_n leads to additional .zip files in /instsetoo/wntmsci9.pro/01 and .../49 This produces a loop in setup.exe.
lzip (scpzip) creates .zip if file already exists. for that reason output tree will be deleted before every new creation of installation set. Obviously we had the case that instsetoo was triggered for new build in buildserver, before last creation was finished. either we need a lock mechanism for avoiding "double" builds of a module or we should enable lzip to do incremental builds. mh->rt: what would be your preferred solution ?
lzip doing incremental builds sounds quite smart, but here I would clearly prefer a locking mechnism. You don't know what else changed in the build, therefor to be safe it is preferable to delete the first install set and do a new one from scratch. Rüdiger
since you're more familiar with locking implementaion, I reassign this issue to you ;).
I doubt that I am "more familiar with locking implementaion" than you. Anyway, I'll look into it.
After some time of thinking about this issue I changed my mind. A locking mechanism in instsetoo/util/makefile.mk can't be the solution here. The real bug is lzip leaving those *.zip files (I would guess it always creates *.zip files and afterwards renames them. If such renamed file already exists, the rename fails and a .zip file remains. So the solution would be to delete the existing file before.). It is always preferable to fix a bug than to work around it. Dirk, is lzip on your list or is ir Gregors? Rüdiger
A better solution: Check if destination dir is empty.
Checking for the Directory to be empty and exiting with an error would be better Because it could be possible that the current build generates less files than the previous (the one which created the files remaining in the directory) Therefore it seems sensible to only pack in an empty directory and fail otherwise. However when dmake is working twice at the same time this is a common problem and should be addressed is the proper tool which in this case cannot be the buildserver since it sets the define BSCLIENT which prevents instsetoo and instset from generating installation sets when triggered via buildserver. This bug has to be fixed in build/dmake
Will implement checking for empy directory before work starts.
Created Issue #11560# for original bugdescription
Is this task still P2 for OOo 1.1 Beta?
Fixed in CWS gh3
please verify
fixed
verified and closing