<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
span.EmailStyle20
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Hello Boris,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">First thanks for making build2!<o:p></o:p></p>
<p class="MsoPlainText">It looks very promising!<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I bootstrapped version 0.4.0 on Windows - though it was a rough ride. I had to resort to the manual steps which you describe in the installation document (<a href="https://build2.org/build2-toolchain/doc/build2-toolchain-install.xhtml">https://build2.org/build2-toolchain/doc/build2-toolchain-install.xhtml</a>).
 And I ran into several problems like these:<o:p></o:p></p>
<p class="MsoPlainText">* Problem: msys64\usr\bin\gzip.exe: *** fatal error - cygheap base mismatch detected<o:p></o:p></p>
<p class="MsoPlainText">   Solution: Remove \msys64\usr\bin from path due to some cygwin version incompatibilities (cygwin1.dll)<o:p></o:p></p>
<p class="MsoPlainText">* Copy missing dll's from the build2-build directory tree to the build2/bin folder<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoNormal">But now I am eager to try out the latest development versions of build2 especially the new parallel build support.
<o:p></o:p></p>
<p class="MsoNormal">I cloned and updated the toolchain repo with its subrepo's. But I couldn't figure out how to successfully build the latest version of master (aka 0.5.0-a1).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is a summary of what I tried:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I first tried to copy the bootstrap folder to have a new build2-toolchain- 0.5.0-a1 filled with updated files from the toolchain Git repo, which didn’t work well with the bpkg command.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Then I tried to execute build-mingw.bat in the toolchain Git repo.
<o:p></o:p></p>
<p class="MsoNormal">First I got errors referring to problems with the doc build targets. Looks like a problem you only get on the Windows platform:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">build2\b-boot config.cxx=c:\Tools\mingw-w64\mingw64\bin\g++.exe config.bin.lib=static<o:p></o:p></p>
<p class="MsoNormal">error: no rule to update doc{INSTALL}<o:p></o:p></p>
<p class="MsoNormal">  info: re-run with --verbose 4 for more information<o:p></o:p></p>
<p class="MsoNormal">  info: while applying rule alias to update dir{.\}<o:p></o:p></p>
<p class="MsoNormal">error: no rule to update doc\doc{build2-build-system-manual-letter.ps}<o:p></o:p></p>
<p class="MsoNormal">  info: re-run with --verbose 4 for more information<o:p></o:p></p>
<p class="MsoNormal">  info: while applying rule alias to update dir{doc\}<o:p></o:p></p>
<p class="MsoNormal">  info: while applying rule alias to update dir{.\}<o:p></o:p></p>
<p class="MsoNormal">[…]<o:p></o:p></p>
<p class="MsoNormal">info: failed to update dir{.\}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Then I manually removed the doc targets out of every buildfile.
<o:p></o:p></p>
<p class="MsoNormal">Then options.*xx files were missing inside the libodb-sqlite folder and had to be substituted from the folder containing the 0.4.0 bootstrap. E.g. see below.<o:p></o:p></p>
<p class="MsoNormal">Also lots of files were missing in the bpkg folder. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">build2\build2\b-boot --verbose 4 install <o:p></o:p></p>
<p class="MsoNormal">[…]<o:p></o:p></p>
<p class="MsoNormal">error: no rule to update (for install) C:\build2-toolchain\libodb-sqlite\odb\sqlite\details\hxx{options.hxx}<o:p></o:p></p>
<p class="MsoNormal">  info: while applying rule cxx.link to update (for install) C:\build2-toolchain\libodb-sqlite\odb\sqlite\libs{odb-sqlite.dll}<o:p></o:p></p>
<p class="MsoNormal">  info: while applying rule bin.lib to update (for install) C:\build2-toolchain\libodb-sqlite\odb\sqlite\lib{odb-sqlite}<o:p></o:p></p>
<p class="MsoNormal">  info: while applying rule install.alias to update (for install) dir{C:\build2-toolchain\libodb-sqlite\odb\sqlite\}<o:p></o:p></p>
<p class="MsoNormal">  info: while applying rule install.alias to update (for install) dir{C:\build2-toolchain\libodb-sqlite\}<o:p></o:p></p>
<p class="MsoNormal">  info: while applying rule install.alias to update (for install) dir{C:\build2-toolchain\}<o:p></o:p></p>
<p class="MsoNormal">c:\Tools\mingw-w64\mingw64\bin\g++.exe -IC:\build2-toolchain\libodb -DLIBODB_BUILD2 -DLIBODB_SHARED -IC:\build2-toolchain\libsqlite3\sqlite3 -DSQLITE_API=__declspec(dllimport) -IC:\build2-toolchain\libodb-sqlite -IC:\build2-toolchain\libodb-sqlite
 -DLIBODB_SQLITE_BUILD2 -DLIBODB_SQLITE_SHARED_BUILD -std=c++0x -M -MG -MQ ^ C:\build2-toolchain\libodb-sqlite\odb\sqlite\database.cxx<o:p></o:p></p>
<p class="MsoNormal">c:\Tools\mingw-w64\mingw64\bin\g++.exe -IC:\build2-toolchain\libodb -DLIBODB_BUILD2 -DLIBODB_STATIC -IC:\build2-toolchain\libsqlite3\sqlite3 -IC:\build2-toolchain\libodb-sqlite -IC:\build2-toolchain\libodb-sqlite -DLIBODB_SQLITE_BUILD2
 -DLIBODB_SQLITE_STATIC_BUILD -std=c++0x -M -MG -MQ ^ C:\build2-toolchain\libodb-sqlite\odb\sqlite\database.cxx<o:p></o:p></p>
<p class="MsoNormal">trace: cxx::compile::inject: non-existent header 'odb\sqlite\details\options.hxx'<o:p></o:p></p>
<p class="MsoNormal">trace: cxx::compile::inject: mapped as auto-generated C:\build2-toolchain\libodb-sqlite\odb\sqlite\details\options.hxx<o:p></o:p></p>
<p class="MsoNormal">trace: cxx::compile::inject: non-existent header 'odb\sqlite\details\options.hxx'<o:p></o:p></p>
<p class="MsoNormal">trace: cxx::compile::inject: mapped as auto-generated C:\build2-toolchain\libodb-sqlite\odb\sqlite\details\options.hxx<o:p></o:p></p>
<p class="MsoNormal">info: failed to update (for install) dir{C:\build2-toolchain\}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Still remaining problems:<o:p></o:p></p>
<p class="MsoNormal">I got lots of errors like this: #error ODB runtime version mismatch<o:p></o:p></p>
<p class="MsoNormal">And some of the substituted files from 0.4.0 obviously need newer versions.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Could you please include a section in the installation manual on how to build the latest development version on the master branch!?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Thanks and kind regards,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Max</span><o:p></o:p></p>
</div>
</body>
</html>