<div dir="ltr"><div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 23, 2018 at 3:34 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 24/10/2018 01:59, Joel Sherrill wrote:<br>
> <br>
> <br>
> On Mon, Oct 22, 2018 at 7:03 PM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a><br>
> <mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>>> wrote:<br>
> <br>
>     On 23/10/2018 10:44, Joel Sherrill wrote:<br>
>     > On Mon, Oct 22, 2018, 6:37 PM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a><br>
>     <mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>><br>
>     > <mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a> <mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>>>> wrote:<br>
>     > Hmm ... I installed msys2 from scratch in the last couple of weeks. I used the<br>
>     > Pacman command in the hosts section (formerly in the RSB). Are there two<br>
>     Pacman<br>
>     > command examples?<br>
> <br>
>     I cannot find any mention after you merged the Quick starts into a single one in<br>
>     the User Manual.<br>
> <br>
>     > I will scratch my msys2 and try again tomorrow but please check if there<br>
>     are two<br>
>     > separate sections with Pacman command advice.<br>
> <br>
>     Sure.<br>
> <br>
> <br>
> Hmmm... user/hosts/windows.rst and rsb/hosts.rst still have example pacman<br>
> commands. I suspect I should have removed rsb/hosts.rst. :(<br>
<br>
Yes, hmmm. Did those sections move over in your merge? I only looked in the RSB<br>
manual.<br></blockquote><div><br></div><div>You shouldn't look there. We wanted those to disappear and be in the Users Guide. :)</div><div><br></div><div>Is your tree up to date? I don't see hosts.rst at all in the RSB manual</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> Fresh msys2 install:<br>
> <br>
>  $ pacman -S python mingw-w64-x86_64-python2 mingw-w64-x86_64-gcc \<br>
>   bison cvs diffutils git make patch tar texinfo unzip<br>
> $ git clone git://<a href="http://git.rtems.org/rtems-source-builder.git" rel="noreferrer" target="_blank">git.rtems.org/rtems-source-builder.git</a><br>
> <<a href="http://git.rtems.org/rtems-source-builder.git" rel="noreferrer" target="_blank">http://git.rtems.org/rtems-source-builder.git</a>><br>
> $ cd rtems-source-builder/rtems<br>
> <br>
> jrs007@JRS-OAR-Laptop MSYS ~/rtems-source-builder/rtems<br>
> $ ../source-builder/sb-check<br>
> error: no hosts defaults found; please add<br>
> $ ../source-builder/sb-set-builder --source-only-download 5/rtems-sparc<br>
> error: no hosts defaults found; please add<br>
> Build FAILED<br>
> <br>
> Seems like something got worse.<br>
> <br>
<br>
What do ...<br>
<br>
 $ python ../source-builder/sb/windows.py<br></blockquote><div><br></div><div>$ python ../source-builder/sb/windows.py</div><div>{'___setup_shell': ('exe', 'required', '%{__sh}'),</div><div> '__bash': ('exe', 'required', 'bash'),</div><div> '__bison': ('exe', 'required', 'bison'),</div><div> '__bzip2': ('exe', 'required', 'bzip2'),</div><div> '__cat': ('exe', 'required', 'cat'),</div><div> '__cc': ('exe', 'required', 'x86_64-w64-mingw32-gcc'),</div><div> '__chgrp': ('exe', 'required', 'chgrp'),</div><div> '__chmod': ('exe', 'required', 'chmod'),</div><div> '__chown': ('exe', 'required', 'chown'),</div><div> '__cp': ('exe', 'required', 'cp'),</div><div> '__cvs': ('exe', 'optional', 'cvs'),</div><div> '__cxx': ('exe', 'required', 'x86_64-w64-mingw32-g++'),</div><div> '__flex': ('exe', 'required', 'flex'),</div><div> '__git': ('exe', 'required', 'git'),</div><div> '__grep': ('exe', 'required', 'grep'),</div><div> '__gzip': ('exe', 'required', 'gzip'),</div><div> '__id': ('exe', 'required', 'id'),</div><div> '__install': ('exe', 'required', 'install'),</div><div> '__install_info': ('exe', 'required', 'install-info'),</div><div> '__ld': ('exe', 'required', 'ld'),</div><div> '__ldconfig': ('exe', 'none', ''),</div><div> '__makeinfo': ('exe', 'required', 'makeinfo'),</div><div> '__mkdir': ('exe', 'required', 'mkdir'),</div><div> '__mv': ('exe', 'required', 'mv'),</div><div> '__nm': ('exe', 'required', 'nm'),</div><div> '__objcopy': ('exe', 'required', 'objcopy'),</div><div> '__objdump': ('exe', 'required', 'objdump'),</div><div> '__patch': ('exe', 'required', 'patch'),</div><div> '__patch_bin': ('exe', 'required', 'patch'),</div><div> '__rm': ('exe', 'required', 'rm'),</div><div> '__sed': ('exe', 'required', 'sed'),</div><div> '__sh': ('exe', 'required', 'sh'),</div><div> '__tar': ('exe', 'required', 'bsdtar'),</div><div> '__touch': ('exe', 'required', 'touch'),</div><div> '__unzip': ('exe', 'required', 'unzip'),</div><div> '__xz': ('exe', 'required', 'xz'),</div><div> '_build': ('triplet', 'required', 'x86_64-w64-mingw32'),</div><div> '_build_alias': ('none', 'none', '%{nil}'),</div><div> '_build_arch': ('none', 'none', 'x86_64'),</div><div> '_build_cpu': ('none', 'none', 'x86_64'),</div><div> '_build_os': ('none', 'none', 'win32'),</div><div> '_build_os_version': ('none', 'none', 'n'),</div><div> '_build_vendor': ('none', 'none', 'microsoft'),</div><div> '_buildshell': ('exe', 'required', '%{__sh}'),</div><div> '_host': ('triplet', 'required', 'x86_64-w64-mingw32'),</div><div> '_host_alias': ('none', 'none', '%{nil}'),</div><div> '_host_arch': ('none', 'none', 'x86_64'),</div><div> '_host_cpu': ('none', 'none', 'x86_64'),</div><div> '_host_os': ('none', 'none', 'win32'),</div><div> '_host_vendor': ('none', 'none', 'microsoft'),</div><div> '_ncpus': ('none', 'none', '8'),</div><div> '_os': ('none', 'none', 'win32'),</div><div> '_usr': ('dir', 'optional', '/opt/local'),</div><div> '_var': ('dir', 'optional', '/opt/local/var'),</div><div> 'gdb_python2': u'/c/msys64/mingw64/bin/python2.exe',</div><div> 'gdb_python3': u'/c/msys64/mingw64/bin/python3.exe'}</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
 $ set | grep PATH<br></blockquote><div><br></div><div>$ set | grep PATH</div><div>ACLOCAL_PATH=/mingw64/share/aclocal:/usr/share/aclocal</div><div>HOMEPATH='\Users\jrs007'</div><div>INFOPATH=/usr/local/info:/usr/share/info:/usr/info:/share/info</div><div>MANPATH=/mingw64/local/man:/mingw64/share/man:/usr/local/man:/usr/share/man:/usr/man:/share/man</div><div>MSYS2_PATH=/usr/local/bin:/usr/bin:/bin</div><div>ORIGINAL_PATH=/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/</div><div>PATH=/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl</div><div>PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'</div><div>PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig</div><div>VBOX_MSI_INSTALL_PATH='C:\Program Files\Oracle\VirtualBox\'</div><div>    local PATH=$PATH:/sbin;</div><div>    if [[ -z "${CDPATH:-}" || "$cur" == ?(.)?(.)/* ]]; then</div><div>    for i in ${CDPATH//:/'</div><div>    PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin type $1 &> /dev/null</div><div>    COMPREPLY=($( compgen -W "$( PATH="$PATH:/sbin" lsmod |         awk '{if (NR != 1) print $1}' )" -- "$1" ))</div><div>    local PATH=$PATH:/sbin;</div><div>    local PATH="$PATH:/sbin:/usr/sbin";</div><div>    COMPREPLY+=($( compgen -W         "$( PATH="$PATH:/sbin" lspci -n | awk '{print $3}')" -- "$cur" ))</div><div>    local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin;</div><div>    COMPREPLY+=($( compgen -W         "$( PATH="$PATH:/sbin" lsusb | awk '{print $6}' )" -- "$cur" ))</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
... show?<br>
<br>
Chris<br>
</blockquote></div></div></div></div>