Win32 build: Weird 2.4.6 build error

Geert Janssens janssens-geert at telenet.be
Sat May 28 05:57:20 EDT 2011


On zaterdag 28 mei 2011, Christian Stimming wrote:
> Hi Geert,
> 
> did you already see this morning's weird build error concerning the 2.4.6
> tag? I've copied the complete (very short) log below. I wonder what was
> changed between 2.4.5 and 2.4.6... because all your build script changes
> have been back-ported even before the 2.4.5 tag. I can look into this some
> more tonight. Any idea from your side?
> 
I had a look at the code and I think I have found the cause. We were testing 
for mingw availability before configuring msys where to look for it.

Due to the way the automated builds are configured msys uses

/c/soft/mingw

by default. This mingw directory exists because of the preceding trunk build. 
Hence the "test for mingw" will find a g++ in /c/soft/mingw and concludes that 
mingw is already installed. So it won't continue to install mingw properly in 
/c/soft/gnucash-<tag>/mingw
where the remainder of the tag build scripts expect it. This causes the next 
step to fail.

I think this problem already existed in 2.4.5, but we avoided it by 
coincidence by manually restarting a failed tag build. That could work due to 
another bug in the build scripts I just discovered: when a build fails the 
msys-mingw connection is not reset to the state before the build. I have 
committed a fix for that issue too.

As far as I'm concerned, you can retag the 2.4.6 this evening and we'll see 
tomorrow's result.

Geert


> Regards,
> 
> Christian
> 
> 
> 
> Build Starting at Sat May 28 03:13:44 EDT 2011
> 
> ############################################################
> ###  Wget
> ############################################################
> 
> ############################################################
> ###  MSYS DTK
> ############################################################
> msys dtk already installed in /c/msys/1.0.  skipping.
> 
> ############################################################
> ###  Unzip
> ############################################################
> 
> ############################################################
> ###  MinGW
> ############################################################
> mingw already installed in /c/soft/gnucash-2.4.6/mingw.  skipping.
> configuring msys to use c:/soft/gnucash-2.4.6/mingw.
> 
> ############################################################
> ###  RegEx
> ############################################################
> Extracting libgnurx-2.5.zip ... done
> Extracting libgnurx-dev-2.5.zip ... done
> 
> !!! regex not installed correctly !!!
> !!! ABORTING !!!
> configuring msys to use c:/soft/gnucash-2.4.6/mingw.
> 
> ############################################################
> ###  RegEx
> ############################################################
> 
> ############################################################
> ###  Autotools
> ############################################################
> cp: cannot stat `/c/soft/gnucash-2.4.6/autotools/bin/*.dll': No such file
> or directory



More information about the gnucash-devel mailing list