Apache OpenOffice (AOO) Bugzilla – Issue 69597
obo05: VSE build breaks in cli_ure - part1
Last modified: 2006-11-01 18:31:15 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)" == ""
Same problem in bridgetest/cli/makefile.mk
Created attachment 39202 [details] Workaround patch
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 ;)
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.
Created attachment 39235 [details] Patch for set_soenv.in
This fixes the csc error, I'll have to do a full build of .NET2003-bash to see if I introduced a regression somewhere.
Forgot that I already committed this.
Someone needs to verify this ;)
verified
close