Issue 56422

Summary: m135: W32 build fails in udkapi
Product: udk Reporter: quetschke
Component: codeAssignee: hjs <hans-joachim.lankenau>
Status: CLOSED FIXED QA Contact: issues@udk <issues>
Severity: Trivial    
Priority: P1 (highest) CC: davidf, hans-joachim.lankenau, issues, nesshof, pavel
Version: current   
Target Milestone: OOo 2.0.1   
Hardware: PC   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Extended logfile output that shows the actual content of the @ files none

Description quetschke 2005-10-22 01:39:29 UTC
The build fails with:

=============
Building project udkapi
=============
/cygdrive/d/w1/SRC680_m135/udkapi/com/sun/star
dmake: Executing shell macro: +pwd
mkout.pl wntmsci10.pro
mkout -- version: 1.5
echo # > ../../../wntmsci10.pro/inc/myworld.mk
dmake: Executing shell macro: +echo $(IDLPACKAGE) | $(SED) s/\\/\//g
dmake: Executing shell macro: date +%d%m%Y
guw.pl idlc @/tmp/mkjV8Kku
d:\w1\SRC680_m135\solver\680\wntmsci10.pro\bin\idlc.exe: returned successful
Sun Microsystems (R) d:\w1\SRC680_m135\solver\680\wntmsci10.pro\bin\idlc.exe
Version 1.1

echo > ../../../wntmsci10.pro/misc/urd_css.don
mkdir ../../../wntmsci10.pro/ucrdoc >& /dev/null
guw.pl idlc @/tmp/mkryMb9s		
d:\w1\SRC680_m135\solver\680\wntmsci10.pro\bin\idlc.exe: returned successful
Sun Microsystems (R) d:\w1\SRC680_m135\solver\680\wntmsci10.pro\bin\idlc.exe
Version 1.1

echo > ../../../wntmsci10.pro/misc/urddoc_css.don
guw.pl idlc @/tmp/mkBdJ29H
d:\w1\SRC680_m135\solver\680\wntmsci10.pro\bin\idlc.exe: returned successful
Sun Microsystems (R) d:\w1\SRC680_m135\solver\680\wntmsci10.pro\bin\idlc.exe
Version 1.1

guw.pl idlc @/tmp/mkD6G6kc		
d:\w1\SRC680_m135\solver\680\wntmsci10.pro\bin\idlc.exe: returned successful
Sun Microsystems (R) d:\w1\SRC680_m135\solver\680\wntmsci10.pro\bin\idlc.exe
Version 1.1

/bin/rm -f ../../../wntmsci10.pro/ucr/css.db
guw.pl regmerge ../../../wntmsci10.pro/ucr/css.db UCR @/tmp/mkU1Jl3A
dmake:  Error code 255, while making '../../../wntmsci10.pro/ucr/css.db'
echo '---* tg_merge.mk *---'

If you create wntmsci10.pro/ucr and rebuild the build succeeds.

Pavel said that Ause said that wntmsci10.pro/ucr is created by idlc.

I reverted idlc to m134, cleaned udkapi and build again: Success! So something,
propably in jscpp1, broke the OOo W32 build.
Comment 1 quetschke 2005-10-23 04:34:40 UTC
Created attachment 30730 [details]
Extended logfile output that shows the actual content of the @ files
Comment 2 jsc 2005-10-25 15:23:29 UTC
I can't reproduce this behaviour on a flat m135 in our hamburg environment

I have built offapi from scratch, that means no output tree and everything works
fine.

I have to leave the office now but i will check it in a cygwin environment tomorrow

Comment 3 hjs 2005-10-25 16:32:53 UTC
did some checks here. looks like on windows the last token of the command file
is discarded because EOF is not recognized as delimiter. if this is the only
*.idl file, idlc returns without doing anything and */ucr isn't created.
Comment 4 jsc 2005-10-26 07:55:34 UTC
can somebody give me a generated temporary cmd file for example the module
com/sun/star

I have made several tests with and without cmd files in a cygwin shell and it
seems to work. But of course i have no complete build environment. I use the
idlc from m135 directly and used the cmd file which was generated in 4nt shell
Comment 5 jsc 2005-10-26 13:49:06 UTC
fixed on cws idlcpp1
changed files:
source\options.cxx
preproc\cpp.c
Comment 6 jsc 2005-10-26 13:53:35 UTC
reassign for verifying

re-open issue and reassign to hjs@openoffice.org
Comment 7 jsc 2005-10-26 13:58:56 UTC
second try
Comment 8 jsc 2005-10-26 14:02:42 UTC
set again to fixed
Comment 9 hjs 2005-10-26 14:21:55 UTC
works for me in an win/tcsh OOo environment.
Comment 10 quetschke 2005-11-06 20:36:52 UTC
Seen in m137.