Apache OpenOffice (AOO) Bugzilla – Issue 61822
odk build: cannot create ./com
Last modified: 2006-09-05 17:42:31 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.
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.
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.
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
Created attachment 35228 [details] fix collisions on unzip
sorry, must have had the .SEQUENTIAL stuff already in there...
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'
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...
Created attachment 35313 [details] /me should be reading dmake docu first :(
The last patch works! I did ten full rebuilds to check and odk was always built OK. Thanks!
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...
applied patch
Verified on CWS ause058.
.