Re: Fwd: Build fail on debian - Toolset build error

2020-10-12 Thread Karel Gardas
On 10/12/20 12:17 PM, Andrew Butterfield wrote:
> Dear all, 
> I am having a problem building RTEMs master, on OS X Mojave - see below

checking whether to use python...
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2
checking for python... no
configure: error: no usable python found at
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2

Something wrong with your python2 install? E.g. gdb needs python2 and if
you don't have it, it'll fail which will fail tools compile which will
fail whole rtems compile...

Cheers,
Karel

> 
>> Begin forwarded message:
>>
>> *From: *Sebastian Huber > >
>> *Subject: **Re: Build fail on debian - Toolset build error*
>> *Date: *12 October 2020 at 10:48:17 IST
>> *To: *Andrew Butterfield > >
>>
>> Hello Andrew,
>>
>> could you please forward this e-mail to devel@rtems.org
>> .
>>
>> On 12/10/2020 11:45, Andrew Butterfield wrote:
>>> Hi Sebastian,
>>>
>>>  I get a python error - despite using the virtual environment,
>>> which maps `python` to the OS X \System installation of python 3.8
>>>
>>> It complains about python2 being unusable - see tail of report below...
>>>
>>> My command-line tools and Xcode are up-to-date. Now this is on a
>>> Mojave machine, which is
>>> one that is not listed in the User Manual where OS X is discussed.
>>>
>>> I'll try to do this on my laptop which is now Catalina
>>>
>>> Regards, Andrew
>>>
>>> tail of error report follows:
>>>
>>> checking for library containing socketpair... none required
>>> checking for ld used by GCC...
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
>>> checking if the linker
>>> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
>>> is GNU ld... no
>>> checking for shared library run path origin... done
>>> checking for iconv... yes
>>> checking how to link with libiconv... -liconv
>>> checking for iconv declaration...
>>>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t
>>> *inbytesleft, char * *outbuf, size_t *outbytesleft);
>>> checking for library containing waddstr... -lncurses
>>> checking for library containing tgetent... none required
>>> checking size of unsigned long long... 8
>>> checking size of unsigned long... 8
>>> checking size of unsigned __int128... 16
>>> checking for library containing dlopen... none required
>>> checking whether to use expat... yes
>>> checking for libexpat... yes
>>> checking how to link with libexpat... -lexpat
>>> checking for XML_StopParser... yes
>>> checking whether to use MPFR... auto
>>> checking for libmpfr... no
>>> configure: WARNING: MPFR is missing or unusable; some features may be
>>> unavailable.
>>> checking whether to use python...
>>> /Library/Frameworks/Python.framework/Versions/2.7/bin/python2
>>> checking for python... no
>>> configure: error: no usable python found at
>>> /Library/Frameworks/Python.framework/Versions/2.7/bin/python2
>>> make[1]: *** [configure-gdb] Error 1
>>> make: *** [all] Error 2
>>> shell cmd failed: /bin/sh -ex
>>>  
>>> /Users/butrfeld/REPOS/rtems-smp-qualification-qual/modules/rsb/rtems/build/sparc-rtems6-gdb-0295dde-x86_64-apple-darwin18.7.0-1/do-build
>>> error: building sparc-rtems6-gdb-0295dde-x86_64-apple-darwin18.7.0-1
>>>
 On 12 Oct 2020, at 09:19, Sebastian Huber
 >>> 
 > wrote:

 On 12/10/2020 10:14, Andrew Butterfield wrote:

> Is there any point me trying to build on my OS X machine, or will I
> just get the same error?
 It is unlikely that you get the same error. This seems to be a
 Debian specific issue.
>>>
>>> 
>>> Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204
>>> Lero@TCD, Head of Software Foundations & Verification Research Group
>>> School of Computer Science and Statistics,
>>> Room G.39, O'Reilly Institute, Trinity College, University of Dublin
>>> http://www.scss.tcd.ie/Andrew.Butterfield/
>>> 
>>>
> 
> 
> Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204
> Lero@TCD, Head of Software Foundations & Verification Research Group
> School of Computer Science and Statistics,
> Room G.39, O'Reilly Institute, Trinity College, University of Dublin
>                          http://www.scss.tcd.ie/Andrew.Butterfield/
> 
> 
> 
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
> 

___
devel mailing list
devel@rtems.org

Fwd: Build fail on debian - Toolset build error

2020-10-12 Thread Andrew Butterfield
Dear all, 
I am having a problem building RTEMs master, on OS X Mojave - see below

> Begin forwarded message:
> 
> From: Sebastian Huber 
> Subject: Re: Build fail on debian - Toolset build error
> Date: 12 October 2020 at 10:48:17 IST
> To: Andrew Butterfield 
> 
> Hello Andrew,
> 
> could you please forward this e-mail to devel@rtems.org.
> 
> On 12/10/2020 11:45, Andrew Butterfield wrote:
>> Hi Sebastian,
>> 
>>  I get a python error - despite using the virtual environment,
>> which maps `python` to the OS X \System installation of python 3.8
>> 
>> It complains about python2 being unusable - see tail of report below...
>> 
>> My command-line tools and Xcode are up-to-date. Now this is on a Mojave 
>> machine, which is
>> one that is not listed in the User Manual where OS X is discussed.
>> 
>> I'll try to do this on my laptop which is now Catalina
>> 
>> Regards, Andrew
>> 
>> tail of error report follows:
>> 
>> checking for library containing socketpair... none required
>> checking for ld used by GCC... 
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
>> checking if the linker 
>> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
>>  is GNU ld... no
>> checking for shared library run path origin... done
>> checking for iconv... yes
>> checking how to link with libiconv... -liconv
>> checking for iconv declaration...
>>  extern size_t iconv (iconv_t cd, char * *inbuf, size_t 
>> *inbytesleft, char * *outbuf, size_t *outbytesleft);
>> checking for library containing waddstr... -lncurses
>> checking for library containing tgetent... none required
>> checking size of unsigned long long... 8
>> checking size of unsigned long... 8
>> checking size of unsigned __int128... 16
>> checking for library containing dlopen... none required
>> checking whether to use expat... yes
>> checking for libexpat... yes
>> checking how to link with libexpat... -lexpat
>> checking for XML_StopParser... yes
>> checking whether to use MPFR... auto
>> checking for libmpfr... no
>> configure: WARNING: MPFR is missing or unusable; some features may be 
>> unavailable.
>> checking whether to use python... 
>> /Library/Frameworks/Python.framework/Versions/2.7/bin/python2
>> checking for python... no
>> configure: error: no usable python found at 
>> /Library/Frameworks/Python.framework/Versions/2.7/bin/python2
>> make[1]: *** [configure-gdb] Error 1
>> make: *** [all] Error 2
>> shell cmd failed: /bin/sh -ex  
>> /Users/butrfeld/REPOS/rtems-smp-qualification-qual/modules/rsb/rtems/build/sparc-rtems6-gdb-0295dde-x86_64-apple-darwin18.7.0-1/do-build
>> error: building sparc-rtems6-gdb-0295dde-x86_64-apple-darwin18.7.0-1
>> 
>>> On 12 Oct 2020, at 09:19, Sebastian Huber 
>>> >> > wrote:
>>> 
>>> On 12/10/2020 10:14, Andrew Butterfield wrote:
>>> 
 Is there any point me trying to build on my OS X machine, or will I just 
 get the same error?
>>> It is unlikely that you get the same error. This seems to be a Debian 
>>> specific issue.
>> 
>> 
>> Andrew Butterfield Tel: +353-1-896-2517 Fax: +353-1-677-2204
>> Lero@TCD, Head of Software Foundations & Verification Research Group
>> School of Computer Science and Statistics,
>> Room G.39, O'Reilly Institute, Trinity College, University of Dublin
>> http://www.scss.tcd.ie/Andrew.Butterfield/
>> 
>> 


Andrew Butterfield Tel: +353-1-896-2517 Fax: +353-1-677-2204
Lero@TCD, Head of Software Foundations & Verification Research Group
School of Computer Science and Statistics,
Room G.39, O'Reilly Institute, Trinity College, University of Dublin
 http://www.scss.tcd.ie/Andrew.Butterfield/


___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel