Source-builder MacOS and python2.7 - again.

Chris Johns chrisj at rtems.org
Thu Jan 8 23:08:20 UTC 2015


On 9/01/2015 9:00 am, Joel Sherrill wrote:
>
> On 1/8/2015 3:52 PM, Mr. Andrei Chichak wrote:
>> I’m installing the head of RTEMS onto a Mac OSX 10.10.1 (Yosemite) box.
>>
>> I use the following script to grab the latest copy of source-builder
>> and get stuff set up for ARM:
>>
>>  cd
>> mkdir -p development/rtems/src
>> cd development/rtems/src
>> git clone git://git.rtems.org/rtems-source-builder.git
>> cd rtems-source-builder
>> source-builder/sb-check
>> source-builder/sb-check
>> cd rtems
>> ../source-builder/sb-set-builder --list-bsets
>> ../source-builder/sb-set-builder —log=l-arm.txt
>> —prefix=$HOME/development/rtems/4.11 4.11/rtems-arm
>>
>> (verbose, and meant for puny humans, but it got the job done on my laptop)
>>
>> After about an hour the build bombs on not finding a reasonable
>> version of python2.7. (log fragment at bottom)
>>
>> uws105675usr:~ andreichichak$ python -V
>> Python 2.7.9
>>
>> uws105675usr:~ andreichichak$ python2.7 -V
>> Python 2.7.9
>>
>> uws105675usr:~ andreichichak$ which python
>> /Library/Frameworks/Python.framework/Versions/2.7/bin/python
>>
>> uws105675usr:~ andreichichak$ which python2.7
>> /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
>>
>>
>> I’m not sure what the problem could be. I tried installing python
>> 2.7.[2 4 5 7 9] and all bomb with the same result.
>>
>> I installed the latest Xcode and command line tools and got macports
>> up to date (for xz and cvs).
>>
>> Any ideas, or at least does anyone have a command that I can issue
>> that can fail in less than an hour?
>>
> I think the gdb probe to find Python 2.7 development libraries is failing.
> There should be a config.log in the directory of the failure. See what
> it failed about specifically.  You may just be missing something to install
> on your host.
>
> Chris will be awake soon and may have more insight on the Mac and RSB. :)

I am still on Mavrick on my laptop. I will try and find a Yosemite 
machine to see what is happening.

Chris

>> Thanks,
>> Andrei
>>
>>
>>
>> Final l-arm.txt fragment :
>>
>>
>>
>> === configuring in build-gnulib
>> (/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/build/gdb/build-gnulib)
>> configure: running /bin/sh ../../../gdb-7.8.1/gdb/gnulib/configure
>> --disable-option-checking
>> '--prefix=/Users/andreichichak/development/rtems/4.11'
>> '--with-system-zlib' '--verbose' '--disable-nls'
>> '--without-included-gettext' '--disable-win32-registry'
>> '--disable-werror' '--enable-sim' '--without-zlib' '--with-expat'
>> '--with-python'
>> '--bindir=/Users/andreichichak/development/rtems/4.11/bin'
>> '--exec-prefix=/Users/andreichichak/development/rtems/4.11'
>> '--includedir=/Users/andreichichak/development/rtems/4.11/include'
>> '--libdir=/Users/andreichichak/development/rtems/4.11/lib'
>> '--mandir=/Users/andreichichak/development/rtems/4.11/share/man'
>> '--infodir=/Users/andreichichak/development/rtems/4.11/share/info'
>> '--program-transform-name=s&^&arm-rtems4.11-&'
>> '--build=x86_64-apple-darwin14.0.0' '--host=x86_64-apple-darwin14.0.0'
>> '--target=arm-rtems4.11' 'build_alias=x86_64-apple-darwin14.0.0'
>> 'host_alias=x86_64-apple-darwin14.0.0' 'target_alias=arm-rtems4.11'
>> 'CC=/usr/bin/cc -O2 -pipe -fbracket-depth=1024
>> -I/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-andreichichak/4.11/rtems-arm/Users/andreichichak/development/rtems/4.11/include'
>> 'CFLAGS=-g -O2' 'LDFLAGS= -Wl,-no_pie
>> -L/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-andreichichak/4.11/rtems-arm/Users/andreichichak/development/rtems/4.11/lib'
>> 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y'
>> --cache-file=./config.cache --srcdir=../../../gdb-7.8.1/gdb/gnulib
>> configure: creating cache ./config.cache
>>
>> dot dot dot
>>
>> checking for shared library run path origin… done
>> checking for libexpat... yes
>> checking how to link with libexpat...
>> -L/Users/andreichichak/development/rtems/4.11/lib -lexpat
>> checking for XML_StopParser... yes
>> checking whether to use python... yes
>> checking for python...
>> /Library/Frameworks/Python.framework/Versions/2.7/bin/python
>> checking for python2.7... no
>> configure: error: python is missing or unusable
>> make[1]: *** [configure-gdb] Error 1
>> make: *** [all] Error 2
>> shell cmd failed: /bin/sh -ex
>> /Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/doit
>> error: building arm-rtems4.11-gdb-7.8.1-1
>>   See error report: rsb-report-arm-rtems4.11-gdb-7.8.1-1.txt
>> Build Set: Time 1:00:56.329867
>>
>>
>>
>>
>>
>> Final rsb-report-arm-rtems4.11-gdb-7.8.1-1.txt fragment:
>>
>> checking for XML_StopParser... yes
>> checking whether to use python... yes
>> checking for python...
>> /Library/Frameworks/Python.framework/Versions/2.7/bin/python
>> checking for python2.7... no
>> configure: error: python is missing or unusable
>> make[1]: *** [configure-gdb] Error 1
>> make: *** [all] Error 2
>> shell cmd failed: /bin/sh -ex
>> /Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/doit
>>
>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel.sherrill at OARcorp.com         On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985
>
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>



More information about the users mailing list