Issue 17250

Summary: Rebuild of stlport fails for WNT
Product: Build Tools Reporter: quetschke
Component: codeAssignee: hjs <hans-joachim.lankenau>
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P3 CC: issues, nesshof
Version: OOo 1.1 RC   
Target Milestone: OOo 1.1 RC   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Patch for stlport/makefile.mk
none
Patch for stlport/makefile.mk none

Description quetschke 2003-07-22 17:03:40 UTC
Branch: cws_srx645_ooo11rc3, build with .NET, tcsh.

If you try to rebuild the stlport module, it fails with:
=============
Building project stlport
=============
/cygdrive/d/v1/cws_srx645_ooo11rc3/stlport
-------------
sed -e 's#GXX_INCLUDE_PATH#NO_GXX_INCLUDE#g' < STLport-4.5.patch >
./wntmsci8.pro/misc/STLport-4.5.patch
cd ./wntmsci8.pro/misc/build && cat ../../../STLport-4.5-0119.patch | tr -d
"\015" | patch -b -p2 && /bin/touch.exe so_patched_so_stlport
patching file STLport-4.5-0119/src/vc7.mak
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file STLport-4.5-0119/src/vc7.mak.rej
patching file STLport-4.5-0119/stlport/list
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file STLport-4.5-0119/stlport/list.rej
patching file STLport-4.5-0119/stlport/stl/_hashtable.h
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
9 out of 9 hunks ignored -- saving rejects to file
STLport-4.5-0119/stlport/stl/_hashtable.h.rej
dmake:  Error code 1, while making './wntmsci8.pro/misc/build/so_patched_so_stlport'
echo: No match.

ERROR: Error 65280 occurred while making /cygdrive/d/v1/cws_srx645_ooo11rc3/stlport
dmake:  Error code 1, while making 'build_all'
echo: No match.

--------------------------------------------------

Quite annoying!
Comment 1 quetschke 2003-07-22 17:57:20 UTC
The problem is that (in my case), after the first build,
  so_addfiles_so_stlport
is 3 seconds older than
  wntmsci8.pro/misc/STLport-4.5.patch

Therfore the $(MISC)$/STLport-4.5.patch
is generated again.

The following patch fixes the rebuild for me, but I'd like
to get an experts opinion what the right fix is.

vq->ause: Please have a look.
Comment 2 quetschke 2003-07-22 17:58:07 UTC
Created attachment 7934 [details]
Patch for stlport/makefile.mk
Comment 3 quetschke 2003-07-22 18:04:02 UTC
Created attachment 7935 [details]
Patch for stlport/makefile.mk
Comment 4 hjs 2003-07-22 18:18:00 UTC
just try updating "stlport"
Comment 5 quetschke 2003-07-22 18:55:46 UTC
I was using a fresh rc3 checkout, will try again later.
Comment 6 hjs 2003-07-22 19:07:37 UTC
oops.. confused - and +...
try to move the "$(PACKAGE_DIR)$/$(ADD_FILES_FLAG_FILE)" up tow lines.
it's just to make sure that additional files exist before patching.
Comment 7 hjs 2003-07-23 14:16:34 UTC
on a second glance i couldn't find out what this dependency should be
good for at all. -> removed it.
Comment 8 hjs 2003-07-24 12:14:55 UTC
.
Comment 9 hjs 2003-08-11 17:59:05 UTC
.