Apache OpenOffice (AOO) Bugzilla – Issue 21388
Failed to compile sfx2/sdi
Last modified: 2003-12-18 18:20:45 UTC
Making: ../.pro/misc/sfxslots_sid.hid ../.pro/misc/sfxslots_sid.hid.unxlngi4.pro.tmp: No such file or directory. dmake: Error code 1, while making '../.pro/misc/sfxslots_sid.hid' ---* TG_SLO.MK *--- dmake: Error code 255, while making 'SDI0' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /data2/office/sfx2/sdi Obviously the unxlngi4 is missing before .pro. Will investigate further.
TM->MH: Looks more like a build problem than a framework defect to me. Please have a look.
In /solenv/inc/target.mk, I replaced SDINAME and SDITARGET with SDI0NAME and SDI0TARGET (a patch will be attached). But this didn't create sfxslots.hxx. So I used the original target.mk to create unxlngi4.pro with sfxslots.hxx, and then rebuild sfx2 by using the patched target.mk instead of the original one. This worked.
Created attachment 10512 [details] a patch for target.mk
Then the build couldn't compile: /sfx2/source/doc/docvor.cxx. This is because "const" is missing in docvor.cxx. A patch will be attached. Building sfx2 was completed.
Created attachment 10513 [details] a patch for docvor.cxx
*** Issue 21473 has been marked as a duplicate of this issue. ***
Change OS to All, I got this problem with .NET. Change prio to 1, this breaks the build.
The same thing happened to svx. Building svx with the patched target.mk didn't create svxslots.hxx. So I used the original target.mk to create unxlngi4.pro with svxslots.hxx, and then rebuild sfx2 by using the patched target.mk instead of the original one. This worked, and building svx was completed.
Obviously this target.mk matter affects every project which has /sdi, such as: sfx2, offmgr, sd, sch, svx, sc, basctl, sw and starmath.
mh->hjs: also occurs on HEAD, do you have an idea why ?
in "settings.mk" change COMMON_OUTDIR*=common to COMMON_OUTDIR=$(OUTPATH) to get a quick fix. i'll look into how to align COMMON_OUTDIR handling in "set_soenv.in", "settings.mk" and "target.mk" :-(
When I came to /sd, I got the following error: Making: ../.pro/misc/sdslots_sid.hid ../.pro/misc/sdslots_sid.hid.unxlngi4.pro.tmp: No such file or directory. dmake: Error code 1, while making '../.pro/misc/sdslots_sid.hid' ---* TG_SLO.MK *--- dmake: Error code 255, while making 'SDI1' ---* TG_SLO.MK *--- Note that it says 'SDI1' now, not 'SDI0'. I made a change to /sd/sdi/makefile.mk. A patch will be attached.
Created attachment 10551 [details] a very quick fix to /sd/sdi/makefile.mk
Created attachment 10556 [details] fix "*sid.hid" buildproblems
please try the attached patch for "solenv/inc/settoings.mk". it should fix the "*sid.hid" problem for all modules. -> ken: setting "COMMON_OUTDIR" to "" is not realy helpfull.
The settings.mk patch is approved. If we use common.pro in the builds then a few build scripts like tinder-compress will have to be changed. I will remove the setting of common_dir from set_soenv because it is not useful.
Committed the docvor patch to the branch.
settings.mk fixed on ooo20031110
btw.: the whole "common.pro" stuff can be switched on (e.g. for testing puposes) by setting the environment variable common_build=TRUE
*** Issue 22498 has been marked as a duplicate of this issue. ***
*** Issue 23056 has been marked as a duplicate of this issue. ***
verified.
.