Issue 126410

Summary: Comphelper build failure with nonsense path
Product: Build Tools Reporter: j_k_marshall_2004
Component: dmakeAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P5 (lowest)    
Version: 4.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Windows build environment variables none

Description j_k_marshall_2004 2015-07-19 22:24:19 UTC
Created attachment 84829 [details]
Windows build environment variables

Hi

I am trying to build AOO from source (4.1.1) and the build gets so far, but ceases with the following error:

***********************************************************

=============
Building module comphelper
=============
Entering /tmp/aoo-4.1.1/main/comphelper/prj
cd .. && make -s -r -j1   && make -s -r deliverlog
[ info  ALL ] LinkTarget Library/isal.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/icppuhelper.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/icppu.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/iucbhelper.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/ivos.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/uwinapi.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming headers to be there!
[ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming headers to be there!
[ build PKG ] comphelper_inc
[ build PCH ] precompiled_comphelper
precompiled_comphelper.cxx
awk: fatal: can't open source file `C:/cygwinc:/cygwin/tmp/aoo-4.1.1/main/solenv/gbuild/processdeps.awk' for reading (No such file or directory)
C:/cygwin/tmp/aoo-4.1.1/main/solenv/gbuild/PrecompiledHeaders.mk:49: recipe for target '/tmp/aoo-4.1.1/main/solver/411/wntmsci12.pro/workdir/PrecompiledHeader/nodebug/precompiled_comphelper.hxx.pch' failed
make: *** [/tmp/aoo-4.1.1/main/solver/411/wntmsci12.pro/workdir/PrecompiledHeader/nodebug/precompiled_comphelper.hxx.pch] Error 2
dmake:  Error code 2, while making 'all'
1 module(s):
        comphelper
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making /tmp/aoo-4.1.1/main/comphelper/prj
When you have fixed the errors in that module you can resume the build by running:
        build --all:comphelper

***********************************************************

I have noted that the build seems to be attempting to access the file 'processdeps.awk' but using an erroneous and non-sensical directory as follows:
 
C:/cygwinc:/cygwin/tmp/aoo-4.1.1/main/solenv/gbuild/processdeps.awk
 
As you can see, the script appears to have somehow used 'c:\cygwin' twice at the start of the path.
 
I have manually checked for the 'processdeps.awk' file and can confirm that it does exist, but at the following path:
 
C:/cygwin/tmp/aoo-4.1.1/main/solenv/gbuild/
 
My assumption would be that somewhere a conversion between Windows and Cygwin paths has gone wrong.

I have attached my the 'winenv.set.sh' file which was in place at the time of the build.

If you require further information, do let me know.

Thank you.

Jason