Apache OpenOffice (AOO) Bugzilla – Issue 16209
Project offmgr not buildable with MAXPROCESS > 1
Last modified: 2004-05-25 16:14:29 UTC
Hi, with MAXPROCESS=4 I get: Files: /tmp/filelZf2NM reading file /tmp/filelZf2NM .Rsc2 commandline: rsc2 @/tmp/fileu0yhNl ............. Generating .rc file f258: Error: This file <lx_files.bmp> cannot be opened. Terminating compiler Error starting rsc2 compiler dmake: Error code 1, while making '../../../unxlngi4.pro/bin/iso64549.res' f258: Error: This file <lx_files.bmp> cannot be opened. Terminating compiler Error starting rsc2 compiler Files: /tmp/fileYPjv1p reading file /tmp/fileYPjv1p ........ Pos = MAP_APPFONT ( 54 , 25 ) ; ^ f4104: "ooo.src", line 168: Warning in the object (Type: FixedText, 2): Two local resources have the same identifier. ..... Writing file ../../../unxlngi4.pro/srs/ooo.srs. ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /mnt/hdc2/pavel/BuildDir/ooo_11rc_src/offmgr/source/offapp/intro pavel@oo:~/BuildDir/ooo_11rc_src/offmgr> With MAXPROCESS=1, it is OK - some dependency is missing?
.
reassigned.
couldn't reproduce the bug after the following patch was applied. please verify and i'll commit to ooo11rc
Created attachment 7274 [details] add dependencies
With this patch applied and MAXPROCESS=4 I got: Rsc2 commandline: rsc2 @/tmp/fileEVxfsr Files: /tmp/filexUdMHi reading file /tmp/filexUdMHi .f258: Error.....: This file <.lx_files.bmp> cannot be opened.. Terminating compiler ...... Generating .rc file Error starting rsc2 compiler dmake: Error code 1, while making '../../../unxlngi4.pro/bin/iso64549.res' f258: Error: This file <lx_files.bmp> cannot be opened. Terminating compiler fError starting rsc2 compiler 258: Error: This file <lx_files.bmp> cannot be opened. Terminating compiler Error starting rsc2 compiler ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /mnt/hdc2/pavel/BuildDir/ooo_11rc_src/offmgr/source/offapp/intro pavel@oo:~/BuildDir/ooo_11rc_src/offmgr> I only do: cd offmgr export MAXPROCESS=4 rm -rf unxlngi*; build -from offmgr and I'm repeating the last line many times. BTW - I 25 times did that and here is the result: pavel@oo:~/BuildDir/ooo_11rc_src/offmgr> grep "Building project offmgr" log |wc -l 25 pavel@oo:~/BuildDir/ooo_11rc_src/offmgr> grep "Checking DLL ../unxlngi4.pro/lib/check_libofa645li.so ..." log|wc -l 6 So only 6 from 25 builds succeeded. The logfile is http://www.janik.cz/tmp/log-offmgr.bz2
after browsing through you log there are some suspections that come into mind related to the bitmap problem: did you unset "RES_GER"? are you using a "common.pro" outputtree but didn't delete it? for the wide range of other errors there might be a second build process responsible which did run at the same time. (un?)fortunately i cannot reproduce any build problem in "offmgr" at all, neither multiprocess or other, after applying the attached patch.
Yes, I do not have RES_GER set, because I build only for ENUS, CZECH and SLOVAK: oo@linux:~/BuildDir/ooo_11rc_src> set|grep RES_ RES_CZECH=TRUE RES_ENUS=TRUE RES_SLOVAK=TRUE I do not know what common.pro is so I do not use it :-) oo@linux:~/BuildDir/ooo_11rc_src> find . -name common.pro oo@linux:~/BuildDir/ooo_11rc_src> It still compiles without problems when MAXPROCESS is 1.
could you try if setting "RES_GER" solves your problem? it's a known issue that disabling german leads to strange problems of files not built or having incorrect dependencies. will be addressed for 2.0.
since it's not yet clear if the patch fixes the genuine problem, target set to 2.0
I added RES_GER to both LinuxIntelEnv.Set.sh and LinuxIntelEnv.Set and it did not helped. I;m now running pavel@oo:~/BuildDir/ooo_11rc_src/offmgr> for i in `seq 100`; do rm -rf unxlngi4.pro/; build -from offmgr >log.$i 2>&1; echo $?; done Will add results of it soon.
So: - I added RES_GER manually to both scripts (.Set.sh and .Set) and manually exported RES_GER="TRUE". - I manually exported MAXPROCESS=4 - with original offmgr tree from 11rc branch it only compiled successfully 35 times: pavel@pavel:/tmp/qqqq> ls -l|grep 175376|wc -l 35 Errors: pavel@pavel:/tmp/qqqq> grep "occurred while making" *|sed 's#^log.[0-9]*:ERROR: Error 65280 occurred while making /mnt/hdc2/pavel/BuildDir/ooo_11rc_src/##'|sort|uniq -c 5 offmgr/source/offapp/app 1 offmgr/source/offapp/dialog 59 offmgr/source/offapp/intro This was all without off.diff applied. Now the same with that patch applied (patches only offmgr/source/offapp/intro/makefile.mk). I did only 75 runs, because I'm going to bed right now ;-) pavel@oo:~/BuildDir/ooo_11rc_src/offmgr> grep "occurred while making" log.*|sed 's#^log.[0-9]*:ERROR: Error 65280 occurred while making /mnt/hdc2/pavel/BuildDir/ooo_11rc_src/##'|sort|uniq -c 6 offmgr/source/offapp/app 2 offmgr/source/offapp/dialog 37 offmgr/source/offapp/intro The distribution pf errors is almost the same. I put all the log files to http://www.janik.cz/tmp/offmgr/: logs-with-off_diff.tar.bz2 logs-without-off_diff.tar.bz2 Have a good night - it is about 1:45 here.
dependency problem fixed, *.dpcc issue handled in #i16752#
This issue is not yet fixed. This is not dpcc problem - .bmp files are missing while making something. Just got this with rc4: Preprocessor commandline: -I../../../unxlngi4.pro/res/42 -I../../../unxlngi4.pro/res/49 -I../../../unx/res -I../../../res -I../../../win/res -I../../../../res -I../../../win/res;../../../RES -I/home/pavel/BuildDir/ooo_11rc4_src -I../../../inc -I. -I/home/pavel/BuildDir/ooo_11rc4_src/solver/645/unxlngi4.pro/inc/stl -I/home/pavel/BuildDir/ooo_11rc4_src/solver/645/unxlngi4.pro/inc/external -I/home/pavel/BuildDir/ooo_11rc4_src/solver/645/unxlngi4.pro/inc -I/home/pavel/BuildDir/ooo_11rc4_src/solenv/unxlngi4/inc -I/home/pavel/BuildDir/ooo_11rc4_src/solenv/inc -I/home/pavel/BuildDir/ooo_11rc4_src/res -I/home/pavel/BuildDir/ooo_11rc4_src/solver/645/unxlngi4.pro/inc/stl -I/home/pavel/BuildDir/ooo_11rc4_src/solenv/inc/Xp31 -I/usr/lib/java/include -I/usr/lib/java/include/linux -I/usr/lib/java/include/native_threads/include -I/usr/X11R6/include ../../../unxlngi4.pro/srs/iso.srs /tmp/fileImILgE Preprocessor startline: rscpp @/tmp/fileWwWUm8 Rsc2 commandline: rsc2 @/tmp/filey4u3qu /tmp/fileWtptbq reading file /tmp/fileWtptbq .Rsc2 commandline: rsc2 @/tmp/filekgmc8C .Files: ............ Generating .rc file Files: /tmp/fileImILgE reading file /tmp/fileImILgE .f258: Error: This file <lx_files.bmp> cannot be opened. Terminating compiler Error starting rsc2 compiler /tmp/fileWWOouA dmake: Error code 1, while making '../../../unxlngi4.pro/bin/iso64549.res' reading file /tmp/fileWWOouA Rsc2 commandline: rsc2 @/tmp/fileuIxYtC .............. Generating .rc file ............. Generating .rc file ff258: Error: This file <lx_files.bmp> cannot be opened. Terminating compiler Error starting rsc2 compiler 258: Error: This file <lx_files.bmp> cannot be opened. Terminating compiler Error starting rsc2 compiler Files: /tmp/fileQLfKhC reading file /tmp/fileQLfKhC .............. Generating .rc file f258: Error: This file <lx_files.bmp> cannot be opened. Terminating compiler Error starting rsc2 compiler /home/pavel/BuildDir/ooo_11rc4_src/offmgr/source/offapp/dialog ---* TG_SLO.MK *--- /home/pavel/BuildDir/ooo_11rc4_src/offmgr/util ERROR: error 65280 occurred while making /home/pavel/BuildDir/ooo_11rc4_src/offmgr/source/offapp/intro pavel@oo:~/BuildDir/ooo_11rc4_src/offmgr> pavel@oo:~/BuildDir/ooo_11rc4_src/offmgr> set|grep RES_ RES_CZECH=TRUE RES_DAN=TRUE RES_ENUS=TRUE RES_SLOVAK=TRUE
the patch wasn't ment to solve problems that occur when "RES_GER" isn't set. this would require changes in the fallback logic of bitmap creatin/usage. it's on my list anyway ("disabling german resources leaves version unbuildable") but i think it's beyond the scope of this issue...
BTW - I do configure with --with-lang=ENUS,CZECH,SLOVAK,DAN GER is not there, but it is also not in config_office/*: pavel@pavel:~/Tmp/ooo_11rc4_src/config_office> grep -r CZECH * set_soenv.in:my @LANGUAGES = ("ARAB", "CAT", "CHINSIM", "CHINTRAD", "CZECH", "DAN", "DTCH", "ENUS", "FREN", "GREEK", "ITAL", pavel@pavel:~/Tmp/ooo_11rc4_src/config_office> grep -r GER * pavel@pavel:~/Tmp/ooo_11rc4_src/config_office> Is it really a problem with RES_GER? I think that this variable is not used at all. German resources are build everytime, because of #.IF "$(RES_GER)"!="" || "$(give_me_all_languages)"!="" alllangext+=49 completelangext+=49 deut$(LANG_GUI)*=$(default$(LANG_GUI)) lang_49=deut longlang_49=german langext_49=49 rsclang_49=-lgGERMAN rescharset_49=$(deut$(LANG_GUI)) RCLANGFLAGS_49+= -d GERMAN iso_49=de defaultlangext=49 #.ENDIF in solenv/inc/postset.mk. Right?
module has vanished ;-) btw.: imagelist generation is also obsolete...