Re: [www-dev] Re: building svl failed

Michael Stahl <[email protected]>
Newsgroups gmane.comp.openoffice.devel.general
Organization ORACLE
Message-ID <[email protected]>
On 25/02/2011 11:05, Yan Wu wrote:
 > $ make -r
> [ build DEP ] SRS:svl/res
> R=/cygdrive/f && S=$R/DEV300_m100 && O=$S/solver/300/wntmsci12.pro && W=$O/workd
> ir &&  mkdir -p $W/Dep/SrsTarget/svl/ && cat $W/Dep/SrsPartTarget/svl/source/mis
> c/mediatyp.src.d $W/Dep/SrsPartTarget/svl/source/items/cstitem.src.d > $W/Dep/Sr
> sTarget/svl/res.d
> R=f:/ && O=f:/DEV300_m100/solver/300/wntmsci12.pro && W=f:/DEV300_m100/solver/30
> 0/wntmsci12.pro/workdir && S=f:/DEV300_m100 &&  $O/bin/makedepend.exe -I. -I$O/i
> nc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci12/inc -I$S/solenv/inc -I$S
> /res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/OOoEnv/JDK16~1.0_1/
> include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/
> include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICROS~1.0SD/include  -
> I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/inc/svl  -DBOOST_MEM_FN_ENABL
> E_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -
> DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351
>  -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_
> VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEP
> RECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENT
> RANT -D_WIN32_IE=0x0500 -D_X86_=1 $S/svl/source/misc/mediatyp.src -f - | awk -f
> $S/solenv/gbuild/processdeps.awk -v OBJECTFILE=$W/SrsPartTarget/svl/source/misc/
> mediatyp.src -v OUTDIR=$O/ -v WORKDIR=$W/ -v SRCDIR=$S/ -v REPODIR=$R/ > $W/Dep/
> SrsPartTarget/svl/source/misc/mediatyp.src.d
> R=f:/ && O=f:/DEV300_m100/solver/300/wntmsci12.pro && W=f:/DEV300_m100/solver/30
> 0/wntmsci12.pro/workdir && S=f:/DEV300_m100 &&  mkdir -p $W/SrsPartTarget/svl/so
> urce/misc/ && RESPONSEFILE=`mktemp --tmpdir=C:/cygwin/tmp -t gbuild.XXXXXX` && e
> cho "-s -I. -I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/wntmsci12/inc -I
> $S/solenv/inc -I$S/res -I$O/inc/stl -Id:/OOoEnv/JDK16~1.0_1/include/win32 -Id:/O
> OoEnv/JDK16~1.0_1/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGR
> A~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MICROS~1.0SD/include -Ic:/PROGRA~1/MICRO
> S~1.0SD/include  -I$W/inc -I$S/svl/source/inc -I$S/svl/inc/ -I$S/svl/inc/svl  -I
> $S/svl/source/misc/ -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_G
> RAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DES
> K -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUC
> T -DPRODUCT_FULL -DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=300 -DVCL -DWIN32 -DW
> INVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -
> D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X86_=1 -fp=$W
> /SrsPartTarget/svl/source/misc/mediatyp.src $S/svl/source/misc/mediatyp.src" > $
> {RESPONSEFILE} && SOLARBINDIR=$O/bin $O/bin/rsc.exe -presponse @${RESPONSEFILE}
> && rm -rf ${RESPONSEFILE}
> cpp: line 0, Error: Too many file arguments.  Usage: cpp [input [output]]
> Error starting preprocessor
> make: *** [/cygdrive/f/DEV300_m100/solver/300/wntmsci12.pro/workdir/SrsPartTarge
> t/svl/source/misc/mediatyp.src] Error 1

hmm, still have no idea, the call to cpp/rscpp is not shown...
please try the following:
first apply the attached patch (to give -verbose flag to rsc)
then rebuild rsc:
 (cd rsc && rm -r wntmsci* && build debug=t && deliver)
then try again, it should now print the arguments that don't work

-- 
"I was learning of a painful truth about Perl that many others had
 discovered before me: that it is an undesigned dung heap of a language
 entirely inappropriate for software in-the-large." -- Bryan Cantrill
--
------------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected] with Subject: help
rsc_verbose.patch (text/x-patch, 658 B)
diff --git a/solenv/gbuild/AllLangResTarget.mk b/solenv/gbuild/AllLangResTarget.mk
--- a/solenv/gbuild/AllLangResTarget.mk
+++ b/solenv/gbuild/AllLangResTarget.mk
@@ -69,6 +69,7 @@ define gb_SrsPartTarget__command
 	mkdir -p $(dir $(1)) && \
 	RESPONSEFILE=`$(gb_MKTEMP)` && \
 	echo "-s \
+		-verbose \
 		$(INCLUDE) \
 		-I$(dir $(3)) \
 		$(DEFS) \
@@ -214,6 +215,7 @@ gb_ResTarget_DEFIMAGESLOCATION := $(SRCD
 			$(dir $(call gb_ResTarget_get_imagelist_target,$*)) && \
 		RESPONSEFILE=`$(gb_MKTEMP)` && \
 		echo "-r -p \
+			-verbose \
 			-lg$(LANGUAGE) \
 			-fs=$@ \
 			-lip=$(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/$(LIBRARY)) \
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.