Windows build Unstable Fails

Robert Fewell 14ubobit at gmail.com
Wed Feb 7 12:14:00 EST 2018


A follow up, in i686-w64-mingw32/include/wincrypt.h there is a define for
X509_NAME, I temporarily renamed it and was able to build xmlsec and
continue to build GnuCash and create steup.exe for it which installed fine.
I have noticed a couple of issues with the register colours which I will
investigate and add fix to a PR.

Bob

On 4 February 2018 at 22:54, Robert Fewell <14ubobit at gmail.com> wrote:

> Hi,
>
> I thought I would build the latest Windows unstable version to prove some
> changes I was going to make but it failed as follows...
>
> I ran setup-ming64-ps1 which updated the core system files as usual and
> this completed OK. Probably my first mistake, should of kept the system
> files at a known working level but I suppose someone building from scratch
> would get the latest system files.
>
> Tried to use the jhbuild command which I think updated some AqBanking
> parts, and then started the Gnucash build. There were some references to
> boost dependencies as I think that was updated and then a failure to find
> Swig. Fixed that by applying the SwigPatch to new version of cmake-3.10 and
> then it failed on one of the scheme files.
>
> I think I had that sort of error before so I deleted the unstable folder
> and started to build it all again but xmlsec fails to build with the
> following error...
>
> In file included from C:/gcdev64/msys2/mingw32/i686-
> w64-mingw32/include/windows.h:95:0,
>                  from C:/gcdev64/msys2/mingw32/
> include/libxslt/xsltlocale.h:43,
>                  from C:/gcdev64/msys2/mingw32/
> include/libxslt/xsltInternals.h:24,
>                  from C:/gcdev64/msys2/mingw32/
> include/libxslt/security.h:17,
>                  from C:/gcdev64/gnucash/unstable/
> src/xmlsec-xmlsec-1_2_20/include/xmlsec/transforms.h:953,
>                  from C:/gcdev64/gnucash/unstable/
> src/xmlsec-xmlsec-1_2_20/include/xmlsec/keyinfo.h:27,
>                  from C:/gcdev64/gnucash/unstable/
> src/xmlsec-xmlsec-1_2_20/src/openssl/x509.c:33:
> C:/gcdev64/gnucash/unstable/src/xmlsec-xmlsec-1_2_20/src/openssl/x509.c:94:66:
> error: expected declaration specifiers or '...' before '(' token
>  static xmlChar*         xmlSecOpenSSLX509NameWrite
> (X509_NAME* nm);
>                                                                   ^
> In file included from C:/gcdev64/msys2/mingw32/i686-
> w64-mingw32/include/windows.h:95:0,
>                  from C:/gcdev64/msys2/mingw32/
> include/libxslt/xsltlocale.h:43,
>                  from C:/gcdev64/msys2/mingw32/
> include/libxslt/xsltInternals.h:24,
>                  from C:/gcdev64/msys2/mingw32/
> include/libxslt/security.h:17,
>                  from C:/gcdev64/gnucash/unstable/
> src/xmlsec-xmlsec-1_2_20/include/xmlsec/transforms.h:953,
>                  from C:/gcdev64/gnucash/unstable/
> src/xmlsec-xmlsec-1_2_20/include/xmlsec/keyinfo.h:27,
>                  from C:/gcdev64/gnucash/unstable/
> src/xmlsec-xmlsec-1_2_20/src/openssl/x509vfy.c:31:
> C:/gcdev64/gnucash/unstable/src/xmlsec-xmlsec-1_2_20/src/openssl/x509vfy.c:100:8:
> error: expected identifier or '(' before 'LPCSTR'
>  static X509_NAME*       xmlSecOpenSSLX509NameRead
> (xmlSecByte *str,
>         ^
>
> Spent some time poking around but my knowledge is lacking. I did try a
> newer version of xmlsec but that fails in the same place and I also was
> wondering if the i686-w64-mingw32 included header files had changed as they
> are all new.
>
> Can any one point me in the right direction and also the build server has
> not done a successful run recently.
>
> Regards,
>   Bob
>


More information about the gnucash-devel mailing list