Issue 69597 - obo05: VSE build breaks in cli_ure - part1
Summary: obo05: VSE build breaks in cli_ure - part1
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC Windows, all
: P2 Trivial (vote)
Target Milestone: OOo 2.1
Assignee: quetschke
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 01:12 UTC by quetschke
Modified: 2006-11-01 18:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Workaround patch (1.11 KB, patch)
2006-09-18 04:57 UTC, quetschke
no flags Details | Diff
Patch for set_soenv.in (1.75 KB, patch)
2006-09-19 00:10 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2006-09-17 01:12:09 UTC
Up to now OOo could be build with the C# from
  c:/WINDOWS/Microsoft.NET/Framework/v1.1.xxxx
but the following part from cli_ure uses "-keyfile"

.IF "$(CCNUMVER)" >= "001399999999"
CSCFLAGS+=-keyfile:"$(BIN)$/cliuno.snk"
.ENDIF
 
and hereby forces to use a newer csc. No big deal, the one from
  c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727
works, *but* obviously csc got smarter and now errors out with:

guw.pl csc -warnaserror+ -incremental- -noconfig -o
-keyfile:"../../wntmsci11.pro/bin/cliuno.snk" \
		-target:library \
		-out:../../wntmsci11.pro/bin/cli_basetypes.dll \
		-reference:System.dll \
		uno/Any.cs				uno/BoundAttribute.cs 	uno/ExceptionAttribute.cs	
uno/ParameterizedTypeAttribute.cs		uno/TypeParametersAttribute.cs 
uno/TypeArgumentsAttribute.cs 	uno/OnewayAttribute.cs		uno/PolymorphicType.cs 
../../wntmsci11.pro/misc/assembly_ure_basetypes.cs
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS1668: Warning as Error: Invalid search path
'd:\\w1\\tin_obo05\\solver\\680\\lib' specified in 'LIB environment variable' --
'The system cannot find the path specified. '
error CS1668: Warning as Error: Invalid search path
'd:\\w1\\tin_obo05\\solenv\\wntmsci11\\lib' specified in 'LIB environment
variable' -- 'The system cannot find the path specified. '
dmake:  Error code 1, while making '../../wntmsci11.pro/bin/cli_basetypes.dll'

Ause, didn't you fix the LIB environment usage lately ;)

I worked around that problem with:

--- cli_ure/util/target.pmk     8 Sep 2005 02:04:39 -0000       1.4
+++ cli_ure/util/target.pmk     16 Sep 2006 23:59:30 -0000
@@ -35,7 +35,7 @@
 
 ###### C# ######
 
-CSCFLAGS = -warnaserror+ -incremental- -noconfig
+CSCFLAGS = -incremental- -noconfig
 
 .IF "$(debug)" == ""
Comment 1 quetschke 2006-09-17 04:15:11 UTC
Same problem in bridgetest/cli/makefile.mk
Comment 2 quetschke 2006-09-18 04:57:33 UTC
Created attachment 39202 [details]
Workaround patch
Comment 3 quetschke 2006-09-18 17:20:01 UTC
It seems I'm to blame for this ;)

LIB gets build from ILIB in settings.mk and I for some reason have one extra
level of \ quoting for bash more than for tcsh. (See ToFile(.., .., "j")

Lets see what I break if I change that back ;)
Comment 4 quetschke 2006-09-19 00:03:34 UTC
No, I didn't break it. ;) Even though there are to many \ the compiler is
perfectly able to reduce them to a single \. I should have looked at the actual
paths. Now I get:

Invalid search path 'd:\w1\tin_ws\solver\680\lib'
  and
Invalid search path 'd:\w1\tin_ws\solenv\wntmsci11\lib'

That's true - they don't exist. Testing the following patch.
Comment 5 quetschke 2006-09-19 00:10:54 UTC
Created attachment 39235 [details]
Patch for set_soenv.in
Comment 6 quetschke 2006-09-19 00:14:31 UTC
This fixes the csc error, I'll have to do a full build of .NET2003-bash to see
if I introduced a regression somewhere.
Comment 7 quetschke 2006-09-22 23:22:06 UTC
Forgot that I already committed this.
Comment 8 quetschke 2006-09-22 23:22:34 UTC
Someone needs to verify this ;)
Comment 9 oliver.bolte 2006-09-25 08:13:24 UTC
verified
Comment 10 quetschke 2006-11-01 18:31:15 UTC
close