Issue 126916

Summary: windows build breaks in module formula
Product: Build Tools Reporter: Oliver Brinzing <oliver.brinzing>
Component: dmakeAssignee: AOO issues mailing list <issues>
Status: RESOLVED FIXED QA Contact:
Severity: Normal    
Priority: P5 (lowest) CC: damjan, oliver.brinzing
Version: 4.2.0-devKeywords: regression
Target Milestone: 4.2.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: 4.2.0-dev
Developer Difficulty: ---
Attachments:
Description Flags
patch none

Description Oliver Brinzing 2016-04-10 11:49:45 UTC
maybe introduced with: "Migrate main/formula from dmake to gbuild"
https://svn.apache.org/viewvc?view=revision&revision=1705072

cause same "configure" will build aoo412 without any problems

autoconf
./configure \
--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
--with-vendor="AOO Debug Build" \
--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2" \
--with-ant-home="/cygdrive/c/build/ant" \
--with-mozilla-build="/cygdrive/c/build/mozilla-build" \
--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \
--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC"  \
--with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE" \
--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
--with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0"  \
--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \
--with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (June 2010)" \
--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \
--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \
--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \
--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \
--enable-pch \
--with-package-format="installed msi" \
--enable-win-x64-shellext \
--enable-category-b \
--enable-bundled-dictionaries \
--with-lang="de" \
--without-stlport \
--without-junit \
--enable-verbose \
--disable-odk \
--without-fonts \
--disable-online-update \
--disable-strip-solver \
--enable-symbols \
--enable-dbgutil \
--enable-crashdump \
--enable-debug

$ build --from formula
build -- version: 275224

=============
Building module formula
=============

Entering /cygdrive/c/build_tmp/aoo_src/main/formula/prj

cd .. && make  -r -j1  debug=true && make  -r deliverlog
make: Circular /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/Package/formula_inc <- /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/ExternalHeaders/Library/iforui.lib dependency dropped.
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/ExternalReferenceHelper.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/FormulaCompiler.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/FormulaOpCodeMapperObj.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/IControlReferenceHandler.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/IFunctionDescription.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/compiler.hrc' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/errorcodes.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/formdata.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/formula.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/formuladllapi.h' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/formulahelper.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/funcutl.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/grammar.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/intruref.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/opcode.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/token.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/tokenarray.hxx' has a high resolution time stamp
make: Circular /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/PrecompiledHeader/debug/precompiled_formula.hxx.pch <- /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/ExternalHeaders/Library/iforui.lib dependency dropped.
make: Circular /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/NoexPrecompiledHeader/debug/precompiled_formula.hxx.pch <- /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/ExternalHeaders/Library/iforui.lib dependency dropped.
[ build DEP ] LNK:Library/ifor.lib
R=/cygdrive/c/build_tmp/aoo_src && S=$R/main && O=$S/solver/420/wntmsci12 && W=$O/workdir &&  mkdir -p $W/Dep/LinkTarget/Library/ && RESPONSEFILE=C:/build/cygwin/tmp/gbuild.sDhdzm && cat ${RESPONSEFILE} /dev/null | xargs -n 200 cat > $W/Dep/LinkTarget/Library/ifor.lib.d && rm -f ${RESPONSEFILE}
make: Circular /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/Package/formula_inc <- /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/ExternalHeaders/Library/iforui.lib dependency dropped.
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/ExternalReferenceHelper.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/FormulaCompiler.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/FormulaOpCodeMapperObj.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/IControlReferenceHandler.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/IFunctionDescription.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/compiler.hrc' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/errorcodes.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/formdata.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/formula.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/formuladllapi.h' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/formulahelper.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/funcutl.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/grammar.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/intruref.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/opcode.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/token.hxx' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/formula/tokenarray.hxx' has a high resolution time stamp
make: Circular /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/PrecompiledHeader/debug/precompiled_formula.hxx.pch <- /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/ExternalHeaders/Library/iforui.lib dependency dropped.
make: Circular /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/NoexPrecompiledHeader/debug/precompiled_formula.hxx.pch <- /cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/ExternalHeaders/Library/iforui.lib dependency dropped.
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/bin/foren-US.res' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/bin/forde.res' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/bin/foruien-US.res' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/bin/foruide.res' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/lib/ifor.lib' has a high resolution time stamp
make: *** Warning: .LOW_RESOLUTION_TIME file '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/xml/component/formula/util/for.component' has a high resolution time stamp
[ build CXX ] formula/source/ui/dlg/formula
R=c:/build_tmp/aoo_src && O=$R/main/solver/420/wntmsci12 && W=$R/main/solver/420/wntmsci12/workdir && S=$R/main &&  mkdir -p $W/CxxObject/formula/source/ui/dlg/ && unset INCLUDE && C:/PROGRA~2/MICROS~1.0/VC/bin/cl.exe -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DDBG_UTIL -DDEBUG -DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -DNT351 -DOSL_DEBUG_LEVEL=2 -DSOLAR_JAVA -DSUPD=420 -DVCL -DWIN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_STLP_DEBUG -D_WIN32_IE=0x0500 -D_X86_=1 -D_DLL  -DPRECOMPILED_HEADERS -DFORMULA_DLLIMPLEMENTATION  -Gd -GR -Gs -GS -Gy -nologo -Wall -wd4005 -wd4061 -wd4127 -wd4180 -wd4189 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275 -wd4290 -wd4294 -wd4350 -wd4355 -wd4365 -wd4503 -wd4505 -wd4511 -wd4512 -wd4514 -wd4611 -wd4619 -wd4625 -wd4626 -wd4640 -wd4668 -wd4675 -wd4692 -wd4710 -wd4711 -wd4738 -wd4786 -wd4800 -wd4820 -wd4826 -Zc:wchar_t- -Zm500  -Zi -Zi  -DEXCEPTIONS_ON -EHa   -Fd$W/LinkTarget/pdb/Library/iforui.lib.pdb -Yuprecompiled_formula.hxx -Fp$W/PrecompiledHeader/debug/precompiled_formula.hxx.pch -I$S/formula/source/ui/dlg/ -IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/stl -IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/external -IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc -IC:/build_tmp/aoo_src/main/solenv/wntmsci12/inc -IC:/build_tmp/aoo_src/main/solenv/inc -IC:/build_tmp/aoo_src/main/res -IC:/build_tmp/aoo_src/main/tools/inc -IC:/build_tmp/aoo_src/main/comphelper/inc -IC:/PROGRA~2/Java/JDK17~1.0/include/win32 -IC:/PROGRA~2/Java/JDK17~1.0/include -IC:/PROGRA~1/MICROS~1/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/PROGRA~2/MICROS~1/include -IC:/PROGRA~2/MICROS~1/include   -I$S/formula/inc -I$S/formula/inc/pch -I$S/formula/source/ui/inc -I$O/inc -I$O/inc/offuh  -c $S/formula/source/ui/dlg/formula.cxx -Fo$W/CxxObject/formula/source/ui/dlg/formula.o
formula.cxx
c:/build_tmp/aoo_src/main/formula/source/ui/dlg/formula.cxx(25) : error C2858: command-line option 'program database name (/Fdc:\build_tmp\aoo_src\main\solver\420\wntmsci12\workdir\linktarget\pdb\library\iforui.lib.pdb)' inconsistent with precompiled header, which used '/Fdc:\build_tmp\aoo_src\main\solver\420\wntmsci12\workdir\linktarget\pdb\library\ifor.lib.pdb'
c:/build_tmp/aoo_src/main/formula/source/ui/dlg/formula.cxx(25) : error C2859: c:\build_tmp\aoo_src\main\solver\420\wntmsci12\workdir\linktarget\pdb\library\iforui.lib.pdb is not the pdb file that was used when this precompiled header was created, recreate the precompiled header.
C:/build_tmp/aoo_src/main/solenv/gbuild/LinkTarget.mk:126: recipe for target '/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/CxxObject/formula/source/ui/dlg/formula.o' failed
make: *** [/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/workdir/CxxObject/formula/source/ui/dlg/formula.o] Error 2
dmake:  Error code 2, while making 'all'

1 module(s):
        formula
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/c/build_tmp/aoo_src/main/formula/prj

When you have fixed the errors in that module you can resume the build by running:

        build --from formula
Comment 1 Oliver Brinzing 2016-06-12 07:55:16 UTC
Created attachment 85568 [details]
patch
Comment 2 Oliver Brinzing 2016-06-12 07:55:45 UTC
i can no longer confirm this issue with svn revision 1747860
and damjan@apache.org's attached patch.
Comment 3 SVN Robot 2016-06-12 08:35:50 UTC
"damjan" committed SVN revision 1747968 into trunk:
#i126916# windows build breaks in module formula
Comment 4 damjan 2016-06-12 08:37:31 UTC
Great, patch committed, resolving fixed. Thank you so much for reporting and testing!