Issue 61822 - odk build: cannot create ./com
Summary: odk build: cannot create ./com
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: 680
Hardware: All All
: P2 Trivial (vote)
Target Milestone: DevTools
Assignee: hjs
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-09 07:49 UTC by pavel
Modified: 2006-09-05 17:42 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
fix collisions on unzip (1.24 KB, patch)
2006-03-24 19:04 UTC, hjs
no flags Details | Diff
/me should be reading dmake docu first :( (1.63 KB, patch)
2006-03-28 16:56 UTC, hjs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2006-02-09 07:49:18 UTC
Hi,

my SMP build on Linux/AMD64 failed with this:

cp -u
/data/oo/BuildDir/ooo_SRC680_m156_src/solver/680/unxlngx6.pro/bin/ridl_src.zip
../../unxlngx6.pro/misc/java_src/ridl_src.zip
cd ../../unxlngx6.pro/misc/java_src && unzip -quod . ridl_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
checkdir error:  cannot create ./com
                 unable to process com/.
dmake:  Error code 2, while making '../../unxlngx6.pro/misc/java_src/juh_src.zip'
dmake:  '../../unxlngx6.pro/misc/java_src/juh_src.zip' removed.
'---* RULES.MK *---'

ERROR: Error 65280 occurred while making
/data/oo/BuildDir/ooo_SRC680_m156_src/odk/pack/gendocu
dmake:  Error code 1, while making 'instsetoo_native/prj/build_instsetoo_native'

The same problem on SMP build on Solaris/SPARC:

cd ../../unxsols4.pro/misc/java_src && unzip -quod . ridl_src.zip
mkdir -p ../../unxsols4.pro/misc/java_src/        
checkdir error:  cannot create ./com
                 unable to process com/.
/usr/local/bin/cp -u
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/bin/sandbox_src.zip
../../unxsols4.pro/misc/java_src/sandbox_src.zip
cd ../../unxsols4.pro/misc/java_src && unzip -quod . sandbox_src.zip
mkdir -p ../../unxsols4.pro/misc/java_src/        
/usr/local/bin/cp -u
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/bin/unoloader_src.zip
../../unxsols4.pro/misc/java_src/unoloader_src.zip
cd ../../unxsols4.pro/misc/java_src && unzip -quod . unoloader_src.zip
mkdir -p ../../unxsols4.pro/bin/odkcommon/docs/cpp/ref/        

On Solaris, it continued further with:

/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/bin/autodoc
-html ../../unxsols4.pro/bin/odkcommon/docs/cpp/ref -name "UDK 3.2.0 C/C++ API
Reference" -lg c++         -p sal
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/inc -t sal -t
osl -t rtl         -p store
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/inc -t store 
       -p registry
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/inc -t
registry         -p cppu
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/inc -t cppu -t
com -t typelib -t uno         -p cppuhelper
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/inc -t
cppuhelper         -p salhelper
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/inc -t
salhelper         -p bridges
/home/pjanik/BuildDir/ooo_SRC680_m156_src/solver/680/unxsols4.pro/inc -t bridges
rm ../../unxsols4.pro/bin/odkcommon/docs/cpp/ref//cpp.css
tr -d "\015" < ../../docs/cpp/ref/cpp.css >
../../unxsols4.pro/bin/odkcommon/docs/cpp/ref//cpp.css
dmake:  Error code 2, while making '../../unxsols4.pro/misc/java_src/jurt_src.zip'
dmake:  '../../unxsols4.pro/misc/java_src/jurt_src.zip' removed.

ERROR: Error 65280 occurred while making
/home/pjanik/BuildDir/ooo_SRC680_m156_src/odk/pack/gendocu
'---* RULES.MK *---'
dmake:  Error code 1, while making 'instsetoo_native/prj/build_instsetoo_native'

SMP build on Linux/x86 was OK.
Comment 1 pavel 2006-03-18 07:47:00 UTC
With m160 builds, it again happened on all parallel builds I run: GNU/Linux on
both x86 and AMD64 and also on Solaris/SPARC so I had to restart almost all builds.
Comment 2 hjs 2006-03-21 15:23:03 UTC
in "odk/pack/gendocu/makefile.mk" try to change the unzip parameters from "-quod
." to "-quo". fixes the problem here for at least solaris/sparc.
Comment 3 pavel 2006-03-23 22:14:06 UTC
The same happens:

cd ../../unxlngx6.pro/misc/java_src && unzip -quo juh_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
cp -u
/data/oo/BuildDir/ooo_SRC680_m161_src/solver/680/unxlngx6.pro/bin/ridl_src.zip
../../unxlngx6.pro/misc/java_src/ridl_src.zip
cd ../../unxlngx6.pro/misc/java_src && unzip -quo ridl_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
checkdir error:  cannot create com/sun/star
                 unable to process com/sun/star/.
cp -u
/data/oo/BuildDir/ooo_SRC680_m161_src/solver/680/unxlngx6.pro/bin/sandbox_src.zip
../../unxlngx6.pro/misc/java_src/sandbox_src.zip
cd ../../unxlngx6.pro/misc/java_src && unzip -quo sandbox_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
dmake:  Error code 2, while making '../../unxlngx6.pro/misc/java_src/jurt_src.zip'
dmake:  '../../unxlngx6.pro/misc/java_src/jurt_src.zip' removed.
'---* RULES.MK *---'

ERROR: Error 65280 occurred while making
/data/oo/BuildDir/ooo_SRC680_m161_src/odk/pack/gendocu
dmake:  Error code 1, while making 'instsetoo_native/prj/build_instsetoo_native'
+ date
Comment 4 hjs 2006-03-24 19:04:48 UTC
Created attachment 35228 [details]
fix collisions on unzip
Comment 5 hjs 2006-03-24 19:06:16 UTC
sorry, must have had the .SEQUENTIAL stuff already in there...
Comment 6 pavel 2006-03-25 07:30:43 UTC
I have got the same error using the new patch:

/data/oo/BuildDir/ooo_SRC680_m161_src/odk/pack/gendocu
rm -rf ../../unxlngx6.pro/bin/odkcommon/docs/cpp/ref >& /dev/null
touch ../../unxlngx6.pro/misc/cpp_docu_cleanup.flag
mkdir -p ../../unxlngx6.pro/misc/java_src/        
cp -u
/data/oo/BuildDir/ooo_SRC680_m161_src/solver/680/unxlngx6.pro/bin/jurt_src.zip
../../unxlngx6.pro/misc/java_src/jurt_src.zip
cd ../../unxlngx6.pro/misc/java_src && unzip -quo jurt_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
cp -u
/data/oo/BuildDir/ooo_SRC680_m161_src/solver/680/unxlngx6.pro/bin/jut_src.zip
../../unxlngx6.pro/misc/java_src/jut_src.zip
cd ../../unxlngx6.pro/misc/java_src && unzip -quo jut_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
cp -u
/data/oo/BuildDir/ooo_SRC680_m161_src/solver/680/unxlngx6.pro/bin/juh_src.zip
../../unxlngx6.pro/misc/java_src/juh_src.zip
cd ../../unxlngx6.pro/misc/java_src && unzip -quo juh_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
cp -u
/data/oo/BuildDir/ooo_SRC680_m161_src/solver/680/unxlngx6.pro/bin/ridl_src.zip
../../unxlngx6.pro/misc/java_src/ridl_src.zip
cd ../../unxlngx6.pro/misc/java_src && unzip -quo ridl_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
checkdir error:  cannot create com
                 unable to process com/.
dmake:  Error code 2, while making '../../unxlngx6.pro/misc/java_src/juh_src.zip'
dmake:  '../../unxlngx6.pro/misc/java_src/juh_src.zip' removed.
unzip:  cannot find or open jut_src.zip, jut_src.zip.zip or jut_src.zip.ZIP.
'---* RULES.MK *---'

ERROR: Error 65280 occurred while making
/data/oo/BuildDir/ooo_SRC680_m161_src/odk/pack/gendocu
dmake:  Error code 1, while making 'instsetoo_native/prj/build_instsetoo_native'
Comment 7 pavel 2006-03-28 07:50:10 UTC
ause: it really still breaks. The error message is the same as in the last entry:

cd ../../unxlngx6.pro/misc/java_src && unzip -quo ridl_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
checkdir error:  cannot create com
                 unable to process com/.
cp -u
/data/oo/BuildDir/ooo_SRC680_m161_src/solver/680/unxlngx6.pro/bin/sandbox_src.zip
../../unxlngx6.pro/misc/java_src/sandbox_src.zip
cd ../../unxlngx6.pro/misc/java_src && unzip -quo sandbox_src.zip
mkdir -p ../../unxlngx6.pro/misc/java_src/        
dmake:  Error code 2, while making '../../unxlngx6.pro/misc/java_src/ridl_src.zip'
dmake:  '../../unxlngx6.pro/misc/java_src/ridl_src.zip' removed.
unzip:  cannot find or open jut_src.zip, jut_src.zip.zip or jut_src.zip.ZIP.
'---* RULES.MK *---'

ERROR: Error 65280 occurred while making
/data/oo/BuildDir/ooo_SRC680_m161_src/odk/pack/gendocu

But this is different message than in the first report...
Comment 8 hjs 2006-03-28 16:56:30 UTC
Created attachment 35313 [details]
/me should be reading dmake docu first :(
Comment 9 pavel 2006-03-29 04:59:41 UTC
The last patch works!

I did ten full rebuilds to check and odk was always built OK. Thanks!
Comment 10 hjs 2006-03-29 10:48:19 UTC
alternative approach (creating required directories before unpacking) would
require knowledge about the actual directory structur of the zip files which may
change without notice.
so serializing seems to be the only opltion...
Comment 11 hjs 2006-06-13 17:48:54 UTC
applied patch
Comment 12 rt 2006-07-03 10:03:44 UTC
Verified on CWS ause058.
Comment 13 hjs 2006-09-05 17:42:31 UTC
.