<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Karel,<div class=""><br class=""></div><div class=""> I have no idea what's wrong.</div><div class=""><br class=""></div><div class="">If I ask nicely:</div><div class=""><br class=""></div><div class="">:- which python2<br class="">/Library/Frameworks/Python.framework/Versions/2.7/bin/python2<br class="">:- python2 --version<br class="">Python 2.7.18<br class=""><br class="">all seems well.</div><div class=""><br class=""></div><div class="">I have has this problem before and usually I just purge all "brew" versions of python,</div><div class="">and perhaps re-install/update the command line tools from x-code - then all works fine.</div><div class="">Right now my Mac reports my X-code and command line tools as up to date.</div><div class=""><br class=""></div><div class="">When it is checking for python - what is the check? How does it determine "usability"? It's not simple presence of the binary.</div><div class=""><br class=""></div><div class="">Currently I have three python2s:</div><div class=""><br class=""></div><div class="">:- type -a python2<br class="">python2 is /Library/Frameworks/Python.framework/Versions/2.7/bin/python2<br class="">python2 is /Library/Frameworks/Python.framework/Versions/2.7/bin/python2<br class="">python2 is /usr/local/bin/python2<br class=""><br class="">The first one an the $PATH is the one the tool builder doesn't like.</div><div class=""><br class="">:- type python2<br class="">python2 is hashed (/Library/Frameworks/Python.framework/Versions/2.7/bin/python2)<br class=""><br class=""></div><div class="">Thanks,</div><div class="">  Andrew</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 12 Oct 2020, at 11:21, Karel Gardas <<a href="mailto:karel.gardas@centrum.cz" class="">karel.gardas@centrum.cz</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 10/12/20 12:17 PM, Andrew Butterfield wrote:<br class=""><blockquote type="cite" class="">Dear all, <br class="">I am having a problem building RTEMs master, on OS X Mojave - see below<br class=""></blockquote><br class="">checking whether to use python...<br class="">/Library/Frameworks/Python.framework/Versions/2.7/bin/python2<br class="">checking for python... no<br class="">configure: error: no usable python found at<br class="">/Library/Frameworks/Python.framework/Versions/2.7/bin/python2<br class=""><br class="">Something wrong with your python2 install? E.g. gdb needs python2 and if<br class="">you don't have it, it'll fail which will fail tools compile which will<br class="">fail whole rtems compile...<br class=""><br class="">Cheers,<br class="">Karel<br class=""><br class=""><blockquote type="cite" class=""><br class=""><blockquote type="cite" class="">Begin forwarded message:<br class=""><br class="">*From: *Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" class="">sebastian.huber@embedded-brains.de</a><br class=""><<a href="mailto:sebastian.huber@embedded-brains.de" class="">mailto:sebastian.huber@embedded-brains.de</a>>><br class="">*Subject: **Re: Build fail on debian - Toolset build error*<br class="">*Date: *12 October 2020 at 10:48:17 IST<br class="">*To: *Andrew Butterfield <<a href="mailto:Andrew.Butterfield@scss.tcd.ie" class="">Andrew.Butterfield@scss.tcd.ie</a><br class=""><<a href="mailto:Andrew.Butterfield@scss.tcd.ie" class="">mailto:Andrew.Butterfield@scss.tcd.ie</a>>><br class=""><br class="">Hello Andrew,<br class=""><br class="">could you please forward this e-mail to <a href="mailto:devel@rtems.org" class="">devel@rtems.org</a><br class=""><<a href="mailto:devel@rtems.org" class="">mailto:devel@rtems.org</a>>.<br class=""><br class="">On 12/10/2020 11:45, Andrew Butterfield wrote:<br class=""><blockquote type="cite" class="">Hi Sebastian,<br class=""><br class=""> I get a python error - despite using the virtual environment,<br class="">which maps `python` to the OS X \System installation of python 3.8<br class=""><br class="">It complains about python2 being unusable - see tail of report below...<br class=""><br class="">My command-line tools and Xcode are up-to-date. Now this is on a<br class="">Mojave machine, which is<br class="">one that is not listed in the User Manual where OS X is discussed.<br class=""><br class="">I'll try to do this on my laptop which is now Catalina<br class=""><br class="">Regards, Andrew<br class=""><br class="">tail of error report follows:<br class=""><br class="">checking for library containing socketpair... none required<br class="">checking for ld used by GCC...<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld<br class="">checking if the linker<br class="">(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)<br class="">is GNU ld... no<br class="">checking for shared library run path origin... done<br class="">checking for iconv... yes<br class="">checking how to link with libiconv... -liconv<br class="">checking for iconv declaration...<br class="">         extern size_t iconv (iconv_t cd, char * *inbuf, size_t<br class="">*inbytesleft, char * *outbuf, size_t *outbytesleft);<br class="">checking for library containing waddstr... -lncurses<br class="">checking for library containing tgetent... none required<br class="">checking size of unsigned long long... 8<br class="">checking size of unsigned long... 8<br class="">checking size of unsigned __int128... 16<br class="">checking for library containing dlopen... none required<br class="">checking whether to use expat... yes<br class="">checking for libexpat... yes<br class="">checking how to link with libexpat... -lexpat<br class="">checking for XML_StopParser... yes<br class="">checking whether to use MPFR... auto<br class="">checking for libmpfr... no<br class="">configure: WARNING: MPFR is missing or unusable; some features may be<br class="">unavailable.<br class="">checking whether to use python...<br class="">/Library/Frameworks/Python.framework/Versions/2.7/bin/python2<br class="">checking for python... no<br class="">configure: error: no usable python found at<br class="">/Library/Frameworks/Python.framework/Versions/2.7/bin/python2<br class="">make[1]: *** [configure-gdb] Error 1<br class="">make: *** [all] Error 2<br class="">shell cmd failed: /bin/sh -ex<br class=""> /Users/butrfeld/REPOS/rtems-smp-qualification-qual/modules/rsb/rtems/build/sparc-rtems6-gdb-0295dde-x86_64-apple-darwin18.7.0-1/do-build<br class="">error: building sparc-rtems6-gdb-0295dde-x86_64-apple-darwin18.7.0-1<br class=""><br class=""><blockquote type="cite" class="">On 12 Oct 2020, at 09:19, Sebastian Huber<br class=""><<a href="mailto:sebastian.huber@embedded-brains.de" class="">sebastian.huber@embedded-brains.de</a><br class=""><<a href="mailto:sebastian.huber@embedded-brains.de" class="">mailto:sebastian.huber@embedded-brains.de</a>><br class=""><<a href="mailto:sebastian.huber@embedded-brains.de" class="">mailto:sebastian.huber@embedded-brains.de</a>>> wrote:<br class=""><br class="">On 12/10/2020 10:14, Andrew Butterfield wrote:<br class=""><br class=""><blockquote type="cite" class="">Is there any point me trying to build on my OS X machine, or will I<br class="">just get the same error?<br class=""></blockquote>It is unlikely that you get the same error. This seems to be a<br class="">Debian specific issue.<br class=""></blockquote><br class="">--------------------------------------------------------------------<br class="">Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204<br class="">Lero@TCD, Head of Software Foundations & Verification Research Group<br class="">School of Computer Science and Statistics,<br class="">Room G.39, O'Reilly Institute, Trinity College, University of Dublin<br class=""><a href="http://www.scss.tcd.ie/Andrew.Butterfield/" class="">http://www.scss.tcd.ie/Andrew.Butterfield/</a><br class="">--------------------------------------------------------------------<br class=""><br class=""></blockquote></blockquote><br class="">--------------------------------------------------------------------<br class="">Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204<br class="">Lero@TCD, Head of Software Foundations & Verification Research Group<br class="">School of Computer Science and Statistics,<br class="">Room G.39, O'Reilly Institute, Trinity College, University of Dublin<br class="">                         <a href="http://www.scss.tcd.ie/Andrew.Butterfield/" class="">http://www.scss.tcd.ie/Andrew.Butterfield/</a><br class="">--------------------------------------------------------------------<br class=""><br class=""><br class="">_______________________________________________<br class="">devel mailing list<br class=""><a href="mailto:devel@rtems.org" class="">devel@rtems.org</a><br class="">http://lists.rtems.org/mailman/listinfo/devel<br class=""><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">--------------------------------------------------------------------<br class="">Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204<br class="">Lero@TCD, Head of Software Foundations & Verification Research Group<br class="">School of Computer Science and Statistics,<br class="">Room G.39, O'Reilly Institute, Trinity College, University of Dublin<br class="">                         <a href="http://www.scss.tcd.ie/Andrew.Butterfield/" class="">http://www.scss.tcd.ie/Andrew.Butterfield/</a><br class="">--------------------------------------------------------------------</div>
</div>
<br class=""></div></body></html>